:root {
    --bg: #0f2027;
    --card: rgba(255,255,255,0.1);
    --text: #ffffff;
}

body.light {
    --bg: #f2f2f2;
    --card: rgba(0,0,0,0.05);
    --text: #111;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.container {
    width: 95%;
    max-width: 500px;
}

h1 {
    text-align: center;
}

.card {
    background: var(--card);
    padding: 20px;
    margin: 15px 0;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
}

button {
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

.mode-toggle {
    width: 100%;
}

.circle-container {
    position: relative;
    margin-top: 20px;
    width: 200px;
    height: 200px;
    margin-left: auto;
    margin-right: auto;
}

#breathCircle {
    position: absolute;
    width: 100px;
    height: 100px;
    background: #00c6ff;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    transition: all linear, transform 0.3s ease;
}

.pulse {
    animation: pulseAnim 1.5s infinite;
}

@keyframes pulseAnim {
    0% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.08); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

.center-text {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.progress-ring circle {
    fill: transparent;
    stroke-width: 8;
}

.progress-bg {
    stroke: rgba(255,255,255,0.1);
}

.progress {
    stroke: #00c6ff;
    stroke-dasharray: 565;
    stroke-dashoffset: 565;
    transition: stroke-dashoffset 1s linear;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 20px;
    text-align: center;
    z-index: 9999;
}

body.light .cookie-banner {
    background: rgba(255,255,255,0.95);
    color: #111;
}

.cookie-buttons .secondary {
    background: gray;
}

/* Info */
.info-btn {
    border-radius: 50%;
    font-size: 18px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

.modal-content {
    background: var(--card);
    color: var(--text);
    margin: 20% auto;
    padding: 20px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
}

.close {
    float: right;
    font-size: 24px;
    cursor: pointer;
}
