:root {
    --bg-color: #050b14;
    --app-bg: rgba(0, 0, 0, 0.4);
    
    /* Default Themes (Will be overridden by JS) */
    --theme-color-1: #4f46e5;
    --theme-color-2: #818cf8;
    --theme-accent: #c7d2fe;
    
    --text-main: #1f2937;
    --text-muted: #d1d5db;
    --text-light: #ffffff;
    
    --transition: all 0.3s ease;
}

h1, h2, h3 {
    font-weight: 700;
}

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

body {
    font-family: 'Inter', 'Roboto', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-light);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-y: auto;
    position: relative;
    margin: 0;
}

/* Aurora Background */
.aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.02) 45%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.02) 55%, transparent 60%),
                linear-gradient(135deg, var(--bg-color), #091020);
    background-size: 200% 200%, 100% 100%;
    animation: bgStreaks 20s linear infinite;
    overflow: hidden;
}

.aurora-bg::before, .aurora-bg::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle at 50% 50%, var(--theme-color-1), transparent 60%),
                radial-gradient(circle at 80% 20%, var(--theme-color-2), transparent 50%),
                radial-gradient(circle at 20% 80%, var(--theme-accent), transparent 50%);
    filter: blur(120px);
    opacity: 0.6;
    animation: auroraFlow 25s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
    transition: background 1.5s ease;
    mix-blend-mode: color-dodge;
}

.aurora-bg::after {
    background: radial-gradient(circle at 20% 50%, var(--theme-color-2), transparent 60%),
                radial-gradient(circle at 70% 80%, var(--theme-color-1), transparent 50%);
    animation: auroraFlow 30s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate-reverse;
    opacity: 0.5;
    mix-blend-mode: overlay;
}

@keyframes auroraFlow {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(-5%, 5%) scale(1.05) rotate(2deg); }
    100% { transform: translate(5%, -5%) scale(1) rotate(-2deg); }
}

@keyframes bgStreaks {
    0% { background-position: 200% 0, 0 0; }
    100% { background-position: -200% 0, 0 0; }
}

/* Top Nav */
.top-nav {
    position: fixed;
    top: 20px;
    right: 30px;
    z-index: 100;
    display: flex;
    gap: 20px;
    align-items: center;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 15px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-btn-link {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-btn-link:hover {
    background: var(--theme-color-1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--theme-accent);
}

/* Layout */
.intro-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 800px;
    padding: 40px 20px;
    z-index: 10;
    animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Header */
.intro-header {
    margin-bottom: 40px;
    animation: float 6s ease-in-out infinite;
}

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

.logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--theme-color-1), var(--theme-color-2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 0 30px var(--theme-accent);
    transition: var(--transition);
}

.main-title {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 10px;
    background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
}

.tagline {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: #e2e8f0;
}

.description {
    font-size: 1.1rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Country Selector */
.region-selector-wrapper {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(30px) saturate(150%);
    -webkit-backdrop-filter: blur(30px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 24px 35px;
    border-radius: 24px;
    margin-bottom: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255,255,255,0.4);
    transition: var(--transition);
}

.region-selector-wrapper:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px var(--theme-accent);
}

.region-selector-wrapper label {
    display: block;
    margin-bottom: 12px;
    font-size: 1rem;
    font-weight: 500;
    color: #f8fafc;
}

.custom-select-container {
    position: relative;
    display: flex;
    align-items: center;
}

.select-icon {
    position: absolute;
    left: 15px;
    color: var(--theme-color-1);
    font-size: 1.2rem;
    z-index: 2;
    transition: var(--transition);
}

.region-select {
    width: 100%;
    padding: 14px 15px 14px 45px;
    font-size: 1.1rem;
    font-family: inherit;
    font-weight: 600;
    color: var(--text-main);
    background: white;
    border: 2px solid transparent;
    border-radius: 12px;
    appearance: none;
    cursor: pointer;
    transition: var(--transition);
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.region-select:focus {
    border-color: var(--theme-color-1);
    box-shadow: 0 0 0 4px var(--theme-accent);
}

.region-select option {
    font-weight: 500;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 100%;
}

.secondary-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    text-decoration: none;
    font-family: inherit;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.primary-btn {
    background: linear-gradient(135deg, var(--theme-color-1), var(--theme-color-2));
    color: white;
    padding: 18px 45px;
    font-size: 1.3rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 0 0 20px rgba(79, 70, 229, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.primary-btn:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 40px var(--theme-color-1);
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    padding: 12px 25px;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    border-color: white;
}

/* Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--theme-color-2);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: floatParticle 15s infinite ease-in-out alternate;
    transition: background 1s ease;
}

.p1 { top: 10%; left: 15%; animation-duration: 20s; }
.p2 { top: 60%; left: 80%; animation-duration: 25s; animation-delay: -5s; }
.p3 { top: 80%; left: 20%; animation-duration: 18s; animation-delay: -2s; }
.p4 { top: 20%; left: 70%; animation-duration: 22s; animation-delay: -8s; }
.p5 { top: 50%; left: 50%; width: 250px; height: 250px; opacity: 0.1; background: var(--theme-color-1); }

@keyframes floatParticle {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, -50px); }
}

@media (max-width: 600px) {
    .main-title { font-size: 3.5rem; }
    .tagline { font-size: 1.4rem; }
    .secondary-actions { flex-direction: column; width: 100%; max-width: 300px; }
    .secondary-btn { width: 100%; }
}
