:root {
    --primary: #4caf50;
    --secondary: #8b4513;
    --bg: #f0f0f0;
    --text: #333;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

#hero {
    height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(to bottom, #87ceeb, #e0f6ff);
    padding: 20px;
}

#game-title {
    font-size: 5rem;
    margin: 0;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.tagline {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 20px;
}

#hero-preview {
    width: 100%;
    max-width: 600px;
    height: 300px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

#gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px;
    gap: 20px;
}

.gallery-img {
    max-width: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

#features, #controls {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

#features ul {
    padding-left: 20px;
}

#features li {
    margin: 10px 0;
    font-size: 1.2rem;
}

#controls {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.cta {
    text-align: center;
    padding: 50px;
}

#play-now {
    display: inline-block;
    padding: 20px 40px;
    font-size: 1.5rem;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: transform 0.2s;
}

#play-now:hover {
    transform: scale(1.1);
}

@media (max-width: 390px) {
    #game-title {
        font-size: 3rem;
    }
    .tagline {
        font-size: 1.1rem;
    }
    #hero-preview {
        height: 200px;
    }
}
