/* Luxury Indonesian casino — cream, burgundy, gold (not navy/cyan) */
:root,
[data-theme="light"] {
    --theme: light;
    --cream: #f3eadc;
    --ivory: #faf6ee;
    --paper: #fffdf8;
    --wine: #6b1d2a;
    --wine-deep: #3d0e16;
    --wine-soft: #8a2a3a;
    --gold: #c4a35a;
    --gold-bright: #e0c078;
    --ink: #241714;
    --muted: #6d5c52;
    --line: rgba(36, 23, 20, 0.12);
    --shadow: 0 18px 40px rgba(61, 14, 22, 0.12);
    --radius: 4px;
    --font-display: "Cormorant Garamond", "Times New Roman", serif;
    --font-body: "Outfit", "Poppins", "Segoe UI", sans-serif;
    --max: 1180px;
    --nav-h: 84px;

    /* Theme specific surface & toggle variables */
    --nav-bg: rgba(255, 253, 248, 0.92);
    --nav-bg-scrolled: rgba(255, 253, 248, 0.98);
    --nav-border: rgba(196, 163, 90, 0.45);
    --drawer-bg: var(--paper);
    --card-border: transparent;
    --card-border-hover: var(--gold);
    --footer-bg: #1a0d0f;
    --footer-text: rgba(255, 247, 236, 0.78);
    --footer-line: rgba(255, 255, 255, 0.1);
    --toggle-bg: rgba(107, 29, 42, 0.06);
    --toggle-border: rgba(107, 29, 42, 0.22);
    --toggle-color: var(--wine);
    --toggle-hover-bg: rgba(196, 163, 90, 0.16);
    --toggle-hover-border: var(--gold);
    --hero-overlay: linear-gradient(90deg, rgba(42, 10, 16, 0.92) 0%, rgba(42, 10, 16, 0.55) 48%, rgba(42, 10, 16, 0.25) 100%);
    --hero-overlay-mobile: linear-gradient(180deg, rgba(42, 10, 16, 0.88) 18%, rgba(42, 10, 16, 0.72) 100%);
}

[data-theme="dark"] {
    --theme: dark;
    --cream: #140a0e;
    --ivory: #0d0609;
    --paper: #1a0f15;
    --wine: #c44358;
    --wine-deep: #16080d;
    --wine-soft: #dc566d;
    --gold: #dfbe75;
    --gold-bright: #f3d898;
    --ink: #f7f1e8;
    --muted: #b8a69a;
    --line: rgba(223, 190, 117, 0.15);
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.55);

    /* Theme specific surface & toggle variables */
    --nav-bg: rgba(13, 6, 9, 0.92);
    --nav-bg-scrolled: rgba(13, 6, 9, 0.98);
    --nav-border: rgba(223, 190, 117, 0.25);
    --drawer-bg: #180d13;
    --card-border: rgba(223, 190, 117, 0.12);
    --card-border-hover: var(--gold);
    --footer-bg: #090406;
    --footer-text: rgba(247, 241, 232, 0.75);
    --footer-line: rgba(223, 190, 117, 0.12);
    --toggle-bg: rgba(223, 190, 117, 0.12);
    --toggle-border: rgba(223, 190, 117, 0.35);
    --toggle-color: var(--gold-bright);
    --toggle-hover-bg: rgba(223, 190, 117, 0.22);
    --toggle-hover-border: var(--gold-bright);
    --hero-overlay: linear-gradient(90deg, rgba(16, 6, 9, 0.94) 0%, rgba(16, 6, 9, 0.65) 48%, rgba(16, 6, 9, 0.35) 100%);
    --hero-overlay-mobile: linear-gradient(180deg, rgba(16, 6, 9, 0.92) 18%, rgba(16, 6, 9, 0.8) 100%);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--ivory);
    color: var(--ink);
    line-height: 1.65;
    padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
    padding-bottom: 0;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* Smooth theme transitions */
body,
.main-navbar,
.navbar-brand .brand-text,
.nav-link,
.header-login,
.header-cta,
.service-card,
.step-card,
.price-card,
.winner-card,
.news-card,
.pay-card,
.logo-chip,
.game-card,
.mobile-menu,
.faq-item,
.faq-q,
.theme-toggle,
.mobile-toggle,
.mobile-theme-btn {
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.wrap {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
}

/* Header */
.main-navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    height: auto;
    min-height: var(--nav-h);
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    box-shadow: 0 1px 0 var(--nav-border);
    padding-top: env(safe-area-inset-top, 0px);
    transform: none !important;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.main-navbar.scrolled {
    background: var(--nav-bg-scrolled);
    box-shadow: 0 1px 0 var(--nav-border), var(--shadow);
}

.navbar-container {
    position: relative;
    z-index: 1002;
    height: var(--nav-h);
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex-shrink: 0;
}

.brand-logo {
    height: 40px;
    width: auto;
    flex-shrink: 0;
}

.brand-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--wine);
    line-height: 1;
    white-space: nowrap;
}

[data-theme="dark"] .brand-text {
    color: var(--gold-bright);
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
}

