@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --color-bg: #0e0e0e;
    --color-header: #1b1c1d;
    --color-surface: #161718;
    --color-surface-2: #1e2022;
    --color-surface-3: #242628;
    --color-btn-red: #e50539;
    --color-btn-green: #28a909;
    --color-text: #e8e8e8;
    --color-text-muted: #9a9b9d;
    --color-text-dim: #6b6c6e;
    --color-border: #2a2c2e;
    --color-border-light: #333537;
    --color-accent: #e50539;
    --color-accent-hover: #c2042f;
    --color-green: #28a909;
    --color-green-hover: #1f8a06;
    --color-gold: #f5a623;
    --color-silver: #a8b2be;
    --color-bronze: #cd7f32;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow-red: 0 0 20px rgba(229, 5, 57, 0.3);
    --shadow-glow-green: 0 0 20px rgba(40, 169, 9, 0.3);
    --transition: 0.25s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-accent-hover);
}

.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container--wide {
    max-width: 1400px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-md);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    outline: none;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    transition: background var(--transition);
}

.btn:hover::after {
    background: rgba(255, 255, 255, 0.08);
}

.btn--red {
    background: linear-gradient(135deg, #e50539, #c2042f);
    color: #fff;
    box-shadow: var(--shadow-glow-red);
}

.btn--red:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(229, 5, 57, 0.45);
    color: #fff;
}

.btn--red:active {
    transform: translateY(0);
}

.btn--green {
    background: linear-gradient(135deg, #28a909, #1f8a06);
    color: #fff;
    box-shadow: var(--shadow-glow-green);
}

.btn--green:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(40, 169, 9, 0.45);
    color: #fff;
}

.btn--green:active {
    transform: translateY(0);
}

.btn--outline {
    background: transparent;
    border: 1.5px solid var(--color-border-light);
    color: var(--color-text);
}

.btn--outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn--lg {
    padding: 14px 32px;
    font-size: 16px;
}

.btn--sm {
    padding: 7px 16px;
    font-size: 13px;
}

.btn--xl {
    padding: 18px 44px;
    font-size: 18px;
    border-radius: var(--radius-lg);
}

/* ===== HEADER ===== */
.site-header {
    background: var(--color-header);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 12px 0;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.header-logo img {
    height: 36px;
    width: auto;
}

.header-logo-text {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.header-logo-text span {
    color: var(--color-accent);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    color: var(--color-text-muted);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    text-decoration: none;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.06);
}

.nav-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.online-counter {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(40, 169, 9, 0.1);
    border: 1px solid rgba(40, 169, 9, 0.25);
    border-radius: var(--radius-xl);
    font-size: 12px;
    color: var(--color-green);
    font-weight: 500;
}

.online-dot {
    width: 7px;
    height: 7px;
    background: var(--color-green);
    border-radius: 50%;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(40, 169, 9, 0.6);
    }
    50% {
        box-shadow: 0 0 0 5px rgba(40, 169, 9, 0);
    }
}

.lang-dropdown {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-size: 13px;
    cursor: pointer;
    transition: all var(--transition);
}

.lang-btn:hover {
    border-color: var(--color-border-light);
}

.lang-btn svg {
    width: 12px;
    height: 12px;
    color: var(--color-text-muted);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: var(--color-surface-2);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    min-width: 140px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition);
    z-index: 100;
}

.lang-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    font-size: 13px;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all var(--transition);
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text);
}

.lang-flag {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    border-radius: var(--radius-sm);
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
}

.burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition);
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-8px);
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0b 0%, #12080e 40%, #0e0209 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/banner.png');
    background-size: cover;
    background-position: center 30%;
    opacity: 0.25;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(14, 14, 14, 0.95) 40%, rgba(14, 14, 14, 0.4) 100%),
    linear-gradient(to top, rgba(14, 14, 14, 0.9) 0%, transparent 60%);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: float-up linear infinite;
    opacity: 0;
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-20px) scale(1.5);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(229, 5, 57, 0.15);
    border: 1px solid rgba(229, 5, 57, 0.35);
    border-radius: var(--radius-xl);
    font-size: 12px;
    font-weight: 600;
    color: #ff4d76;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.hero-title {
    font-size: clamp(32px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    color: #fff;
    max-width: 620px;
}

.hero-title span {
    color: var(--color-accent);
    display: block;
}

