:root {
    --bg: #05070b;
    --bg-soft: #0b0f15;
    --panel: rgba(18, 21, 27, 0.96);
    --panel-2: rgba(12, 15, 20, 0.98);
    --panel-card: linear-gradient(180deg, rgba(30, 33, 40, 0.88), rgba(13, 15, 19, 0.98));
    --text: #ffffff;
    --muted: #b9bec8;
    --muted-strong: #e6e8ec;
    --line: rgba(255, 255, 255, 0.08);
    --line-soft: rgba(255, 255, 255, 0.05);
    --accent: #f0ad00;
    --accent-2: #ffcf33;
    --accent-3: #ffd44a;
    --accent-4: #dd9800;
    --accent-5: #b97800;
    --accent-soft: rgba(240, 173, 0, 0.18);
    --accent-soft-2: rgba(255, 207, 51, 0.12);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
    --shadow-strong: 0 24px 60px rgba(240, 173, 0, 0.14);
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 28px;
    --radius-2xl: 30px;
    --container-padding: 28px;
    --container-padding-sm: 20px;
    --transition: 0.25s ease;
    --rail-width: 72px;
    --topbar-height: 66px;
    --hero-aside-width: 360px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(240, 173, 0, 0.06), transparent 28%),
        radial-gradient(circle at top right, rgba(255, 207, 51, 0.04), transparent 24%),
        linear-gradient(180deg, #05070b 0%, #070a10 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* ACCESSIBILITY */
.skip-link {
    position: absolute;
    top: -40px;
    left: 16px;
    z-index: 2000;
    padding: 10px 14px;
    border-radius: 10px;
    background: #fff;
    color: #000;
}

.skip-link:focus {
    top: 16px;
}

/* APP LAYOUT */
.site-shell {
    display: grid;
    grid-template-columns: var(--rail-width) minmax(0, 1fr);
    min-height: 100vh;
}

.site-main,
#main-content {
    min-width: 0;
    width: 100%;
}

.site-main {
    position: relative;
    padding: 10px 20px 24px;
}

.site-main::before,
#main-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10px;
    width: 1px;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(255, 255, 255, 0.03) 14%,
        rgba(255, 255, 255, 0.06) 50%,
        rgba(255, 255, 255, 0.03) 86%,
        transparent 100%
    );
    pointer-events: none;
}

.dragon-home,
.page-layout,
.page-layout__main {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.page-layout__aside {
    display: none;
}

.section {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 34px var(--container-padding) 24px;
}

.section-head {
    margin-bottom: 22px;
}

.section-head h1,
.section-head h2 {
    margin: 10px 0 0;
    font-size: 40px;
    line-height: 1.1;
}

.eyebrow,
.section-kicker,
.card-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid rgba(240, 173, 0, 0.28);
    border-radius: 999px;
    color: var(--accent-3);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: rgba(255, 194, 50, 0.04);
}

/* SIDE RAIL */
.side-rail {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: var(--rail-width);
    min-height: 100vh;
    padding: 12px 8px 16px;
    background: linear-gradient(180deg, rgba(7, 9, 13, 0.99), rgba(5, 6, 10, 1));
    border-right: 1px solid rgba(255, 255, 255, 0.025);
    box-shadow:
        inset -1px 0 0 rgba(255, 255, 255, 0.012),
        12px 0 28px rgba(0, 0, 0, 0.16);
    overflow: hidden;
}

.side-rail::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 6px;
    right: 6px;
    height: 180px;
    background: radial-gradient(circle at center, rgba(240, 173, 0, 0.07), transparent 72%);
    filter: blur(22px);
    pointer-events: none;
}

.side-rail::after {
    content: "";
    position: absolute;
    top: 0;
    right: 8px;
    width: 1px;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(255, 255, 255, 0.02) 18%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.02) 82%,
        transparent 100%
    );
    pointer-events: none;
}

.side-rail__top {
    display: none;
}

.side-rail__nav {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
    margin-top: 34px;
}

.side-rail__back {
    display: none !important;
}

