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

:root {
    --primary: #a855f7;
    --dark: #1a1a2e;
    --darker: #0f0f1e;
    --accent: #ec4899;
    --text: #ffffff;
    --text-light: #f3f4f6;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    background-color: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Casino link */
.casino-link {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Трохи збільшуємо відступи, щоб великому логотипу не було "тісно" */
    padding: 0.6rem 1.2rem; 
    
    border-radius: 999px;
    background: rgba(10, 10, 20, 0.75);
    border: 1px solid rgba(168, 85, 247, 0.6);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.floating-nav-logo {
    /* БУЛО: height: 24px; */
    height: 45px; /* СТАЛО: Збільшили майже вдвічі. Можете поставити 50px, якщо треба ще більше */
    width: auto;
    display: block;
}

.casino-link:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    box-shadow: 0px 0px 18px rgba(168, 85, 247, 0.35);
}

/* Navigation */
.navbar {
    background: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.cta-btn-nav {
    background: var(--primary);
    color: var(--dark);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.cta-btn-nav:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 2rem 0;
}

.hero-grid {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    opacity: 0.8;
    transition: transform 0.4s ease;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    position: relative;
    text-align: left;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    justify-content: flex-start; 
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 1.5rem; 
}

.hero-cta .cta-btn {
    margin: 0; 
}

.hero-media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    width: 100%;
    max-width: 420px;
    display: block;
    border-radius: 24px;
    border: 1px solid rgba(168, 85, 247, 0.35);
    background: rgba(10, 10, 20, 0.65);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.hero-offer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

/* Стилі для виділеного тексту бонусу */
.bonus-highlight-frame {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    margin-bottom: 1.2rem;
    background: rgba(168, 85, 247, 0.15); /* Напівпрозорий фіолетовий фон */
    border: 2px solid var(--primary); /* Яскрава фіолетова рамка */
    border-radius: 12px;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.25); /* Легке неонове світіння */
}

/* Трохи відсуваємо текст від кнопки */
.promo-instruction {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.offer-item {
    background: rgba(10, 10, 20, 0.65);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(168, 85, 247, 0.25);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.offer-item span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
}

.offer-item strong {
    color: #fff;
    font-size: 1.05rem;
}

.promo-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1.8rem;
}

.promo-pill span {
    color: #fff;
}

.hero-orbs {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.hero-tags {
    position: absolute;
    inset: 0;
    z-index: 100;
    pointer-events: none;
}

.hero-tag {
    position: absolute;
    padding: 0.45rem 0.9rem;
    border-radius: 12px;
    background: rgba(10, 10, 20, 0.8);
    border: 1px solid rgba(168, 85, 247, 0.6);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
}

.hero-tag:nth-child(1) { top: 8%; left: 2%; animation: chaos1 7s ease-in-out infinite; transform: rotate(-8deg); }
.hero-tag:nth-child(2) { top: 40%; right: 4%; animation: chaos2 9s ease-in-out infinite; transform: rotate(12deg); }
.hero-tag:nth-child(3) { bottom: 10%; left: 3%; animation: chaos3 11s ease-in-out infinite; transform: rotate(-5deg); }

@keyframes chaos1 {
    0% { transform: translate(0, 0) rotate(-8deg); opacity: 0.8; }
    25% { transform: translate(-12px, 15px) rotate(-8deg); opacity: 0.9; }
    50% { transform: translate(8px, -20px) rotate(-8deg); opacity: 0.7; }
    75% { transform: translate(-6px, -8px) rotate(-8deg); opacity: 0.95; }
    100% { transform: translate(0, 0) rotate(-8deg); opacity: 0.8; }
}

@keyframes chaos2 {
    0% { transform: translate(0, 0) rotate(12deg); opacity: 0.9; }
    25% { transform: translate(18px, -12px) rotate(12deg); opacity: 0.8; }
    50% { transform: translate(-14px, 16px) rotate(12deg); opacity: 0.85; }
    75% { transform: translate(10px, 6px) rotate(12deg); opacity: 0.75; }
    100% { transform: translate(0, 0) rotate(12deg); opacity: 0.9; }
}

@keyframes chaos3 {
    0% { transform: translate(0, 0) rotate(-5deg); opacity: 0.75; }
    25% { transform: translate(-8px, -18px) rotate(-5deg); opacity: 0.85; }
    50% { transform: translate(12px, 10px) rotate(-5deg); opacity: 0.9; }
    75% { transform: translate(-14px, 12px) rotate(-5deg); opacity: 0.8; }
    100% { transform: translate(0, 0) rotate(-5deg); opacity: 0.75; }
}

@keyframes chaos4 {
    0% { transform: translate(0, 0) rotate(6deg); opacity: 0.85; }
    25% { transform: translate(14px, 14px) rotate(6deg); opacity: 0.9; }
    50% { transform: translate(-10px, -12px) rotate(6deg); opacity: 0.8; }
    75% { transform: translate(6px, -16px) rotate(6deg); opacity: 0.88; }
    100% { transform: translate(0, 0) rotate(6deg); opacity: 0.85; }
}

@keyframes chaos5 {
    0% { transform: translate(0, 0) rotate(-10deg); opacity: 0.8; }
    25% { transform: translate(10px, -16px) rotate(-10deg); opacity: 0.75; }
    50% { transform: translate(-16px, 8px) rotate(-10deg); opacity: 0.9; }
    75% { transform: translate(12px, 14px) rotate(-10deg); opacity: 0.82; }
    100% { transform: translate(0, 0) rotate(-10deg); opacity: 0.8; }
}

@keyframes chaos6 {
    0% { transform: translate(0, 0) rotate(9deg); opacity: 0.9; }
    25% { transform: translate(-12px, 10px) rotate(9deg); opacity: 0.85; }
    50% { transform: translate(16px, -14px) rotate(9deg); opacity: 0.8; }
    75% { transform: translate(-8px, -10px) rotate(9deg); opacity: 0.92; }
    100% { transform: translate(0, 0) rotate(9deg); opacity: 0.9; }
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    opacity: 0.8;
    animation: float 14s ease-in-out infinite;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.35), rgba(236, 72, 153, 0.05) 60%, transparent 70%);
}