.hero-desc {
    font-size: clamp(15px, 2vw, 18px);
    color: var(--color-text-muted);
    max-width: 480px;
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-stat-val {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.hero-stat-val span {
    color: var(--color-accent);
}

.hero-stat-label {
    font-size: 12px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.hero-plane {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 45%;
    max-width: 550px;
    animation: hero-plane-float 6s ease-in-out infinite;
    opacity: 0.85;
}

@keyframes hero-plane-float {
    0%, 100% {
        transform: translateY(-50%) translateX(0) rotate(-2deg);
    }
    50% {
        transform: translateY(calc(-50% - 15px)) translateX(-10px) rotate(2deg);
    }
}

/* ===== SECTION LAYOUT ===== */
.section {
    padding: 64px 0;
}

.section--sm {
    padding: 40px 0;
}

.section--lg {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 40px;
}

.section-title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.25;
}

.section-subtitle {
    font-size: 15px;
    color: var(--color-text-muted);
    max-width: 560px;
}

.section-title-line {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}

.section-title-line::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--color-border), transparent);
}

/* ===== BOX / CARDS ===== */
.box-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
}

.box-card:hover {
    border-color: var(--color-border-light);
    box-shadow: var(--shadow-md);
}

.box-card--red {
    border-top: 3px solid var(--color-accent);
}

.box-card--green {
    border-top: 3px solid var(--color-green);
}

.box-card--gold {
    border-top: 3px solid var(--color-gold);
}

/* ===== GAME INFO TABLE ===== */
.game-info-table-wrap {
    overflow-x: auto;
}

.game-info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.game-info-table tr {
    border-bottom: 1px solid var(--color-border);
    transition: background var(--transition);
}

.game-info-table tr:last-child {
    border-bottom: none;
}

.game-info-table tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.game-info-table td {
    padding: 13px 18px;
    vertical-align: middle;
    text-align: left;
}

.game-info-table td:first-child {
    color: var(--color-text-muted);
    font-weight: 500;
    width: 45%;
    white-space: nowrap;
}

.game-info-table td:last-child {
    color: var(--color-text);
    font-weight: 600;
}

.table-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: var(--radius-xl);
    font-size: 12px;
    font-weight: 600;
}

.table-badge--green {
    background: rgba(40, 169, 9, 0.15);
    color: #4cd727;
}

.table-badge--red {
    background: rgba(229, 5, 57, 0.15);
    color: #ff4d76;
}

.table-badge--gold {
    background: rgba(245, 166, 35, 0.15);
    color: var(--color-gold);
}

.table-badge--blue {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

/* ===== JACKPOTS ===== */
.jackpot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.jackpot-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}

.jackpot-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.jackpot-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.06;
}

.jackpot-card--gold::before {
    background: radial-gradient(circle at top, var(--color-gold), transparent 70%);
}

.jackpot-card--silver::before {
    background: radial-gradient(circle at top, var(--color-silver), transparent 70%);
}

.jackpot-card--bronze::before {
    background: radial-gradient(circle at top, var(--color-bronze), transparent 70%);
}

.jackpot-card--gold {
    border-top: 3px solid var(--color-gold);
}

.jackpot-card--silver {
    border-top: 3px solid var(--color-silver);
}

.jackpot-card--bronze {
    border-top: 3px solid var(--color-bronze);
}

.jackpot-icon {
    font-size: 36px;
    margin-bottom: 8px;
    line-height: 1;
}

