/* ===== COLOR PALETTE ===== */
:root {
    --brown: #3B2418;
    --red: #A6462B;
    --cream: #E8D7A5;
}

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

/* ===== BODY ===== */
body {
    background-color: var(--cream);
    background-image:
        radial-gradient(circle at 20% 20%, rgba(59,36,24,0.04) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(59,36,24,0.04) 0%, transparent 40%);
    color: var(--red);
    font-family: 'Courier New', monospace;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

/* ===== INITIAL SCREEN ===== */
#initialScreen {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    padding: 2rem;
    text-align: center;
}

/* ===== TITLE ===== */
#initialScreen h1 {
    font-family: 'Rye', Georgia, serif;
    font-size: 3.2rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1.15;
    color: var(--brown);
}

/* ===== DECORATIVE DIVIDER ===== */
.divider {
    color: var(--red);
    font-size: 1.3rem;
    margin: 1.8rem 0;
    letter-spacing: 0.6em;
}

/* ===== ENTER BUTTON ===== */
#enterButton {
    background: none;
    border: 2px solid var(--brown);
    padding: 0.7rem 2.2rem;
    color: var(--brown);
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.15s ease;
}

#enterButton:hover {
    background: var(--brown);
    color: var(--cream);
}

/* ===== FULLSCREEN VIDEO ===== */
.fullscreen-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    background-color: var(--brown);
    z-index: 1;
    display: none;
}

/* ===== RESULT SCREEN ===== */
.resultScreen {
    position: relative;
    z-index: 10;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    background-color: rgba(59, 36, 24, 0.92);
    text-align: center;
    padding: 2rem;
}

/* ===== RESULT TITLE ===== */
.resultScreen h1 {
    font-family: 'Rye', Georgia, serif;
    font-size: 4.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--cream);
}

/* ===== REACTION TIME ===== */
.resultScreen p {
    font-family: 'Kalam', cursive;
    font-size: 1.6rem;
    margin-bottom: 2rem;
    color: var(--cream);
}

/* ===== RESULT BUTTONS ===== */
.resultScreen button {
    background: none;
    border: 2px solid var(--cream);
    padding: 0.7rem 2.2rem;
    color: var(--cream);
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.15s ease;
}

.resultScreen button:hover {
    background: var(--cream);
    color: var(--brown);
}