:root {
    --bg-color: #0F172A;
    --bg-gradient: radial-gradient(circle at 50% 0%, #1E293B, #0F172A);
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --accent-primary: #FDBA74;
    /* Soft orange/yellow to match Mimo */
    --accent-secondary: #38BDF8;
    /* Light blue to match Games */
    --card-bg: rgba(30, 41, 59, 0.7);
    --card-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    background-image: var(--bg-gradient);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes glow {
    0% {
        filter: drop-shadow(0 0 5px rgba(253, 186, 116, 0.3));
    }

    50% {
        filter: drop-shadow(0 0 15px rgba(56, 189, 248, 0.5));
    }

    100% {
        filter: drop-shadow(0 0 5px rgba(253, 186, 116, 0.3));
    }
}

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

/* Navbar */
.navbar {
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
}

.logo-container {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 40px;
    width: auto;
}

/* Hero Section */
.hero {
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    animation: fadeIn 1s ease-out;
}

.hero-logo {
    max-width: 250px;
    width: 100%;
    margin-bottom: 24px;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.5));
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-primary), #fff, var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: 99px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-speed);
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent-secondary), var(--accent-primary));
    color: #0F172A;
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 30px rgba(56, 189, 248, 0.6);
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15), transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* Games Section */
.games-section {
    padding: 60px 0 100px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 20%;
    width: 60%;
    height: 4px;
    background: var(--accent-secondary);
    border-radius: 2px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Game Card */
.game-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.game-icon-wrapper {
    width: 120px;
    height: 120px;
    margin-bottom: 24px;
    border-radius: 22px;
    padding: 0;
    background: transparent;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: transform 0.4s ease;
}

.game-card:hover .game-icon-wrapper {
    transform: scale(1.1) rotate(3deg);
}

.game-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
    /* Smooth corners like app icons */
}

.game-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.game-desc {
    color: var(--text-secondary);
    margin-bottom: 24px;
    flex-grow: 1;
    font-size: 0.95rem;
}

.btn-store {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 10px 24px;
    border-radius: 12px;
    font-size: 0.9rem;
    border: 1px solid transparent;
    gap: 8px;
    width: 100%;
}

.btn-store:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.apple-icon {
    margin-right: 8px;
    position: relative;
    top: 1px;
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    color: var(--text-secondary);
    border-top: 1px solid var(--card-border);
    font-size: 0.9rem;
}

.footer-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-link,
.footer-link:visited,
.footer-link:active {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.footer-link:hover {
    color: var(--accent-secondary);
}

.separator {
    color: rgba(255, 255, 255, 0.2);
}

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

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}