.side-rail__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.05), transparent 38%),
        linear-gradient(180deg, #23262d 0%, #101318 100%);
    color: rgba(255, 255, 255, 0.72);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035),
        inset 0 -10px 18px rgba(0, 0, 0, 0.22),
        0 12px 22px rgba(0, 0, 0, 0.28);
    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition),
        color var(--transition),
        box-shadow var(--transition);
}

.side-rail__link::before {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 13px;
    background: radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.04), transparent 44%);
    pointer-events: none;
}

.side-rail__link:hover {
    transform: translateY(-2px);
    border-color: rgba(240, 173, 0, 0.12);
    color: #fff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        inset 0 -10px 18px rgba(0, 0, 0, 0.22),
        0 16px 26px rgba(0, 0, 0, 0.32);
}

.side-rail__link.is-active {
    color: #17120a;
    background:
        radial-gradient(circle at 50% 16%, rgba(255, 248, 214, 0.24), transparent 38%),
        linear-gradient(180deg, #ffd347 0%, #eda900 68%, #cf8700 100%);
    border-color: rgba(255, 214, 90, 0.24);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.26),
        inset 0 -8px 12px rgba(158, 95, 0, 0.16),
        0 14px 24px rgba(240, 173, 0, 0.18),
        0 0 20px rgba(240, 173, 0, 0.08);
}

.side-rail__icon {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
}

.side-rail__label {
    display: none;
}

/* TOPBAR */
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: var(--topbar-height);
    padding: 8px 18px 8px;
    margin-bottom: 4px;
}

.topbar__left {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.topbar__right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

/* BRAND */
.brand {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    padding-right: 2px;
}

.brand::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -10px;
    width: 110px;
    height: 54px;
    background: radial-gradient(circle, rgba(240, 173, 0, 0.14), transparent 68%);
    transform: translateY(-50%);
    filter: blur(18px);
    pointer-events: none;
}

.brand__mark,
.brand__text {
    position: relative;
    z-index: 1;
}

.brand__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 40px;
    border-radius: 14px;
    background:
        radial-gradient(circle at 50% 20%, rgba(255, 249, 223, 0.24), transparent 38%),
        linear-gradient(180deg, #ffd347 0%, #eda900 68%, #cb8300 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: -0.04em;
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.24),
        inset 0 -4px 8px rgba(118, 70, 0, 0.16),
        0 10px 18px rgba(240, 173, 0, 0.16);
}

.brand__text {
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: #f2f3f5;
    white-space: nowrap;
}

.brand--footer::after {
    display: none;
}

.brand--footer .brand__text {
    font-size: 20px;
    text-transform: none;
}

.side-rail .brand {
    display: none;
}

/* TOP TABS */
.top-tabs {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(20, 23, 29, 0.96), rgba(10, 12, 16, 0.98));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 10px 18px rgba(0, 0, 0, 0.18);
}

.top-tabs__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 24px;
    border-radius: 15px;
    color: rgba(255, 255, 255, 0.64);
    font-size: 13px;
    font-weight: 700;
    transition:
        background var(--transition),
        color var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
}

.top-tabs__link:hover {
    color: var(--text);
}

.top-tabs__link.is-active {
    color: #181109;
    background:
        radial-gradient(circle at 50% 20%, rgba(255, 246, 205, 0.2), transparent 42%),
        linear-gradient(180deg, #ffd347 0%, #eda900 68%, #cf8700 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.24),
        0 8px 16px rgba(240, 173, 0, 0.18);
}

/* OPERATORS */
.operators-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border: 1px solid rgba(255, 205, 60, 0.14);
    border-radius: 14px;
    background:
        radial-gradient(circle at 50% 16%, rgba(255, 249, 223, 0.2), transparent 40%),
        linear-gradient(180deg, #ffd347 0%, #eda900 100%);
    color: #1b1408;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 8px 16px rgba(240, 173, 0, 0.16);
    transition: transform var(--transition), box-shadow var(--transition);
}

.operators-link:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 18px 34px rgba(240, 173, 0, 0.24);
}

