*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg:           #1a1040;
    --bg-light:     #231458;
    --bg-card:      #2a1a66;
    --bg-header:    #140c33;
    --bg-nav:       #1e1050;
    --green:        #2ecc71;
    --green-hover:  #3ddb80;
    --accent:       #3b82f6;
    --accent-hover: #5b9af7;
    --cyan:         #06d6a0;
    --white:        #f0f0f8;
    --gray:         #9a94b8;
    --gray-dim:     #6e6890;
    --border:       rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.14);
    --font:         'Nunito', sans-serif;
    --header-h:     60px;
    --nav-h:        50px;
    --max-w:        1280px;
    --radius:       12px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}


/* ================================================
   BUTTONS
   ================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 28px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 800;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    border: 2px solid transparent;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn--green {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #3ddb80 0%, #21a855 52%, #189944 100%);
    color: #fff;
    border: none;
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.28),
        inset 0 -2px 0 rgba(0, 0, 0, 0.18),
        0 4px 14px rgba(46, 204, 113, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.25);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: transform 0.15s, box-shadow 0.2s;
}

.btn--green::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 8%;
    right: 8%;
    height: 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, transparent 100%);
    border-radius: 50px 50px 0 0;
    pointer-events: none;
}

.btn--green:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.28),
        inset 0 -2px 0 rgba(0, 0, 0, 0.18),
        0 8px 22px rgba(46, 204, 113, 0.55),
        0 3px 8px rgba(0, 0, 0, 0.25);
}

.btn--green:active {
    transform: translateY(0);
}

.btn--accent {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #5b9af7 0%, #3b82f6 52%, #2563d4 100%);
    color: #fff;
    border: none;
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.25),
        inset 0 -2px 0 rgba(0, 0, 0, 0.18),
        0 4px 14px rgba(59, 130, 246, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.25);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    transition: transform 0.15s, box-shadow 0.2s;
}

.btn--accent::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 8%;
    right: 8%;
    height: 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, transparent 100%);
    border-radius: 50px 50px 0 0;
    pointer-events: none;
}

.btn--accent:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.25),
        inset 0 -2px 0 rgba(0, 0, 0, 0.18),
        0 8px 22px rgba(59, 130, 246, 0.55),
        0 3px 8px rgba(0, 0, 0, 0.25);
}

.btn--accent:active {
    transform: translateY(0);
}

.btn--full {
    width: 100%;
    padding: 14px 24px;
}


/* ================================================
   BURGER OVERLAY
   ================================================ */

.burger-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 6, 30, 0.72);
    z-index: 1100;
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.3s;
}

.burger-overlay.is-open {
    display: block;
    opacity: 1;
}


/* ================================================
   BURGER DRAWER
   ================================================ */

.burger-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    background: var(--bg-header);
    border-left: 1px solid var(--border-light);
    z-index: 1200;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: right 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.burger-drawer.is-open {
    right: 0;
}

.burger-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
}

.burger-drawer__logo img {
    max-height: 30px;
    width: auto;
}

.burger-close {
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
    line-height: 0;
}

.burger-close:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.burger-drawer__auth {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
}

.burger-drawer__nav {
    display: flex;
    flex-direction: column;
    padding: 12px 10px;
    gap: 2px;
    flex: 1;
}

.burger-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 700;
    color: var(--gray);
    border-radius: 10px;
    transition: color 0.2s, background 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.burger-nav-item svg {
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.burger-nav-item:hover,
.burger-nav-item.is-active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.07);
}

.burger-nav-item.is-active {
    color: var(--cyan);
}

.burger-nav-item.is-active svg,
.burger-nav-item:hover svg {
    opacity: 1;
}

.burger-drawer__search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    margin: 0 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--gray);
    font-size: 14px;
    font-weight: 700;
    transition: color 0.2s, border-color 0.2s;
}

.burger-drawer__search:hover {
    color: var(--white);
    border-color: var(--cyan);
}


/* ================================================
   BURGER BUTTON (mobile only)
   ================================================ */

.burger-btn {
    display: none; /* shown via media query */
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s;
}

.burger-btn:hover {
    background: rgba(255, 255, 255, 0.07);
}

.burger-btn__line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
}


/* ================================================
   HEADER
   ================================================ */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header__top {
    background: var(--bg-header);
    border-bottom: 1px solid var(--border);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    height: var(--header-h);
}

.header__logo img {
    max-height: 34px;
    width: auto;
    object-fit: contain;
}

/* Desktop auth — always visible on desktop */
.header__auth {
    display: flex;
    gap: 10px;
}

/* Desktop nav */
.header__nav {
    background: var(--bg-nav);
    border-bottom: 1px solid var(--border);
}

