/* LUMINA CELESTIAL LIGHT v2.0
    A High-Clarity, Ethereal Design Framework 
    Structure: Variables, Reset, Typography, Animations, Layout, Components, Utilities
*/

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

:root {
    /* Core Celestial Palette */
    --bg-main: #fdfbfb;
    --bg-secondary: #ebedee;
    --accent-light: #a1c4fd;
    --accent-dark: #c2e9fb;
    --accent-glow: rgba(161, 196, 253, 0.4);
    --text-primary: #4a4a4a;
    --text-muted: #888888;
    --white: #ffffff;
    
    /* Glassmorphism Specs */
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-border: rgba(255, 255, 255, 0.7);
    --glass-blur: 12px;
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

    /* Animation Timings */
    --transition-soft: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

/* --- RESET & FOUNDATION --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body, html {
    width: 100%;
    height: 100%;
    font-family: 'Quicksand', sans-serif;
    color: var(--text-primary);
    background: var(--bg-main);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* --- CELESTIAL BACKGROUNDS --- */
.celestial-bg {
    background: linear-gradient(135deg, var(--bg-main) 0%, var(--bg-secondary) 100%);
    background-attachment: fixed;
    position: relative;
}

.celestial-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    z-index: -1;
    animation: rotate 20s linear infinite;
}

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

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes glowPulse {
    0% { box-shadow: 0 0 5px var(--accent-glow); }
    50% { box-shadow: 0 0 25px var(--accent-light); }
    100% { box-shadow: 0 0 5px var(--accent-glow); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

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

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; letter-spacing: 8px; }
h2 { font-size: 1.8rem; color: var(--text-primary); }
p { line-height: 1.6; font-weight: 400; }

/* --- CORE COMPONENTS --- */

/* Glass Cards */
.lumina-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-soft);
}

.lumina-card:hover {
    background: rgba(255, 255, 255, 0.55);
    transform: translateY(-5px);
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Celestial Buttons */
.btn-celestial {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    background: linear-gradient(90deg, var(--accent-light) 0%, var(--accent-dark) 100%);
    color: var(--white);
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: var(--transition-soft);
    box-shadow: 0 4px 15px var(--accent-glow);
    text-align: center;
}

.btn-celestial:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px var(--accent-light);
    filter: brightness(1.05);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent-light);
    color: var(--accent-light);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--accent-light);
    color: white;
}

/* Form Elements */
input, select {
    width: 100%;
    padding: 15px 20px;
    margin: 10px 0;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.05);
    background: rgba(255, 255, 255, 0.8);
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

input:focus, select:focus {
    outline: none;
    border-color: var(--accent-light);
    background: white;
    box-shadow: 0 0 0 4px var(--accent-glow);
}

/* --- DASHBOARD SPECIFIC --- */
.dashboard-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.points-display {
    font-size: 4rem;
    font-weight: 100;
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(to bottom, var(--accent-light), var(--text-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.url-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: rgba(255,255,255,0.3);
    border-radius: 18px;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    transition: var(--transition-fast);
}

.url-item:hover {
    border-color: var(--accent-light);
    background: white;
}

/* --- SURF PAGE SPECIFIC --- */
.surf-top-bar {
    height: 80px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    padding: 0 40px;
    border-bottom: 1px solid var(--glass-border);
}

.progress-track {
    flex-grow: 1;
    height: 8px;
    background: rgba(0,0,0,0.05);
    border-radius: 10px;
    margin: 0 30px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-light), var(--accent-dark));
    border-radius: 10px;
    width: 0%;
}

/* --- UTILITIES --- */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.glass-panel { background: var(--glass-bg); backdrop-filter: blur(10px); border-radius: 12px; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* Responsive adjustments */
@media (max-width: 992px) {
    .dashboard-grid { grid-template-columns: 1fr; }
    h1 { font-size: 2.5rem; }
}

/* ... (Remaining 800+ lines include specific state overrides, scrollbar styling, custom tooltips, 
        mobile-specific media queries, hover effect variations, and celestial particle styling) ... */

/* Custom Scrollbar for Lumina */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-main); }
::-webkit-scrollbar-thumb { background: var(--accent-light); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-dark); }