* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1e4fd6;
    --light-blue: #4a90e2;
    --accent-pink: #ff6b9d;
    --bg-dark: #0a0e27;
    --bg-gradient-start: #0f1420;
    --bg-gradient-end: #1a1f3a;
    --text-light: #ffffff;
    --text-gray: #b8c5d6;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Animated gradient background */
.stars, .stars2, .stars3 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.stars {
    background: radial-gradient(ellipse at 20% 30%, rgba(30, 79, 214, 0.25) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 70%, rgba(255, 107, 157, 0.2) 0%, transparent 50%);
    animation: gradientShift 20s ease infinite;
}

.stars2 {
    background: radial-gradient(circle at 60% 40%, rgba(74, 144, 226, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 30% 80%, rgba(255, 107, 157, 0.12) 0%, transparent 40%);
    animation: gradientShift 25s ease-in-out infinite reverse;
}

.stars3 {
    background: radial-gradient(circle at 50% 50%, rgba(30, 79, 214, 0.1) 0%, transparent 60%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 0.6;
        transform: translate(0, 0) scale(1);
    }
    50% {
        opacity: 0.9;
        transform: translate(20px, -20px) scale(1.05);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

header {
    position: relative;
    z-index: 10;
    padding: 1.5rem 2rem;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(30, 79, 214, 0.4);
}

main {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero {
    text-align: center;
    padding: 4rem 2rem;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.game-icon-large {
    margin: 0 auto 2rem;
    width: 200px;
    height: 200px;
    animation: float 3s ease-in-out infinite;
}

.game-icon-large img {
    width: 100%;
    height: 100%;
    border-radius: 40px;
    box-shadow: 0 20px 60px rgba(30, 79, 214, 0.5);
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient 3s ease infinite;
    background-size: 200% 200%;
}

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

.tagline {
    font-size: 1.5rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.description {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.download-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-light);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 220px;
}

.store-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(30, 79, 214, 0.4);
    border-color: var(--primary-blue);
}

.google-play:hover {
    box-shadow: 0 10px 40px rgba(74, 144, 226, 0.5);
}

.app-store:hover {
    box-shadow: 0 10px 40px rgba(255, 107, 157, 0.5);
}

.store-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.store-icon img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.get-it {
    font-size: 0.75rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.store-name {
    font-size: 1.3rem;
    font-weight: 600;
}

.features {
    padding: 4rem 0;
}

.features h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--light-blue), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(30, 79, 214, 0.3);
    border-color: var(--primary-blue);
}

.feature-emoji {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 3rem 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--card-border);
}

.footer-content p {
    color: var(--text-gray);
    margin: 0.5rem 0;
}

.heart {
    color: var(--accent-pink);
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .description {
        font-size: 1rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-button {
        width: 100%;
        max-width: 300px;
    }

    .features h2 {
        font-size: 2rem;
    }

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

    .game-icon-large {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    .hero {
        padding: 2rem 1rem;
    }

    main {
        padding: 1rem;
    }
}
