@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Outfit:wght@400;700;900&display=swap');

:root {
    --bg-dark: #050101;
    --bg-darker: #000000;
    --primary-red: #ff4030;
    --primary-red-dim: rgba(255, 64, 48, 0.2);
    --primary-orange: #ff8f86;
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glow-shadow: 0 0 40px var(--primary-red-dim);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    background-image: 
        url('launcherIcon.png'),
        radial-gradient(circle at 15% 50%, rgba(255, 64, 48, 0.05), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(255, 143, 134, 0.05), transparent 25%);
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: center, center, center;
    background-size: 80vw auto, auto, auto;
    max-width: 800px;
    opacity: 0.12;
    z-index: -1;
    pointer-events: none;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 64, 48, 0.3);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6), var(--glow-shadow);
}

/* Gradients & Text Glow */
.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-glow {
    text-shadow: 0 0 20px rgba(255, 64, 48, 0.4);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-red) 0%, #cc2020 100%);
    color: white;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 64, 48, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 64, 48, 0.5);
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary.pulse {
    animation: pulse 2s infinite;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 64, 48, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(255, 64, 48, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 64, 48, 0); }
}

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

.animate-fade-in {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Navigation & Footer */
nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--glass-border);
    padding: 60px 20px;
    text-align: center;
    margin-top: auto;
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

footer a:hover {
    color: var(--primary-orange);
}

/* Typography Utilities */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-8 { margin-top: 2rem; }
.text-sm { font-size: 0.875rem; color: var(--text-muted); }

/* Document Layouts (Terms/Privacy) */
.legal-content {
    padding: 60px 0;
}

.legal-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.legal-content .last-updated {
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 40px;
}

.legal-content h2 {
    color: var(--primary-orange);
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.legal-content p, .legal-content ul {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.legal-content ul {
    padding-left: 20px;
}

.legal-content li {
    margin-bottom: 10px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 64, 48, 0.5);
}
