/* ============================================
   Sci-Fi Frosted Glass Game Prediction Website
   ============================================ */

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

:root {
    --color-bg-dark: #0a0e27;
    --color-bg-darker: #050812;
    --color-text-primary: #f0f4ff;
    --color-text-secondary: #b0b8d4;
    --color-cyan: #22d3ee;
    --color-cyan-light: #06b6d4;
    --color-purple: #a855f7;
    --color-purple-light: #d946ef;
    --color-blue: #3b82f6;
    --color-blue-light: #60a5fa;
    --color-white-10: rgba(255, 255, 255, 0.1);
    --color-white-15: rgba(255, 255, 255, 0.15);
    --color-white-20: rgba(255, 255, 255, 0.2);
    --color-white-5: rgba(255, 255, 255, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    background: linear-gradient(135deg, #0a0e27 0%, #1a0f3d 50%, #0a0e27 100%);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Animated Elements */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.glow-ball {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 20s ease-in-out infinite;
}

.glow-cyan {
    width: 400px;
    height: 400px;
    top: 10%;
    left: 15%;
    background: rgba(34, 211, 238, 0.15);
    animation-delay: 0s;
}

.glow-purple {
    width: 400px;
    height: 400px;
    bottom: 10%;
    right: 15%;
    background: rgba(168, 85, 247, 0.15);
    animation-delay: 1s;
}

.glow-blue {
    width: 350px;
    height: 350px;
    top: 50%;
    right: 5%;
    background: rgba(59, 130, 246, 0.1);
    animation-delay: 0.5s;
}

@keyframes float {

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

    50% {
        transform: translateY(30px);
    }
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* ============================================
   Header & Navigation
   ============================================ */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid var(--color-white-10);
    transition: var(--transition);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
    color: var(--color-text-primary);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-blue) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: white;
}

.logo-text {
    display: none;
}

@media (min-width: 640px) {
    .logo-text {
        display: inline;
    }
}

/* Desktop Navigation */
.nav-desktop {
    display: none;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-cyan), var(--color-blue));
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--color-cyan);
}

.nav-link:hover::after {
    width: 100%;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-toggle {
    padding: 0.5rem 0.75rem;
    background: var(--color-white-10);
    border: 1px solid var(--color-white-15);
    color: var(--color-text-primary);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Space Grotesk', sans-serif;
}

.lang-toggle:hover {
    background: var(--color-white-15);
    border-color: var(--color-cyan);
}

.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: var(--color-text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu-toggle:hover {
    color: var(--color-cyan);
}

/* Mobile Navigation */
.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--color-white-10);
}

.nav-mobile.active {
    display: flex;
}

@media (min-width: 768px) {
    .nav-mobile {
        display: none !important;
    }
}

.nav-mobile .nav-link {
    padding: 0.75rem 0;
    display: block;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    z-index: 1;
    padding: 6rem 0;
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    /* max-width: 48rem; */
    max-width: 100%;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-blue) 50%, var(--color-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-cyan);
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-blue) 100%);
    color: white;
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.5);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* ============================================
   Features Section
   ============================================ */

.features {
    position: relative;
    z-index: 1;
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    backdrop-filter: blur(10px);
    background: var(--color-white-10);
    border: 1px solid var(--color-white-15);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: var(--transition);
    cursor: pointer;
}

.feature-card:hover {
    background: var(--color-white-15);
    border-color: var(--color-cyan);
    transform: translateY(-8px);
}

.feature-card:nth-child(2):hover {
    border-color: var(--color-purple);
}

.feature-card:nth-child(3):hover {
    border-color: var(--color-blue);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.feature-icon-cyan {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.3), rgba(6, 182, 212, 0.3));
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.2);
}

.feature-card:hover .feature-icon-cyan {
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.4);
}

.feature-icon-purple {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(217, 70, 239, 0.3));
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

.feature-card:hover .feature-icon-purple {
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
}

.feature-icon-blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(96, 165, 250, 0.3));
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.feature-card:hover .feature-icon-blue {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-text-primary);
}

.feature-description {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

/* ============================================
   Download Section
   ============================================ */

.download {
    position: relative;
    z-index: 1;
    padding: 6rem 0;
}

.download-card {
    backdrop-filter: blur(10px);
    background: linear-gradient(135deg, var(--color-white-5) 0%, var(--color-white-10) 100%);
    border: 1px solid var(--color-white-15);
    border-radius: 2rem;
    padding: 4rem 2rem;
    text-align: center;
    transition: var(--transition);
}

.download-card:hover {
    border-color: var(--color-cyan);
    background: linear-gradient(135deg, var(--color-white-10) 0%, var(--color-white-15) 100%);
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.1);
}

.download-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.download-note {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-top: 1.5rem;
}

/* ============================================
   Support Section
   ============================================ */

.support {
    position: relative;
    z-index: 1;
    padding: 6rem 0;
}

.support-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 32rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .support-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }
}

.support-card {
    backdrop-filter: blur(10px);
    background: var(--color-white-10);
    border: 1px solid var(--color-white-15);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: var(--transition);
    text-align: center;
}

.support-card:hover {
    background: var(--color-white-15);
    transform: translateY(-8px);
}

.support-card:nth-child(1):hover {
    border-color: var(--color-cyan);
}

.support-card:nth-child(2):hover {
    border-color: var(--color-purple);
}

.support-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    transition: var(--transition);
}

.support-icon-cyan {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.3), rgba(6, 182, 212, 0.3));
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.2);
}

.support-card:hover .support-icon-cyan {
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.4);
}

.support-icon-purple {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(217, 70, 239, 0.3));
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

.support-card:hover .support-icon-purple {
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
}

.support-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-text-primary);
}

.support-description {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}

.support-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(34, 211, 238, 0.2);
    border: 1px solid rgba(34, 211, 238, 0.5);
    border-radius: 8px;
    color: var(--color-cyan);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
}

.support-card:nth-child(2) .support-link {
    background: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.5);
    color: var(--color-purple-light);
}

.support-link:hover {
    background: rgba(34, 211, 238, 0.3);
    border-color: var(--color-cyan);
}

.support-card:nth-child(2) .support-link:hover {
    background: rgba(168, 85, 247, 0.3);
    border-color: var(--color-purple-light);
}

/* ============================================
   Footer
   ============================================ */

.footer {
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid var(--color-white-10);
    padding: 2rem 0;
    margin-top: 4rem;
}

.copyright {
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .hero {
        padding: 4rem 0;
        min-height: auto;
    }

    .features,
    .download,
    .support {
        padding: 4rem 0;
    }

    .download-card {
        padding: 2rem 1.5rem;
    }
}

/* Smooth Transitions */
a,
button {
    transition: var(--transition);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}