* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

:root {
    --primary: #2E3192;
    --secondary: #1BFFFF;
    --accent: #D4145A;
    --background: #030314;
    --text: #ffffff;
}

body {
    background: var(--background);
    color: var(--text);
    overflow-x: hidden;
}

#intro-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--background);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.intro-text {
    font-size: 5rem;
    background: linear-gradient(45deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
}

#main-content {
    opacity: 0;
    min-height: 100vh;
    padding: 2rem;
}

.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    background: rgba(3, 3, 20, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.analysis-section {
    position: relative;
    margin-top: 80px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.video-feed {
    width: 320px;
    height: 240px;
    background: #000;
    border-radius: 10px;
    margin: 1rem auto;
    position: relative;
}

.meditation-section {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

#analysis-history {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

.btn {
    background: linear-gradient(45deg, var(--secondary), var(--accent));
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.btn:hover {
    transform: scale(1.05);
}

.analysis-status {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.5rem;
    border-radius: 0 0 10px 10px;
    color: var(--secondary);
}

.report-content {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    margin-top: 1.5rem;
}

.chart-container {
    width: 100%;
    height: 400px;
    margin-top: 1rem;
}

.analysis-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.metric-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
}

.history-list {
    margin-top: 1rem;
    max-height: 300px;
    overflow-y: auto;
}

.history-item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 0.5rem;
}