/* ===== CSS RESET ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== ROOT VARIABLES ===== */
:root {
    /* BongoBongo Brand Colors */
    --primary-brand: #17001c;
    --primary-hover: #0a0010;
    --secondary-brand: #340f42;
    --accent-brand: #fde047;
    --accent-glow: #fef08a;

    /* Foundation Colors */
    --white: #ffffff;
    --black: #111827;
    --light: #f9fafb;
    --dark: #1f2937;
    --accent-tint: #fffbeb;

    /* Text Contrast Colors */
    --text-light: #f3f4f6;
    --text-dark: #111827;
    --gray-dark: #4b5563;
    --gray-mid: #d1d5db;

    /* Spacing System */
    --space-1: 8px;
    --space-2: 12px;
    --space-3: 16px;
    --space-4: 24px;
    --space-5: 32px;
    --space-6: 48px;
    --space-7: 64px;

    /* Border Radius */
    --round-xs: 4px;
    --round-sm: 8px;
    --round-md: 12px;
    --round-lg: 16px;
    --round-full: 9999px;

    /* Transitions */
    --ease-quick: 0.2s ease-in-out;
    --ease-normal: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-1: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-2: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-3: 0 8px 32px rgba(0, 0, 0, 0.16);
}

/* ===== BASE STYLES ===== */
html {
    scroll-behavior: smooth;
    font-size: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: linear-gradient(160deg, var(--secondary-brand) 0%, var(--primary-brand) 40%, var(--secondary-brand) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

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

/* ===== CONTAINER ===== */
.container {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-4);
    padding-right: var(--space-4);
}

/* ===== HEADER ===== */
.site-header {
    background: rgba(23, 0, 28, 0.92);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: var(--shadow-2);
    border-bottom: 3px solid var(--accent-brand);
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-3);
    padding-bottom: var(--space-3);
    gap: var(--space-4);
}

.logo-area {
    flex-shrink: 0;
}

.site-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-brand);
    letter-spacing: -0.8px;
    margin: 0;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.menu-item {
    color: var(--text-light);
    font-size: 0.96rem;
    font-weight: 600;
    transition: color var(--ease-quick);
    padding: var(--space-1) 0;
    position: relative;
}

.menu-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-brand);
    transition: width var(--ease-normal);
}

.menu-item:hover {
    color: var(--accent-brand);
}

.menu-item:hover::before {
    width: 100%;
}

.action-buttons {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.btn-login {
    padding: 9px 20px;
    background: transparent;
    color: var(--accent-brand);
    border: 2px solid var(--accent-brand);
    border-radius: var(--round-full);
    font-size: 0.9rem;
    font-weight: 700;
    transition: all var(--ease-normal);
}

.btn-login:hover {
    background: var(--accent-brand);
    color: var(--text-dark);
}

.btn-register {
    padding: 9px 20px;
    background: var(--accent-brand);
    color: var(--text-dark);
    border: 2px solid var(--accent-brand);
    border-radius: var(--round-full);
    font-size: 0.9rem;
    font-weight: 700;
    transition: all var(--ease-normal);
}

.btn-register:hover {
    background: var(--accent-glow);
    transform: translateY(-3px);
    box-shadow: 0 6px 22px rgba(253, 224, 71, 0.45);
}

.burger-icon {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    padding: var(--space-1);
}

.burger-icon span {
    width: 28px;
    height: 3px;
    background: var(--accent-brand);
    border-radius: 2px;
    transition: all var(--ease-normal);
}

/* ===== HERO BANNER ===== */
.hero-banner {
    padding: var(--space-7) 0;
    position: relative;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-6);
    align-items: center;
}

.hero-text {
    animation: fadeInUp 0.9s ease-out;
}

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

.main-heading {
    font-size: 2.7rem;
    line-height: 1.25;
    font-weight: 900;
    color: var(--white);
    margin-bottom: var(--space-4);
    letter-spacing: -1.2px;
}

.lead-text {
    font-size: 1.12rem;
    line-height: 1.75;
    color: var(--text-light);
    margin-bottom: var(--space-5);
}

.cta-buttons {
    display: flex;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
}

.btn-primary {
    padding: 13px 30px;
    background: var(--accent-brand);
    color: var(--text-dark);
    border-radius: var(--round-full);
    font-size: 1.05rem;
    font-weight: 800;
    transition: all var(--ease-normal);
    box-shadow: var(--shadow-2);
}

.btn-primary:hover {
    background: var(--accent-glow);
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(253, 224, 71, 0.5);
}

.btn-secondary {
    padding: 13px 30px;
    background: transparent;
    color: var(--white);
    border: 2px solid var(--accent-brand);
    border-radius: var(--round-full);
    font-size: 1.05rem;
    font-weight: 700;
    transition: all var(--ease-normal);
}

