:root {
    --digit-width: 125px;
    --colon-width: 64px;
 }
 
 html, body {
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
 }
 
 body {
    position: relative;
    color: var(--white);
    font-family: "Satoshi", sans-serif;
 }
 
 .event-logo {
    display: none;
 }
 
 .timer-container {
    position: fixed;
    left: 50px;
    top: 540px; /* Moved down further from 480px to 540px */
    height: auto;
    width: auto;
 }
 
 .intermission-text {
    color: var(--white);
    font-size: 75px;
    max-width: 800px;
    line-height: 1;
    position: absolute;
    top: var(--top-offset);
    left: 50px;
    letter-spacing: 0.1em;
 }
 
 .countdown-text {
    font-size: 60px;
    line-height: 1;
    margin-bottom: 20px;
    margin-top: 30px;
    opacity: 0;
    transition: opacity 1s;
    letter-spacing: 0.1em;
    color: var(--white);
    text-align: center;
 }
 
 .countdown-text.show {
    opacity: 1;
    transition: opacity 0.5s, left 0.5s;
    transition-delay: 1s;
 }
 
 .timer-wrapper {
    position: relative;
    white-space: nowrap;
    display: grid;
    justify-content: start;
    align-items: flex-end;
    width: 100%;
    grid-auto-flow: column;
    text-align: center;
 }
 
 .timer {
    font-size: 200px;
    font-weight: 700;
    line-height: normal;   /* This matches "Auto" in Figma */
    letter-spacing: 0;     /* 0% spacing from Figma */
    transform: none;
    padding: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    flex-direction: row;
    color: var(--white);
    order: 2;
}
 
 .timer span {
    width: var(--colon-width);
    display: inline-block;
    vertical-align: top;
    line-height: 0.9em;
 }
 
 .timer .digit {
    width: var(--digit-width);
 }
 
 .timer[data-digits="1"] {
    width: calc(var(--digit-width) * 2);
    justify-content: flex-start;
 }
 
 #countdowntime, #localtime {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    grid-column: 1;
    grid-row: 1;
    transition: opacity 1s;
 }
 
 .timer-text {
    display: block;
    letter-spacing: 0.1em;
 }
 
 .localtime-text {
    display: none;
 }
 
 /* Keep existing transition states */
 #countdowntime {
    opacity: 0;
 }
 
 #countdowntime.show + #localtime {
    opacity: 0;
    transition-delay: 2s;
 }
 
 #countdowntime.show.running {
    transition: opacity 0.5s;
    transition-delay: 1s;
    opacity: 1;
 }
 
 #countdowntime.running + #localtime {
    transition-delay: 1s;
 }
 
 #countdowntime.running.show + #localtime {
    transition: opacity 0.5s;
    transition-delay: 0s;
 }
 
 /* Add styles for local time text visibility */
 .countdown-text:not(.show) {
    opacity: 1; /* Show "LOCAL TIME" when countdown text is not showing */
    transition-delay: 1s; /* Delay showing "LOCAL TIME" until countdown text has faded */
 }