/* -----------------------------------------------------------
   GLOBAL PAGE STYLE
----------------------------------------------------------- */

body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #0d0f12;
    color: #e5e5e5;
    line-height: 1.6;
}

/* Container for all clue content */
.clue-container {
    max-width: 700px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    backdrop-filter: blur(4px);
}

/* -----------------------------------------------------------
   HEADERS
----------------------------------------------------------- */

#clueTitle {
    font-size: 1.9rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    color: #ffffff;
}

.clue-title,
#clueText {
    font-size: 1.35rem;
    font-weight: 600;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    color: #d7e0ff;
    letter-spacing: 0.5px;
}

/* -----------------------------------------------------------
   LOG TEXT
----------------------------------------------------------- */

.log-text,
#clueLog {
    font-size: 1rem;
    color: #c9c9c9;
    margin-bottom: 1.5rem;
    white-space: pre-line;
}

.field-note,
#fieldNote {
    font-size: 1rem;
    color: #9fb8ff;
    margin-top: 1.5rem;
    font-style: italic;
}

/* -----------------------------------------------------------
   PASSWORD AREA
----------------------------------------------------------- */

#passwordContainer {
    text-align: center;
    margin-bottom: 2rem;
}

#passwordInput {
    padding: 0.6rem 1rem;
    font-size: 1.1rem;
    border-radius: 4px;
    border: 1px solid #444;
    background-color: #1a1d22;
    color: #ffffff;
    text-transform: uppercase;
    width: 70%;
    margin-bottom: 0.5rem;
}

#passwordInput:focus {
    outline: none;
    border-color: #6a8dff;
}

button {
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    background-color: #2d3b55;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #3c4f72;
}

.error {
    color: #ff6b6b;
    margin-top: 0.5rem;
}

/* -----------------------------------------------------------
   VIDEO
----------------------------------------------------------- */

#videoContainer {
    margin: 1.5rem 0;
    border-radius: 6px;
    overflow: hidden;
}

/* -----------------------------------------------------------
   MAP BUTTON
----------------------------------------------------------- */

#mapButton {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #2d3b55;
    padding: 0.7rem 1.2rem;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #ffffff;
    cursor: pointer;
    border: none;
}

#mapButton:hover {
    background-color: #3c4f72;
}

/* -----------------------------------------------------------
   NEXT BUTTON
----------------------------------------------------------- */

#nextButton {
    margin-top: 1.5rem;
    width: 100%;
    background-color: #4a5f8a;
}

#nextButton:hover {
    background-color: #5c74a8;
}

/* -----------------------------------------------------------
   COMPLETION BANNER
----------------------------------------------------------- */

.completion-banner {
    display: none;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    text-align: center;
    animation: fadeIn 0.8s ease forwards;
}

.completion-banner h2 {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.completion-banner p {
    font-size: 1rem;
    color: #c9c9c9;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* -----------------------------------------------------------
   PATH SELECTION PAGE
----------------------------------------------------------- */

.path-container {
    max-width: 600px;
    margin: 4rem auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    backdrop-filter: blur(4px);
    text-align: center;
}

.path-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    color: #ffffff;
}

.path-description {
    font-size: 1rem;
    color: #c9c9c9;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.path-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.path-button {
    padding: 0.8rem 1.6rem;
    font-size: 1.1rem;
    font-weight: 600;
    background-color: #2d3b55;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.path-button:hover {
    background-color: #3c4f72;
    transform: translateY(-2px);
}

.path-button:active {
    transform: translateY(0);
}