.nav-links::-webkit-scrollbar {
    display: none;
}

.nav-links li {
    flex: 0 0 auto;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 12px;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink);
    white-space: nowrap;
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 4px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.nav-link.active,
.nav-link:hover {
    color: var(--wine);
}

[data-theme="dark"] .nav-link.active,
[data-theme="dark"] .nav-link:hover {
    color: var(--gold-bright);
}

.nav-link.active::after,
.nav-link:hover::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.header-login {
    display: inline-flex;
    align-items: center;
    height: 42px;
    padding: 0 16px;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--wine);
    border: 1px solid rgba(107, 29, 42, 0.28);
    background: transparent;
}

.header-login:hover {
    border-color: var(--wine);
    background: rgba(107, 29, 42, 0.04);
}

[data-theme="dark"] .header-login {
    color: var(--gold-bright);
    border-color: rgba(223, 190, 117, 0.35);
}

[data-theme="dark"] .header-login:hover {
    border-color: var(--gold-bright);
    background: rgba(223, 190, 117, 0.08);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    height: 42px;
    padding: 0 20px;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--wine);
    color: #fff;
}

.header-cta:hover {
    background: var(--wine-deep);
}

[data-theme="dark"] .header-cta:hover {
    background: var(--wine-soft);
}

/* Theme Toggle Buttons */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--toggle-border);
    background: var(--toggle-bg);
    color: var(--toggle-color);
    border-radius: var(--radius);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-toggle:hover {
    background: var(--toggle-hover-bg);
    border-color: var(--toggle-hover-border);
    transform: scale(1.05);
}

.theme-toggle:active {
    transform: scale(0.95);
}

.theme-toggle .theme-icon {
    width: 20px;
    height: 20px;
    position: absolute;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.theme-toggle .icon-sun {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    color: #e5a324;
}

.theme-toggle .icon-moon {
    opacity: 0;
    transform: scale(0.4) rotate(-90deg);
    color: var(--gold-bright);
}

[data-theme="dark"] .theme-toggle .icon-sun {
    opacity: 0;
    transform: scale(0.4) rotate(90deg);
}

[data-theme="dark"] .theme-toggle .icon-moon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* Mobile Quick Theme Button in Header */
.mobile-theme-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--toggle-color);
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
    border-radius: var(--radius);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.mobile-theme-toggle:active {
    transform: scale(0.94);
}

.mobile-theme-toggle .theme-icon {
    width: 20px;
    height: 20px;
    position: absolute;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.mobile-theme-toggle .icon-sun {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    color: #e5a324;
}

.mobile-theme-toggle .icon-moon {
    opacity: 0;
    transform: scale(0.4) rotate(-90deg);
    color: var(--gold-bright);
}

[data-theme="dark"] .mobile-theme-toggle .icon-sun {
    opacity: 0;
    transform: scale(0.4) rotate(90deg);
}

[data-theme="dark"] .mobile-theme-toggle .icon-moon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* Mobile Toggle Button */
.mobile-toggle {
    display: none;
    position: relative;
    z-index: 1003;
    width: 44px;
    height: 44px;
    border: 1px solid var(--toggle-border);
    background: var(--toggle-bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.mobile-toggle:active {
    transform: scale(0.94);
}

.mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

[data-theme="dark"] .mobile-toggle span {
    background: var(--gold-bright);
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer Overlay */
.mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 99999;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0.3s ease;
}

.mobile-drawer.active {
    visibility: visible;
    pointer-events: auto;
}

.mobile-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 3, 5, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.active .mobile-backdrop {
    opacity: 1;
}

/* Mobile Menu Slide Panel */
.mobile-menu {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 86vw);
    height: 100%;
    background: var(--drawer-bg);
    box-shadow: -16px 0 45px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
    border-left: 1px solid var(--line);
}

.mobile-drawer.active .mobile-menu {
    transform: translateX(0);
}

/* Drawer Header */
.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(18px + env(safe-area-inset-top, 0px)) 20px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}

.mobile-drawer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--toggle-bg);
    color: var(--ink);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.mobile-drawer-close:hover {
    background: var(--toggle-hover-bg);
    color: var(--wine);
}

[data-theme="dark"] .mobile-drawer-close:hover {
    color: var(--gold-bright);
}

.mobile-drawer-close:active {
    transform: scale(0.92);
}

/* Drawer Body */
.mobile-menu-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Mobile Theme Row */
.mobile-theme-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 500;
}

.mobile-theme-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-theme-info svg {
    color: var(--gold);
}

.mobile-theme-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid var(--toggle-border);
    background: var(--toggle-bg);
    color: var(--toggle-color);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-theme-btn:hover {
    border-color: var(--gold);
}

.mobile-theme-btn:active {
    transform: scale(0.95);
}

/* Mobile Navigation List */
.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 12px;
    border-radius: 6px;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.mobile-nav-link svg {
    color: var(--muted);
    transition: transform 0.2s ease, color 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: var(--paper);
    color: var(--wine);
    padding-left: 16px;
}

