/* =========================================================
   Press Kit template stylesheet — shared across every game.
   Game-specific content lives only in each game's index.html;
   this file should not need edits when duplicating the folder.
   ========================================================= */

.pk-hero {
    position: relative;
    padding: 220px 0 100px;
    background-size: cover;
    background-position: center;
    text-align: center;
    overflow: hidden;
}

.pk-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 13, 16, .55) 0%, rgba(9, 13, 16, .85) 55%, #090d10 100%);
    z-index: 0;
}

.pk-hero__inner {
    position: relative;
    z-index: 1;
}

.pk-hero__logo {
    max-width: 170px;
    margin: 0 auto 25px;
    display: block;
}

.pk-hero__title {
    font-family: var(--tg-heading-font-family);
    font-weight: 800;
    font-size: 56px;
    color: #fff;
    margin-bottom: 14px;
}

.pk-hero__tagline {
    max-width: 720px;
    margin: 0 auto 30px;
    font-size: 18px;
    color: var(--tg-body-color);
}

.pk-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* Press contact strip */
.pk-press-strip {
    background: var(--tg-common-color-black-2);
    border-top: 1px solid var(--tg-border-1);
    border-bottom: 1px solid var(--tg-border-1);
    padding: 22px 0;
    text-align: center;
}

.pk-press-strip p {
    margin: 0;
    color: var(--tg-body-color);
    font-size: 14px;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.pk-press-strip a {
    color: var(--tg-theme-primary);
    font-weight: 600;
}

/* Section shell */
.pk-section {
    padding: 80px 0;
}

.pk-section__title {
    font-family: var(--tg-heading-font-family);
    font-weight: 700;
    font-size: 32px;
    color: #fff;
    margin-bottom: 35px;
}

.pk-section--alt {
    background: var(--tg-common-color-black-2);
}

.pk-section--photo {
    position: relative;
    background-size: cover;
    background-position: center;
    isolation: isolate;
}

.pk-section--photo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(9, 13, 16, .82);
    z-index: -1;
}

/* Factsheet: fixed 5 columns x 3 rows (15 facts) */
.pk-facts {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: var(--tg-border-1);
    border: 1px solid var(--tg-border-1);
    border-radius: 8px;
    overflow: hidden;
}

@media (max-width: 991px) {
    .pk-facts {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .pk-facts {
        grid-template-columns: repeat(2, 1fr);
    }
}

.pk-facts__item {
    background: var(--tg-common-color-black-4);
    padding: 22px 24px;
}

.pk-facts__label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--tg-theme-secondary);
    margin-bottom: 6px;
}

.pk-facts__value {
    color: #fff;
    font-weight: 600;
    font-size: 16px;
}

.pk-facts__value a {
    color: #fff;
    text-decoration: underline;
}

.pk-facts__stack {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pk-facts__stack em {
    color: var(--tg-body-color);
    font-weight: 400;
    font-style: normal;
    font-size: 13px;
}

/* Feature list */
.pk-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.pk-feature {
    background: var(--tg-common-color-black-4);
    border: 1px solid var(--tg-border-1);
    border-radius: 8px;
    padding: 26px;
}

.pk-feature h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 10px;
}

.pk-feature p {
    margin: 0;
    font-size: 15px;
}

/* Roadmap */
.pk-roadmap {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.pk-roadmap li {
    position: relative;
    padding-left: 28px;
    color: var(--tg-body-color);
    font-size: 15px;
}

.pk-roadmap li::before {
    content: "\f0da";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--tg-theme-primary);
    position: absolute;
    left: 0;
    top: 1px;
}

/* Video */
.pk-video {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--tg-border-1);
}

.pk-video video {
    width: 100%;
    display: block;
}

/* Gallery */
.pk-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

/* Fixed 4-column gallery (e.g. GIFs) so a short, exact-count set fills its row evenly */
.pk-gallery--fixed4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
    .pk-gallery--fixed4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .pk-gallery--fixed4 {
        grid-template-columns: 1fr;
    }
}

.pk-gallery a {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--tg-border-1);
    position: relative;
}

.pk-gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}

.pk-gallery a:hover img {
    transform: scale(1.06);
}

/* Brand / download assets */
.pk-assets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.pk-asset-card {
    background: var(--tg-common-color-black-4);
    border: 1px solid var(--tg-border-1);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.pk-asset-card img {
    max-width: 100%;
    max-height: 160px;
    object-fit: contain;
    margin-bottom: 16px;
}

.pk-asset-card h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 14px;
}

/* Studio */
.pk-studio {
    max-width: 800px;
    margin: 0;
    text-align: left;
}

.pk-studio img {
    max-width: 140px;
    margin: 0 0 20px;
}

@media (max-width: 767px) {
    .pk-hero {
        padding: 160px 0 70px;
    }

    .pk-hero__title {
        font-size: 36px;
    }

    .pk-section {
        padding: 55px 0;
    }
}
