@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Manrope:wght@200..800&display=swap');

:root {
    /* Fonts */
    --font-display: 'Bricolage Grotesque', sans-serif;
    --font-sans: 'Manrope', sans-serif;

    /* Theme - Dark Mode (Default) */
    --bg-primary: #000000;
    --bg-secondary: #0a0b0d;
    --bg-tertiary: #13151a;
    --text-primary: #ffffff;
    --text-secondary: #9aa0a8;
    --text-muted: #5e6573;
    
    /* Branding Palette (Sunset over Mountains) */
    --accent-orange: #f0743b;
    --accent-orange-rgb: 240, 116, 59;
    --accent-magenta: #d31a5e;
    --accent-magenta-rgb: 211, 26, 94;
    --accent-yellow: #ffb03a;
    --accent-yellow-rgb: 255, 176, 58;
    --accent-indigo: #26296b;
    --accent-indigo-rgb: 38, 41, 107;
    --accent-teal: #0d2830;
    --accent-teal-rgb: 13, 40, 48;
    --accent-cyan: #0ea5e9;

    /* Semantic Mappings */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    
    /* Interface Colors */
    --color-navy: #112954;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-danger: #ef4444;

    /* Shadows & Glass */
    --glass-bg: rgba(10, 11, 13, 0.82);
    --glass-border: rgba(255, 255, 255, 0.06);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.8);
    
    /* Corner Tokens */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    /* Animation settings */
    --transition-fast: 0.2s cubic-bezier(0.25, 1, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.25, 1, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.25, 1, 0.2, 1);
}

/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

/* Ambient Animated Sunset Background */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background-color: #030406;
}

.bubble {
    position: absolute;
    border-radius: var(--radius-full);
    filter: blur(140px);
    opacity: 0;
    transform: scale(0.6);
    transition: transform 3.5s cubic-bezier(0.25, 1, 0.2, 1), 
                opacity 3.5s cubic-bezier(0.25, 1, 0.2, 1),
                background-color 3.5s ease;
    mix-blend-mode: screen;
}

/* Position and size of bubbles */
.bubble-inhale {
    top: 10%;
    left: 15%;
    width: 70vw;
    height: 70vh;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.45) 0%, rgba(38, 41, 107, 0) 70%);
}

.bubble-hold {
    top: -5%;
    left: 10%;
    width: 80vw;
    height: 80vh;
    background: radial-gradient(circle, rgba(255, 176, 58, 0.4) 0%, rgba(240, 116, 59, 0) 70%);
}

.bubble-exhale {
    top: 20%;
    left: -5%;
    width: 90vw;
    height: 80vh;
    background: radial-gradient(circle, rgba(211, 26, 94, 0.4) 0%, rgba(38, 41, 107, 0) 70%);
}

/* Background States based on phase data attributes on body */
body[data-phase="setup"] .bubble-inhale {
    opacity: 0.15;
    transform: scale(0.8);
}
body[data-phase="setup"] .bubble-hold {
    opacity: 0.08;
    transform: scale(0.7);
}
body[data-phase="setup"] .bubble-exhale {
    opacity: 0.12;
    transform: scale(0.75);
}

body[data-phase="inhale"] .bubble-inhale {
    opacity: 0.85;
    transform: scale(1.3);
}

body[data-phase="hold"] .bubble-hold {
    opacity: 0.85;
    transform: scale(1.4);
}

body[data-phase="exhale"] .bubble-exhale {
    opacity: 0.85;
    transform: scale(1.2);
}

body[data-phase="complete"] .bubble-inhale {
    opacity: 0.3;
    transform: scale(1.0);
    background: radial-gradient(circle, rgba(16, 185, 129, 0.35) 0%, rgba(38, 41, 107, 0) 70%);
}

/* Layout Container */
.app-container {
    position: relative;
    z-index: 10;
    width: 100vw;
    height: 100vh;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Header */
.app-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.main-content {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    margin-top: 60px; /* Spacing below absolute header */
}

/* Subtitle Link styles */
.setup-desc a, .setup-link-desc a {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 700;
    transition: color var(--transition-fast);
}

.setup-desc a:hover, .setup-link-desc a:hover {
    color: var(--accent-yellow);
    text-decoration: underline;
}

.setup-link-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    text-align: center;
    width: 100%;
    max-width: 380px;
    line-height: 1.4;
}

.brand-logo-layout {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo-icon {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: var(--radius-full);
}

.brand-logo-text {
    display: flex;
    flex-direction: column;
}

.brand-logo-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--text-primary);
    line-height: 1.1;
}

.brand-logo-tagline {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-orange);
    line-height: 1.1;
}

/* HUD buttons */
.hud-controls {
    display: flex;
    gap: 12px;
}

.icon-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.icon-btn svg {
    width: 20px;
    height: 20px;
}

/* Cards & Glassmorphism */
.glass-card {
    background: transparent;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    flex: 1;
    animation: fadeIn var(--transition-normal) forwards;
}

.glass-card.active {
    display: flex;
}

