:root {
    --bg-color: #2c3e50;    /* Dark calming blue-grey */
    --circle-color: #ecf0f1; /* Soft white */
    --accent-color: #1abc9c; /* Calming Teal */
}

body {
    background-color: var(--bg-color);
    color: #fff;
    font-family: 'Lora', serif; /* New Font */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    overflow: hidden; /* Prevents scroll on main tool */
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.breathing-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}

.circle-container {
    position: relative;
    height: 250px;
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The animated circle */
.circle {
    background-color: var(--circle-color);
    height: 100%;
    width: 100%;
    border-radius: 50%;
    position: absolute;
    z-index: 1;
    transform: scale(0.3); /* Start small */
    opacity: 0.9;
}

/* A static background glow */
.gradient-circle {
    background: radial-gradient(circle, rgba(26,188,156,0.6) 0%, rgba(26,188,156,0) 70%);
    height: 350px;
    width: 350px;
    position: absolute;
    z-index: 0;
    border-radius: 50%;
}

#text {
    font-size: 1.5rem;
    margin-top: 20px;
    z-index: 2;
    font-weight: bold;
    letter-spacing: 1px;
    font-family: sans-serif; /* Keep action text clear */
}

/* Animation Classes */
.circle.grow { animation: grow 4s linear forwards; }
.circle.hold { animation: hold 7s linear forwards; }
.circle.shrink { animation: shrink 8s linear forwards; }

@keyframes grow { from { transform: scale(0.3); } to { transform: scale(1); } }
@keyframes hold { from { transform: scale(1); } to { transform: scale(1); } }
@keyframes shrink { from { transform: scale(1); } to { transform: scale(0.3); } }

/* Button Styling */
button {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 12px 30px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: sans-serif;
}

button:hover {
    background: #fff;
    color: var(--bg-color);
}

.instructions {
    margin-top: 40px;
    font-size: 1rem;
    opacity: 0.8;
    line-height: 1.6;
}

/* --- FOOTER STYLES --- */
.footer {
    margin-top: 60px;
    font-size: 0.8rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}
.footer:hover { opacity: 1; }

.patreon-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px dotted var(--accent-color);
    padding-bottom: 2px;
    transition: all 0.3s ease;
}
.patreon-link:hover {
    color: #FF424D;
    border-bottom: 1px solid #FF424D;
}

/* --- ABOUT PAGE STYLES --- */
/* Allow scrolling on pages with this class */
.scrolling-page {
    overflow-y: auto; 
    justify-content: flex-start;
    padding: 40px 20px;
    height: auto;
}

.text-content {
    max-width: 600px;
    text-align: left;
    margin: 0 auto;
}
.text-content h1 {
    margin-bottom: 30px;
    color: var(--accent-color);
    text-align: center;
}
.section {
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 15px;
    line-height: 1.6;
}
.section h2 {
    margin-top: 0;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.section ul { padding-left: 20px; }
.section li { margin-bottom: 10px; }

.text-link {
    color: var(--accent-color);
    text-decoration: underline;
}

.top-nav { width: 100%; margin-bottom: 20px; }
.back-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.3s;
}
.back-link:hover { opacity: 1; }
.personal-note { border-left: 4px solid var(--accent-color); }