.mobile-nav-link:hover svg,
.mobile-nav-link.active svg {
    color: var(--gold);
    transform: translateX(3px);
}

[data-theme="dark"] .mobile-nav-link:hover,
[data-theme="dark"] .mobile-nav-link.active {
    color: var(--gold-bright);
    background: rgba(223, 190, 117, 0.08);
}

/* Support Box */
.mobile-support-box {
    margin-top: auto;
    padding: 12px 14px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 8px;
    font-size: 0.78rem;
    color: #10b981;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.support-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 6px #10b981;
}

/* Drawer Footer */
.mobile-drawer-footer {
    padding: 16px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line);
    background: var(--paper);
}

.mobile-cta-group {
    display: flex;
    gap: 10px;
}

.mobile-btn-primary,
.mobile-btn-secondary {
    flex: 1;
    text-align: center;
    padding: 14px 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.mobile-btn-primary {
    background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
    color: var(--wine-deep);
    box-shadow: 0 4px 14px rgba(196, 163, 90, 0.3);
}

.mobile-btn-primary:active {
    transform: scale(0.97);
}

.mobile-btn-secondary {
    border: 1px solid var(--wine);
    color: var(--wine);
    background: transparent;
}

[data-theme="dark"] .mobile-btn-secondary {
    border-color: var(--gold);
    color: var(--gold-bright);
}

.mobile-btn-secondary:active {
    transform: scale(0.97);
}

body.menu-open {
    overflow: hidden;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: calc(100vh - var(--nav-h));
    display: grid;
    align-items: center;
    overflow: hidden;
    background: var(--wine-deep);
    color: #fff;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(42, 10, 16, 0.94) 0%, rgba(42, 10, 16, 0.72) 48%, rgba(42, 10, 16, 0.35) 100%),
        url("/uploads/logo.webp") center / cover no-repeat;
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(-45deg, transparent, transparent 12px, rgba(196, 163, 90, 0.04) 12px, rgba(196, 163, 90, 0.04) 13px);
}

.hero-container {
    position: relative;
    z-index: 1;
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    padding: 72px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    max-width: 640px;
}

.hero-brand-emblem {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.hero-logo-img {
    height: 54px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.45));
    transition: transform 0.3s ease;
}

.hero-logo-img:hover {
    transform: scale(1.04);
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(196, 163, 90, 0.15);
    border: 1px solid rgba(196, 163, 90, 0.35);
    padding: 6px 14px;
    border-radius: 9999px;
    color: var(--gold-bright);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.hero-kicker .live-dot {
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px #10b981;
    animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.8);
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.4vw, 4rem);
    line-height: 1.08;
    font-weight: 600;
    margin-bottom: 18px;
    letter-spacing: -0.01em;
    color: #fff;
}

.hero-title em {
    font-style: italic;
    color: var(--gold-bright);
    text-shadow: 0 0 30px rgba(224, 192, 120, 0.35);
}

.hero-subtitle {
    color: rgba(255, 247, 236, 0.88);
    margin-bottom: 30px;
    font-size: 1.02rem;
    line-height: 1.7;
    max-width: 34em;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.btn-solid,
.btn-ghost,
.btn-line {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: var(--radius);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-solid {
    background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
    color: var(--wine-deep);
    font-weight: 700;
    box-shadow: 0 4px 18px rgba(196, 163, 90, 0.28);
}

.btn-solid:hover {
    background: linear-gradient(135deg, #fff 0%, var(--gold-bright) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(196, 163, 90, 0.45);
}

.btn-solid:active {
    transform: translateY(0);
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold-bright);
    background: rgba(196, 163, 90, 0.12);
    transform: translateY(-2px);
}

.btn-ghost:active {
    transform: translateY(0);
}

.btn-line {
    border: 1px solid var(--wine);
    color: var(--wine);
    background: transparent;
}

.btn-line:hover {
    background: var(--wine);
    color: #fff;
    transform: translateY(-2px);
}

[data-theme="dark"] .btn-line {
    border-color: var(--gold);
    color: var(--gold-bright);
}

[data-theme="dark"] .btn-line:hover {
    background: var(--gold);
    color: var(--wine-deep);
}

.play-icon {
    width: 28px;
    height: 28px;
    border: 1px solid currentColor;
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: transform 0.2s ease;
}

.btn-ghost:hover .play-icon {
    transform: scale(1.1);
}

.play-icon svg {
    width: 10px;
    height: 10px;
}

/* Hero Trust Bar */
.hero-trust-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255, 247, 236, 0.85);
    font-weight: 500;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 14px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-trust-item .trust-icon {
    font-size: 0.95rem;
}

/* Hero Visual Card */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-visual-card {
    background: rgba(26, 7, 12, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(196, 163, 90, 0.45);
    border-radius: 12px;
    padding: 32px 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(196, 163, 90, 0.16);
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hero-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-card-logo {
    height: 44px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

.hero-card-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    color: #10b981;
    font-weight: 700;
    background: rgba(16, 185, 129, 0.12);
    padding: 4px 10px;
    border-radius: 9999px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.hero-card-badge {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-bright);
    font-weight: 700;
    margin-bottom: 6px;
}

.hero-card-jackpot {
    font-family: var(--font-display);
    font-size: 2.1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    text-shadow: 0 0 24px rgba(224, 192, 120, 0.4);
    letter-spacing: 0.02em;
}

.hero-card-note {
    color: rgba(255, 247, 236, 0.82);
    font-size: 0.86rem;
    line-height: 1.5;
    margin-top: 6px;
}

.btn-card-claim {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 0.82rem;
}

/* Inner Page Hero Header */
.inner-hero-header {
    display: flex;
    align-items: center;
    gap: 24px;
}

.inner-hero-logo {
    height: 64px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.4));
    flex-shrink: 0;
}

/* Section heads */
.sec {
    padding: 88px 0;
}

.sec-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 40px;
}