.orb-1 {
    width: 220px;
    height: 220px;
    top: 10%;
    left: 8%;
    animation-duration: 18s;
}

.orb-2 {
    width: 160px;
    height: 160px;
    top: 30%;
    right: 12%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.4), rgba(168, 85, 247, 0.08) 60%, transparent 70%);
    animation-duration: 16s;
}

.orb-3 {
    width: 260px;
    height: 260px;
    bottom: -40px;
    left: 40%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25), rgba(236, 72, 153, 0.08) 55%, transparent 70%);
    animation-duration: 20s;
}

@keyframes float {
    0% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(30px, -25px, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

/* Promo Section */
.promo {
    padding: 5rem 0;
    background: rgba(15, 15, 30, 0.6);
}

.promo-grid {
    display: grid;
    /* Повертаємо горизонтальне розташування */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 2rem;
    align-items: stretch;
    
    /* ОСЬ ГОЛОВНИЙ СЕКРЕТ: обмежуємо загальну ширину двох блоків */
    max-width: 800px; 
    margin: 0 auto; /* Центруємо цей зменшений контейнер по екрану */
}
.promo-card {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.08), rgba(168, 85, 247, 0.08));
    border-radius: 14px;
    padding: 2.5rem;
    border: 1px solid rgba(168, 85, 247, 0.25);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.promo-card h2 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 1.9rem;
}

.promo-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.promo-list {
    display: grid;
    gap: 0.6rem;
    margin: 1.5rem 0;
}

.promo-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem 0.9rem;
    background: rgba(10, 10, 20, 0.55);
    border-radius: 10px;
    border: 1px solid rgba(168, 85, 247, 0.18);
    color: #fff;
    font-weight: 600;
}

.promo-item span {
    color: var(--text-light);
    font-weight: 500;
}

.promo-meta {
    color: var(--text-light);
    font-weight: 600;
    margin-top: 1.2rem;
}

.promo-card.highlight {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.18));
    border-color: rgba(168, 85, 247, 0.6);
}

