 :root {
    --bg: #050505;
    --panel: #101010;
    --text: #FFFFFF;
    --text-muted: #B8B8B8;
    --accent: #FF2D8F;
    --accent-hover: #FF4DA6;
    --border: rgba(255,255,255,0.16);
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px clamp(18px, 4vw, 48px);
    background: rgba(5,5,5,0.86);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px);
}

.logo {
    font-family: "Michroma", sans-serif;
    font-size: 1.8rem;
    font-weight: normal;
    letter-spacing: -0.03em;
    text-decoration: none;
    color: #ffffff;

    display: inline-block;

    transform: skewX(-10deg);
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: skewX(-10deg) translateY(-1px);
}

.logo span {
    color: #FF2D8F;
}

.nav {
    display: flex;
    gap: 20px;
}

.nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
}

.nav a:hover {
    color: var(--accent);
}

.intro,
.content-section,
.detail-layout,
.screenshot-gallery,
.next-games {
    width: min(100% - 36px, var(--max-width));
    margin: 0 auto;
}

.intro {
    min-height: 62vh;
    display: grid;
    align-content: center;
    padding: clamp(56px, 10vw, 120px) 0;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    font-weight: 800;
}

h1,
h2 {
    margin: 0;
    line-height: 1.02;
    letter-spacing: -0.06em;
}

h1 {
    max-width: 980px;
    font-size: clamp(2.7rem, 8vw, 6.7rem);
}

h2 {
    font-size: clamp(2rem, 5vw, 4.4rem);
}

.intro p,
.content-section p,
.detail-copy p,
.direct-email {
    max-width: 760px;
    color: var(--text-muted);
    font-size: clamp(1rem, 2vw, 1.16rem);
}

.showcase-list {
    display: grid;
}

.showcase-tile {
    position: relative;
    display: block;
    min-height: clamp(420px, 72vh, 820px);
    overflow: hidden;
    text-decoration: none;
    border-top: 1px solid var(--border);
}

.showcase-tile:last-child {
    border-bottom: 1px solid var(--border);
}

.showcase-tile > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.82;
    transform: scale(1.01);
    transition: transform 0.7s ease, opacity 0.7s ease;
}

.showcase-tile:hover > img {
    transform: scale(1.055);
    opacity: 0.96;
}

.showcase-tile::after,
.game-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.62) 36%, rgba(0,0,0,0.14) 100%),
        linear-gradient(0deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.02) 48%, rgba(0,0,0,0.42) 100%);
}

.showcase-overlay {
    position: relative;
    z-index: 2;
    min-height: inherit;
    width: min(100% - 36px, var(--max-width));
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 22px;
    padding: clamp(34px, 7vw, 82px) 0;
}

.showcase-overlay h2 {
    max-width: 900px;
    font-size: clamp(2.6rem, 8vw, 7.2rem);
}

.tile-description {
    max-width: 560px;
    color: var(--text-muted);
    font-size: 1.08rem;
}

.platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.platforms span {
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.28);
    color: white;
    padding: 6px 10px;
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.content-section {
    padding: clamp(58px, 9vw, 110px) 0;
}

.contact-form {
    display: grid;
    gap: 18px;
    max-width: 760px;
    margin-top: 28px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--text-muted);
    font-weight: 700;
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 14px 15px;
    background: #0d0d0d;
    color: var(--text);
    font: inherit;
}

input:focus,
textarea:focus {
    outline: 2px solid var(--accent);
    border-color: transparent;
}

.hidden-field {
    display: none;
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button.primary {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.button.primary:hover {
    background: var(--accent-hover);
}

.button.secondary {
    background: rgba(0,0,0,0.3);
    color: #FFFFFF;
    border-color: rgba(255,255,255,0.2);
}

.button.secondary:hover,
.button.accent-border {
    border-color: var(--accent);
}

.direct-email a,
.next-games a {
    color: var(--accent);
    font-weight: 800;
    text-decoration: none;
}

.game-hero {
    position: relative;
    min-height: clamp(500px, 82vh, 900px);
    overflow: hidden;
}

.game-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-hero-overlay {
    position: relative;
    z-index: 2;
    width: min(100% - 36px, var(--max-width));
    min-height: inherit;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 22px;
    padding: clamp(40px, 8vw, 92px) 0;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: clamp(32px, 7vw, 90px);
    padding: clamp(58px, 9vw, 110px) 0;
}

.detail-actions {
    display: grid;
    align-content: start;
    gap: 12px;
}

.screenshot-gallery {
    padding-bottom: clamp(58px, 9vw, 110px);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 24px;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.next-games {
    padding-bottom: 64px;
}

.footer {
    border-top: 1px solid var(--border);
    padding: 28px;
    color: var(--text-muted);
    text-align: center;
}

@media (max-width: 820px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .nav {
        width: 100%;
        justify-content: space-between;
    }

    .intro {
        min-height: auto;
        padding-top: 72px;
    }

    .showcase-tile {
        min-height: 68vh;
    }

    .showcase-tile::after,
    .game-hero::after {
        background:
            linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.44) 65%, rgba(0,0,0,0.28) 100%);
    }

    .detail-layout,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .detail-actions {
        position: static;
    }

    .button {
        width: 100%;
    }
}

/* Contact confirmation messages */
.form-message {
    max-width: 760px;
    margin: 0 0 24px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    background: #101010;
    color: var(--text);
}

.form-message.error {
    border-left-color: #ff4d4d;
}

/* Privacy/legal page */
.legal-page {
    max-width: 900px;
}

.legal-page h1 {
    margin-bottom: 28px;
}

.legal-page h3 {
    margin-top: 34px;
    margin-bottom: 8px;
}

.legal-page a,
.footer a {
    color: var(--accent);
    font-weight: 800;
    text-decoration: none;
}

.legal-page a:hover,
.footer a:hover {
    color: var(--accent-hover);
}


/* Cookie consent banner */
.cookie-banner {
    position: fixed;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 9999;
    max-width: 980px;
    margin: 0 auto;
    padding: 18px;
    background: rgba(10, 10, 10, 0.96);
    border: 1px solid var(--border);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(14px);
}

.cookie-banner strong {
    display: block;
    margin-bottom: 6px;
    color: var(--text);
}

.cookie-banner p {
    margin: 0;
    color: var(--text-muted);
}

.cookie-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.cookie-actions .button {
    min-height: 42px;
}

@media (min-width: 760px) {
    .cookie-banner {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 24px;
        align-items: center;
    }

    .cookie-actions {
        margin-top: 0;
    }
}

@media (max-width: 759px) {
    .cookie-actions {
        display: grid;
    }
}

.hero {
    min-height: 60vh;
}

.platform-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
    align-items: center;
}

.platform-strip span {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 800;
    margin-right: 6px;
}

.platform-strip strong {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid var(--border);
    color: var(--text);
    background: rgba(255,255,255,0.03);
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hero-platforms {
    margin-top: 34px;
}

.stats-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    margin: 48px 0;
}

.stat span {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}

.stat small {
    display: block;
    margin-top: 8px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
}