/* === Global Styles === */
/* === Global Styles === */
:root {
    font-size: 75%;

    --color-primary:hsl(213, 36%, 32%);
    --color-secondary:hsl(276, 16%, 41%);
    --color-font:hsl(347, 35%, 55%);
    --color-timer:#ffe6f2;
    --color-accent:#ffb6c1;
    --color-shadow:rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    min-height: 100vh;
    height: 100%;
    background-color: var(--color-primary);
    font-size: 3rem;
    transition: background 1s ease, background-image 1s ease;
    overflow-x: hidden;
}

p, i, h1 {
    color: var(--color-font);
}

h1 {
    font-size: 5rem;
    color: #ffffff;
    text-shadow: 2px 2px 6px var(--color-shadow);
}

i {
    font-size: 3.2rem;
}

section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: 0;
    margin-bottom: 0;
}

.container {
    width: min(42.5rem, 100%);
    margin-inline: auto;
    padding-inline: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: center;
    width: 20rem;
    margin-block: 5rem;
    padding: 1rem;
    border-radius: 10rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px var(--color-shadow);
}

.panel p {
    font-weight: 500;
    opacity: 0.7;
    transition: all 0.3s ease;
    color: #ccc;
}

.panel p.active {
    opacity: 1;
    color: var(--color-accent);
    font-weight: bold;
    text-shadow: 0 0 6px var(--color-shadow);
}

.timer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30rem;
    height: 30rem;
    border-radius: 50%;
    box-shadow: 0px 0px 15px 10px var(--color-shadow);
}

.circle {
    width: 300px;
    height: 300px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    position: relative;
}

.circle::before {
    content: '';
    position: absolute;
    width: 95%;
    height: 95%;
    border-radius: 50%;
    background-color: var(--color-primary);
}

.time {
    font-size: 3rem;
    font-weight: 600;
    color: var(--color-timer);
    text-shadow: 2px 2px 4px var(--color-shadow);
    display: flex;
    gap: 10px;
    z-index: 1;
}

.time p {
    font-size: 5.6rem;
    color: #ffe6f2;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}

.time p:nth-of-type(2) {
    position: relative;
    top: -.5rem;
    margin-inline: 1rem;
}

.controls {
    margin-top: 3rem;
    text-align: center;
}

.controls button {
    border: none;
    background-color: transparent;
    cursor: pointer;
    color: #fff;
    font-size: 2.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
    text-shadow: 1px 1px 4px var(--color-shadow);
}

.controls button:hover {
    color: var(--color-accent);
    transform: scale(1.1);
}

.controls #reset {
    display: none;
}

.modal {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background: #181818;
    color: white;
    margin: 10% auto;
    padding: 20px;
    width: 400px;
    border-radius: 10px;
    animation: fadeIn 0.4s ease-in-out;
}

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

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

.tabs {
    display: flex;
    margin-bottom: 10px;
}

.tab-link {
    flex: 1;
    padding: 10px;
    cursor: pointer;
    border: none;
    background: #333;
    color: white;
    transition: 0.3s;
}

.tab-link.active {
    background: #efc0ca;
    color: black;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* === Theme Backgrounds === */
body.tokyo {
    background: url('images/tokyo.jpg') no-repeat center center/cover;
}
body.river {
    background: url('images/river.jpg') no-repeat center center/cover;
}
body.dark {
    background: url('images/dark.jpg') no-repeat center center/cover;
}
body.skyline {
    background: url('images/skyline.jpg') no-repeat center center/cover;
}
body.plain-black {
    background-color: #000000;
}
body.Aura {
    background: url('images/aura.jpg') no-repeat center center/cover;
}