.header__nav .header__inner {
    height: var(--nav-h);
    gap: 16px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.nav-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 700;
    color: var(--gray);
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-list a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
}

.nav-list a.is-active {
    color: var(--cyan);
    background: rgba(6, 214, 160, 0.1);
}

.nav-list a svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.nav-list a.is-active svg,
.nav-list a:hover svg {
    opacity: 1;
}

.nav-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--gray);
    font-size: 13px;
    font-weight: 600;
    transition: border-color 0.2s, color 0.2s;
    flex-shrink: 0;
}

.nav-search:hover {
    border-color: var(--cyan);
    color: var(--white);
}


/* ================================================
   PAGE CONTENT
   ================================================ */

.page-content {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 36px;
}


/* ================================================
   HERO
   ================================================ */

.hero__container {
    border-radius: 16px;
    overflow: hidden;
}

.hero-slide {
    position: relative;
    max-height: 400px;
    overflow: hidden;
}

.hero-slide__img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* Darkening overlay */
.hero-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(14, 8, 40, 0.25) 0%,
        rgba(14, 8, 40, 0.65) 55%,
        rgba(14, 8, 40, 0.88) 100%
    );
    z-index: 1;
}

.hero-slide__content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 0 40px 52px;
    text-align: center;
}

.hero-slide__badge {
    display: inline-block;
    padding: 5px 14px;
    margin-bottom: 12px;
    background: rgba(46, 204, 113, 0.15);
    border: 1px solid rgba(46, 204, 113, 0.45);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    color: var(--green);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-slide__title {
    display: block;
    font-size: 32px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 10px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-slide__text {
    font-size: 15px;
    font-weight: 600;
    color: var(--cyan);
    line-height: 1.5;
    margin-bottom: 22px;
    max-width: 560px;
}

/* Glossy green CTA — matching the reference button style */
.hero-slide__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 52px;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #fff;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #3ddb80 0%, #21a855 52%, #189944 100%);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.28),
        inset 0 -2px 0 rgba(0, 0, 0, 0.18),
        0 6px 22px rgba(46, 204, 113, 0.45),
        0 2px 6px rgba(0, 0, 0, 0.3);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    transition: transform 0.15s, box-shadow 0.2s;
}

.hero-slide__cta::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 8%;
    right: 8%;
    height: 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, transparent 100%);
    border-radius: 50px 50px 0 0;
}

.hero-slide__cta:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.28),
        inset 0 -2px 0 rgba(0, 0, 0, 0.18),
        0 10px 32px rgba(46, 204, 113, 0.58),
        0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-slide__cta:active {
    transform: translateY(0);
}


/* ================================================
   GAMES SECTIONS
   ================================================ */

.games-section {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.games-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.games-section__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
}

.games-section__title svg {
    color: var(--cyan);
}

.games-section__all {
    padding: 8px 20px;
    border: 2px solid var(--accent);
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    border-radius: 50px;
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.5px;
}

.games-section__all:hover {
    background: var(--accent);
    color: var(--white);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

/* --- Game card --- */

.game-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(46, 204, 113, 0.18);
}

.game-card__wrap {
    position: relative;
    overflow: hidden;
}

.game-card__img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    background: var(--bg-light);
    transition: transform 0.3s;
}

.game-card:hover .game-card__img {
    transform: scale(1.07);
}

/* Hover overlay */
.game-card__hover {
    position: absolute;
    inset: 0;
    background: rgba(10, 6, 30, 0.62);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s;
}

.game-card:hover .game-card__hover {
    opacity: 1;
}

/* Glossy green play button (link) */
.game-card__play-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    font-family: var(--font);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #3ddb80 0%, #21a855 52%, #189944 100%);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.28),
        inset 0 -2px 0 rgba(0, 0, 0, 0.18),
        0 4px 18px rgba(46, 204, 113, 0.5);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transform: translateY(6px);
    transition: transform 0.25s, box-shadow 0.2s;
}

.game-card__play-btn::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 10%;
    right: 10%;
    height: 38%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, transparent 100%);
    border-radius: 50px 50px 0 0;
}

.game-card:hover .game-card__play-btn {
    transform: translateY(0);
}

.game-card__play-btn:hover {
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.28),
        inset 0 -2px 0 rgba(0, 0, 0, 0.18),
        0 8px 28px rgba(46, 204, 113, 0.65);
}

.game-card__name {
    display: block;
    padding: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--gray);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ================================================
   CONTENT
   ================================================ */

.content {
    width: 100%;
    color: var(--gray);
    line-height: 1.7;
    font-size: 15px;
}

.content img {
    display: block;
    max-width: 100%;
    margin: 0 auto;
    margin-bottom: 18px;
}

.content h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 18px;
}

