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

body {
    background: linear-gradient(135deg, #0a0e1a 0%, #14182b 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Segoe UI', 'Roboto', 'Courier New', monospace;
    padding: 20px;
}

/* Dashboard layout (clock + explanation side by side) */
.dashboard {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
    max-width: 1800px;
    margin: 0 auto;
    padding: 20px;
}

/* Left side: Embedded iframe */
.clock-container {
    flex: 1;
    min-width: 500px;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(10, 14, 26, 0.6);
    border-radius: 40px;
    backdrop-filter: blur(4px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

.iframe-container {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 20px;
    background-color: #f9f9f9;
}

/* Right side: Explanation panel */
.explanation-panel {
    flex: 1;
    min-width: 300px;
    max-width: 580px;
    background: rgba(10, 14, 26, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 32px;
    padding: 1.8rem 1.5rem;
    border: 1px solid rgba(100, 200, 100, 0.2);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.4);
    font-family: 'Segoe UI', 'Roboto', 'Courier New', monospace;
    color: #e0e0e0;
}

.explanation-section {
    margin-bottom: 1.8rem;
}

.explanation-section h2 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: #d4ffaa;
    border-left: 3px solid #d4ffaa;
    padding-left: 12px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.explanation-section p {
    line-height: 1.5;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.explanation-section ul {
    margin: 0.5rem 0 0 1.5rem;
    line-height: 1.5;
    font-size: 0.85rem;
}

.explanation-section li {
    margin-bottom: 0.5rem;
}

.explanation-section strong {
    color: #ffd966;
}

.highlight {
    margin-top: 1rem;
    padding: 0.5rem;
    background: rgba(100, 200, 100, 0.1);
    border-radius: 12px;
    text-align: center;
    font-style: italic;
    border-left: none;
}

a {
    color: yellow;
}

.footer-links {
    margin-top: 2.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links p {
    font-size: 0.85rem !important;
    color: #b0b0b0;
}

.footer-links .copyright {
    margin-top: 0.8rem;
    font-size: 0.8rem !important;
    color: #888;
}

.footer-links a {
    color: #d4ffaa;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffd966;
    text-decoration: underline;
}

/* Responsive: stack vertically on smaller screens */
@media (max-width: 1000px) {
    .dashboard {
        flex-direction: column;
        gap: 1.5rem;
    }

    .explanation-panel {
        max-width: 500px;
        width: 100%;
    }

    .clock-container {
        transform: scale(0.95);
    }
}

@media (max-width: 550px) {
    .dashboard {
        padding: 10px;
    }

    .explanation-panel {
        padding: 1.2rem;
    }

    .explanation-section h2 {
        font-size: 1.2rem;
    }

    .explanation-section p,
    .explanation-section ul {
        font-size: 0.8rem;
    }

    .iframe-container {
        height: 500px;
    }
}