/* HERO */
.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--hero-aside-width);
    gap: 24px;
    width: 100%;
    max-width: 100%;
    padding: 4px 20px 14px;
    overflow: hidden;
    align-items: start;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    z-index: 0;
    width: 600px;
    height: 600px;
}

.hero::before {
    top: -200px;
    left: -200px;
    background: radial-gradient(circle, rgba(240, 173, 0, 0.12), transparent 60%);
    filter: blur(90px);
}

.hero::after {
    right: -220px;
    bottom: -220px;
    background: radial-gradient(circle, rgba(255, 207, 51, 0.08), transparent 60%);
    filter: blur(110px);
}

.hero-main,
.hero-aside {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.hero-main {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) 420px;
    gap: 18px;
    align-items: stretch;
    min-width: 0;
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    min-height: 100%;
    padding: 30px 30px 26px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 24px;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.03), transparent 40%),
        linear-gradient(180deg, rgba(23, 26, 33, 0.96), rgba(10, 12, 16, 0.99));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 18px 42px rgba(0, 0, 0, 0.28);
}

.hero-cards {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 18px;
    min-width: 0;
    align-self: stretch;
}

.hero-cards .feature-card,
.hero-cards .feature-card--large {
    min-height: 0;
    height: 100%;
}

.hero-cards .feature-card--large {
    padding: 24px 24px 22px;
}

.hero h1 {
    max-width: 620px;
    margin: 16px 0 14px;
    font-size: clamp(28px, 3.9vw, 58px);
    line-height: 0.94;
    letter-spacing: -0.05em;
}

.hero p {
    max-width: 620px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.hero-aside {
    min-width: 0;
}

.right-spotify-panel {
    width: 100%;
    max-width: 100%;
    align-self: stretch;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 248, 214, 0.18), transparent 40%),
        linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #1a1409;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(240, 173, 0, 0.18);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease;
}

.btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 24px 48px rgba(240, 173, 0, 0.22);
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--line);
    box-shadow: none;
    color: var(--text);
}

/* GRID HELPERS */
.feature-grid,
.promo-grid,
.grid {
    display: grid;
    width: 100%;
    max-width: 100%;
}

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

.grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

/* CARDS */
.feature-card,
.promo-card,
.card {
    position: relative;
    overflow: hidden;
    background: var(--panel-card);
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
}

.feature-card::before,
.promo-card::before,
.card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 210, 72, 0.45), rgba(240, 173, 0, 0.08));
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.feature-card::after,
.promo-card::after {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: 0;
    border-radius: inherit;
    background: radial-gradient(
        600px circle at var(--x, 50%) var(--y, 50%),
        rgba(240, 173, 0, 0.12),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover,
.promo-card:hover,
.card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: var(--shadow-strong);
}

.feature-card:hover::before,
.promo-card:hover::before,
.card:hover::before,
.feature-card:hover::after,
.promo-card:hover::after {
    opacity: 1;
}

.feature-card {
    min-height: 150px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 22px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.feature-card--large {
    min-height: 210px;
    padding: 24px 24px 22px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 50% 16%, rgba(255, 247, 209, 0.16), transparent 40%),
        linear-gradient(135deg, #ffd347 0%, #eda900 52%, #c97f00 100%);
    color: #1a1308;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 16px 34px rgba(240, 173, 0, 0.18);
}

.feature-card--large h2,
.feature-card--large h3,
.feature-card--large p,
.feature-card--large a {
    color: #1a1308;
}

.feature-card h2,
.feature-card h3 {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.1;
}

.feature-card p {
    margin: 0;
    color: var(--muted-strong);
    font-size: 12px;
    line-height: 1.6;
}

.feature-card a {
    display: inline-block;
    margin-top: 18px;
    color: var(--accent-3);
    font-size: 14px;
    font-weight: 700;
}

/* SPOTIFY WIDGET */
.spotify-widget {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 300px;
    min-height: 300px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 28px;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.03), transparent 38%),
        linear-gradient(180deg, rgba(20, 23, 29, 0.98), rgba(8, 10, 14, 0.99));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 18px 42px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.spotify-widget__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex: 0 0 auto;
}