.jackpot-level {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.jackpot-card--gold .jackpot-level {
    color: var(--color-gold);
}

.jackpot-card--silver .jackpot-level {
    color: var(--color-silver);
}

.jackpot-card--bronze .jackpot-level {
    color: var(--color-bronze);
}

.jackpot-amount {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
    font-variant-numeric: tabular-nums;
    transition: all 0.5s ease;
}

.jackpot-card--gold .jackpot-amount {
    color: var(--color-gold);
    text-shadow: 0 0 20px rgba(245, 166, 35, 0.5);
}

.jackpot-card--silver .jackpot-amount {
    color: var(--color-silver);
}

.jackpot-card--bronze .jackpot-amount {
    color: var(--color-bronze);
}

.jackpot-label {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.jackpot-winners {
    border-top: 1px solid var(--color-border);
    padding-top: 14px;
}

.jackpot-winners-title {
    font-size: 11px;
    color: var(--color-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.jackpot-winner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 13px;
}

.jackpot-winner-nick {
    color: var(--color-text-muted);
    font-weight: 500;
}

.jackpot-winner-sum {
    color: var(--color-text);
    font-weight: 600;
}

/* ===== APP BLOCK ===== */
.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.app-info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.app-info-table tr {
    border-bottom: 1px solid var(--color-border);
}

.app-info-table tr:last-child {
    border-bottom: none;
}

.app-info-table td {
    padding: 11px 16px;
}

.app-info-table td:first-child {
    color: var(--color-text-muted);
    font-weight: 500;
}

.app-info-table td:last-child {
    color: var(--color-text);
    font-weight: 600;
    text-align: right;
}

.app-download-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.app-download-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.app-download-desc {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 6px;
    line-height: 1.6;
}

.btn--app {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 20px;
    background: var(--color-surface-2);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition);
    text-decoration: none;
}

.btn--app:hover {
    background: var(--color-surface-3);
    border-color: var(--color-accent);
    color: #fff;
    transform: translateX(4px);
}

.btn--app svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.btn--app-texts {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.btn--app-sub {
    font-size: 11px;
    color: var(--color-text-muted);
    font-weight: 400;
}

.btn--app-main {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

/* ===== DEMO GAME ===== */
.demo-wrap {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
}

.demo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: var(--color-surface-2);
    border-bottom: 1px solid var(--color-border);
}

.demo-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.demo-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.demo-badge {
    background: rgba(229, 5, 57, 0.15);
    border: 1px solid rgba(229, 5, 57, 0.3);
    color: #ff4d76;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: var(--radius-xl);
    text-transform: uppercase;
}

.demo-frame-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 60%;
    background: #000;
}

.demo-frame-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.demo-frame-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: radial-gradient(circle at center, #1a0a10 0%, #0a0a0a 100%);
}

.demo-plane-icon {
    font-size: 64px;
    animation: demo-plane 3s ease-in-out infinite;
}

@keyframes demo-plane {
    0%, 100% {
        transform: translateY(0) rotate(-5deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.demo-footer {
    padding: 16px 24px;
    background: var(--color-surface-2);
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.demo-rtp {
    font-size: 13px;
    color: var(--color-text-muted);
}

.demo-rtp span {
    color: var(--color-green);
    font-weight: 600;
}

/* ===== REVIEWS ===== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.review-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all var(--transition);
}

.review-card:hover {
    border-color: var(--color-border-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.review-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-surface-2), var(--color-surface-3));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-muted);
    border: 2px solid var(--color-border-light);
    flex-shrink: 0;
}

.review-meta {
    flex: 1;
}

.review-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 3px;
}

.review-date {
    font-size: 12px;
    color: var(--color-text-dim);
}

.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 10px;
}

.review-stars svg {
    width: 15px;
    height: 15px;
    fill: var(--color-gold);
}

.review-text {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.65;
}

.review-form-wrap {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.review-form-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.review-form-desc {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.form-vertical {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-muted);
}

.form-control {
    padding: 12px 16px;
    background: var(--color-surface-2);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: border-color var(--transition);
    outline: none;
    width: 100%;
}

.form-control:focus {
    border-color: var(--color-accent);
    background: var(--color-surface-3);
}

.form-control::placeholder {
    color: var(--color-text-dim);
}

textarea.form-control {
    resize: vertical;
    min-height: 110px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-stars-select {
    display: flex;
    gap: 6px;
}

.form-star-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
}

.form-star-btn svg {
    width: 24px;
    height: 24px;
    fill: var(--color-border-light);
    transition: fill var(--transition);
}

.form-star-btn.active svg, .form-star-btn:hover svg {
    fill: var(--color-gold);
}

.form-success {
    display: none;
    padding: 16px 20px;
    background: rgba(40, 169, 9, 0.12);
    border: 1px solid rgba(40, 169, 9, 0.3);
    border-radius: var(--radius-md);
    color: #4cd727;
    font-size: 14px;
    font-weight: 500;
    align-items: center;
    gap: 10px;
}

.form-success.visible {
    display: flex;
}

/* ===== AUTHOR ===== */
.author-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    align-items: start;
}

.author-avatar-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a0a10, #2a0f1e);
    border: 3px solid var(--color-border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 800;
    color: var(--color-accent);
    flex-shrink: 0;
}

.author-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.author-role {
    font-size: 13px;
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 12px;
}

.author-bio {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 14px;
}

.author-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--color-accent);
}

.author-link:hover {
    color: var(--color-accent-hover);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--color-header);
    border-top: 1px solid var(--color-border);
    padding: 48px 0 24px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    text-decoration: none;
}

.footer-logo img {
    height: 32px;
}

.footer-logo-text {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}

.footer-logo-text span {
    color: var(--color-accent);
}

.footer-desc {
    font-size: 13px;
    color: var(--color-text-dim);
    line-height: 1.7;
    max-width: 280px;
}

.footer-col-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    font-size: 13px;
    color: var(--color-text-dim);
    transition: color var(--transition);
}

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

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.footer-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 36px;
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--color-text-dim);
    transition: all var(--transition);
}

