/*
 * Holding page (private mode). Carried over from the old "Coming back soon" page.
 * Fonts are self-hosted (SIL Open Font Licence, see assets/fonts/), so visitors'
 * browsers don't contact Google.
 */

@font-face { font-family: "Bebas Neue"; font-weight: 400; font-display: swap; src: url("../fonts/bebas-neue-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 300; font-display: swap; src: url("../fonts/source-sans-3-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-display: swap; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --color-bg: #0a0a0a;
    --color-text: #ffffff;
    --color-text-muted: rgba(255, 255, 255, 0.7);
    --color-accent: #ff3366;
    --font-display: "Bebas Neue", sans-serif;
    --font-body: "Source Sans 3", system-ui, sans-serif;
}

html, body { height: 100%; width: 100%; }

body.holding-page {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.holding-bg {
    position: fixed;
    inset: 0;
    background: url("../img/holding-bg.jpg") center / cover no-repeat;
    z-index: -2;
}

.holding-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.8) 100%);
    z-index: -1;
}

.holding {
    text-align: center;
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.holding-logo {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(4rem, 15vw, 8rem);
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    line-height: 1;
    text-shadow: 0 4px 30px rgba(255, 51, 102, 0.3);
}

.holding-status {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-text);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    margin-bottom: 2rem;
}

.holding-message {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin: 0 auto 2.5rem;
    max-width: 420px;
}

.holding-links { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }

.holding-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.holding-link:hover, .holding-link:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.holding-link:focus { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.holding-link svg { width: 20px; height: 20px; flex-shrink: 0; }

.holding-footer {
    width: 100%;
    padding: 1.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.05em;
    margin-top: auto;
}

@media (max-width: 480px) {
    .holding { padding: 1.5rem; }
    .holding-links { flex-direction: column; gap: 1rem; }
    .holding-link { justify-content: center; width: 100%; }
    .holding-message { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
    .holding { animation: none; }
    .holding-link { transition: none; }
}

@media (prefers-contrast: high) {
    .holding-link { border: 2px solid var(--color-text); }
}
