/* Trekovohub.live - Dinoland Theme CSS */
/* Google Fonts - Prehistoric/Adventure Theme */
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One:wght@400&family=Open+Sans:wght@300;400;600;700&display=swap');

:root {
    --primary-green: #4a7c3a;
    --secondary-green: #6b9c59;
    --accent-orange: #ff7b54;
    --warm-yellow: #ffb347;
    --earth-brown: #8b4513;
    --light-cream: #f5f5dc;
    --dark-forest: #2d5016;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --border-radius: 12px;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--light-cream) 0%, #e8f5e8 100%);
    min-height: 100vh;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-forest) 100%);
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-family: 'Fredoka One', cursive;
    font-size: 2rem;
    color: var(--warm-yellow);
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
    color: var(--accent-orange);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    background: var(--accent-orange);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 4rem 0;
    text-align: center;
    overflow: hidden;
    background: url('bg.jpg') center center/cover no-repeat;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--secondary-green) 0%, var(--primary-green) 100%);
    opacity: 0.85;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

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

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

.hero h1 {
    font-family: 'Fredoka One', cursive;
    font-size: 3.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    color: var(--light-cream);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin-top: 2rem;
    box-shadow: var(--shadow);
}

/* Disclaimer Popup */
.disclaimer-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.disclaimer-popup.show {
    display: flex;
}

.disclaimer-content {
    background: var(--text-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    margin: 0 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    animation: popupAppear 0.3s ease forwards;
}

@keyframes popupAppear {
    to {
        transform: scale(1);
    }
}

.disclaimer-content h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-family: 'Fredoka One', cursive;
}

.disclaimer-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

/* Buttons */
.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-orange);
    color: var(--text-light);
}

.btn-primary:hover {
    background: #e6693d;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: var(--secondary-green);
    color: var(--text-light);
}

.btn-secondary:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
}

/* Game Section */
.game-section {
    padding: 4rem 0;
    background: var(--text-light);
}

.game-section h2 {
    text-align: center;
    font-family: 'Fredoka One', cursive;
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 2rem;
}

.game-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--light-cream);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.game-iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: var(--border-radius);
    box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--light-cream) 0%, #f0f8f0 100%);
}

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

.about-text {
    order: 1;
}

.about-image {
    order: 2;
    text-align: right;
}

.about-img-right {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: block;
    margin-left: auto;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about-image {
        text-align: center;
        margin-top: 2rem;
    }
    .about-img-right {
        margin-left: 0;
    }
}

.about-text h2 {
    font-family: 'Fredoka One', cursive;
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background: var(--text-light);
}

.features-section h2 {
    text-align: center;
    font-family: 'Fredoka One', cursive;
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 3rem;
}

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

.feature-card {
    background: linear-gradient(135deg, var(--light-cream) 0%, #f8f8f8 100%);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 3px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-orange);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent-orange);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: 'Fredoka One', cursive;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--light-cream) 0%, #f0f8f0 100%);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--text-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(255, 123, 84, 0.1);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-forest) 0%, var(--primary-green) 100%);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    font-family: 'Fredoka One', cursive;
    color: var(--warm-yellow);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: var(--light-cream);
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
}

.footer-section a:hover {
    color: var(--accent-orange);
}

.footer-disclaimer {
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark-forest);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .game-iframe {
        height: 400px;
    }
    
    .disclaimer-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .game-iframe {
        height: 300px;
    }
    
    .disclaimer-content {
        padding: 1.5rem;
        margin: 0 10px;
    }
}

/* Legal Pages Styles */
.legal-page {
    padding: 4rem 0;
    background: var(--text-light);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--light-cream);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.legal-content h1 {
    font-family: 'Fredoka One', cursive;
    color: var(--primary-green);
    margin-bottom: 2rem;
    text-align: center;
}

.legal-content h2 {
    color: var(--secondary-green);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-orange);
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* Additional utility classes */
.footer-logo {
    display: inline;
}

.game-section-alt {
    padding-top: 2rem;
}

.game-description {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.game-footer-note {
    text-align: center;
    margin-top: 2rem;
}

.game-footer-note p {
    font-size: 0.9rem;
    color: var(--text-dark);
    opacity: 0.8;
}

.features-section-alt {
    padding-top: 2rem;
}

/* Image handling */
/* Hide hero-image by default, but always show about-img-right */
.hero-image {
    display: none;
}

.about-img-right {
    display: block;
}