.footer-badge:hover {
    border-color: var(--color-border-light);
    color: var(--color-text-muted);
}

.footer-provider-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.footer-provider-logo img {
    height: 28px;
    filter: brightness(0.7) grayscale(0.3);
    transition: filter var(--transition);
}

.footer-provider-logo img:hover {
    filter: brightness(1) grayscale(0);
}

.footer-provider-label {
    font-size: 11px;
    color: var(--color-text-dim);
}

.footer-divider {
    height: 1px;
    background: var(--color-border);
    margin-bottom: 24px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-copyright {
    font-size: 12px;
    color: var(--color-text-dim);
}

.footer-legal {
    font-size: 11px;
    color: var(--color-text-dim);
    max-width: 700px;
    line-height: 1.6;
}

.footer-18 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--color-surface-2);
    border: 1.5px solid var(--color-border-light);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 800;
    color: var(--color-text-muted);
    flex-shrink: 0;
}

.content-block {
    padding-bottom: 80px;
}

.content-area h2 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 28px 0 12px;
    line-height: 1.3;
}

.content-area h3 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 20px 0 10px;
    line-height: 1.3;
}

.content-area h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    margin: 16px 0 8px;
}

.content-area p {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: 14px;
}

.content-area ul, .content-area ol {
    padding-left: 22px;
    margin-bottom: 14px;
}

.content-area li {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: 6px;
}

.content-area a {
    color: var(--color-accent);
}

.content-area a:hover {
    color: var(--color-accent-hover);
    text-decoration: underline;
}

.content-area strong, .content-area b {
    color: var(--color-text);
    font-weight: 600;
}

.content-area em, .content-area i {
    color: var(--color-text-muted);
    font-style: italic;
}

.content-area blockquote {
    border-left: 3px solid var(--color-accent);
    padding: 12px 18px;
    margin: 16px 0;
    background: rgba(229, 5, 57, 0.05);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.content-area blockquote p {
    margin: 0;
    color: var(--color-text);
}

.content-area table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
    display: block;
    overflow-x: auto;
}

.content-area table th {
    background: var(--color-surface-2);
    color: var(--color-text);
    font-weight: 600;
    padding: 10px 14px;
    text-align: left;
    border: 1px solid var(--color-border-light);
}

.content-area table td {
    padding: 9px 14px;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
}

.content-area table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.content-area hr {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 24px 0;
}

.content-area code {
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 13px;
    color: #ff6b8a;
    font-family: monospace;
}

.content-area pre {
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 16px;
    overflow-x: auto;
    margin: 14px 0;
}

.content-area pre code {
    background: none;
    border: none;
    padding: 0;
}

/* ===== TECHNICAL PAGES ===== */
.tech-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 48px 20px 80px;
}

.tech-content h1 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
}

.tech-content h2 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 28px 0 12px;
}

.tech-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    margin: 18px 0 8px;
}

.tech-content p {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: 12px;
}

.tech-content ul, .tech-content ol {
    padding-left: 22px;
    margin-bottom: 14px;
}

.tech-content li {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: 6px;
}

.tech-content a {
    color: var(--color-accent);
}

/* ===== PRO/CON ===== */
.pro-con-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.pro-con-box {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 22px;
}

.pro-con-box--pro {
    border-top: 3px solid var(--color-green);
}

.pro-con-box--con {
    border-top: 3px solid var(--color-accent);
}

.pro-con-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
}

.pro-con-box--pro .pro-con-title {
    color: #4cd727;
}

.pro-con-box--con .pro-con-title {
    color: #ff4d76;
}

.pro-con-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pro-con-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.55;
}

.pro-con-list li::before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 1px;
}

.pro-con-box--pro .pro-con-list li::before {
    background: rgba(40, 169, 9, 0.2);
    border: 2px solid var(--color-green);
}

.pro-con-box--con .pro-con-list li::before {
    background: rgba(229, 5, 57, 0.2);
    border: 2px solid var(--color-accent);
}

/* ===== FAQ ===== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition);
}

.faq-item.open {
    border-color: var(--color-border-light);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    user-select: none;
    gap: 12px;
    transition: color var(--transition);
}

.faq-question:hover {
    color: #fff;
}

.faq-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-surface-2);
    border: 1px solid var(--color-border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-text-muted);
    transition: all var(--transition);
    font-size: 14px;
}

.faq-item.open .faq-icon {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 20px 16px;
}

.faq-answer p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ===== SIMILAR GAMES ===== */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.game-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 20px 14px;
    text-align: center;
    transition: all var(--transition);
    cursor: pointer;
}