.sec-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.sec-title span {
    color: var(--wine);
    font-style: italic;
}

[data-theme="dark"] .sec-title span {
    color: var(--gold-bright);
}

.sec-sub {
    color: var(--muted);
    max-width: 38em;
    margin-top: 8px;
    font-size: 1rem;
    line-height: 1.6;
}

.view-all {
    white-space: nowrap;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--wine);
    border-bottom: 1px solid var(--gold);
    padding-bottom: 4px;
    font-weight: 600;
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.view-all:hover {
    color: var(--gold);
    transform: translateX(3px);
}

[data-theme="dark"] .view-all {
    color: var(--gold-bright);
}

/* Steps */
.steps {
    background: var(--ivory);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.step-card {
    background: var(--paper);
    padding: 32px 28px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--card-border);
    border-top: 3px solid var(--gold);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
    border-color: var(--gold);
}

.step-num {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--gold);
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
    line-height: 1;
}

.step-card h3 {
    font-family: var(--font-display);
    font-size: 1.45rem;
    margin-bottom: 8px;
    color: var(--ink);
}

.step-card p {
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.6;
}

/* Services 3x2 */
.services {
    background: var(--cream);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--paper);
    padding: 32px 26px 28px;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.ico {
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    color: var(--wine);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 163, 90, 0.12);
    border-radius: 8px;
    padding: 10px;
    border: 1px solid rgba(196, 163, 90, 0.25);
    transition: transform 0.3s ease, background 0.3s ease;
}

.service-card:hover .ico {
    transform: scale(1.08) rotate(3deg);
    background: rgba(196, 163, 90, 0.22);
}

[data-theme="dark"] .ico {
    color: var(--gold-bright);
    background: rgba(223, 190, 117, 0.1);
    border-color: rgba(223, 190, 117, 0.2);
}

.ico svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.45rem;
    margin-bottom: 8px;
    color: var(--ink);
}

.service-card p {
    color: var(--muted);
    font-size: 0.94rem;
    margin-bottom: 18px;
    line-height: 1.6;
}

.more {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--wine);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s ease, color 0.2s ease;
}

.more:hover {
    color: var(--gold);
    gap: 8px;
}

[data-theme="dark"] .more {
    color: var(--gold-bright);
}

/* Trust split */
.trust {
    background: var(--ivory);
}

.trust-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
}

.mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 28px 0 32px;
}

.mini {
    display: flex;
    gap: 14px;
    align-items: center;
    background: var(--paper);
    padding: 14px 18px;
    border-radius: 8px;
    border: 1px solid var(--line);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.mini .ico {
    width: 38px;
    height: 38px;
    margin: 0;
    padding: 8px;
    flex-shrink: 0;
}

.mini strong {
    display: block;
    font-size: 0.95rem;
    color: var(--ink);
}

.logo-cluster {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.logo-chip {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    min-height: 90px;
    display: grid;
    place-items: center;
    padding: 14px;
    text-align: center;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.logo-chip:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.logo-chip img {
    height: 36px;
    width: auto;
    margin: 0 auto 6px;
    filter: grayscale(0.8) contrast(0.9);
    transition: filter 0.2s ease;
}

.logo-chip:hover img {
    filter: grayscale(0) contrast(1);
}

/* Why */
.why {
    background: var(--paper);
    text-align: right;
}

.why .wrap {
    max-width: 780px;
    margin-left: auto;
    margin-right: max(20px, calc((100% - var(--max)) / 2));
}

.why-list {
    margin: 28px 0 32px;
}

.why-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 22px;
    text-align: left;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.why-num {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--gold);
    font-weight: 700;
    line-height: 1;
}

.why-item h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
    color: var(--ink);
}

.why-item p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Stats */
.stats {
    background: var(--wine-deep);
    color: #fff;
    padding: 56px 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(196, 163, 90, 0.2), transparent 50%), radial-gradient(circle at 80% 50%, rgba(107, 29, 42, 0.4), transparent 50%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(196, 163, 90, 0.2);
    border-radius: 8px;
    padding: 24px 16px;
    backdrop-filter: blur(8px);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.stat:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.07);
}

