/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #121212;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* App Container */
.app-container {
    width: 90%;
    max-width: 600px;
    background-color: #1e1e1e;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Navigation */
.navbar {
    display: flex;
    background-color: #2c2c2c;
}

.nav-link {
    flex: 1;
    padding: 15px;
    background: none;
    border: none;
    color: #b3b3b3;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.nav-link:hover {
    background-color: #3d3d3d;
}

.nav-link.active {
    color: #ffffff;
    background-color: #1e1e1e;
    border-bottom: 3px solid #00d2ff;
}

/* Content Area & Views */
.content {
    padding: 40px 20px;
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.view {
    display: none; /* Hide all views by default */
    width: 100%;
    text-align: center;
    animation: fadeIn 0.4s ease-in-out;
}

.view.active {
    display: block; /* Show active view */
}

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

/* Clock Styles */
.clock-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.time {
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 300;
    letter-spacing: 2px;
    color: #00d2ff;
    text-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
}

.date {
    font-size: 1.2rem;
    color: #a0a0a0;
}

/* Quote View Styles */
.quote-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.quote-container h2 {
    font-size: 1.5rem;
    color: #00d2ff;
}

blockquote {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.5;
    color: #e0e0e0;
}

#quote-author {
    font-weight: bold;
    color: #a0a0a0;
}

.primary-btn {
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #00d2ff;
    color: #121212;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s, background-color 0.2s;
}

.primary-btn:hover {
    background-color: #00a8cc;
    transform: scale(1.05);
}

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

/* Responsive adjustments */
@media (max-width: 480px) {
    .content { padding: 30px 15px; }
    blockquote { font-size: 1rem; }
}