:root {
    --primary-color: #3498db;
    --secondary-color: #e74c3c;
    --background-color: #1a1a1a;
    --text-color: #ecf0f1;
    --card-bg-color: rgba(255, 255, 255, 0.05);
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(45deg, #ff0000, #00ff00, #0000ff, #ff00ff, #ffff00, #00ffff);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
    filter: blur(100px);
    opacity: 0.3;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

/* --- Header / Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    position: relative;
}

.hero-content {
    max-width: 800px;
}

.main-title {
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0;
    background: linear-gradient(90deg, #ff8a00, #e52e71, #0072ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: text-glow 2s ease-in-out infinite alternate;
}

@keyframes text-glow {
    from {
        text-shadow: 0 0 10px #ff8a00, 0 0 20px #e52e71, 0 0 30px #0072ff;
    }
    to {
        text-shadow: 0 0 20px #ff8a00, 0 0 30px #e52e71, 0 0 40px #0072ff;
    }
}

.subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    margin: 10px 0 20px;
    color: var(--text-color);
}

.description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
    color: rgba(236, 240, 241, 0.8);
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.store-button img {
    height: 50px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.store-button:hover img {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* --- Sections --- */
main > section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 10px auto 0;
    border-radius: 2px;
}

/* --- Features --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-item {
    background: var(--card-bg-color);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* --- How to Play --- */
.how-to-play {
    background-color: rgba(0,0,0,0.1);
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step {
    display: flex;
    align-items: center;
    gap: 30px;
    background: var(--card-bg-color);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 50px;
    text-align: center;
}

/* --- Screenshots --- */
.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.screenshot-gallery img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* --- Download Final --- */
.download-final {
    text-align: center;
    background: linear-gradient(45deg, rgba(52, 152, 219, 0.1), rgba(231, 76, 60, 0.1));
}

.download-final .section-title {
    margin-bottom: 20px;
}

.download-final p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* --- Footer --- */
footer {
    background-color: #111;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(236, 240, 241, 0.5);
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .main-title {
        font-size: 3.5rem;
    }
    .subtitle {
        font-size: 1.5rem;
    }
    .step {
        flex-direction: column;
        text-align: center;
    }
}
