html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}
body {
    font-family: 'Oswald', sans-serif;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}
.logo-container {
    text-align: center;
    margin-bottom: 20px;
}
.logo-container h1 {
    font-size: 3em;
    margin: 15px 0 0;
    color: #2f2f2f;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
}
.countdown-container {
    margin-top: 20px;
}
.countdown-label {
    font-size: 1.8em;
    color: #2f2f2f;
    text-align: center;
    font-family: 'Oswald', sans-serif;
    margin-bottom: 10px;
}
.random-number {
    font-size: 2em;
    color: #2f2f2f;
    text-align: center;
    font-family: 'Oswald', sans-serif;
    margin: 10px 0;
}
#download-canvas {
    display: none;
}
.flashlight-overlay {
    position: fixed;
    inset: 0;
    background: transparent;
    pointer-events: none;
    z-index: 999;
    display: none;
    transition: background 0.3s;
}
.flashlight-overlay.active {
    display: block;
}
.flashlight-toggle {
    position: fixed;
    z-index: 1001;
    background: #f5f5f5;
    padding: 8px;
    border: 1px solid #2f2f2f;
    cursor: pointer;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    top: 10px;
    right: 10px;
}
.flashlight-toggle svg {
    width: 24px;
    height: 24px;
    fill: #2f2f2f;
}
.flashlight-toggle:hover {
    background: #e0e0e0;
}
.faded {
    color: rgba(0, 0, 0, 0.75);
    font-family: 'Courier New', monospace;
    line-height: 1.3;
    text-shadow: 0 0 0.5px rgba(0, 0, 0, 0.1);
}
@media (max-width: 767px) and (orientation: landscape) {
    body {
        justify-content: flex-start;
        padding-top: 10px;
    }
    .logo-container {
        margin-bottom: 10px;
    }
    .logo-container svg {
        width: 200px;
        height: 218px;
    }
    .logo-container h1 {
        font-size: 2em;
        margin: 5px 0 0;
    }
    .countdown-container {
        margin-top: 10px;
    }
    .countdown-label {
        font-size: 1.2em;
    }
    .random-number {
        font-size: 1.4em;
    }
    .flashlight-toggle {
        top: 5px;
        right: 5px;
        padding: 6px;
    }
    .flashlight-toggle svg {
        width: 20px;
        height: 20px;
    }
}
@media (min-width: 768px) {
    .logo-container svg {
        width: 400px;
        height: 436px;
    }
    .logo-container h1 {
        font-size: 4em;
        margin: 20px 0 0;
    }
    .countdown-container {
        margin-top: 30px;
    }
    .countdown-label {
        font-size: 2.5em;
    }
    .random-number {
        font-size: 2.2em;
    }
    .flashlight-toggle {
        padding: 10px;
    }
    .flashlight-toggle svg {
        width: 30px;
        height: 30px;
    }
}
