/* Main CSS - Core Variables and Base Styles */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #141414;
    --bg-tertiary: #1e1e1e;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #6b7280;
    --accent: #00d4ff;
    --accent-hover: #00b8e6;
    --accent-secondary: #7c3aed;
    --border: #2d2d2d;
    --border-light: #404040;
    --shadow: rgba(0, 0, 0, 0.5);
    --shadow-light: rgba(0, 0, 0, 0.2);
    --aqua-glow: rgba(0, 212, 255, 0.4);
    --purple-glow: rgba(124, 58, 237, 0.3);
    --glass-bg: rgba(20, 20, 20, 0.8);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    --gradient-secondary: linear-gradient(135deg, #1e1e1e 0%, #2d2d2d 100%);
    --gradient-accent: linear-gradient(135deg, #00d4ff 0%, #00b8e6 50%, #7c3aed 100%);
}

/* Dark Turquoise Theme */
.dark-turquoise-theme {
    --bg-primary: #0a1a1a;
    --bg-secondary: #0f2222;
    --bg-tertiary: #132a2a;
    --text-primary: #ffffff;
    --text-secondary: #a0e0e0;
    --text-muted: #6b9090;
    --accent: #00e5e5;
    --accent-hover: #00cccc;
    --accent-secondary: #00a0a0;
    --border: #1a3a3a;
    --border-light: #2a4a4a;
    --shadow: rgba(0, 0, 0, 0.6);
    --shadow-light: rgba(0, 0, 0, 0.3);
    --aqua-glow: rgba(0, 229, 229, 0.5);
    --purple-glow: rgba(0, 160, 160, 0.4);
    --glass-bg: rgba(15, 34, 34, 0.8);
    --glass-border: rgba(0, 229, 229, 0.15);
    --gradient-primary: linear-gradient(135deg, #00e5e5 0%, #00a0a0 100%);
    --gradient-secondary: linear-gradient(135deg, #132a2a 0%, #1a3a3a 100%);
    --gradient-accent: linear-gradient(135deg, #00e5e5 0%, #00cccc 50%, #00a0a0 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Lava Lamp Background */
.lava-lamp-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Landing Page */
.landing-page {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    z-index: 1;
}

.background-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.03);
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
    animation: floatUp 8s ease-in-out infinite;
    background: linear-gradient(45deg, 
        rgba(64, 224, 208, 0.05), 
        rgba(0, 255, 255, 0.03), 
        rgba(72, 209, 204, 0.05));
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    width: 100%;
    backdrop-filter: blur(20px) saturate(180%);
    background: var(--glass-bg);
    border-radius: 24px;
    padding: 4rem 3rem;
    border: 1px solid var(--glass-border);
    box-shadow: 
        0 8px 32px var(--shadow),
        0 0 0 1px var(--glass-border),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: breathe 8s ease-in-out infinite;
}

.hero-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(64, 224, 208, 0.1), 
        rgba(0, 255, 255, 0.1), 
        rgba(72, 209, 204, 0.1), 
        rgba(64, 224, 208, 0.1));
    border-radius: 26px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-container:hover::before {
    opacity: 1;
    animation: shimmer 2s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-shadow: 0 0 20px var(--aqua-glow);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Dashboard */
.dashboard {
    display: none;
    min-height: 100vh;
    background-color: transparent;
    position: relative;
    z-index: 1;
}

.stats-page {
    display: none;
    min-height: 100vh;
    background-color: transparent;
    position: relative;
    z-index: 1;
}

/* Enhanced Background Effects - Simplified */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(64, 224, 208, 0.05) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.05) 0%, transparent 60%);
    z-index: -2;
    pointer-events: none;
    animation: backgroundShift 30s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1) rotate(1deg);
        opacity: 1;
    }
}

/* Enhanced Glass Effects */
.hero-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        rgba(255, 255, 255, 0.1) 100%);
    border-radius: 24px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-container:hover::after {
    opacity: 1;
}

/* Improved Typography */
.hero-title {
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
    opacity: 0.7;
    animation: titleUnderline 3s ease-in-out infinite;
}

@keyframes titleUnderline {
    0%, 100% {
        width: 100px;
        opacity: 0.7;
    }
    50% {
        width: 150px;
        opacity: 1;
    }
}

/* Enhanced Dashboard Styling */
.dashboard {
    background: linear-gradient(135deg, 
        rgba(10, 10, 10, 0.95) 0%, 
        rgba(20, 20, 20, 0.95) 100%);
}

.stats-page {
    background: linear-gradient(135deg, 
        rgba(10, 10, 10, 0.95) 0%, 
        rgba(20, 20, 20, 0.95) 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        padding: 2rem 1rem;
        margin: 1rem;
    }

    .landing-page {
        padding: 1rem;
    }

    .hero-title::after {
        width: 80px;
    }

    @keyframes titleUnderline {
        0%, 100% {
            width: 80px;
            opacity: 0.7;
        }
        50% {
            width: 120px;
            opacity: 1;
        }
    }
}
