/* core.css */

/* --- BASE LAYOUT --- */
body {
    font-family: var(--font-main);
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* Main Container */
.container { 
    width: 100%; 
    max-width: 600px; 
    padding-bottom: 50px; 
}

/* --- HEADER SECTION --- */
.header-row { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 10px; 
}

h1 { 
    margin: 0; 
    font-size: 2rem; 
    letter-spacing: -1px; 
}

/* Header Buttons */
.icon-btn { 
    background: transparent; 
    border: none; 
    color: var(--text); 
    cursor: pointer; 
    padding: 5px; 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.icon-btn:hover {
    color: var(--accent);
}

/* --- CLOCK & GREETING --- */
.clock { 
    font-size: 1.8rem; 
    font-weight: 300; 
    color: var(--accent); 
    margin-bottom: 5px; 
    font-variant-numeric: tabular-nums; 
}

.greeting {
    font-size: 1rem;
    color: var(--dim);
    margin-bottom: 30px; 
    font-weight: 500;
}

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

/* --- DESKTOP OPTIMIZATIONS (Core Layout) --- */
@media (min-width: 768px) {
    .container { 
        max-width: 900px; 
        padding-top: 50px;
    }

    h1 {
        font-size: 2.5rem;
    }
    
    .clock { 
        font-size: 2.5rem; 
    }

    .greeting {
        font-size: 1.2rem;
    }
}
