:root {
    --bg-color: #0b0f19;
    --panel-bg: rgba(20, 25, 40, 0.6);
    --panel-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --accent-purple: #8b5cf6;
    --accent-cyan: #06b6d4;
    --accent-emerald: #10b981;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    padding: 2rem;
}

/* Background Blobs for Premium Feel */
.background-blobs {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    filter: blur(100px);
    border-radius: 50%;
    opacity: 0.5;
    animation: float 20s infinite ease-in-out alternate;
}

.blob.purple {
    top: -10%; left: -10%;
    width: 500px; height: 500px;
    background: var(--accent-purple);
}

.blob.cyan {
    bottom: -10%; right: -10%;
    width: 600px; height: 600px;
    background: var(--accent-cyan);
    animation-delay: -5s;
}

.blob.emerald {
    top: 40%; left: 50%;
    width: 400px; height: 400px;
    background: var(--accent-emerald);
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.2); }
}

/* Glassmorphism Panels */
.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.glass-panel {
    background: var(--panel-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--panel-border);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.glass-panel.hidden {
    display: none;
    opacity: 0;
    transform: translateY(20px);
}

h1, h2 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fff, #a0aec0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Form Styles */
.input-row {
    display: flex;
    gap: 1.5rem;
}

.input-group {
    flex: 1;
    margin-bottom: 1.5rem;
}

label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

input {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.2);
}

/* Buttons */
.glow-button {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    border: none;
    border-radius: 12px;
    padding: 1rem;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.glow-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px var(--accent-purple);
}

.glow-button.outline {
    background: transparent;
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
}

.glow-button.outline:hover {
    background: rgba(6, 182, 212, 0.1);
    box-shadow: 0 10px 20px -10px var(--accent-cyan);
}

.hidden { display: none !important; }
.mt-4 { margin-top: 1.5rem; }

/* Dashboard Styles */
.summary-box {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--accent-emerald);
}

.stats-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--panel-border);
}

.stat-card h3 {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.highlight-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin: 0;
}

.chart-container {
    width: 100%;
    height: 400px;
    margin-bottom: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    padding: 1rem;
}

.events-list h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.events-list ul {
    list-style: none;
}

.events-list li {
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 0.5rem;
    padding: 1rem;
    border-radius: 8px;
    border-left: 2px solid var(--accent-purple);
    font-size: 0.95rem;
}

@media (max-width: 600px) {
    .input-row {
        flex-direction: column;
        gap: 0;
    }
    .stats-row {
        flex-direction: column;
    }
}
