/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #8B5CF6;
    --primary-pink: #EC4899;
    --primary-yellow: #FCD34D;
    --primary-green: #10B981;
    --dark-bg: #1F2937;
    --darker-bg: #111827;
    --white: #FFFFFF;
    --black: #000000;
    --text-light: #F3F4F6;
    --text-gray: #9CA3AF;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--darker-bg);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Yellow Bar */
.top-bar {
    background-color: var(--primary-yellow);
    padding: 12px 0;
    color: var(--black);
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.top-bar-text {
    flex: 1;
    min-width: 250px;
    font-weight: 500;
}

.btn-top-bar {
    background-color: var(--black);
    color: var(--white);
    border: none;
    padding: 10px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
}

.btn-top-bar:hover {
    background-color: #333;
    transform: translateY(-2px);
}

/* Header */
.header {
    background-color: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 50px;
    height: 50px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--black);
    letter-spacing: 1px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--black);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-purple);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-purple);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 100%);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-50px, -50px) rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--white);
    margin-bottom: 40px;
    font-weight: 500;
}

.btn-hero {
    background-color: var(--black);
    color: var(--white);
    border: none;
    padding: 18px 48px;
    border-radius: var(--border-radius);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
}

.btn-hero:hover {
    background-color: #333;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Game Section */
.game-section {
    background-color: var(--dark-bg);
    padding: 80px 20px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.star-icon {
    font-size: 32px;
    color: var(--primary-yellow);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--white);
    text-align: center;
    margin-bottom: 50px;
    font-weight: 500;
}

.game-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    margin-top: 50px;
}

.game-image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.game-image {
    width: 100%;
    max-width: 500px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 4px solid var(--primary-yellow);
}

.game-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
}

.lottery-balls {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.lottery-ball {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--white) 0%, #E5E7EB 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-purple);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: bounce 2s infinite;
}

.lottery-ball.ball-1 { animation-delay: 0s; }
.lottery-ball.ball-2 { animation-delay: 0.2s; }
.lottery-ball.ball-3 { animation-delay: 0.4s; }
.lottery-ball.ball-4 { animation-delay: 0.6s; }
.lottery-ball.ball-5 { animation-delay: 0.8s; }

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.lottery-machine {
    width: 100%;
    max-width: 300px;
    background: linear-gradient(135deg, #374151 0%, #1F2937 100%);
    border-radius: var(--border-radius);
    padding: 30px;
    border: 3px solid var(--primary-purple);
}

.machine-screen {
    background-color: var(--darker-bg);
    border-radius: 8px;
    padding: 20px;
    border: 2px solid var(--primary-yellow);
}

.screen-numbers {
    display: flex;
    justify-content: space-around;
    gap: 10px;
}

.screen-numbers .number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.btn-play-now {
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 18px 48px;
    border-radius: var(--border-radius);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    max-width: 500px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-play-now:hover {
    background-color: #059669;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
}

.game-info {
    color: var(--text-light);
}

.game-info h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--white);
}

.game-info p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-gray);
}

.game-features {
    list-style: none;
    padding: 0;
}

.game-features li {
    font-size: 18px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.game-features li:last-child {
    border-bottom: none;
}

/* Always Free Section */
.always-free-section {
    background-color: var(--dark-bg);
    padding: 80px 20px;
    text-align: center;
}

.free-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
}

.free-image-placeholder {
    width: 100%;
    max-width: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 4px solid var(--primary-purple);
}

.free-game-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
}

/* Footer */
.footer {
    background-color: var(--black);
    padding: 60px 20px 30px;
    color: var(--text-light);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-contact,
.footer-address {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item,
.address-item {
    font-size: 16px;
    line-height: 1.6;
}

.contact-item a,
.address-item a {
    color: var(--primary-yellow);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-responsible-gaming {
    background-color: rgba(252, 211, 77, 0.1);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-bottom: 40px;
    text-align: center;
}

.footer-responsible-gaming h3 {
    color: var(--primary-yellow);
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-responsible-gaming p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.btn-responsible {
    background-color: var(--primary-yellow);
    color: var(--black);
    border: none;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    margin-right: 15px;
    transition: var(--transition);
    text-transform: uppercase;
}

.btn-responsible:hover {
    background-color: #FBBF24;
    transform: translateY(-2px);
}

.age-badge {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: #EF4444;
    color: var(--white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    vertical-align: middle;
}

.responsible-gaming-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.responsible-logo {
    height: 60px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    transition: var(--transition);
    opacity: 0.9;
}

.responsible-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

.footer-legal {
    margin-bottom: 40px;
}

.footer-legal p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.footer-legal a {
    color: var(--primary-yellow);
    text-decoration: none;
}

.footer-legal a:hover {
    text-decoration: underline;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
    justify-content: center;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 16px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-yellow);
}

.footer-copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
    color: var(--text-gray);
    font-size: 14px;
}

/* Age Verification Popup */
.age-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.age-popup.hidden {
    display: none;
}

.age-popup-content {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    padding: 50px;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    text-align: center;
    border: 3px solid var(--primary-purple);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.5);
}

.age-popup-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 900;
    margin: 0 auto 30px;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.5);
}

.age-popup-content h2 {
    font-size: 32px;
    color: var(--white);
    margin-bottom: 20px;
}

.age-popup-content p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

.age-popup-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-bg);
    border-top: 3px solid var(--primary-yellow);
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner.hidden {
    display: none;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner-content p {
    flex: 1;
    color: var(--text-light);
    font-size: 14px;
    min-width: 250px;
}

.cookie-banner-content a {
    color: var(--primary-yellow);
    text-decoration: none;
}

.cookie-banner-content a:hover {
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: 10px;
}

/* Buttons */
.btn {
    border: none;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #059669;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--text-gray);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #6B7280;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .game-overview {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 28px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .top-bar .container {
        flex-direction: column;
        text-align: center;
    }

    .nav {
        flex-direction: column;
        gap: 15px;
    }

    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-banner-buttons {
        width: 100%;
        justify-content: center;
    }

    .age-popup-content {
        padding: 30px 20px;
    }
}