.spotify-widget__eyebrow {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--accent-3);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.spotify-widget__heading h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.1;
}

.spotify-widget__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
}

.spotify-widget__embed {
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    flex: 1 1 auto;
    min-height: 0;
}

.spotify-widget__embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 220px;
    border: 0;
}

/* PROMOS */
#promos,
.big-wins {
    width: 100%;
    max-width: 100%;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 100%;
}

.promo-card {
    min-height: 130px;
    width: 100%;
    padding: 18px 22px 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
}

.promo-card span {
    display: inline-block;
    margin-bottom: 10px;
    color: #f3e5b4;
    font-size: 12px;
    opacity: 0.9;
}

.promo-card h3 {
    margin: 0 0 10px;
    font-size: 26px;
    line-height: 1.05;
}

.promo-card p {
    max-width: 28ch;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    line-height: 1.3;
}

.promo-card--pink {
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 246, 205, 0.14), transparent 40%),
        linear-gradient(135deg, #ffd347, #cb8300);
    color: #1a1308;
}

.promo-card--pink span,
.promo-card--pink h3,
.promo-card--pink p {
    color: #1a1308;
}

.promo-card--violet {
    background: linear-gradient(135deg, #2b2f36, #111317);
}

.promo-card--dark {
    background: linear-gradient(180deg, #1b1f26, #0d1015);
}

/* GENERIC CARD */
.card {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    background: linear-gradient(145deg, #191c22, #0f1217);
    text-align: left;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card h2,
.card h3 {
    margin: 0 0 14px;
    font-size: 24px;
    line-height: 1.2;
}

.card p {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.6;
}

/* GAMES */
#games,
.games-showcase {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.games-showcase {
    padding-top: 10px;
    padding-bottom: 8px;
    overflow: hidden;
}

.section-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-bottom: 18px;
}

.section-top > div:first-child {
    min-width: 0;
}

.games-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    width: auto;
    margin-left: auto;
    flex-shrink: 0;
}

.games-nav-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.games-nav {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: var(--radius-sm);
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 248, 214, 0.16), transparent 40%),
        linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #1a1409;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(240, 173, 0, 0.16);
    transition: transform 0.2s ease, opacity 0.2s ease;
    flex-shrink: 0;
}

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

.games-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.games-slider {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: repeat(2, 1fr);
    gap: 14px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    align-items: start;
}

.games-slider::-webkit-scrollbar {
    display: none;
}

.mini-game-card {
    width: 100%;
    min-width: 0;
}

.mini-game-card__image {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: var(--radius-md);
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.34);
    transition: transform var(--transition), box-shadow var(--transition);
}

.mini-game-card__image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(8, 10, 14, 0.96) 0%,
        rgba(8, 10, 14, 0.78) 22%,
        rgba(8, 10, 14, 0.22) 52%,
        rgba(8, 10, 14, 0.04) 100%
    );
}

.mini-game-card__image::after {
    content: "▶";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 248, 214, 0.18), transparent 40%),
        linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #1a1409;
    font-size: 20px;
    box-shadow: 0 0 24px rgba(240, 173, 0, 0.34);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.82);
    transition: opacity var(--transition), transform var(--transition);
}

.mini-game-card__image:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(240, 173, 0, 0.12);
}

.mini-game-card__image:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.mini-game-card__overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 0 10px 14px;
    text-align: center;
}

.mini-game-card__overlay h3 {
    max-width: 92%;
    margin: 0 auto;
    color: var(--text);
    font-size: 24px;
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.72);
}

.mini-game-card__overlay p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 7px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.62);
}

/* HIGHLIGHTS */
#highlights,
.highlights-showcase {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    align-items: start;
}

.highlights-grid .mini-game-card {
    width: 100%;
    min-width: 0;
}

.highlights-grid .mini-game-card__image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius-md);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.34);
    transition: transform var(--transition), box-shadow var(--transition);
}

.highlights-grid .mini-game-card__image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(8, 10, 14, 0.96) 0%,
        rgba(8, 10, 14, 0.78) 28%,
        rgba(8, 10, 14, 0.22) 60%,
        rgba(8, 10, 14, 0.04) 100%
    );
}