.stat .ico {
    margin: 0 auto 10px;
    color: var(--gold-bright);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    display: block;
    line-height: 1;
    color: #fff;
    font-weight: 700;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

/* Winners */
.winners {
    background: var(--cream);
}

.winner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.winner-card {
    background: var(--paper);
    padding: 22px 20px;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.winner-card:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.winner-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #10b981;
    font-weight: 700;
}

.winner-live::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 6px #10b981;
}

.winner-card strong {
    color: var(--ink);
    font-size: 1.05rem;
}

.winner-meta {
    color: var(--muted);
    font-size: 0.84rem;
}

.winner-amt {
    font-family: var(--font-display);
    font-size: 1.45rem;
    color: var(--wine);
    font-weight: 700;
    margin-top: 8px;
    letter-spacing: 0.02em;
}

[data-theme="dark"] .winner-amt {
    color: var(--gold-bright);
}

/* Portfolio */
.portfolio {
    background: var(--ivory);
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
    font-size: 0.84rem;
}

.filter-bar button {
    background: var(--paper);
    border: 1px solid var(--line);
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.filter-bar button:hover {
    color: var(--wine);
    border-color: var(--gold);
}

.filter-bar button.active {
    background: var(--wine);
    color: #fff;
    border-color: var(--wine);
    box-shadow: 0 4px 12px rgba(107, 29, 42, 0.25);
}

[data-theme="dark"] .filter-bar button.active {
    background: var(--gold);
    color: var(--wine-deep);
    border-color: var(--gold);
    box-shadow: 0 4px 12px rgba(223, 190, 117, 0.25);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.game-card {
    background: var(--paper);
    border-radius: 8px;
    border: 1px solid var(--card-border);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.game-image {
    aspect-ratio: 16/11;
    overflow: hidden;
    position: relative;
}

.game-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.game-card:hover .game-img {
    transform: scale(1.08);
}

.game-info {
    padding: 18px 20px 22px;
}

.game-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 4px;
    color: var(--ink);
    font-weight: 700;
}

.game-description {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Partners ribbon */
.partners {
    background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
    padding: 30px 0;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.08);
}

.partners-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    color: var(--wine-deep);
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.84rem;
}

.partners-row span {
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.9;
}

.partners-row span:hover {
    transform: scale(1.1);
    opacity: 1;
}

/* Promo */
.promo {
    background: var(--ivory);
}

.promo-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 22px;
}

.promo-main {
    grid-row: 1 / span 2;
}

.promo-card {
    background: var(--paper);
    padding: 32px 26px;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.promo-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.promo-card h3 {
    font-family: var(--font-display);
    font-size: 1.55rem;
    margin: 8px 0 12px;
    color: var(--ink);
    line-height: 1.2;
}

.promo-card p {
    color: var(--muted);
    margin-bottom: 16px;
    font-size: 0.94rem;
    line-height: 1.6;
}

.promo-main {
    background: linear-gradient(145deg, var(--wine-deep) 0%, #25070d 100%);
    color: #fff;
    border: 1px solid rgba(196, 163, 90, 0.3);
    position: relative;
    overflow: hidden;
}

.promo-main::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(196, 163, 90, 0.12), transparent 60%);
    pointer-events: none;
}

.promo-main p,
.promo-main .news-meta {
    color: rgba(255, 247, 236, 0.85);
}

.promo-main h3 {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 700;
}

/* Pricing */
.pricing {
    background: var(--cream);
}

.pricing-intro {
    text-align: center;
    margin-bottom: 48px;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
}

.price-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 36px 24px 28px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.price-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.12);
}

