/* ===== VARIABLES ===== */
:root {
    --primary: #1B5E20;
    --primary-light: #2E7D32;
    --primary-dark: #0D3B13;
    --accent: #4CAF50;
    --accent-light: #81C784;
    --white: #FFFFFF;
    --off-white: #F5F9F5;
    --gray-light: #E8F5E9;
    --gray: #B0BEC5;
    --gray-dark: #37474F;
    --dark: #1A1A2E;
    --dark-light: #232340;
    --text: #212121;
    --text-light: #757575;
    --shadow: 0 4px 20px rgba(27, 94, 32, 0.15);
    --shadow-lg: 0 10px 40px rgba(27, 94, 32, 0.2);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

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

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

.highlight {
    color: var(--accent);
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
}

.section-desc {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 50px;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--accent), var(--primary-light));
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: var(--text);
    border: 2px solid var(--gray);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-large {
    padding: 18px 42px;
    font-size: 1.15rem;
}

/* ===== AGE POPUP ===== */
.age-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(8px);
}

.age-popup-overlay.hidden {
    display: none;
}

.age-popup-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    text-align: center;
    max-width: 480px;
    width: 90%;
    box-shadow: var(--shadow-lg);
}

.age-popup-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.age-popup-icon span {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
}

.age-popup-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.age-popup-content p {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.7;
}

.age-popup-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== HEADER ===== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
}

.logo-highlight {
    color: var(--accent);
}

.main-nav ul {
    display: flex;
    gap: 35px;
}

.main-nav a {
    font-weight: 500;
    color: var(--text);
    position: relative;
    padding: 5px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text);
    cursor: pointer;
}

/* ===== HERO ===== */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(160deg, var(--dark) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(76, 175, 80, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 550px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== GAMES PREVIEW ===== */
.games-preview {
    padding: 100px 0;
    background: var(--off-white);
}

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

.game-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.game-card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.game-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-icon-large {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
}

.game-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.game-card-content {
    padding: 25px;
}

.game-card-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.game-card-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ===== DISCLAIMER ===== */
.disclaimer-section {
    padding: 60px 0;
    background: var(--white);
}

.disclaimer-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 30px;
    background: var(--gray-light);
    border-radius: var(--radius);
    border-left: 4px solid var(--accent);
}

.disclaimer-box > i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-top: 3px;
}

.disclaimer-box h3 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.disclaimer-box p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== RESPONSIBLE SECTION ===== */
.responsible-section {
    padding: 100px 0;
    background: var(--off-white);
}

.responsible-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.responsible-card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
}

.responsible-card > i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.responsible-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.responsible-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
}

.help-number {
    display: inline-block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.help-note {
    font-size: 0.85rem;
    color: var(--text-light);
}

.support-list {
    text-align: left;
    padding-left: 20px;
}

.support-list li {
    padding: 5px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 15px;
}

.support-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.regulator-logos {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.regulator-link {
    display: flex;
    align-items: center;
}

.regulator-logo {
    height: 40px;
    opacity: 0.7;
    transition: var(--transition);
}

.regulator-logo:hover {
    opacity: 1;
}

.regulator-text {
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.95rem;
    padding: 10px 20px;
    border: 1px solid var(--gray);
    border-radius: var(--radius);
}

/* ===== FOOTER ===== */
.main-footer {
    background: var(--dark);
    padding: 80px 0 30px;
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
}

.footer-logo .logo-text {
    color: var(--white);
    font-size: 1.2rem;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-col h4 {
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-col ul li a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-disclaimer p {
    font-size: 0.8rem;
    line-height: 1.6;
    max-width: 700px;
}

.footer-regulators {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.regulator-link-sm {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 8px 14px;
    transition: var(--transition);
}

.regulator-link-sm:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.footer-regulator-img {
    height: 28px;
    width: auto;
    opacity: 0.85;
    transition: var(--transition);
    filter: brightness(1.1);
}

.regulator-link-sm:hover .footer-regulator-img {
    opacity: 1;
}

.regulator-link-sm span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 5px;
    transition: var(--transition);
}

.regulator-link-sm:hover span {
    color: var(--accent-light);
    border-color: var(--accent-light);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        padding: 80px 30px 30px;
        transition: var(--transition);
        z-index: 999;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 20px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

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

    .hero-badges {
        flex-direction: column;
        align-items: center;
    }
}

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

    .age-popup-content {
        padding: 30px 20px;
    }

    .age-popup-buttons {
        flex-direction: column;
    }
}

/* ===== PAGE STYLES ===== */
.page-header {
    padding: 140px 0 60px;
    background: linear-gradient(160deg, var(--dark) 0%, var(--primary-dark) 100%);
    text-align: center;
}

.page-header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 10px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

.page-content {
    padding: 80px 0;
}

.page-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.page-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 10px;
    margin-top: 25px;
    color: var(--primary);
}

.page-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.page-content ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.page-content ul li {
    padding: 8px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 20px;
}

.page-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-card {
    background: var(--gray-light);
    padding: 30px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.contact-info-card i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 12px;
}

.contact-info-card h4 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 8px;
}

.contact-info-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    margin-bottom: 15px;
    transition: var(--transition);
    background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== GAMES PAGE ===== */
.games-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* ===== GAME PLAY PAGE ===== */
.game-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 140px 20px 80px;
}

.game-balance-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--dark);
    padding: 15px 25px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    color: var(--white);
}

.balance-display {
    display: flex;
    align-items: center;
    gap: 10px;
}

.balance-display i {
    color: var(--accent);
    font-size: 1.3rem;
}

.balance-amount {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
}

.game-info-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition);
}

.game-info-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.slot-machine {
    background: linear-gradient(160deg, var(--dark), var(--primary-dark));
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.slot-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 30px;
}

.slot-reels {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.reel {
    width: 100px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    overflow: hidden;
    position: relative;
}

.reel-inner {
    transition: transform 0.1s ease;
}

.spin-btn {
    padding: 16px 50px;
    background: linear-gradient(135deg, var(--accent), var(--primary-light));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: var(--transition);
}

.spin-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 25px rgba(76, 175, 80, 0.4);
}

.spin-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.game-result {
    margin-top: 20px;
    padding: 15px;
    border-radius: var(--radius);
    font-weight: 600;
    color: var(--white);
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-result.win {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid var(--accent);
}

.game-result.lose {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-rules-panel {
    background: var(--gray-light);
    border-radius: var(--radius);
    padding: 25px;
    margin-top: 25px;
    text-align: left;
    display: none;
}

.game-rules-panel.visible {
    display: block;
}

.game-rules-panel h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.game-rules-panel ul li {
    padding: 6px 0;
    color: var(--text-light);
    padding-left: 20px;
    position: relative;
}

.game-rules-panel ul li::before {
    content: '•';
    position: absolute;
    left: 5px;
    color: var(--accent);
}

.game-disclaimer {
    margin-top: 20px;
    padding: 15px 20px;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: var(--radius);
    font-size: 0.85rem;
    color: var(--text-light);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    color: var(--accent);
    font-weight: 500;
}

.back-link:hover {
    color: var(--primary);
}
