/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Courier New', monospace;
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Loading container styles */
#loading-container {
    text-align: center;
    width: 90%;
    max-width: 600px;
    z-index: 10;
}

#loading-text-container {
    min-height: 36px;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

#loading-text {
    font-size: 24px;
    line-height: 1.5;
    position: relative;
}

/* Blinking cursor effect */
#loading-text::after {
    content: '|';
    position: absolute;
    right: -10px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Button styles */
#start-button {
    background-color: #ff0000;
    color: #ffffff;
    font-size: 18px;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
    font-family: 'Courier New', monospace;
    font-weight: bold;
    letter-spacing: 1px;
}

#start-button:hover {
    transform: scale(1.1);
    background-color: #cc0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
}

#start-button:active {
    transform: scale(0.95);
}

/* Video container styles */
#video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
    background-color: #000000;
}

#jumpscare-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Counter page styles */
.counter-container {
    background-color: #111111;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
    text-align: center;
    max-width: 500px;
    width: 90%;
}

.counter-title {
    font-size: 28px;
    margin-bottom: 20px;
    color: #ff0000;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
}

.counter-value {
    font-size: 64px;
    font-weight: bold;
    color: #ff0000;
    margin: 25px 0;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
}

.counter-description {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.5;
    opacity: 0.8;
}

/* Utility classes */
.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Pulse animation for button */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