.price-card.featured {
    background: linear-gradient(160deg, #48121d 0%, var(--wine-deep) 100%);
    color: #fff;
    border: 2px solid var(--gold);
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(61, 14, 22, 0.25), 0 0 30px rgba(196, 163, 90, 0.15);
}

.price-card.featured:hover {
    transform: translateY(-14px);
    box-shadow: 0 28px 60px rgba(61, 14, 22, 0.35), 0 0 40px rgba(196, 163, 90, 0.25);
}

.ribbon {
    position: absolute;
    top: 14px;
    right: -6px;
    background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
    color: var(--wine-deep);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 4px 0 0 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.price-card .ico {
    margin: 0 auto 14px;
    border-radius: 50%;
    width: 44px;
    height: 44px;
}

.price-card.featured .ico {
    color: var(--gold-bright);
    background: rgba(196, 163, 90, 0.2);
}

.plan-name {
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
}

.price-card.featured .plan-name {
    color: var(--gold-bright);
}

.plan-price {
    font-family: var(--font-display);
    font-size: 2.3rem;
    font-weight: 700;
    margin: 8px 0 20px;
    color: var(--ink);
    line-height: 1;
}

.price-card.featured .plan-price {
    color: #fff;
}

.plan-price small {
    font-size: 0.9rem;
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--muted);
}

.price-card.featured .plan-price small {
    color: rgba(255, 255, 255, 0.7);
}

.plan-list {
    text-align: left;
    margin: 0 0 26px;
    flex-grow: 1;
}

.plan-list li {
    padding: 8px 0 8px 20px;
    position: relative;
    font-size: 0.92rem;
    color: var(--muted);
}

.price-card.featured .plan-list li {
    color: rgba(255, 255, 255, 0.85);
}

.plan-list li::before {
    content: "✓";
    font-weight: 700;
    color: var(--gold);
    position: absolute;
    left: 0;
    top: 6px;
    font-size: 0.85rem;
}

.price-card .btn-solid {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.price-card.featured .btn-solid {
    background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

/* Testimonials */
.quotes {
    position: relative;
    background: var(--wine-deep);
    color: #fff;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.quotes::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("/uploads/logo.webp") center / cover;
    opacity: 0.08;
}

.quotes .wrap {
    position: relative;
    max-width: 860px;
}

.avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    margin: 0 auto 22px;
    border: 3px solid var(--gold);
    overflow: hidden;
    background: var(--wine);
    box-shadow: 0 0 24px rgba(196, 163, 90, 0.3);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quote-stars {
    color: var(--gold-bright);
    font-size: 1.2rem;
    letter-spacing: 4px;
    margin-bottom: 16px;
}

.quote-text {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    font-style: italic;
    max-width: 760px;
    margin: 0 auto 20px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.95);
}

.quote-name {
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.84rem;
    color: var(--gold-bright);
    font-weight: 700;
}

.quote-role {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
    margin-top: 4px;
}

.quote-nav {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    color: #fff;
    border-radius: 50%;
    font-size: 1.3rem;
    transition: all 0.2s ease;
    display: grid;
    place-items: center;
}

.quote-nav:hover {
    background: var(--gold);
    color: var(--wine-deep);
    border-color: var(--gold);
    transform: translateY(-50%) scale(1.08);
}

.quote-nav.prev {
    left: 8px;
}

.quote-nav.next {
    right: 8px;
}

.quote-slide {
    display: none;
}

.quote-slide.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* News */
.news {
    background: var(--cream);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    background: var(--paper);
    padding: 32px 26px;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.news-meta {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--wine);
    margin-bottom: 12px;
    font-weight: 700;
}

[data-theme="dark"] .news-meta {
    color: var(--gold-bright);
}

.news-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 10px;
    line-height: 1.25;
    color: var(--ink);
}

.news-card p {
    color: var(--muted);
    margin-bottom: 18px;
    font-size: 0.94rem;
    line-height: 1.6;
}

/* Pay */
.pay {
    background: var(--ivory);
}

.pay-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.pay-card {
    background: var(--paper);
    padding: 24px 20px;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.pay-card:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
}

.pay-card strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin-bottom: 6px;
    color: var(--ink);
}

.pay-card span {
    color: var(--muted);
    font-size: 0.9rem;
}

.pay-notes {
    color: var(--muted);
    font-size: 0.94rem;
}

.pay-notes li {
    padding: 8px 0 8px 20px;
    position: relative;
}

.pay-notes li::before {
    content: "•";
    color: var(--gold);
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 4px;
}

/* FAQ */
.faq {
    background: var(--paper);
}

.faq-wrap {
    max-width: 840px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--line);
    padding: 4px 0;
    transition: background 0.2s ease;
}

.faq-q {
    width: 100%;
    background: none;
    border: 0;
    text-align: left;
    padding: 20px 0;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    color: var(--ink);
    transition: color 0.2s ease;
}

.faq-q:hover {
    color: var(--wine);
}

[data-theme="dark"] .faq-q:hover {
    color: var(--gold-bright);
}

.faq-q span {
    color: var(--gold);
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 400;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.faq-a {
    display: none;
    padding: 0 0 20px;
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.7;
}

.faq-item.open .faq-a {
    display: block;
    animation: fadeIn 0.3s ease;
}

.faq-item.open .faq-q span {
    transform: rotate(45deg);
    color: var(--wine);
}

[data-theme="dark"] .faq-item.open .faq-q span {
    color: var(--gold-bright);
}

/* Final CTA */
.final-cta {
    background: var(--wine-deep);
    color: #fff;
    padding: 96px 0;
    text-align: center;
    position: relative;
    background-image: radial-gradient(circle at center, rgba(196, 163, 90, 0.16), transparent 60%);
}

.final-cta-inner {
    max-width: 740px;
    margin: 0 auto;
}

.final-cta p {
    color: rgba(255, 247, 236, 0.85);
    margin: 14px auto 28px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.countdown div {
    min-width: 84px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(196, 163, 90, 0.35);
    border-radius: 8px;
    padding: 14px 10px;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.countdown strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.countdown span {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-bright);
    font-weight: 600;
}

.final-note {
    margin-top: 20px;
    font-size: 0.84rem;
    opacity: 0.75;
}

/* Footer */
.main-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 72px 0 32px;
    border-top: 1px solid var(--footer-line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: 36px;
    margin-bottom: 48px;
}

.footer-logo {
    height: 42px;
    width: auto;
    margin-bottom: 14px;
}

.footer-brand p {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

.main-footer h4 {
    color: #fff;
    font-size: 0.84rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 18px;
    font-weight: 700;
}

.main-footer li {
    margin-bottom: 10px;
}

.main-footer a {
    color: var(--footer-text);
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.main-footer a:hover {
    color: var(--gold-bright);
    padding-left: 2px;
}

.contact-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.92rem;
}

.footer-bottom {
    border-top: 1px solid var(--footer-line);
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.84rem;
}

.socials {
    display: flex;
    gap: 12px;
}

.socials a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.25s ease;
}

.socials a:hover {
    background: var(--gold);
    color: var(--wine-deep);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 163, 90, 0.3);
}

/* Inner page */
.inner-hero {
    background: var(--wine-deep);
    color: #fff;
    padding: 64px 0 54px;
    background-image: radial-gradient(circle at 30% 50%, rgba(196, 163, 90, 0.15), transparent 50%);
}

.article-body {
    padding: 56px 0 88px;
}

.feature-article {
    font-size: 1.05rem;
    line-height: 1.8;
    overflow-wrap: anywhere;
    color: var(--ink);
}

.feature-article h2,
.feature-article h3 {
    font-family: var(--font-display);
    margin: 1.3em 0 0.5em;
    color: var(--ink);
}

.feature-article p {
    margin-bottom: 1.2em;
    color: var(--muted);
}

.feature-img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 28px;
    box-shadow: var(--shadow);
}