.btn-secondary:hover {
    background: var(--accent-brand);
    color: var(--text-dark);
}

.trust-badges {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.96rem;
    color: var(--text-light);
    font-weight: 600;
}

.badge-emoji {
    font-size: 1.6rem;
}

.hero-image {
    animation: fadeInRight 0.9s ease-out;
}

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

.hero-image img {
    border-radius: var(--round-lg);
    box-shadow: var(--shadow-3);
}

/* ===== CONTENT PANELS ===== */
.features-panel,
.games-panel,
.bonuses-panel,
.payment-panel,
.faq-panel {
    padding: var(--space-7) 0;
    position: relative;
}

.features-panel {
    background: var(--white);
}

.games-panel {
    background: var(--dark);
}

.bonuses-panel {
    background: var(--accent-tint);
}

.payment-panel {
    background: var(--white);
}

.faq-panel {
    background: var(--light);
}

/* ===== PANEL HEADERS ===== */
.panel-header {
    text-align: center;
    margin-bottom: var(--space-6);
}

.panel-header h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: var(--space-3);
    letter-spacing: -0.7px;
}

.games-panel .panel-header h2 {
    color: var(--white);
}

.intro-paragraph {
    font-size: 1.08rem;
    line-height: 1.75;
    color: var(--gray-dark);
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.games-panel .intro-paragraph {
    color: var(--text-light);
}

/* ===== FEATURES GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-5);
}

.feature-box {
    background: var(--white);
    padding: var(--space-5);
    border-radius: var(--round-md);
    box-shadow: var(--shadow-1);
    border: 2px solid transparent;
    transition: all var(--ease-normal);
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-3);
    border-color: var(--accent-brand);
}

.box-icon {
    margin-bottom: var(--space-3);
}

.box-title {
    font-size: 1.32rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: var(--space-2);
}

.box-text {
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--gray-dark);
}

/* ===== GAMES COLLECTION ===== */
.games-collection {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: var(--space-4);
}

.game-card {
    background: var(--white);
    border-radius: var(--round-md);
    overflow: hidden;
    box-shadow: var(--shadow-1);
    transition: all var(--ease-normal);
}

.game-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-3);
}

.card-image {
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: auto;
    transition: transform var(--ease-smooth);
}

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

.card-details {
    padding: var(--space-3);
    text-align: center;
}

.game-title {
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: var(--space-1);
}

.game-studio {
    font-size: 0.84rem;
    color: var(--gray-dark);
    margin-bottom: var(--space-3);
}

.play-btn {
    width: 100%;
    padding: 10px;
    background: var(--primary-brand);
    color: var(--white);
    border-radius: var(--round-sm);
    font-size: 0.96rem;
    font-weight: 700;
    transition: all var(--ease-quick);
}

.play-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
}

/* ===== PROMO GRID ===== */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: var(--space-5);
}

.promo-card {
    background: var(--white);
    padding: var(--space-5);
    border-radius: var(--round-md);
    box-shadow: var(--shadow-2);
    border-top: 5px solid var(--primary-brand);
    position: relative;
    transition: all var(--ease-normal);
}

.promo-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-3);
}

.promo-tag {
    display: inline-block;
    background: var(--primary-brand);
    color: var(--white);
    padding: 5px 14px;
    border-radius: var(--round-full);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: var(--space-3);
}

.promo-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: var(--space-2);
}

.promo-info {
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--gray-dark);
    margin-bottom: var(--space-3);
}

.promo-features {
    list-style: none;
    margin-bottom: var(--space-4);
}

.promo-features li {
    padding: var(--space-1) 0;
    padding-left: var(--space-4);
    position: relative;
    color: var(--text-dark);
    font-size: 0.94rem;
}

.promo-features li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--primary-brand);
    font-weight: 900;
    font-size: 1.05rem;
}

.claim-btn {
    width: 100%;
    padding: 12px;
    background: var(--accent-brand);
    color: var(--text-dark);
    border-radius: var(--round-sm);
    font-size: 0.98rem;
    font-weight: 800;
    transition: all var(--ease-quick);
}

.claim-btn:hover {
    background: var(--accent-glow);
    transform: translateY(-3px);
}

/* ===== PAYMENT LAYOUT ===== */
.payment-layout {
    display: grid;
    grid-template-columns: 1fr 1.7fr;
    gap: var(--space-6);
    align-items: start;
}

.payment-card {
    background: var(--white);
    padding: var(--space-5);
    border-radius: var(--round-md);
    box-shadow: var(--shadow-2);
    text-align: center;
}

.payment-logo {
    margin-bottom: var(--space-3);
}