.highlights-grid .mini-game-card__image::after {
    content: "▶";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 248, 214, 0.18), transparent 40%),
        linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #1a1409;
    font-size: 20px;
    box-shadow: 0 0 24px rgba(240, 173, 0, 0.34);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.82);
    transition: opacity var(--transition), transform var(--transition);
}

.highlights-grid .mini-game-card__image:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(240, 173, 0, 0.12);
}

.highlights-grid .mini-game-card__image:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.highlights-grid .mini-game-card__overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 0 14px 16px;
    text-align: left;
}

.highlights-grid .mini-game-card__overlay h3 {
    max-width: 100%;
    margin: 0 0 6px;
    color: var(--text);
    font-size: 20px;
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.72);
}

.highlights-grid .mini-game-card__overlay p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.62);
}

/* POSTS */
#posts,
.posts-showcase {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.posts-showcase {
    padding-top: 10px;
    padding-bottom: 8px;
    overflow: hidden;
}

.posts-grid-custom {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    align-items: start;
}

.post-wide-card {
    grid-column: span 2;
    width: 100%;
    min-width: 0;
}

.post-wide-card--featured {
    grid-column: span 3;
}

.post-wide-card__image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 8.2;
    overflow: hidden;
    border-radius: var(--radius-md);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.34);
    transition: transform var(--transition), box-shadow var(--transition);
}

.post-wide-card__image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(8, 10, 14, 0.96) 0%,
        rgba(8, 10, 14, 0.82) 28%,
        rgba(8, 10, 14, 0.28) 60%,
        rgba(8, 10, 14, 0.06) 100%
    );
}

.post-wide-card__image::after {
    /*content: "▶";*/
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 248, 214, 0.18), transparent 40%),
        linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #1a1409;
    font-size: 20px;
    box-shadow: 0 0 24px rgba(240, 173, 0, 0.34);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.82);
    transition: opacity var(--transition), transform var(--transition);
}

.post-wide-card__image:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(240, 173, 0, 0.12);
}

.post-wide-card__image:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.post-wide-card__overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 0 16px 16px;
    text-align: left;
}

.post-wide-card__overlay h3 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 24px;
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.72);
}

.post-wide-card__overlay p {
    max-width: 42ch;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.62);
}

/* FOOTER */
.site-footer {
    margin-top: 48px;
    padding: 56px var(--container-padding) 24px;
    border-top: 1px solid var(--line-soft);
    background: #05070b;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
    gap: 40px;
}

.site-footer__brand {
    max-width: 520px;
}

.site-footer__text {
    margin-top: 18px;
    color: var(--muted);
    line-height: 1.7;
}

.site-footer__links h3 {
    margin: 0 0 18px;
    font-size: 24px;
}

.site-footer__links ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__links li + li {
    margin-top: 12px;
}

.site-footer__links a {
    color: var(--muted);
}

.site-footer__links a:hover {
    color: var(--text);
}

.site-footer__bottom {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid var(--line-soft);
    color: var(--muted);
    font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 1400px) {
    .hero {
        grid-template-columns: 1fr 320px;
    }

    .hero-main {
        grid-template-columns: minmax(0, 1fr) 360px;
    }
}

