:root {
    /* Spacing */
    --space-4xs: clamp(0.31rem, calc(0.21vw + 0.26rem), 0.44rem);
    --space-3xs: clamp(0.38rem, calc(0.38vw + 0.31rem), 0.62rem);
    --space-2xs: clamp(0.48rem, calc(0.65vw + 0.35rem), 0.88rem);
    --space-xs: clamp(0.6rem, calc(1.04vw + 0.39rem), 1.24rem);
    --space-s: clamp(0.75rem, calc(1.63vw + 0.42rem), 1.75rem);
    --space-m: clamp(0.94rem, calc(2.51vw + 0.44rem), 2.47rem);
    --space-l: clamp(1.17rem, calc(3.8vw + 0.41rem), 3.5rem);
    --space-xl: clamp(1.47rem, calc(5.69vw + 0.33rem), 4.95rem);
    --space-2xl: clamp(1.83rem, calc(8.43vw + 0.14rem), 7rem);
    --space-3xl: clamp(2.29rem, calc(12.41vw + -0.19rem), 9.89rem);
    --space-4xl: clamp(2.86rem, calc(18.17vw + -0.77rem), 13.99rem);

    /* Text */
    --text-xs: clamp(0.48rem, calc(0.39vw + 0.4rem), 0.72rem);
    --text-s: clamp(0.6rem, calc(0.49vw + 0.5rem), 0.9rem);
    --text-m: clamp(0.75rem, calc(0.61vw + 0.63rem), 1.13rem);
    --text-l: clamp(0.94rem, calc(0.77vw + 0.78rem), 1.41rem);
    --text-xl: clamp(1.17rem, calc(0.96vw + 0.98rem), 1.76rem);
    --text-2xl: clamp(1.47rem, calc(1.2vw + 1.23rem), 2.2rem);
    --text-3xl: clamp(1.83rem, calc(1.49vw + 1.53rem), 2.75rem);
    --text-4xl: clamp(2.29rem, calc(1.87vw + 1.92rem), 3.43rem);

    /* Colors */
    --background-color: #050505;
    --surface-color: #111111;
    --accent-color: #1ed760;
    --accent-color-soft: rgba(30, 215, 96, 0.12);
    --text-color: #ffffff;
    --text-muted-color: #a0a0a0;
    --border-subtle-color: rgba(255, 255, 255, 0.08);
    --sidebar-background-color: #000000;

    --banner-mission-start: #f65ad2;
    --banner-mission-end: #7b5cff;
    --banner-cashback-start: #39e07b;
    --banner-cashback-end: #ffd25c;
    --banner-wheel-start: #0056ff;
    --banner-wheel-end: #05c98b;

    /* Layout sizes */
    --header-height: 64px;
    --sidebar-width: 400px;
    --content-max-width: 1400px;

    /* Play cards */
    --play-sport-start: #06954a;
    --play-sport-end: #1cd86d;
    --play-esports-start: #2341c1;
    --play-esports-end: #0091ff;
    --play-aviator-start: #8b1fd3;
    --play-aviator-end: #ff4a7d;
    --play-mines-start: #d02222;
    --play-mines-end: #ff7a2b;
}

@font-face {
    font-family: 'Roboto';
    src: url('/assets/fonts/Roboto-VariableFont_wdth,wght.woff2') format('woff2');
    font-weight: 300 800;
    font-style: normal;
}

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

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    font-size: 16px;
    overflow-x: hidden;
}

body.hero-slider-dragging {
    overflow: hidden;
}

html {
    scroll-behavior: smooth;
}

h1 {
    margin: 0.67em;
    font-size: 2em;
}

ul, ol {
    padding-left: 1.5em;
}

ul.sidebar-menu-list,
.sidebar-menu ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--background-color);
    height: var(--header-height);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--surface-color) 0%, var(--background-color) 55%, var(--background-color) 100%);
    transform-origin: left top;
    transform: skewX(-8deg);
}

.header-inner {
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-inline: var(--space-xs);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3xs);
}

.logo-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-4xs);
    text-decoration: none;
    color: var(--text-color);
}

.logo-image {
    display: block;
    height: 32px;
    width: auto;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3xs);
}

.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    padding-block: var(--space-4xs);
    padding-inline: var(--space-xs);
    border-radius: 10px;
    border: 1px solid var(--accent-color);
    font-size: var(--text-m);
    font-weight: 500;
    text-decoration: none;
    color: var(--accent-color);
    background-color: transparent;
    background-image: linear-gradient(135deg, var(--accent-color-soft), transparent);
    transition: all 0.2s ease;
}

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

