@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Exo+2:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2D5016;
    --secondary-color: #8B4513;
    --accent-color: #FF6B35;
    --dark-accent: #1A3A0A;
    --text-color: #2C2C2C;
    --light-bg: #F5F5DC;
    --dark-bg: #0F1B0A;
    --wild-green: #4A7C59;
    --earth-brown: #8B4513;
    --fire-orange: #FF6B35;
    --shadow-dark: rgba(15, 27, 10, 0.8);
}

body {
    font-family: 'Exo 2', sans-serif;
    background: linear-gradient(135deg, var(--light-bg) 0%, #E8F5E8 50%, var(--light-bg) 100%);
    color: var(--text-color);
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(45, 80, 22, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 69, 19, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Top Navigation */
.top-nav {
    background: linear-gradient(135deg, var(--dark-bg), var(--primary-color));
    padding: 1rem 0;
    box-shadow: 0 4px 20px var(--shadow-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--accent-color);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-color);
    text-decoration: none;
    text-shadow: 2px 2px 4px var(--shadow-dark);
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo::before {
    content: '🐗';
    font-size: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--light-bg);
    text-decoration: none;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1.1rem;
}

.nav-links a:hover,
.nav-links a.active {
    background: linear-gradient(135deg, var(--accent-color), var(--fire-orange));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--light-bg);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Main Content */
.main-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--wild-green), var(--secondary-color));
    color: white;
    padding: 4rem 3rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 0 15px 35px var(--shadow-dark);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.3), transparent);
    border-radius: 50%;
}

.page-header h1 {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px var(--shadow-dark);
    letter-spacing: 1px;
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 300;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(245, 245, 220, 0.8));
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 53, 0.2);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color), var(--wild-green));
}

.card h2 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.card h3 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.card p {
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.card ul, .card ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.card li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.notice-card {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(139, 69, 19, 0.1));
    border-left: 6px solid var(--accent-color);
    border-radius: 20px;
}

.notice-card ul {
    list-style: none;
    margin-left: 0;
}

.notice-card li {
    padding: 1rem 0;
    padding-left: 3rem;
    position: relative;
    font-size: 1.1rem;
    font-weight: 500;
}

.notice-card li::before {
    content: '🐗';
    position: absolute;
    left: 0;
    font-size: 1.8rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.game-wrapper {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.game-frame {
    border: 6px solid var(--accent-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px var(--shadow-dark);
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    background: var(--dark-bg);
}

.game-frame::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-color), var(--wild-green), var(--accent-color));
    border-radius: 20px;
    z-index: -1;
    animation: borderGlow 3s linear infinite;
}

@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.game-frame iframe {
    display: block;
    border: none;
    width: 100%;
    height: 600px;
    background: var(--dark-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(245, 245, 220, 0.6));
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--accent-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-item h3 {
    margin-top: 0;
    color: var(--primary-color);
    font-family: 'Orbitron', monospace;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-bg), var(--primary-color));
    color: var(--light-bg);
    padding: 3rem 2rem;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-top: 4rem;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color), var(--wild-green));
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.responsible-links {
    margin-bottom: 2rem;
}

.responsible-links h3 {
    font-family: 'Orbitron', monospace;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.responsible-links ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.responsible-links a {
    color: var(--light-bg);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    background: rgba(255, 107, 53, 0.2);
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.responsible-links a:hover {
    color: var(--accent-color);
    background: rgba(255, 107, 53, 0.3);
    transform: translateY(-2px);
}

/* Age Verification Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 27, 10, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: linear-gradient(135deg, var(--light-bg), rgba(255, 255, 255, 0.9));
    padding: 4rem;
    border-radius: 25px;
    text-align: center;
    max-width: 600px;
    border: 4px solid var(--accent-color);
    margin: 1rem;
    box-shadow: 0 25px 50px var(--shadow-dark);
    position: relative;
}

.age-modal-content::before {
    content: '🐗';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
    background: var(--light-bg);
    padding: 0 1rem;
}

.age-modal-content h2 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.age-modal-content p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 1.2rem;
    line-height: 1.6;
}

.age-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.age-btn {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.age-btn.yes {
    background: linear-gradient(135deg, var(--accent-color), var(--fire-orange));
    color: white;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.age-btn.yes:hover {
    background: linear-gradient(135deg, var(--fire-orange), var(--accent-color));
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 12px 25px rgba(255, 107, 53, 0.6);
}

.age-btn.no {
    background: linear-gradient(135deg, #666, #444);
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.age-btn.no:hover {
    background: linear-gradient(135deg, #444, #222);
    transform: scale(1.05) translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--dark-bg), var(--primary-color));
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 20px var(--shadow-dark);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        margin: 0.5rem 0;
    }

    .main-content {
        padding: 1rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header p {
        font-size: 1.1rem;
    }

    .game-frame iframe {
        height: 400px;
    }

    .age-buttons {
        flex-direction: column;
    }

    .age-btn {
        width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 1.5rem;
    }

    .card h2 {
        font-size: 1.8rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .nav-logo {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .game-frame iframe {
        height: 300px;
    }
    
    .age-modal-content {
        padding: 2rem;
        margin: 0.5rem;
    }
    
    .age-modal-content h2 {
        font-size: 2rem;
    }

    .nav-logo {
        font-size: 1.8rem;
    }
}