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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(to bottom, rgba(135, 206, 235, 0.3) 0%, transparent 30%, transparent 70%, rgba(45, 95, 76, 0.3) 100%),
        url('background_forest.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    animation: float 20s ease-in-out infinite;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
}

.game-title {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    text-shadow:
        3px 3px 0px rgba(0, 0, 0, 0.5),
        6px 6px 20px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(0, 0, 0, 0.6);
    animation: slideDown 1s ease-out;
}

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

.tagline {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 300;
    animation: fadeIn 1s ease-out 0.3s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to {
        opacity: 0.95;
    }
}

.app-store-badge {
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeIn 1s ease-out 0.6s forwards;
    opacity: 0;
}

.app-store-badge:hover {
    transform: translateY(-5px) scale(1.05);
    filter: brightness(1.1);
}

.app-store-badge img {
    height: 60px;
    width: auto;
}

.price-tag {
    margin-top: 20px;
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
    animation: fadeIn 1s ease-out 0.9s forwards;
    opacity: 0;
}

/* Features Section */
.features {
    padding: 100px 20px;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

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

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

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

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

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

.feature-card p {
    color: #666;
    line-height: 1.8;
}

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

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

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

/* Download CTA Section */
.download-cta {
    padding: 100px 20px;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    text-align: center;
}

.download-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2D5F4C;
}

.download-cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #666;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

footer p {
    margin: 10px 0;
    opacity: 0.8;
}

.footer-links {
    margin-top: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .game-title {
        font-size: 3rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .features h2,
    .about h2,
    .download-cta h2 {
        font-size: 2rem;
    }

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

    .app-store-badge img {
        height: 50px;
    }
}

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

    .tagline {
        font-size: 1rem;
    }

    .feature-card {
        padding: 30px 20px;
    }
}