.button-link:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.button-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px var(--accent-color-soft), 0 8px 18px rgba(0, 0, 0, 0.65);
}

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

.page-layout {
    display: flex;
    min-height: calc(100vh - var(--header-height));
}

.sidebar {
    position: fixed;
    top: var(--header-height);
    left: 0;
    z-index: 50;
    max-width: var(--sidebar-width);
    height: calc(100vh - var(--header-height));
    background-color: var(--sidebar-background-color);
    box-shadow: 8px 0 24px rgba(0, 0, 0, 0.85);
    padding: var(--space-xs) var(--space-2xs);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.sidebar-top {
    display: flex;
    flex-direction: column;
    gap: var(--space-3xs);
}

.sidebar-row {
    display: flex;
    gap: var(--space-2xs);
}

.sidebar-card {
    flex: 1;
    border-radius: 20px;
    padding: var(--space-3xs);
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sidebar-card-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sidebar-card.mission {
    background: linear-gradient(257.27deg,#eb17bc -.09%,rgba(15,44,14,0) 74.07%),#1e1e1e;
}

.sidebar-card.cashback {
    background: linear-gradient(257.27deg,#17eb85 -.09%,rgba(15,44,14,0) 74.07%),#1e1e1e;
}

.sidebar-card.wheel {
    background: linear-gradient(257.27deg,#176beb -.09%,rgba(15,44,14,0) 74.07%),#1e1e1e;
}

.sidebar-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-3xs);
}

.sidebar-card-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-card-label {
    font-size: var(--text-xs);
    opacity: 0.85;
}

.sidebar-card-title {
    font-size: var(--text-m);
    font-weight: 700;
}

.sidebar-card-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
}

.sidebar-section-title {
    font-size: var(--text-s);
    font-weight: 600;
    margin-bottom: var(--space-3xs);
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: var(--space-3xs);
}

.sidebar-menu ul .sidebar-item:nth-child(5) {
    margin: var(--space-s) 0;
}

.sidebar-item {
    margin: 12px 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: var(--space-3xs);
    padding: var(--space-2xs);
    border-radius: 8px;
    background-color: var(--surface-color);
    color: var(--text-color);
    text-decoration: none;
    font-size: var(--text-s);
    transition: all 0.2s ease;
}

.sidebar-link:hover {
    opacity: 0.8;
}

.sidebar-icon-placeholder {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--surface-color);
    flex-shrink: 0;
}


.page-content {
    width: calc(100% - var(--sidebar-width));
    margin-left: var(--sidebar-width);
    padding: 20px 0;
    min-height: calc(100vh - var(--header-height));
}

.content-inner {
    width: 100%;
    max-width: var(--content-max-width);
    margin-left: max(0px, calc(50vw - (var(--content-max-width) / 2) - var(--sidebar-width) - var(--space-m)));
    margin-right: auto;
}

/* Article page */
.article-page {
    margin-bottom: var(--space-2xl);
    padding: var(--space-m) 0;
}

.article-page h1 {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 var(--space-s);
    line-height: 1.25;
}

.article-page h2 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-color);
    margin: var(--space-l) 0 var(--space-s);
    line-height: 1.3;
}

.article-page h3 {
    font-size: var(--text-l);
    font-weight: 600;
    color: var(--text-color);
    margin: var(--space-m) 0 var(--space-2xs);
    line-height: 1.35;
}

.article-page p {
    font-size: var(--text-m);
    color: var(--text-muted-color);
    line-height: 1.6;
    margin: 0 0 var(--space-s);
}

.article-page p:last-child {
    margin-bottom: 0;
}

/* Article images (centered, never larger than intrinsic size) */
.article-page img {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--space-m);
    border-radius: var(--space-s);
    border: 1px solid var(--border-subtle-color);
}

/* Article tables: horizontal scroll */
.article-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: var(--space-s) 0 var(--space-m);
    border-radius: var(--space-s);
    background-color: var(--surface-color);
    border: 1px solid var(--border-subtle-color);
}

.article-page table {
    width: 100%;
    min-width: 400px;
    border-collapse: collapse;
    font-size: var(--text-s);
    color: var(--text-color);
}

.article-page table th,
.article-page table td {
    padding: var(--space-2xs) var(--space-s);
    text-align: left;
    border-bottom: 1px solid var(--border-subtle-color);
}