@media (max-width: 1100px) {
    :root {
        --rail-width: 88px;
        --topbar-height: 70px;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .hero-main,
    .promo-grid,
    .grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .hero-cards {
        grid-template-rows: auto;
    }

    .games-slider {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-template-rows: repeat(3, 1fr);
    }

    .highlights-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .posts-grid-custom {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .post-wide-card,
    .post-wide-card--featured {
        grid-column: span 1;
    }

    .spotify-widget {
        height: 280px;
        min-height: 280px;
    }

    .spotify-widget__embed iframe {
        min-height: 200px;
    }

    .brand__mark {
        width: 48px;
        height: 42px;
        border-radius: 14px;
        font-size: 15px;
    }

    .brand__text {
        font-size: 18px;
    }

    .side-rail__nav {
        gap: 16px;
        margin-top: 46px;
    }

    .side-rail__link {
        width: 52px;
        height: 52px;
        border-radius: 18px;
    }
}

@media (max-width: 767px) {
    :root {
        --rail-width: 76px;
        --topbar-height: 64px;
    }

    .site-main {
        padding: 10px 16px 20px;
    }

    .topbar,
    .hero,
    .section,
    .site-footer {
        padding-left: var(--container-padding-sm);
        padding-right: var(--container-padding-sm);
    }

    .topbar {
        gap: 14px;
        min-height: var(--topbar-height);
        padding: 6px 14px 6px;
        margin-bottom: 2px;
    }

    .topbar__left {
        gap: 14px;
    }

    .side-rail {
        padding: 14px 8px 18px;
    }

    .side-rail__nav {
        gap: 14px;
        margin-top: 34px;
    }

    .side-rail__link {
        width: 46px;
        height: 46px;
        border-radius: 16px;
    }

    .side-rail__icon {
        font-size: 17px;
    }

    .hero-left {
        padding: 34px 26px;
    }

    .hero h1 {
        font-size: 46px;
    }

    .section-head h1,
    .section-head h2 {
        font-size: 30px;
    }

    .section-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .games-toolbar {
        width: 100%;
        margin-left: 0;
        justify-content: space-between;
        align-items: center;
    }

    .games-nav-group {
        margin-left: auto;
    }

    .games-slider {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 98px;
        grid-template-columns: none;
        grid-template-rows: repeat(2, 1fr);
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 6px;
        scroll-snap-type: x proximity;
    }

    .promo-grid {
        grid-template-columns: 1fr;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .posts-grid-custom {
        grid-template-columns: 1fr;
    }

    .post-wide-card,
    .post-wide-card--featured {
        grid-column: span 1;
    }

    .mini-game-card {
        scroll-snap-align: start;
    }

    .mini-game-card__image {
        width: 98px;
    }

    .mini-game-card__overlay h3 {
        font-size: 9px;
    }

    .mini-game-card__overlay p {
        font-size: 7px;
    }

    .highlights-grid .mini-game-card__image {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .highlights-grid .mini-game-card__overlay h3 {
        font-size: 16px;
    }

    .highlights-grid .mini-game-card__overlay p {
        font-size: 9px;
    }

    .post-wide-card__overlay h3 {
        font-size: 18px;
    }

    .post-wide-card__overlay p {
        font-size: 10px;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
    }

    .top-tabs__link {
        min-height: 44px;
        padding: 0 16px;
        font-size: 14px;
    }

    .brand {
        gap: 10px;
    }

    .brand::after {
        width: 110px;
        height: 56px;
        left: -10px;
    }

    .brand__mark {
        width: 44px;
        height: 40px;
        font-size: 13px;
        border-radius: 14px;
    }

    .brand__text {
        font-size: 17px;
    }

    .operators-link {
        min-height: 48px;
        padding: 0 16px;
        font-size: 14px;
    }

    .spotify-widget {
        height: 240px;
        min-height: 240px;
        padding: 14px;
        border-radius: 22px;
    }

    .spotify-widget__embed {
        border-radius: 18px;
    }

    .spotify-widget__embed iframe {
        min-height: 170px;
    }
}

@media (max-width: 560px) {
    :root {
        --rail-width: 70px;
    }

    .site-shell {
        grid-template-columns: var(--rail-width) minmax(0, 1fr);
    }

    .site-main {
        padding: 10px 12px 20px;
    }

    .topbar {
        padding: 8px 12px 10px;
    }

    .brand {
        gap: 8px;
    }

    .brand__mark {
        width: 40px;
        height: 36px;
        font-size: 11px;
        border-radius: 12px;
    }

    .brand__text {
        font-size: 15px;
        letter-spacing: -0.02em;
    }

    .side-rail {
        padding: 12px 7px 16px;
    }

    .side-rail__nav {
        margin-top: 28px;
        gap: 12px;
    }

    .side-rail__link {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .side-rail__icon {
        font-size: 16px;
    }
}