.modal-content {
    max-width: 400px;
    width: 100%;
    display: flex !important;
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-radius: var(--radius-lg) !important;
    padding: 36px 28px !important;
    box-shadow: var(--shadow-lg) !important;
    flex: none !important;
}

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

/* Setup Screen */
.setup-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffffff 30%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.setup-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 32px;
}

.setup-form-group {
    width: 100%;
    max-width: 380px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.setup-form-group.compact {
    padding: 16px;
    margin-bottom: 24px;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.stepper-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.stepper-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stepper-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.stepper-btn:active {
    transform: scale(0.95);
}

.stepper-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    min-width: 50px;
}

/* Explanation Badges */
.breathing-explanation {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 380px;
    gap: 8px;
    margin-bottom: 36px;
}

.phase-info-badge {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 12px 6px;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.phase-info-badge .badge-num {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 2px;
}

.phase-info-badge.inhale {
    color: var(--accent-cyan);
    border-color: rgba(14, 165, 233, 0.15);
    background: rgba(14, 165, 233, 0.03);
}

.phase-info-badge.hold {
    color: var(--accent-yellow);
    border-color: rgba(255, 176, 58, 0.15);
    background: rgba(255, 176, 58, 0.03);
}

.phase-info-badge.exhale {
    color: var(--accent-magenta);
    border-color: rgba(211, 26, 94, 0.15);
    background: rgba(211, 26, 94, 0.03);
}

/* Button System */
.gg-btn {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.gg-btn-primary {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.gg-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.gg-btn-primary:active {
    transform: translateY(0);
}

.gg-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.gg-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.gg-btn-tertiary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.gg-btn-tertiary:hover {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border-color: var(--border-hover);
}

/* Active Session Screen */
.round-counter {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.breathing-visual-container {
    position: relative;
    width: 220px;
    height: 220px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.breathing-glow-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    border: 2px solid rgba(255, 255, 255, 0.03);
    z-index: 1;
}

.breathing-circle-element {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transform: scale(0.35); /* Start contracted */
}

/* Ripple Rings styles */
.breathing-ripple-ring {
    position: absolute;
    border-radius: var(--radius-full);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    height: 100%;
    transform: scale(0.35);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

/* Active phase animations */
.breathing-circle-element.inhale-animating {
    animation: inhaleAnim 4.2s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.breathing-circle-element.hold-animating {
    animation: holdPulse 7.35s ease-in-out infinite;
}

.breathing-circle-element.exhale-animating {
    animation: exhaleAnim 8.4s cubic-bezier(0.25, 0, 0.3, 1) forwards;
}

.inhale-ripple-1 {
    animation: rippleWave1 4.2s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
}

.inhale-ripple-2 {
    animation: rippleWave2 4.2s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
}

/* Keyframes */
@keyframes inhaleAnim {
    0% {
        transform: scale(0.35);
        background: radial-gradient(circle, rgba(14, 165, 233, 0.05) 0%, rgba(14, 165, 233, 0.01) 100%);
        border-color: rgba(14, 165, 233, 0.2);
        box-shadow: 0 0 20px rgba(14, 165, 233, 0.05);
    }
    100% {
        transform: scale(1.05);
        background: radial-gradient(circle, rgba(14, 165, 233, 0.18) 0%, rgba(14, 165, 233, 0.03) 100%);
        border-color: rgba(14, 165, 233, 0.45);
        box-shadow: 0 0 45px rgba(14, 165, 233, 0.2);
    }
}

@keyframes holdPulse {
    0% {
        transform: scale(1.05);
        background: radial-gradient(circle, rgba(255, 176, 58, 0.12) 0%, rgba(255, 176, 58, 0.02) 100%);
        border-color: rgba(255, 176, 58, 0.4);
        box-shadow: 0 0 45px rgba(255, 176, 58, 0.12);
    }
    50% {
        transform: scale(1.08);
        background: radial-gradient(circle, rgba(255, 176, 58, 0.18) 0%, rgba(255, 176, 58, 0.04) 100%);
        border-color: rgba(255, 176, 58, 0.55);
        box-shadow: 0 0 55px rgba(255, 176, 58, 0.2);
    }
    100% {
        transform: scale(1.05);
        background: radial-gradient(circle, rgba(255, 176, 58, 0.12) 0%, rgba(255, 176, 58, 0.02) 100%);
        border-color: rgba(255, 176, 58, 0.4);
        box-shadow: 0 0 45px rgba(255, 176, 58, 0.12);
    }
}

@keyframes exhaleAnim {
    0% {
        transform: scale(1.05);
        background: radial-gradient(circle, rgba(211, 26, 94, 0.18) 0%, rgba(211, 26, 94, 0.03) 100%);
        border-color: rgba(211, 26, 94, 0.45);
        box-shadow: 0 0 45px rgba(211, 26, 94, 0.2);
    }
    100% {
        transform: scale(0.35);
        background: radial-gradient(circle, rgba(211, 26, 94, 0.05) 0%, rgba(211, 26, 94, 0.01) 100%);
        border-color: rgba(211, 26, 94, 0.25);
        box-shadow: 0 0 25px rgba(211, 26, 94, 0.05);
    }
}

@keyframes rippleWave1 {
    0% { transform: scale(0.35); opacity: 0; border-color: rgba(14, 165, 233, 0.4); }
    10% { opacity: 0.7; }
    50% { opacity: 0.15; }
    100% { transform: scale(1.8); opacity: 0; border-color: rgba(14, 165, 233, 0); }
}

@keyframes rippleWave2 {
    0% { transform: scale(0.35); opacity: 0; border-color: rgba(14, 165, 233, 0.4); }
    35% { transform: scale(0.35); opacity: 0; }
    45% { opacity: 0.6; }
    75% { opacity: 0.1; }
    100% { transform: scale(1.5); opacity: 0; border-color: rgba(14, 165, 233, 0); }
}

.breathing-circle-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.countdown-text {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 2px;
    transition: transform var(--transition-fast) ease;
}

.phase-text {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.5s ease;
}

/* Active phase color mappings for text */
body[data-phase="inhale"] .phase-text {
    color: var(--accent-cyan);
}
body[data-phase="hold"] .phase-text {
    color: var(--accent-yellow);
}
body[data-phase="exhale"] .phase-text {
    color: var(--accent-magenta);
}

.guidance-desc {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 36px;
    height: 48px; /* Fixed height to prevent layout shifts */
    display: flex;
    align-items: center;
    justify-content: center;
}

.session-actions {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.session-actions .gg-btn {
    width: auto;
    flex: 1;
    max-width: 180px;
}

.icon-btn-round {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    width: 54px;
    height: 54px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.icon-btn-round:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-color: var(--border-hover);
    transform: scale(1.05);
}

.icon-btn-round:active {
    transform: scale(0.95);
}

.icon-btn-round svg {
    width: 22px;
    height: 22px;
}

/* Completed Screen */
.success-icon-container {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.1);
    border: 1.5px solid rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-success);
    margin-bottom: 24px;
    animation: scaleUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes scaleUp {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-checkmark {
    width: 32px;
    height: 32px;
}

.complete-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.complete-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 28px;
}

.action-buttons-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 380px;
    gap: 12px;
}

/* Modal Overlay (Settings) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast) ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    max-width: 400px;
    width: 100%;
    display: flex; /* Overriding none display of standard glass-card */
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 24px;
}

.modal-header h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
}

.modal-body {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.settings-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 14px 18px;
    border-radius: var(--radius-md);
}

.settings-option-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 14px 18px;
    border-radius: var(--radius-md);
}

.settings-label {
    font-size: 0.95rem;
    font-weight: 700;
}

/* Volume Slider */
.volume-slider-container {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 12px;
}

.volume-icon {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

.gg-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    cursor: pointer;
}

.gg-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: var(--radius-full);
    background: var(--text-primary);
    cursor: pointer;
    transition: transform var(--transition-fast) ease;
}

.gg-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Toggle Switch */
.toggle-switch-btn {
    position: relative;
    width: 50px;
    height: 28px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.toggle-switch-btn[aria-checked="true"] {
    background: var(--color-success);
}

.toggle-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    background: var(--text-primary);
    transition: transform var(--transition-fast) cubic-bezier(0.25, 1, 0.2, 1);
}

.toggle-switch-btn[aria-checked="true"] .toggle-slider {
    transform: translateX(22px);
}

/* Settings Info List */
.settings-info {
    text-align: left;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    padding: 16px;
}

.settings-info h3 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.settings-info ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.settings-info li {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.settings-info strong {
    color: var(--text-primary);
}

/* Utils */
.hidden {
    display: none !important;
}

/* Sound disclaimer note */
.sound-disclaimer-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    max-width: 380px;
    width: 100%;
    line-height: 1.4;
    text-align: center;
}

.disclaimer-icon {
    width: 16px;
    height: 16px;
    color: var(--accent-orange);
    flex-shrink: 0;
}

/* SVG icon configurations */
.btn-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .app-container {
        padding: 16px;
        min-height: 100vh;
        justify-content: flex-start;
        gap: 32px;
    }
    .glass-card {
        padding: 28px 20px;
    }
    .setup-title {
        font-size: 1.8rem;
    }
    .breathing-visual-container {
        width: 180px;
        height: 180px;
    }
    .countdown-text {
        font-size: 3.2rem;
    }
}

/* Password Lock Screen Overlay styling */
.lock-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #030406;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal) ease;
}

.lock-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.lock-card {
    max-width: 400px;
    width: 100%;
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-radius: var(--radius-lg) !important;
    padding: 40px 28px !important;
    box-shadow: var(--shadow-lg) !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.lock-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    border-radius: var(--radius-full);
}

.lock-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.lock-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.4;
}

.lock-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lock-form input[type="password"] {
    width: 100%;
    padding: 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    outline: none;
    font-size: 1rem;
    text-align: center;
    transition: border-color var(--transition-fast);
}

.lock-form input[type="password"]:focus {
    border-color: var(--accent-orange);
    background: rgba(255, 255, 255, 0.05);
}

.lock-error-msg {
    color: var(--color-danger);
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 4px;
}