.article-page table th {
    font-weight: 600;
    color: var(--text-color);
    background-color: rgba(255, 255, 255, 0.04);
}

.article-page table tr:last-child td {
    border-bottom: none;
}

.article-page table tr:hover td {
    background-color: rgba(255, 255, 255, 0.03);
}

/* Article section with image (text left, image right) */
.article-section-with-image {
    display: flex;
    align-items: flex-start;
    gap: var(--space-l);
    margin: var(--space-l) 0 var(--space-m);
}

.article-section-content {
    flex: 1;
    min-width: 0;
}

.article-section-with-image .article-section-content h2 {
    margin-top: 0;
}

.article-section-image {
    flex-shrink: 0;
    width: 350px;
    max-width: 100%;
}

.article-section-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--space-s);
    border: 1px solid var(--border-subtle-color);
}

.article-section-image.article-section-image--plain img {
    border: none;
    background: none;
    box-shadow: none;
}

.article-section-image.article-section-image--plain {
    text-align: center;
}

@media (max-width: 768px) {
    .article-section-with-image {
        flex-direction: column;
        gap: var(--space-m);
    }

    .article-section-image {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
}

/* FAQ accordion */
.faq-accordion {
    margin-top: var(--space-s);
}

.faq-accordion-item {
    border: 1px solid var(--border-subtle-color);
    border-radius: var(--space-s);
    background-color: var(--surface-color);
    margin-bottom: var(--space-2xs);
    overflow: hidden;
}

.faq-accordion-item:last-child {
    margin-bottom: 0;
}

.faq-accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-s);
    padding: var(--space-s) var(--space-m);
    font-family: inherit;
    font-size: var(--text-m);
    font-weight: 500;
    color: var(--text-color);
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.faq-accordion-trigger:hover {
    background-color: rgba(255, 255, 255, 0.04);
    color: var(--accent-color);
}

.faq-accordion-trigger[aria-expanded="true"] {
    color: var(--accent-color);
}

.faq-accordion-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    position: relative;
    transition: transform 0.25s ease;
}

.faq-accordion-icon::before,
.faq-accordion-icon::after {
    content: "";
    position: absolute;
    background-color: currentColor;
    transition: transform 0.25s ease;
}

.faq-accordion-icon::before {
    left: 50%;
    top: 50%;
    width: 10px;
    height: 2px;
    margin-left: -5px;
    margin-top: -1px;
}

.faq-accordion-icon::after {
    left: 50%;
    top: 50%;
    width: 2px;
    height: 10px;
    margin-left: -1px;
    margin-top: -5px;
}

.faq-accordion-trigger[aria-expanded="true"] .faq-accordion-icon::after {
    transform: scaleY(0);
}

.faq-accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-accordion-panel.is-open {
    max-height: 1200px;
}

.faq-accordion-panel p {
    margin: 0;
    padding: 0 var(--space-m) var(--space-s);
}

.faq-accordion-panel.is-open p {
    padding-top: var(--space-2xs);
}

.hero {
    margin-bottom: var(--space-l);
}

.hero-inner {
    display: flex;
    gap: var(--space-s);
    align-items: stretch;
}

.hero-slider {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: var(--space-s);
    background-color: var(--surface-color);
    min-width: 0;
    min-height: 320px;
}

.hero-slider-viewport {
    position: absolute;
    inset: 0;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    z-index: 1;
}

.hero-slider-dots {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-3xs);
    padding-left: var(--space-s);
    padding-right: var(--space-2xs);
    z-index: 2;
    pointer-events: none;
}

.hero-slider-dots .hero-slider-dot {
    pointer-events: auto;
}

.hero-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--border-subtle-color);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.2s ease;
}

.hero-slider-dot.is-active {
    background-color: var(--accent-color);
}

.hero-slider-dot:hover {
    background-color: var(--text-muted-color);
}

.hero-slider.is-dragging .hero-slider-viewport {
    cursor: grabbing;
}

.hero-slider-track {
    display: flex;
    width: 300%;
    height: 100%;
    min-height: 320px;
    transition: transform 0.35s ease-out;
}

.hero-slide {
    flex: 0 0 33.333333%;
    width: 33.333333%;
    min-width: 0;
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 320px;
    overflow: hidden;
    background-color: var(--surface-color);
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.25) 45%, transparent 75%);
    z-index: 1;
    pointer-events: none;
}

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

