:root {
    --bg: #050711;
    --bg-soft: #0b1020;
    --panel: rgba(13, 22, 42, 0.86);
    --panel-strong: #101a33;
    --text: #f4f8ff;
    --muted: #b9c7d9;
    --cyan: #35d9ff;
    --blue: #2767ff;
    --line: rgba(53, 217, 255, 0.22);
    --shadow: rgba(0, 0, 0, 0.45);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(53, 217, 255, 0.14), transparent 34%),
        radial-gradient(circle at top right, rgba(39, 103, 255, 0.18), transparent 28%),
        linear-gradient(180deg, #050711 0%, #071024 55%, #050711 100%);
    color: var(--text);
}

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

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 7, 17, 0.88);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.navbar {
    width: min(1180px, calc(100% - 32px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: var(--text);
    text-decoration: none;
}

.brand-logo {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 14px;
    object-fit: cover;
    filter: drop-shadow(0 0 12px rgba(53, 217, 255, 0.28));
}

.brand-name {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 800;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

.menu {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.menu a {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--muted);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.menu a:hover,
.menu a:focus-visible {
    color: var(--text);
    background: rgba(53, 217, 255, 0.12);
    transform: translateY(-1px);
    outline: none;
}

.section {
    padding: clamp(56px, 8vw, 86px) 0;
}

.container {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
}

.hero {
    padding-top: clamp(46px, 7vw, 76px);
}

.eyebrow {
    margin-bottom: 12px;
    color: var(--cyan);
    font-size: clamp(0.75rem, 1.5vw, 0.85rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h1,
h2,
h3 {
    line-height: 1.05;
}

h1 {
    margin-bottom: 24px;
    font-size: clamp(2.45rem, 8vw, 6.4rem);
    letter-spacing: clamp(-3px, -0.4vw, -1.2px);
    text-shadow: 0 0 34px rgba(53, 217, 255, 0.25);
}

h2 {
    margin-bottom: 22px;
    font-size: clamp(2rem, 5vw, 3.4rem);
    letter-spacing: -1.5px;
}

h3 {
    margin-bottom: 10px;
    font-size: clamp(1.35rem, 3vw, 1.55rem);
}

.intro-text,
.section-text {
    max-width: 950px;
    color: var(--muted);
    font-size: clamp(1rem, 2.2vw, 1.28rem);
    line-height: 1.8;
}

.intro-text {
    margin-bottom: 30px;
}

.image-frame {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: clamp(18px, 3vw, 28px);
    background: var(--panel-strong);
    box-shadow: 0 24px 80px var(--shadow), 0 0 36px rgba(53, 217, 255, 0.11);
}

.image-frame img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-banner {
    aspect-ratio: 16 / 9;
}

.hero-banner img {
    height: 100%;
}

.games-section,
.contact-section {
    background: rgba(255, 255, 255, 0.015);
}

.game-card {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 760px;
    padding: clamp(18px, 3vw, 24px);
    border: 1px solid var(--line);
    border-radius: 26px;
    background: var(--panel);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.game-icon {
    width: clamp(86px, 14vw, 112px);
    height: clamp(86px, 14vw, 112px);
    flex: 0 0 auto;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 0 26px rgba(53, 217, 255, 0.14);
}

.game-info p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 1.05rem;
}

.footer {
    padding: 28px 16px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    text-align: center;
    background: rgba(5, 7, 17, 0.9);
}

@media (max-width: 900px) {
    .navbar {
        width: min(100% - 28px, 720px);
        min-height: auto;
        padding: 14px 0;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .brand {
        justify-content: center;
    }

    .menu {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 560px) {
    html {
        scroll-padding-top: 136px;
    }

    .navbar {
        width: calc(100% - 24px);
    }

    .brand-logo {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        border-radius: 12px;
    }

    .brand-name {
        font-size: 1.05rem;
    }

    .menu {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .menu a {
        width: 100%;
        padding: 10px 8px;
        text-align: center;
        font-size: 0.92rem;
        background: rgba(255, 255, 255, 0.035);
    }

    .container {
        width: calc(100% - 24px);
    }

    h1 {
        margin-bottom: 18px;
        text-align: center;
    }

    .eyebrow {
        text-align: center;
    }

    .intro-text,
    .section-text {
        text-align: center;
        line-height: 1.7;
    }

    .game-card {
        align-items: center;
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 380px) {
    .brand {
        gap: 8px;
    }

    .brand-name {
        font-size: 0.95rem;
    }

    .menu a {
        font-size: 0.85rem;
    }
}
