:root {
    --bg-dark: #0f1115;
    --accent-green: #00ffa3;
    --accent-blue: #00d1ff;
    --text-primary: #f0f5ff;
    --text-muted: #8a94a6;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.1);
    --glow-shadow: 0 0 20px rgba(0, 255, 163, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    height: 100vh;
    overflow: hidden;
}

/* Background */
.background-vignette {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
    z-index: -1;
}

.grain-overlay {
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3column%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: -1;
}

/* Header */
.minimal-header {
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    letter-spacing: 2px;
}

.logo span {
    color: var(--accent-green);
    text-shadow: 0 0 10px rgba(0, 255, 163, 0.5);
}

.reset-nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    text-decoration: none !important;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: 0.3s;
    position: relative;
    opacity: 0.7;
}

.nav-link:visited {
    color: #ffffff !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-green) !important;
    opacity: 1;
    text-shadow: 0 0 10px rgba(0, 255, 163, 0.5);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-green);
    box-shadow: 0 0 10px var(--accent-green);
    border-radius: 2px;
}

/* Phases */
.phase {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 120px);
    padding: 0 20px;
    text-align: center;
}

.phase.active {
    display: flex;
    animation: phaseEnter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes phaseEnter {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    font-size: 56px;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.subtitle {
    color: var(--text-muted);
    font-size: 20px;
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 50px;
}

.instruction {
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--accent-green);
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.sub-instruction {
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Breathing Stage */
.breathing-display {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.breath-circle {
    position: absolute;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, var(--accent-green) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.3;
    transition: transform 4s cubic-bezier(0.4, 0, 0.2, 1);
}

.breath-text {
    font-size: 32px;
    font-weight: 300;
    color: white;
    z-index: 10;
}

/* Dump Stage */
.dump-container {
    width: 100%;
    max-width: 600px;
    position: relative;
}

input[type="text"] {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--border-color);
    padding: 20px;
    font-size: 24px;
    color: white;
    text-align: center;
    outline: none;
    transition: 0.3s;
}

input[type="text"]:focus {
    border-color: var(--accent-green);
}

.particle-view {
    height: 200px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.dump-particle {
    position: absolute;
    padding: 8px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    animation: particleFly 5s linear forwards;
}

@keyframes particleFly {
    to {
        transform: translateY(-300px);
        opacity: 0;
    }
}

/* Checklist Stage */
.checklist-grid {
    display: grid;
    gap: 20px;
    width: 100%;
    max-width: 500px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    cursor: pointer;
    text-align: left;
    transition: 0.3s;
}

.check-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.check-item.checked {
    border-color: var(--accent-green);
    background: rgba(0, 255, 163, 0.05);
}

.check-box {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    flex-shrink: 0;
}

.checked .check-box {
    background: var(--accent-green);
    border-color: var(--accent-green);
}

.check-label h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.check-label p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Priming Stage */
.priming-arena {
    width: 500px;
    height: 300px;
    background: var(--glass-bg);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.prime-ball {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--accent-blue);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent-blue);
}

.progress-bar-container {
    width: 500px;
    height: 4px;
    background: var(--border-color);
    margin-top: 30px;
    border-radius: 2px;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: var(--accent-blue);
    transition: width 0.1s linear;
}

/* Buttons */
.btn-reset-start {
    padding: 20px 60px;
    background: var(--accent-green);
    color: black;
    border: none;
    border-radius: 40px;
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-reset-start:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 255, 163, 0.4);
}

.btn-next {
    margin-top: 40px;
    padding: 12px 30px;
    background: transparent;
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.btn-next:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.btn-primary {
    padding: 14px 40px;
    background: var(--accent-green);
    color: black;
    border: none;
    border-radius: 40px;
    font-weight: 700;
    cursor: pointer;
}

.btn-secondary {
    padding: 14px 40px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: white;
    border-radius: 40px;
    font-weight: 700;
    cursor: pointer;
}

.action-footer {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}