.hero-slide-content {
    position: relative;
    padding: var(--space-m);
    z-index: 2;
    max-width: 60%;
}

.hero-slide-label {
    font-size: var(--text-s);
    color: var(--text-muted-color);
    margin-bottom: var(--space-2xs);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.hero-slide-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: var(--space-s);
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-vip {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-m);
    border-radius: var(--space-s);
    background: var(--surface-color) url("/assets/img/bg-vip.webp") center/cover no-repeat;
}

.hero-vip-image-wrap {
    max-width: 100%;
    aspect-ratio: 1;
    margin-bottom: var(--space-s);
    overflow: hidden;
    border-radius: var(--space-2xs);
}

.hero-vip-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.hero-vip-title {
    font-size: var(--text-l);
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: var(--space-s);
    text-align: center;
}

.hero-vip-btn {
    background-color: var(--surface-color);
    border-color: var(--border-subtle-color);
    color: var(--text-color);
}

.hero-vip-btn:hover {
    border-color: var(--text-muted-color);
}

.play {
    margin-bottom: var(--space-l);
}

.play-title {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-s);
}

.play-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-s);
}

.play-card {
    position: relative;
    display: flex;
    min-height: 100px;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3xs);
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-color);
    overflow: hidden;
}

.play-card::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.85;
}

.play-card-sport::before {
    background: linear-gradient(252deg,#1ed760,rgba(23,23,23,0) 85.31%),#171717;
}

.play-card-esports::before {
    background: linear-gradient(252deg,#2e7bd7,rgba(23,23,23,0) 89.01%),#171717;
}

.play-card-aviator::before {
    background: linear-gradient(252deg,#e82375,rgba(23,23,23,0) 92.97%),#171717;
}

.play-card-mines::before {
    background: linear-gradient(252deg,#df1818,rgba(23,23,23,0) 93.08%),#171717;
}

.play-card-content {
    position: relative;
    z-index: 1;
}

.play-card-label {
    font-size: var(--text-m);
    color: var(--text-muted-color);
    margin-bottom: var(--space-4xs);
}

.play-card-name {
    font-size: var(--text-xl);
    font-weight: 700;
}

.play-card-image-wrap {
    position: absolute;
    right: -40px;
    top: -20px;
    z-index: 1;
    flex-shrink: 0;
    width: 50%;
    max-width: 140px;
    overflow: hidden;
}

.play-card-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.play-card:hover .play-card-image {
    transform: scale(1.1);
}

.top-games {
    margin-bottom: var(--space-l);
}

.top-games-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-s);
    margin-bottom: var(--space-s);
}

.top-games-title {
    font-size: var(--text-xl);
    font-weight: 700;
}

.top-games-subtitle {
    font-size: var(--text-s);
    color: var(--text-muted-color);
}

.top-games-controls {
    display: flex;
    align-items: center;
    gap: var(--space-3xs);
}

.top-games-view-all {
    font-size: var(--text-l);
    color: var(--text-color);
    text-decoration: none;
    padding: var(--space-4xs) var(--space-3xs);
    border-radius: 999px;
    background-color: var(--surface-color);
}

.top-games-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background-color: var(--surface-color);
    color: var(--text-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: var(--text-m);
}

.top-games-carousel {
    position: relative;
    overflow: hidden;
}

.top-games-list {
    display: flex;
    gap: var(--space-xs);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.top-games-list::-webkit-scrollbar {
    display: none;
}

.top-game-card {
    display: block;
    position: relative;
    flex: 0 0 160px;
    border-radius: var(--space-m);
    overflow: hidden;
    text-decoration: none;
    color: var(--text-color);
    cursor: pointer;
}

.top-game-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 0.7;
}

.top-game-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.top-game-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-3xs);
    padding: var(--space-s);
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.top-game-card:hover .top-game-overlay {
    opacity: 1;
    pointer-events: auto;
}

.top-game-name {
    font-size: var(--text-m);
    font-weight: 700;
}

.top-game-play {
    min-width: 120px;
}

.top-game-demo {
    border: none;
    background: none;
    color: var(--accent-color);
    font-size: var(--text-s);
    cursor: pointer;
    text-decoration: none;
}

.providers {
    margin-bottom: var(--space-l);
}

.provider-card {
    flex: 0 0 176px;
    border-radius: 10px;
    background-color: var(--surface-color);
    padding: var(--space-2xs);
}

.provider-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.provider-logo-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.provider-logo {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
    display: block;
}

/* Footer */
.site-footer {
    background-color: var(--surface-color);
    color: var(--text-color);
    width: 100%;
}

.footer-inner {
    max-width: var(--content-max-width);
    margin-left: max(calc(var(--sidebar-width) + var(--space-m)), calc(50vw - (var(--content-max-width) / 2)));
    margin-right: auto;
    padding: var(--space-xl) var(--space-m);
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xl);
    margin-bottom: var(--space-m);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-s);
}