.content h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-top: 28px;
    margin-bottom: 12px;
}

.content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-top: 22px;
    margin-bottom: 10px;
}

.content p {
    margin-bottom: 14px;
}

.content blockquote {
    border-left: 3px solid var(--cyan);
    padding: 12px 20px;
    margin: 18px 0;
    background: rgba(6, 214, 160, 0.06);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
}

.content table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
}

.content th,
.content td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.content th {
    font-weight: 700;
    color: var(--white);
    background: rgba(255, 255, 255, 0.04);
}

.content tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.content ul {
    margin: 14px 0;
    padding-left: 22px;
    list-style: disc;
}

.content ul li {
    margin-bottom: 6px;
}

.content ol {
    margin: 14px 0;
    padding-left: 22px;
    list-style: decimal;
}

.content ol li {
    margin-bottom: 6px;
}

.content a {
    color: var(--cyan);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.content a:hover {
    color: var(--green);
}


/* ================================================
   FOOTER
   ================================================ */

.footer {
    border-top: 1px solid var(--border);
    padding-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* --- Top row: columns + meta --- */

.footer__top {
    display: flex;
    gap: 32px;
    justify-content: space-between;
    padding-bottom: 28px;
}

.footer__cols {
    display: flex;
    gap: 48px;
    flex: 1;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 160px;
}

.footer__col-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--white);
}

.footer__col-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__col-list a {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    transition: color 0.2s;
}

.footer__col-list a:hover {
    color: var(--cyan);
}

.footer__email {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    transition: color 0.2s;
}

.footer__email:hover {
    color: var(--cyan);
}

/* Meta: lang + copy + age */

.footer__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    flex-shrink: 0;
}

.footer__lang-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer__lang-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray);
}

.footer__lang-select {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid var(--accent);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    cursor: pointer;
}

.footer__lang-select img {
    border-radius: 2px;
}

.footer__copy {
    font-size: 12px;
    color: var(--gray-dim);
    text-align: right;
    line-height: 1.7;
}

.footer__age {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 2px solid var(--green);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
    color: var(--green);
}

/* --- Divider --- */

.footer__divider {
    height: 1px;
    background: var(--border);
    margin-bottom: 28px;
}

/* --- Middle row: apps + social --- */

.footer__middle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding-bottom: 28px;
    flex-wrap: wrap;
}

.footer__apps {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.footer__apps-label {
    font-size: 13px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.footer__store-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    color: var(--white);
    transition: border-color 0.2s, background 0.2s;
}

.footer__store-btn:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.12);
}

.footer__store-btn svg {
    flex-shrink: 0;
}

.footer__store-btn div {
    display: flex;
    flex-direction: column;
}

.footer__store-btn small {
    font-size: 10px;
    color: var(--gray);
    line-height: 1;
}

.footer__store-btn strong {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
}

.footer__social {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__social-label {
    font-size: 13px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.5px;
}

.footer__social-btns {
    display: flex;
    gap: 12px;
}

.footer__social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
    transition: filter 0.2s, transform 0.15s;
}

.footer__social-btn:hover {
    filter: brightness(1.15);
    transform: translateY(-1px);
}

.footer__social-btn--fb {
    background: #1877f2;
}

.footer__social-btn--ig {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* --- Legal --- */

.footer__legal {
    border-top: 1px solid var(--border);
    padding: 20px 0 14px;
    text-align: center;
}

.footer__legal p {
    font-size: 12px;
    color: var(--gray-dim);
    line-height: 1.7;
    max-width: 860px;
    margin: 0 auto;
}


/* ================================================
   BOTTOM NAV (mobile only)
   ================================================ */

.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 16px;
    background: var(--bg-header);
    border-top: 1px solid var(--border);
    z-index: 1000;
    gap: 10px;
}


/* ================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ================================================ */

@media (max-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }

    .hero-slide__title {
        font-size: 26px;
    }

    .nav-list a {
        font-size: 12px;
        padding: 6px 12px;
    }

    .footer__cols {
        gap: 28px;
    }
}


/* ================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ================================================ */

