/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #f7fafc;
}

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

/* Age Verification Modal */
.age-modal {
    display: flex;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.age-modal-content {
    background: linear-gradient(135deg, #2d5a27, #4a7c59);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.5s ease-out;
}

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

.age-logo {
    font-size: 48px;
    font-weight: bold;
    color: #f4a261;
    margin-bottom: 20px;
    border: 3px solid #f4a261;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.age-modal-content h2 {
    color: white;
    margin-bottom: 15px;
    font-size: 24px;
}

.age-modal-content p {
    color: #e2e8f0;
    margin-bottom: 25px;
    font-size: 16px;
}

.age-confirm-btn {
    background: linear-gradient(135deg, #f4a261, #e76f51);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(244, 162, 97, 0.3);
}

.age-confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 162, 97, 0.4);
}

/* Disclaimer Header */
.disclaimer-header {
    background: linear-gradient(135deg, #1e3a5f, #2d5a27);
    color: white;
    padding: 12px 0;
    text-align: center;
    font-size: 14px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.disclaimer-header p {
    margin: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 54px;
    z-index: 99;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: #2d5a27;
}

.leaf-icon {
    font-size: 28px;
    margin-right: 10px;
    animation: leafSway 3s ease-in-out infinite;
}

@keyframes leafSway {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.navbar-link {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.navbar-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(77, 124, 89, 0.2) 0%, transparent 70%);
    transition: all 0.5s ease;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.navbar-link:hover::before {
    width: 200px;
    height: 200px;
}

.navbar-link:hover {
    color: #2d5a27;
    transform: translateY(-2px);
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.8), rgba(74, 124, 89, 0.6)),
                url('/assets/seghjndghes.webp') center/cover;
    z-index: -1;
    animation: parallaxFloat 20s ease-in-out infinite;
}

@keyframes parallaxFloat {
    0%, 100% { transform: scale(1) translateY(0); }
    50% { transform: scale(1.05) translateY(-10px); }
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

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

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-button {
    background: linear-gradient(135deg, #f4a261, #e76f51);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(244, 162, 97, 0.3);
    animation: buttonGlow 2s ease-in-out infinite alternate;
}

@keyframes buttonGlow {
    from { box-shadow: 0 8px 25px rgba(244, 162, 97, 0.3); }
    to { box-shadow: 0 8px 30px rgba(244, 162, 97, 0.5); }
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(244, 162, 97, 0.4);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: linear-gradient(135deg, #f7fafc, #e2e8f0);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2d5a27;
    margin-bottom: 60px;
    font-weight: 600;
}

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

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(74, 124, 89, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #2d5a27;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: #4a5568;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #2d5a27, #4a7c59);
    color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0.9;
}

.about-image {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
}

.about-bg {
    width: 100%;
    height: 100%;
    background: url('/assets/fdbvve_q85.jpg') center/cover;
    border-radius: 20px;
    animation: imageFloat 6s ease-in-out infinite;
}

@keyframes imageFloat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Games Section */
.games {
    padding: 100px 0;
    background: #f7fafc;
}

.games h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2d5a27;
    margin-bottom: 60px;
    font-weight: 600;
}

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

.game-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(74, 124, 89, 0.3);
}

.game-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.game-content {
    padding: 25px;
    text-align: center;
}

.game-content h3 {
    font-size: 1.3rem;
    color: #2d5a27;
    margin-bottom: 15px;
    font-weight: 600;
}

.game-btn {
    display: inline-block;
    background: linear-gradient(135deg, #4a7c59, #2d5a27);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 124, 89, 0.3);
}

.game-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 124, 89, 0.4);
    background: linear-gradient(135deg, #2d5a27, #1e3a1f);
}

/* Responsible Gaming Section */
.responsible-gaming {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3a5f, #2d4a72);
    color: white;
    text-align: center;
}

.responsible-gaming h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.responsible-gaming p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #1a202c;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #4a7c59;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #4a7c59;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 20px;
    text-align: center;
    color: #a0aec0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-container {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }
    
    .navbar-menu {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .features h2,
    .games h2 {
        font-size: 2rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .age-modal-content {
        padding: 30px 20px;
    }
    
    .age-modal-content h2 {
        font-size: 20px;
    }
    
    .disclaimer-header {
        position: relative;
        top: auto;
    }
    
    .navbar {
        position: relative;
        top: auto;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .features,
    .games,
    .about {
        padding: 60px 0;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Hidden class for age modal */
.hidden {
    display: none !important;
}