@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background-image: url('bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #ffffff;
    min-height: 100vh; /* Allow content to expand */
    margin: 0;
    text-align: center;
    position: relative;
    /* overflow: hidden; removed to allow scrolling */
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    z-index: 0;
}

.container {
    max-width: 960px;
    padding: 3rem;
    border-radius: 20px;
    position: relative;
    z-index: 1;
    margin: 0 auto;
}

h1 {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    letter-spacing: 1.5px;
}

.title-main {
    color: #f0f0f0; /* Slightly brighter color */
    text-shadow:
        /* Stronger black outline */
        -2px -2px 0 #000,
         2px -2px 0 #000,
        -2px  2px 0 #000,
         2px  2px 0 #000,
        /* More pronounced drop shadow */
         0 6px 10px rgba(0, 0, 0, 0.7);
}

h1 .highlight {
    color: #00bfff; /* Deep sky blue */
    text-shadow:
        0 0 8px rgba(0, 191, 255, 0.6), /* Softer glow */
        0 0 15px rgba(0, 191, 255, 0.4);
    margin: 0 0.5rem;
}

.clock {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.progress-circle {
    position: relative;
    width: 120px;
    height: 120px;
}

.progress-circle svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-circle circle {
    fill: none;
    stroke-width: 8;
}

.progress-bg {
    stroke: rgba(255, 255, 255, 0.1);
}

.progress-bar {
    stroke: #00aaff;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s linear;
}

.time-unit, .static-unit {
    text-align: center;
}

.time-unit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.static-unit {
    padding: 0 1rem;
}

.time-unit span, .static-unit span {
    font-size: 2.5rem;
    font-weight: 600;
    display: block;
}

.time-unit div, .static-unit div {
    font-size: 0.9rem;
    color: #cccccc;
    font-weight: 300;
}

.info {
    font-size: 1rem;
    color: #cccccc;
}

.info p {
    margin: 0.5rem 0;
}

.info a {
    color: #00aaff;
    text-decoration: none;
    font-weight: 600;
}

.info a:hover {
    text-decoration: underline;
}

#last-updated {
    font-weight: bold;
}

.video-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.video-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #e0e0e0;
}

.video-section p {
    font-size: 0.9rem;
    color: #cccccc;
    margin-bottom: 1.5rem;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 10px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}