@font-face {
    font-family: Jura;
    src: url(assets/Fonts/Jura/Jura-VariableFont_wght.ttf);
}
@font-face {
    font-family: Play;
    src: url(assets/Fonts/Play/Play-Regular.ttf);
}

:root {
    --content-color: #1e1b13;
    --text-color: #cdc7ba;
    --accent-color1: #07f07f;
    --accent-color2: #80fdfd;
    --title-font: Jura, 'Times New Roman', serif;
    --text-font: Play, Helvetica, Arial, sans-serif;
}

body {
    background-image: url(assets/galaxy.png);
    color: var(--text-color);
    font-family: var(--text-font);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;   
}

a {
    color: var(--accent-color1);
}

a:hover {
    color: var(--accent-color2);
    font-style: italic;
    text-decoration: none;
}

a:visited {
    color: var(--accent-color2);
    text-decoration: none;
}

.container {
    position: relative;
    margin: 1em;
}

.quote-box {
    background: var(--content-color);
    padding: 3em;   
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--accent-color2);
}

.verse-title {
    font-family: Jura;
    font-size: 2rem;
    color: var(--accent-color1); 
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1px;
    margin: 2rem;
    display: block;
}

.date-display {
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 2px;
    font-style: italic;
    font-size: 0.85em;
}

.quote-text {
    font-family: var(--text-font);
    font-size: 1.3rem;
    line-height: 1.4;
    margin-bottom: 20px;
    white-space: pre-line;
    /* Preserves line breaks from JSON */
}

.controls {
    margin-top: 4em;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

button {
    border: 0px;
    background-color: var(--accent-color1);
    color: black;
    padding: 0.5em 1em;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--title-font);
    text-transform: uppercase;
}

button:hover {
    background-color: var(--accent-color2);
    color: black;
    font-weight: 600;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(139, 69, 19, 0.2);
}

button:active {
    transform: translateY(0);
}

.countdown {
    margin-top: 30px;
    font-size: 0.85rem;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.countdown span {
    color: var(--accent-color1);
    font-weight: 600;
}

footer {
    margin-top: 40px;
    font-size: 0.8rem;
}

.error {
    color: #dc2626;
    font-size: 0.9rem;
    padding: 10px;
    background-color: #fef2f2;
    border-radius: 4px;
    margin-top: 10px;
}