.promo-code {
    position: relative;
    display: inline-block;
    padding: 0.6rem 1.6rem;
    border-radius: 14px;
    background: rgba(10, 10, 20, 0.75);
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.2rem;
    text-shadow: 0 0 18px rgba(168, 85, 247, 0.45);
    margin: 1rem 0;
    z-index: 0;
}

.promo-code::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    background: linear-gradient(120deg, var(--primary), var(--accent), var(--primary));
    background-size: 200% 200%;
    animation: gradientBorder 6s ease infinite;
    z-index: -2;
}

.promo-code::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 12px;
    background: rgba(10, 10, 20, 0.88);
    z-index: -1;
}

@keyframes gradientBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


/* Робимо так, щоб усі елементи головного екрану з'являлися одночасно */
.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary);
    animation: fadeInUp 0.8s ease-out both; /* Прибрали затримку і змінили напрямок */
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    animation: fadeInUp 0.8s ease-out both; /* Прибрали затримку 0.2s */
}

.hero .hero-sub {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    text-transform: none;
    letter-spacing: 0.01em;
    opacity: 0.9;
}

.cta-btn {
    background: linear-gradient(135deg, var(--primary), #ffed4e);
    color: var(--dark);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
    animation: fadeInUp 0.8s ease-out both; /* Прибрали затримку 0.4s */
    position: relative;
    overflow: hidden;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(168, 85, 247, 0.6);
}

.cta-btn::after {
    content: '';
    position: absolute;
    top: -60%;
    left: -60%;
    width: 220%;
    height: 220%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-btn:hover::after {
    opacity: 1;
    animation: shimmer 1.2s linear infinite;
}

.cta-btn-small {
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
}

@keyframes shimmer {
    0% {
        transform: translate3d(-30%, -30%, 0);
    }
    100% {
        transform: translate3d(30%, 30%, 0);
    }
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Games Section */
.games {
    padding: 5rem 0;
    background: var(--dark);
}

.games h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-card {
    border-color: rgba(236, 72, 153, 0.35);
}

.step-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(168, 85, 247, 0.2);
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
    border: 1px solid rgba(168, 85, 247, 0.5);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.game-card {
    background: linear-gradient(135deg, #16213e, #0f3460);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid rgba(168, 85, 247, 0.3);
    transition: all 0.3s;
}

.game-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(168, 85, 247, 0.2);
}

.game-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.game-card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.game-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Game Highlight */
.game-highlight {
    padding: 5rem 0;
    background: #121222;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    align-items: center;
}

.game-copy h2 {
    color: var(--primary);
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.game-copy p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.game-points {
    list-style: none;
    margin-bottom: 2rem;
    display: grid;
    gap: 0.6rem;
}

.game-points li {
    padding: 0.7rem 1rem;
    border-radius: 10px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    color: #fff;
}

.game-frame {
    border-radius: 20px;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(168, 85, 247, 0.15));
    border: 1px solid rgba(236, 72, 153, 0.4);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-frame-inner {
    text-align: center;
    padding: 2rem;
    border-radius: 16px;
    background: rgba(10, 10, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-label {
    display: block;
    font-size: 2rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.game-sub {
    color: var(--text-light);
    font-size: 1rem;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: rgba(15, 15, 30, 0.5);
}

.features.light-section {
    background: #ffffff;
    color: #1a1a2e;
    position: relative;
    overflow: hidden;
}

.features.light-section::before,
.features.light-section::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.18), rgba(236, 72, 153, 0.04) 70%, transparent 80%);
    z-index: 0;
}

.features.light-section::before {
    top: -120px;
    right: -120px;
}

.features.light-section::after {
    bottom: -140px;
    left: -140px;
}

.features.light-section .container {
    position: relative;
    z-index: 1;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.feature-item {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(236, 72, 153, 0.1));
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s;
}

.features.light-section .feature-item {
    background: rgba(26, 26, 46, 0.85);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-left: 4px solid var(--primary);
}

.features.light-section .feature-item h3 {
    color: var(--primary);
}

.features.light-section .feature-item p {
    color: #f3f4f6;
}

.feature-item:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(236, 72, 153, 0.15));
}

.features.light-section .feature-item:hover {
    background: rgba(26, 26, 46, 0.95);
    border-color: var(--accent);
}

/* Card hover glow */
.promo-card,
.game-card,
.feature-item,
.faq-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.promo-card:hover,
.game-card:hover,
.feature-item:hover,
.faq-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(168, 85, 247, 0.28);
    border-color: rgba(236, 72, 153, 0.55);
}

/* Section divider wave */
.section-divider {
    height: 90px;
    line-height: 0;
    overflow: hidden;
    background: transparent;
    margin: -1px 0; /* This forces the overlap */
    position: relative;
    z-index: 1;
}

.section-divider svg {
    display: block;
    width: 100%;
    height: 100%;
}

.section-divider path {
    fill: currentColor;
}

.wave-promo {
    color: rgba(15, 15, 30, 0.6);
}

.wave-dark {
    color: var(--dark);
}

.wave-game {
    color: rgba(10, 10, 20, 0.75);
}

.wave-features {
    color: #ffffff;
}

.wave-socials {
    color: #121222;
}

.wave-darker {
    color: var(--darker);
}

/* 3D Tilt + Reveal */
.tilt-card {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    --reveal-y: 0px;
    --lift: 0px;
    transform: perspective(900px) translateY(calc(var(--reveal-y) + var(--lift))) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
    transform-style: preserve-3d;
    transition: transform 0.2s ease, opacity 0.6s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    will-change: transform;
}

.tilt-card.is-tilting {
    --lift: -6px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.reveal {
    opacity: 0;
    --reveal-y: 20px;
}

.reveal.is-visible {
    opacity: 1;
    --reveal-y: 0px;
}

.game-card .game-icon,
.game-card h3,
.game-card p,
.step-index,
.feature-item h3,
.feature-item p,
.promo-card h2,
.promo-card p,
.promo-code,
.promo-item,
.promo-meta,
.offer-item,
.game-label,
.game-sub {
    transform: translateZ(18px);
    backface-visibility: hidden;
}

.feature-item h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--dark);
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    font-weight: 500;
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background: var(--dark);
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary);
}