@media (max-width: 768px) {

    /* Header: hide desktop auth, show burger */
    .header__auth {
        display: none;
    }

    .burger-btn {
        display: flex;
    }

    /* Hide desktop nav entirely on mobile */
    .header__nav {
        display: none;
    }

    .header__inner {
        padding: 0 14px;
        height: 54px;
    }

    .header__logo img {
        max-height: 28px;
    }

    /* Page */
    .page-content {
        padding: 16px 14px;
        padding-bottom: calc(70px + 16px);
        gap: 28px;
    }

    /* Hero */
    .hero-slide {
        max-height: 280px;
    }

    .hero-slide__img {
        height: 280px;
    }

    .hero-slide__content {
        padding: 0 20px 28px;
    }

    .hero-slide__title {
        font-size: 20px;
    }

    .hero-slide__text {
        font-size: 13px;
        margin-bottom: 14px;
    }

    .hero-slide__cta {
        padding: 12px 36px;
        font-size: 14px;
    }

    /* Games */
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .games-section__title {
        font-size: 18px;
    }

    /* Content */
    .content h1 {
        font-size: 22px;
    }

    .content h2 {
        font-size: 19px;
    }

    .content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Bottom nav */
    .bottom-nav {
        display: flex;
    }

    /* Footer mobile: centered */
    .footer__top {
        flex-direction: column;
        gap: 0;
        align-items: center;
    }

    .footer__cols {
        flex-direction: column;
        gap: 0;
        width: 100%;
        align-items: center;
    }

    .footer__col {
        padding: 18px 0;
        border-bottom: 1px solid var(--border);
        min-width: auto;
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .footer__col:last-child {
        border-bottom: none;
    }

    .footer__col-list {
        align-items: center;
    }

    .footer__email {
        justify-content: center;
    }

    .footer__meta {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 18px 0 0;
        width: 100%;
    }

    .footer__lang-row {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    .footer__copy {
        text-align: center;
        font-size: 11px;
    }

    .footer__middle {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .footer__apps {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .footer__apps-label {
        text-align: center;
    }

    .footer__social {
        align-items: center;
    }

    .footer__social-label {
        text-align: center;
    }

    .footer__social-btns {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .footer__social-btn {
        width: 100%;
        justify-content: center;
    }
}


/* ================================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ================================================ */

@media (max-width: 480px) {
    .header__top .header__inner {
        height: 50px;
    }

    .header__logo img {
        max-height: 24px;
    }

    .hero-slide {
        max-height: 240px;
    }

    .hero-slide__img {
        height: 240px;
    }

    .hero-slide__title {
        font-size: 17px;
    }

    .hero-slide__text {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .hero-slide__cta {
        padding: 10px 28px;
        font-size: 13px;
    }

    .games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .game-card__name {
        font-size: 11px;
        padding: 8px 6px;
    }

    .games-section__all {
        padding: 6px 14px;
        font-size: 11px;
    }

    .footer__social-btn {
        padding: 11px 18px;
        font-size: 13px;
    }
}

.burger-drawer__auth a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: transform 0.15s, box-shadow 0.2s;
}

.burger-drawer__auth a::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 8%;
    right: 8%;
    height: 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, transparent 100%);
    border-radius: 50px 50px 0 0;
    pointer-events: none;
}

.burger-drawer__auth a:hover {
    transform: translateY(-2px);
}

.burger-drawer__auth a:active {
    transform: translateY(0);
}


.burger-drawer__auth a:first-child {
    background: linear-gradient(180deg, #5b9af7 0%, #3b82f6 52%, #2563d4 100%);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.25),
        inset 0 -2px 0 rgba(0, 0, 0, 0.18),
        0 4px 14px rgba(59, 130, 246, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.25);
}

.burger-drawer__auth a:first-child:hover {
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.25),
        inset 0 -2px 0 rgba(0, 0, 0, 0.18),
        0 8px 22px rgba(59, 130, 246, 0.55),
        0 3px 8px rgba(0, 0, 0, 0.25);
}


.burger-drawer__auth a:last-child {
    background: linear-gradient(180deg, #3ddb80 0%, #21a855 52%, #189944 100%);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.28),
        inset 0 -2px 0 rgba(0, 0, 0, 0.18),
        0 4px 14px rgba(46, 204, 113, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.25);
}

.burger-drawer__auth a:last-child:hover {
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.28),
        inset 0 -2px 0 rgba(0, 0, 0, 0.18),
        0 8px 22px rgba(46, 204, 113, 0.55),
        0 3px 8px rgba(0, 0, 0, 0.25);
}

.burger-drawer__nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    padding: 12px 10px;
    gap: 2px;
}

.burger-drawer__nav li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 700;
    color: var(--gray);
    border-radius: 10px;
    transition: color 0.2s, background 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.burger-drawer__nav li a:hover,
.burger-drawer__nav li.is-active a {
    color: var(--cyan);
    background: rgba(255, 255, 255, 0.07);
}

.burger-drawer__nav li a svg {
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.burger-drawer__nav li a:hover svg,
.burger-drawer__nav li.is-active a svg {
    opacity: 1;
}

.burger-drawer__nav ul > li:nth-child(n+3):nth-child(-n+5) {
    display: none !important;
}

.header__nav .nav-list > li:nth-last-child(-n+3) {
    display: none !important;
}