/* =============================================
   Dutch Girls on Bikes — main.css
   Palette preserved from original:
     bg:      #516194
     text:    #9999FF
     subtle:  #9999CC
     muted:   #999999
     light:   #CCCCCC
   ============================================= */

:root {
    --color-bg:       #516194;
    --color-text:     #9999ff;
    --color-subtle:   #9999cc;
    --color-muted:    #999999;
    --color-light:    #cccccc;
    --color-white:    #e8e8f4;
    --font-display:   'Cormorant Garamond', Georgia, serif;
    --font-ui:        'Josefin Sans', Helvetica, sans-serif;
}

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

html, body {
    height: 100%;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-ui);
    font-weight: 300;
    letter-spacing: 0.08em;
    /* Subtle noise texture for depth */
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(153,153,255,0.07) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(0,0,102,0.15) 0%, transparent 50%);
}

/* ── Layout ── */

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    gap: 2.5rem;
}

/* ── Header ── */

.site-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.header-rule {
    width: 240px;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        var(--color-subtle),
        transparent
    );
    opacity: 0.6;
}

.site-title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2rem, 5vw, 3.2rem);
    letter-spacing: 0.35em;
    color: var(--color-white);
    text-transform: uppercase;
    animation: fadeIn 1.4s ease both;
}

/* ── Main link ── */

.site-main {
    animation: fadeIn 1.8s ease both;
}

.main-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--color-muted);
    text-decoration: none;
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 100;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    padding: 0.7rem 1.4rem;
    border: 1px solid rgba(153,153,204,0.25);
    transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.main-link:hover {
    color: var(--color-light);
    border-color: rgba(153,153,204,0.6);
    background: rgba(153,153,255,0.05);
}

.link-arrow {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.main-link:hover .link-arrow {
    transform: translateX(4px);
}

/* ── Footer / CC ── */

.site-footer {
    animation: fadeIn 2.2s ease both;
}

.cc-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.cc-block img {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.cc-block img:hover {
    opacity: 1;
}

.cc-text {
    font-size: 0.6rem;
    color: var(--color-muted);
    letter-spacing: 0.1em;
    line-height: 1.8;
    max-width: 420px;
}

.cc-link {
    color: var(--color-subtle);
    text-decoration: none;
    transition: color 0.2s ease;
}

.cc-link:hover {
    color: var(--color-light);
}

/* ── Animation ── */

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

/* ── 404 page ── */

.error-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    text-align: center;
}

.error-image img {
    max-width: 100%;
    width: 691px;
    height: auto;
    display: block;
}

.error-text {
    font-size: 0.65rem;
    color: var(--color-muted);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* ── Responsive ── */

@media (max-width: 600px) {
    .header-rule {
        width: 160px;
    }
    .main-link {
        font-size: 0.6rem;
    }
}