.footer-logo-link {
    display: block;
}

.footer-logo {
    display: block;
    height: 32px;
    width: auto;
}

.footer-social {
    display: flex;
    gap: var(--space-2xs);
}

.footer-social-link {
    display: inline-flex;
}

.footer-social-link img {
    display: block;
    width: 32px;
    height: 32px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xl);
    margin-left: auto;
}

.footer-col-title {
    font-size: var(--text-m);
    font-weight: 700;
    margin-bottom: var(--space-2xs);
    color: var(--text-color);
}

.footer-list {
    list-style: none;
    padding: 0;
}

.footer-list li {
    margin-bottom: var(--space-3xs);
}

.footer-list a {
    font-size: var(--text-m);
    color: var(--text-muted-color);
    text-decoration: none;
}

.footer-list a:hover {
    color: var(--text-color);
}

.footer-payments {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-s);
    margin-bottom: var(--space-s);
    padding-top: var(--space-xs);
    border-top: 1px solid var(--border-subtle-color);
}

.footer-payment-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-s);
    padding-top: var(--space-m);
    border-top: 1px solid var(--border-subtle-color);
}

.footer-age {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--background-color);
    font-size: var(--text-m);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-copy {
    font-size: var(--text-s);
    color: var(--text-muted-color);
    width: 60%;
}

/* Mobile: bottom nav hidden on desktop */
.bottom-nav {
    display: none;
}

.sidebar-overlay {
    display: none;
}

/* ========== Mobile ========== */
@media (max-width: 900px) {
    .page-layout {
        display: block;
    }

    .sidebar {
        top: var(--header-height);
        left: 0;
        width: min(320px, 85vw);
        max-width: none;
        height: calc(100vh - var(--header-height));
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        overflow-y: auto;
    }

    body.is-menu-open .sidebar {
        transform: translateX(0);
    }

    .hero-vip {
        width: 100%;
    }

    .sidebar-overlay {
        display: block;
        position: fixed;
        top: var(--header-height);
        left: min(320px, 85vw);
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 55;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
    }

    body.is-menu-open .sidebar-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    body.is-menu-open {
        overflow: hidden;
    }

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

    .play-card {
        min-height: 70px;
    }

    .header-inner {
        padding-inline: var(--space-s);
    }

    .header-actions .button-link {
        min-width: auto;
        padding-inline: var(--space-2xs);
    }

    .page-content {
        margin-left: 0;
        width: 100%;
        padding-bottom: 72px;
    }

    .content-inner {
        margin-left: auto;
        margin-right: auto;
        padding-inline: var(--space-s);
    }

    .site-footer .footer-inner {
        margin-left: auto;
        margin-right: auto;
        padding-inline: var(--space-s);
    }

    .site-footer {
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 40px;
    }

    .hero-inner {
        flex-direction: column;
    }

    .play-cards {
        grid-template-columns: 1fr 1fr;
    }

    .top-games-header {
        flex-wrap: wrap;
    }

    .top-game-card {
        flex: 0 0 140px;
    }

    .provider-card {
        flex: 0 0 140px;
    }

    /* Bottom nav */
    .bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 64px;
        background-color: var(--surface-color);
        border-top: 1px solid var(--border-subtle-color);
        z-index: 50;
        align-items: center;
        justify-content: space-around;
        padding-inline: var(--space-2xs);
    }

    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        padding: var(--space-3xs);
        color: var(--text-muted-color);
        text-decoration: none;
        font-size: var(--text-m);
        background: none;
        border: none;
        cursor: pointer;
        font-family: inherit;
        flex: 1;
        min-width: 0;
    }

    .bottom-nav-item:hover {
        color: var(--text-color);
    }

    .bottom-nav-item .bottom-nav-icon {
        font-size: 1.25rem;
        line-height: 1;
    }

    .bottom-nav-deposit .bottom-nav-icon {
        color: var(--accent-color);
        font-weight: 700;
    }

    body.is-menu-open .bottom-nav-menu {
        color: var(--accent-color);
    }
}