.faq-items {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 2px solid rgba(168, 85, 247, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: linear-gradient(135deg, #16213e, #0f3460);
    color: var(--text);
    border: none;
    padding: 1.5rem;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.faq-question:hover {
    background: linear-gradient(135deg, #1a2a4e, #152a60);
    color: var(--primary);
}

.faq-arrow {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-question.active .faq-arrow {
    transform: rotate(45deg);
}

.faq-answer {
    background: rgba(168, 85, 247, 0.05);
    color: var(--text);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.show {
    padding: 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    margin: 0;
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #16213e, #0f3460);
    text-align: center;
    border-top: 3px solid var(--primary);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.cta-btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
}

/* Terms + Socials */
.terms-section {
    padding: 4.5rem 0;
    background: rgba(10, 10, 20, 0.65);

}

.terms-card {
    max-width: 1080px;
    margin: 0 auto;
    padding: 2.5rem;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(236, 72, 153, 0.08));
    border: 1px solid rgba(168, 85, 247, 0.25);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    display: grid;
    gap: 2rem;
}

.terms-card h2 {
    color: var(--primary);
    font-size: 2.2rem;
    margin-top: 0.75rem;
}

.terms-card small {
    color: var(--text-light);
    font-size: 0.95rem;
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.socials-card {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(168, 85, 247, 0.08));
}

.socials-grid {
    margin-top: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: rgba(10, 10, 20, 0.6);
    border: 1px solid rgba(236, 72, 153, 0.3);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(236, 72, 153, 0.2), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-btn:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.social-btn:hover::before {
    opacity: 1;
}

.social-btn svg {
    width: 36px;
    height: 36px;
    color: var(--accent);
    position: relative;
    z-index: 1;
}

.social-btn svg rect,
.social-btn svg circle:first-of-type,
.social-btn svg path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

.social-btn svg circle:last-of-type {
    fill: currentColor;
    stroke: none;
}

.social-btn span {
    position: relative;
    z-index: 1;
    color: var(--text-light);
    font-weight: 500;
}

.social-btn span b {
    color: #fff;
    font-weight: 700;
}

/* Badges */
.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0 2rem;
}

.badge-chip {
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    background: rgba(168, 85, 247, 0.18);
    border: 1px solid rgba(236, 72, 153, 0.35);
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 0 18px rgba(168, 85, 247, 0.18);
}

/* Footer */
.footer.section-dark {
    background: var(--darker);
    color: var(--text-light);
    padding: 3.5rem 20px;
    text-align: center;
    display: grid;
    gap: 1.5rem;
    justify-items: center;
}

.footer.section-dark h2 {
    font-size: 2rem;
    color: var(--primary);
    margin: 0.75rem 0;
}

.footer.section-dark p {
    color: var(--text-light);
}

.footer-fineprint {
    width: min(960px, 100%);
    padding: 0.8rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(236, 72, 153, 0.35);
    background:
        radial-gradient(circle at 15% 10%, rgba(236, 72, 153, 0.18), transparent 55%),
        radial-gradient(circle at 80% 90%, rgba(168, 85, 247, 0.22), transparent 55%),
        rgba(10, 10, 20, 0.72);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
    text-align: left;
}

.footer-fineprint p {
    font-size: 0.64rem;
    line-height: 1.45;
    letter-spacing: 0.02em;
    color: rgba(243, 244, 246, 0.86);
    margin: 0.12rem 0;
}

.footer-fineprint p:first-child {
    color: rgba(255, 255, 255, 0.96);
    word-break: break-word;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), #ffed4e);
    color: var(--dark);
    text-decoration: none;
    font-weight: 700;
    border: 2px solid rgba(168, 85, 247, 0.7);
    box-shadow: 0 0 24px rgba(168, 85, 247, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.55);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

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

    .hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .hero-image {
        max-width: 320px;
    }

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

    .hero-tags {
        display: none;
    }

    .game-copy h2 {
        font-size: 2rem;
    }

    .game-frame {
        min-height: 220px;
    }

    .games h2,
    .features h2,
    .faq h2,
    .cta-section h2 {
        font-size: 2rem;
    }

    .promo-card {
        padding: 2rem;
    }

    .promo-code {
        font-size: 1.8rem;
        letter-spacing: 0.12rem;
    }

    .stat-item h3 {
        font-size: 1.8rem;
    }

    .terms-card {
        padding: 2rem;
    }

    .terms-card h2 {
        font-size: 1.8rem;
    }

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

    .social-btn {
        flex-direction: column;
        text-align: center;
    }

    .footer.section-dark h2 {
        font-size: 1.7rem;
    }

    .footer-fineprint p {
        font-size: 0.6rem;
    }
    /* 1. Робимо відступи між секціями меншими */
    .promo, .games, .game-highlight, .features, .faq, .cta-section {
        padding: 3rem 0; /* Було 5rem */
    }
    
    /* 2. Зменшуємо внутрішні відступи в картках */
    .promo-card, .game-card, .feature-item, .faq-question {
        padding: 1.5rem; 
    }

    /* 3. Сильно зменшуємо блок OFFER (Bonus, Game, Code) */
    .hero-offer {
        gap: 0.5rem; /* Менша відстань між плашками */
        margin: 1.2rem 0;
    }
    .offer-item {
        padding: 0.5rem 0.8rem; /* Робимо плашки вужчими */
    }
    .offer-item span {
        font-size: 0.7rem; /* Зменшуємо верхній текст */
        margin-bottom: 0.1rem;
    }
    .offer-item strong {
        font-size: 0.85rem; /* Зменшуємо головний текст */
    }

    /* 4. Центруємо кнопку на мобільному */
    .hero-cta {
        justify-content: center;
    }
    .hero-cta .cta-btn {
        margin: 0 auto;
    }

    .bonus-highlight-frame {
        font-size: 1rem;
        padding: 0.6rem 1rem;
        margin-bottom: 1rem;
    }

    /* Відступи для кнопки на мобільному */
    .hero-cta {
        margin-bottom: 2rem; /* Даємо трохи більше простору перед блоком деталей */
    }
    .brice-plaque {
        bottom: 12px;
        left: 12px;
        padding: 0.5rem 1rem;
    }
    .plaque-title {
        font-size: 0.95rem;
    }
    .plaque-subtitle {
        font-size: 0.65rem;
    }
    /* Залізобетонне центрування кнопок на мобільному */
    .promo-card .cta-btn,
    .game-copy .cta-btn {
        display: flex !important; /* Робимо кнопку гнучким контейнером */
        width: max-content !important; /* Ширина рівно по тексту всередині */
        max-width: 100% !important; /* Запобіжник, щоб не вилізла за екран */
        margin: 1.5rem auto 0 auto !important; /* Відступ зверху 1.5rem, а по боках — auto (центр) */
        justify-content: center;
    }
    
    /* Якщо ви хочете, щоб ВЕСЬ текст у цих картках на телефоні теж був по центру (виглядає краще): */
    .promo-card, .game-copy {
        text-align: center !important;
    }


    /* Зменшуємо логотипи на мобільному */
    .hero-corner-logo {
        top: 12px;
        left: 12px;
        width: 60px; /* Менший логотип на фото */
    }

    .casino-link {
        top: 15px;
        right: 15px;
        padding: 0.3rem 0.6rem;
    }пге 

    .floating-nav-logo {
        height: 36px; /* Трохи менший логотип у плаваючій кнопці */
    }

    .title-logo {
        height: 5px; /* На телефоні робимо його трохи меншим */
        margin-left: auto; /* Центруємо логотип разом із заголовком */
        margin-right: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero::before,
    .orb,
    .cta-btn,
    .cta-btn::after {
        animation: none;
    }

    .tilt-card {
        transition: none;
    }
}
/* Custom Game Hover Effect */
.hover-glow {
    /* Set up a smooth transition for the hover state */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.4s ease, 
                border-color 0.4s ease;
}

.hover-glow:hover {
    /* Lifts the image up 10px and scales it to 102% size */
    transform: translateY(-10px) scale(1.02);
    
    /* Creates a bright purple/pink glowing shadow */
    box-shadow: 0 25px 60px rgba(168, 85, 247, 0.45);
    
    /* Changes the border to your pink accent color */
    border-color: rgba(236, 72, 153, 0.7); 
}

/* Обгортка для позиціонування */
.hero-image-wrapper {
    position: relative;
    display: inline-flex;
    justify-content: center;
}

/* Видаляємо тінь та рух із самої картинки, бо тепер рухається обгортка */
.hero-image-wrapper .hero-image {
    box-shadow: none; 
    transform: none;
    animation: none;
}

/* Стилі самої плашки */
.brice-plaque {
    position: absolute;
    /* Розміщуємо плашку всередині фотографії в лівому нижньому куті */
    bottom: 20px; 
    left: 20px;
    transform: none; /* Прибираємо центрування */
    
    /* Робимо справжній напівпрозорий ефект (Glassmorphism) */
    background: rgba(20, 20, 35, 0.35); /* Дуже прозорий темний фон */
    backdrop-filter: blur(10px); /* Сильне розмиття того, що під плашкою */
    -webkit-backdrop-filter: blur(10px);
    
    /* Робимо світліші краї, щоб підкреслити ефект "скла" */
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    
    border-radius: 14px;
    padding: 0.7rem 1.4rem;
    text-align: left; /* Текст вирівнюємо по лівому краю */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    z-index: 10;
}

.plaque-subtitle {
    display: block;
    color: var(--accent); /* Ваш рожевий акцентний колір */
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.15rem;
}

.plaque-title {
    display: block;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.hero-corner-logo {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 80px; /* Змініть розмір під свій логотип (наприклад, 100px або 120px) */
    height: auto;
    z-index: 10;
    /* Додаємо легку тінь, щоб логотип не зливався зі світлими частинами фото */
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4)); 
}

.title-logo {
    display: block;
    height: 135px; /* Висота логотипу. Змініть залежно від пропорцій вашої картинки */
    width: auto;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem; /* Відступ до неонової рамки */
}