.payment-logo img {
    margin-left: auto;
    margin-right: auto;
}

.payment-method {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: var(--space-4);
}

.payment-details {
    margin-bottom: var(--space-4);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-2) 0;
    border-bottom: 1px solid var(--gray-mid);
}

.detail-key {
    font-size: 0.94rem;
    color: var(--gray-dark);
}

.detail-val {
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--text-dark);
}

.deposit-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary-brand);
    color: var(--white);
    border-radius: var(--round-sm);
    font-size: 0.98rem;
    font-weight: 800;
    transition: all var(--ease-quick);
}

.deposit-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
}

.instructions-panel {
    background: var(--white);
    padding: var(--space-5);
    border-radius: var(--round-md);
    box-shadow: var(--shadow-1);
}

.instructions-panel h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: var(--space-3);
    margin-top: var(--space-4);
}

.instructions-panel h3:first-child {
    margin-top: 0;
}

.steps-list {
    list-style: none;
    counter-reset: step-counter;
    margin-bottom: var(--space-4);
}

.steps-list li {
    counter-increment: step-counter;
    padding: var(--space-2) 0;
    padding-left: var(--space-5);
    position: relative;
    color: var(--text-dark);
    font-size: 0.94rem;
    line-height: 1.65;
}

.steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: var(--space-2);
    background: var(--primary-brand);
    color: var(--white);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 800;
}

/* ===== FAQ PANEL ===== */
.faq-wrapper {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.faq-block {
    background: var(--white);
    margin-bottom: var(--space-3);
    border-radius: var(--round-sm);
    overflow: hidden;
    box-shadow: var(--shadow-1);
}

.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4);
    background: var(--white);
    text-align: left;
    font-size: 1.03rem;
    font-weight: 700;
    color: var(--text-dark);
    transition: background var(--ease-quick);
}

.faq-trigger:hover {
    background: var(--light);
}

.faq-icon {
    font-size: 1.9rem;
    color: var(--primary-brand);
    transition: transform var(--ease-normal);
}

.faq-block.active .faq-icon {
    transform: rotate(45deg);
}

.faq-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.faq-block.active .faq-content {
    max-height: 600px;
    opacity: 1;
}

.faq-content p {
    padding: 0 var(--space-4) var(--space-4);
    font-size: 0.97rem;
    line-height: 1.8;
    color: var(--gray-dark);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--primary-brand);
    color: var(--text-light);
    padding: var(--space-6) 0 var(--space-4);
}

.footer-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-5);
    margin-bottom: var(--space-6);
}

.footer-title {
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--accent-brand);
    margin-bottom: var(--space-3);
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: var(--space-2);
}

.footer-menu a {
    color: var(--text-light);
    font-size: 0.94rem;
    transition: color var(--ease-quick);
}

.footer-menu a:hover {
    color: var(--accent-brand);
}

.payment-badges {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.footer-info {
    font-size: 0.94rem;
    color: var(--text-light);
    margin-bottom: var(--space-1);
}

.footer-base {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: var(--space-4);
    text-align: center;
}

.warning-notice {
    font-size: 0.84rem;
    color: var(--accent-glow);
    line-height: 1.65;
    margin-bottom: var(--space-2);
    font-weight: 600;
}

.copyright-text {
    font-size: 0.84rem;
    color: var(--text-light);
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Tablet */
@media (max-width: 768px) {
    .container {
        padding-left: var(--space-3);
        padding-right: var(--space-3);
    }

    .main-navigation {
        position: fixed;
        top: 65px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(23, 0, 28, 0.98);
        padding: var(--space-4);
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, opacity 0.3s ease;
    }

    .main-navigation.active {
        max-height: 600px;
        opacity: 1;
    }

    .action-buttons {
        display: none;
    }

    .burger-icon {
        display: flex;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: var(--space-5);
    }

    .main-heading {
        font-size: 2.1rem;
    }

    .lead-text {
        font-size: 1.05rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons button {
        width: 100%;
    }

    .panel-header h2 {
        font-size: 1.85rem;
    }

    .payment-layout {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .main-heading {
        font-size: 1.75rem;
    }

    .lead-text {
        font-size: 1rem;
    }

    .panel-header h2 {
        font-size: 1.6rem;
    }

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

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

    .trust-badges {
        flex-direction: column;
        gap: var(--space-2);
    }

    .btn-primary,
    .btn-secondary {
        font-size: 0.96rem;
        padding: 11px 24px;
    }
}

/* Large Desktop */
@media (min-width: 1440px) {
    .container {
        max-width: 1360px;
    }

    .main-heading {
        font-size: 3.1rem;
    }

    .panel-header h2 {
        font-size: 2.5rem;
    }
}