@media (max-width: 1100px) {
    :root {
        --nav-h: 70px;
    }

    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .navbar-container {
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 10px;
        width: min(var(--max), calc(100% - 28px));
    }

    .header-login {
        display: none;
    }

    .header-cta {
        height: 38px;
        padding: 0 14px;
        font-size: 0.72rem;
    }
}

@media (max-width: 1024px) {
    .wrap {
        width: min(var(--max), calc(100% - 32px));
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-visual {
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
    }

    .service-grid,
    .games-grid,
    .news-grid {
        grid-template-columns: 1fr 1fr;
    }

    .price-grid {
        grid-template-columns: 1fr 1fr;
    }

    .price-card.featured {
        transform: none;
    }

    .trust-grid,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .steps-grid,
    .pay-grid,
    .winner-grid {
        grid-template-columns: 1fr 1fr;
    }

    .promo-grid {
        grid-template-columns: 1fr 1fr;
    }

    .promo-main {
        grid-row: auto;
    }

    .hero-container {
        max-width: none;
        margin: 0 auto;
        padding: 56px 0 64px;
        width: min(var(--max), calc(100% - 32px));
    }

    .why {
        text-align: left;
    }

    .why .wrap {
        margin: 0 auto;
        max-width: none;
    }
}

@media (max-width: 767px) {
    :root {
        --nav-h: 64px;
    }

    body {
        padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    }

    .brand-logo {
        height: 32px;
    }

    .brand-text {
        font-size: 1.12rem;
        max-width: min(46vw, 180px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .header-actions {
        display: none;
    }

    .mobile-theme-toggle {
        display: inline-flex;
    }

    .navbar-container {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
    }

    .navbar-controls {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .wrap {
        width: min(var(--max), calc(100% - 28px));
    }

    .hero-section {
        min-height: 0;
    }

    .hero-bg {
        background:
            linear-gradient(180deg, rgba(42, 10, 16, 0.88) 18%, rgba(42, 10, 16, 0.72) 100%),
            url("/uploads/logo.webp") center / cover no-repeat;
    }

    .hero-container {
        padding: 36px 0 48px;
        width: min(var(--max), calc(100% - 28px));
    }

    .hero-brand-emblem {
        gap: 12px;
        margin-bottom: 14px;
    }

    .hero-logo-img {
        height: 42px;
    }

    .hero-kicker {
        letter-spacing: 0.16em;
        font-size: 0.68rem;
    }

    .hero-title {
        font-size: clamp(1.85rem, 8.4vw, 2.6rem);
        word-break: break-word;
    }

    .hero-subtitle {
        margin-bottom: 22px;
        font-size: 0.95rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-trust-bar {
        gap: 8px;
        margin-top: 24px;
    }

    .hero-trust-item {
        font-size: 0.76rem;
        padding: 5px 12px;
    }

    .hero-visual-card {
        padding: 22px 18px;
        gap: 14px;
    }

    .hero-card-jackpot {
        font-size: 1.65rem;
    }

    .hero-card-logo {
        height: 36px;
    }

    .inner-hero-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .inner-hero-logo {
        height: 48px;
    }

    .btn-solid,
    .btn-ghost,
    .btn-line {
        justify-content: center;
        width: 100%;
        padding: 14px 16px;
        letter-spacing: 0.08em;
        min-height: 48px;
    }

    .sec {
        padding: 48px 0;
    }

    .sec-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 24px;
    }

    .sec-title {
        font-size: clamp(1.7rem, 7vw, 2.2rem);
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .service-card {
        padding: 20px 18px;
    }

    .trust-grid,
    .footer-grid,
    .news-grid,
    .price-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mini-grid {
        gap: 14px;
        margin: 20px 0 24px;
    }

    .logo-cluster {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .logo-chip {
        min-height: 72px;
    }

    .stats {
        padding: 32px 0;
    }

    .stats-grid {
        gap: 16px 8px;
    }

    .stat-value {
        font-size: 1.7rem;
    }

    .stat-label {
        font-size: 0.68rem;
        letter-spacing: 0.04em;
    }

    .games-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .game-info {
        padding: 10px 12px 14px;
    }

    .game-title {
        font-size: 1.02rem;
    }

    .game-description {
        display: none;
    }

    .filter-bar {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 16px;
        padding-bottom: 8px;
        margin: 0 -14px 20px;
        padding-left: 14px;
        padding-right: 14px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .filter-bar::-webkit-scrollbar {
        display: none;
    }

    .filter-bar button {
        flex: 0 0 auto;
        min-height: 40px;
    }

    .partners {
        padding: 18px 0;
    }

    .partners-row {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 28px;
        font-size: 0.7rem;
        letter-spacing: 0.1em;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .partners-row::-webkit-scrollbar {
        display: none;
    }

    .price-card {
        padding: 24px 18px 20px;
    }

    .plan-price {
        font-size: 1.7rem;
    }

    .ribbon {
        right: 10px;
        top: 10px;
    }

    .quotes {
        padding: 56px 16px 88px;
    }

    .quote-text {
        font-size: 1.25rem;
        padding: 0 8px;
    }

    .quote-nav {
        top: auto;
        bottom: 20px;
        transform: none;
        width: 42px;
        height: 42px;
    }

    .quote-nav.prev {
        left: calc(50% - 56px);
    }

    .quote-nav.next {
        right: calc(50% - 56px);
    }

    .news-card {
        padding: 22px 18px;
    }

    .steps-grid,
    .pay-grid,
    .promo-grid {
        grid-template-columns: 1fr;
    }

    .winner-grid {
        grid-template-columns: 1fr 1fr;
    }

    .final-cta {
        padding: 56px 0;
    }

    .countdown div {
        min-width: 64px;
    }

    .main-footer {
        padding: 40px 0 24px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .inner-hero {
        padding: 32px 0 28px;
    }

    .article-body {
        padding: 28px 0 64px;
    }

    .news-form {
        width: 100%;
    }

    .news-form input {
        font-size: 16px;
        min-width: 0;
    }

    img[style*="height: 100px"] {
        height: 72px !important;
    }
}

@media (max-width: 420px) {
    .games-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .mini-grid {
        grid-template-columns: 1fr;
    }

    .winner-grid {
        grid-template-columns: 1fr;
    }
}

/* === Dark Mode Component Styling Enhancements === */
[data-theme="dark"] .service-card,
[data-theme="dark"] .step-card,
[data-theme="dark"] .winner-card,
[data-theme="dark"] .game-card,
[data-theme="dark"] .news-card,
[data-theme="dark"] .pay-card,
[data-theme="dark"] .promo-card {
    background: var(--paper);
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .service-card:hover,
[data-theme="dark"] .step-card:hover,
[data-theme="dark"] .winner-card:hover,
[data-theme="dark"] .game-card:hover,
[data-theme="dark"] .news-card:hover,
[data-theme="dark"] .pay-card:hover,
[data-theme="dark"] .promo-card:hover {
    border-color: var(--gold);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(223, 190, 117, 0.08);
}

[data-theme="dark"] .service-card .ico,
[data-theme="dark"] .mini .ico {
    color: var(--gold);
}

[data-theme="dark"] .price-card {
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .price-card.featured {
    background: #1e0911;
    border-color: var(--gold);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 24px rgba(196, 163, 90, 0.15);
}

[data-theme="dark"] .promo-main {
    background: #1e0911;
    border: 1px solid rgba(223, 190, 117, 0.3);
}

[data-theme="dark"] .logo-chip {
    background: var(--paper);
    border: 1px solid var(--line);
}

[data-theme="dark"] .logo-chip img {
    filter: brightness(0.9) contrast(1.1) grayscale(0.5);
    transition: filter 0.2s ease;
}

[data-theme="dark"] .logo-chip:hover img {
    filter: brightness(1.05) contrast(1.15) grayscale(0);
}

[data-theme="dark"] .news-form input {
    background: #180a0f;
    border: 1px solid var(--line);
    color: var(--ink);
}

[data-theme="dark"] .faq-item {
    border-bottom-color: var(--line);
}

[data-theme="dark"] .stats {
    background: #14050a;
}

[data-theme="dark"] .quotes {
    background: #14050a;
}

[data-theme="dark"] .final-cta {
    background: #14050a;
}

[data-theme="dark"] .inner-hero {
    background: #14050a;
}

[data-theme="dark"] .hero-section {
    background: #120408;
}

[data-theme="dark"] .hero-bg {
    background: var(--hero-overlay), url("/uploads/logo.webp") center / cover no-repeat;
}

@media (max-width: 767px) {
    [data-theme="dark"] .hero-bg {
        background: var(--hero-overlay-mobile), url("/uploads/logo.webp") center / cover no-repeat;
    }
}