.game-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(229, 5, 57, 0.15);
}

.game-card-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.game-card-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
}

.game-card-type {
    font-size: 11px;
    color: var(--color-text-dim);
    margin-top: 3px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-18px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-in {
    animation: fadeIn 0.5s ease both;
}

.animate-in-left {
    animation: fadeInLeft 0.5s ease both;
}

.anim-delay-1 {
    animation-delay: 0.1s;
}

.anim-delay-2 {
    animation-delay: 0.2s;
}

.anim-delay-3 {
    animation-delay: 0.3s;
}

/* ===== MOBILE ===== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .jackpot-grid {
        gap: 14px;
    }

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

@media (max-width: 768px) {
    .header-inner {
        grid-template-columns: auto auto;
    }

    .header-nav {
        display: none;
        position: fixed;
        top: 65px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-header);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 20px;
        gap: 6px;
        overflow-y: auto;
        border-top: 1px solid var(--color-border);
        z-index: 999;
    }

    .header-nav.open {
        display: flex;
        animation: slideDown 0.2s ease;
    }

    .nav-link {
        padding: 12px 16px;
        font-size: 15px;
    }

    .header-right .online-counter {
        display: none;
    }

    .header-right .lang-dropdown {
        display: none;
    }

    .burger {
        display: flex;
    }

    .header-btns-mobile {
        display: flex;
        gap: 8px;
    }

    .hero {
        min-height: 440px;
    }

    .hero-plane {
        display: none;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stat-val {
        font-size: 20px;
    }

    .jackpot-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

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

    .pro-con-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .section {
        padding: 44px 0;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .bottom-widget {
        flex-wrap: wrap;
        padding: 12px 48px 12px 16px;
    }

    .widget-text {
        font-size: 13px;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .author-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }

    .hero-desc {
        font-size: 14px;
    }

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

    .hero-actions .btn {
        width: 100%;
    }

    .jackpot-amount {
        font-size: 24px;
    }

    .section-title {
        font-size: 20px;
    }

    .demo-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===== UNUSED / UNIKALIZACIYA ===== */
.x9k2m-track {
    display: none;
}

.b4r7p-ghost {
    visibility: hidden;
    height: 0;
    overflow: hidden;
}

.wp-block-group {
    position: relative;
}

.entry-content {
    display: block;
}

.post-meta {
    font-size: 0;
}

.elementor-widget-container {
    display: contents;
}

.has-small-font-size {
    font-size: inherit;
}

.alignnone {
    max-width: 100%;
}

.wp-caption {
    display: none;
}

/* scroll reveal classes */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.lofjj {
    max-width: 980px;
    margin: 48px auto;
    padding: 40px;
    background: linear-gradient(180deg, var(--color-surface), var(--color-surface-2));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.lofjj h1 {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 20px;
    color: #fff;
}

.lofjj h2 {
    font-size: clamp(20px, 3vw, 26px);
    margin: 32px 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-border);
    color: #fff;
}

.lofjj p {
    margin-bottom: 14px;
    color: var(--color-text-muted);
    font-size: 15px;
    line-height: 1.7;
}

.lofjj ul {
    margin: 14px 0;
    padding-left: 20px;
}

.lofjj li {
    margin-bottom: 6px;
    color: var(--color-text-muted);
    font-size: 15px;
    line-height: 1.6;
}

.lofjj a {
    color: var(--color-accent);
    font-weight: 600;
    word-break: break-word;
    overflow-wrap: anywhere;
}

@media (max-width: 768px) {
    .lofjj {
        margin: 26px 12px;
        padding: 22px 16px;
        border-radius: var(--radius-md);
    }

    .lofjj h1 {
        font-size: 22px;
        line-height: 1.3;
        margin-bottom: 16px;
    }

    .lofjj h2 {
        font-size: 18px;
        margin-top: 24px;
    }

    .lofjj p,
    .lofjj li {
        font-size: 14px;
        line-height: 1.65;
    }
}

@media (max-width: 480px) {
    .lofjj {
        margin: 18px 10px;
        padding: 18px 14px;
    }

    .lofjj h1 {
        font-size: 20px;
    }

    .lofjj h2 {
        font-size: 17px;
    }
}

.lofjj a {
    word-break: break-all;
    overflow-wrap: anywhere;
    display: inline-block;
    max-width: 100%;
}

.lofjj p {
    overflow-wrap: anywhere;
}

.lofjj {
    overflow: hidden;
}