:root {
    --bg: #FDFBF8;
    --gold: #C5A059;
    --text: #1C1C1C;
    --muted: #999;
    --white: #FFFFFF;
}

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

body {
    background-color: var(--bg);
    background: linear-gradient(
        135deg,
        #FDFBF8,
        #F5ECD7,
        #EDE0C4,
        #F8F2E8,
        #FDFBF8
    );
    background-size: 400% 400%;
    animation: flow 18s ease infinite;
    color: var(--text);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.8;
}

@keyframes flow {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Layout */
.card-layout {
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 10%;
    text-align: center;
    gap: 32px;
}

/* Countdown — the hero */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.countdown {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    justify-content: center;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.countdown-unit span {
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem;
    line-height: 1;
    color: var(--text);
    letter-spacing: -2px;
}

.countdown-unit small {
    font-size: 0.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 6px;
    font-weight: 300;
}

.countdown-sep {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--gold);
    line-height: 1;
    padding-top: 2px;
}

/* Name & info */
.identity {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 400;
    margin: 0;
    letter-spacing: -0.5px;
}

.exchange-label {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.65rem;
    font-weight: 300;
}

.tagline {
    font-size: 0.85rem;
    font-weight: 300;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--muted);
    text-wrap: balance;
}

/* Links — text only */
.links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    max-width: 480px;
}

.card {
    text-decoration: none;
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.2s ease;
    border: none;
    background: none;
    padding: 0;
}

.card:hover {
    color: var(--muted);
}

/* Newsletter — no label */
.newsletter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 400px;
}

.newsletter-form {
    display: flex;
    gap: 0;
    width: 100%;
}

.newsletter-input {
    flex: 1;
    padding: 14px 18px;
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-right: none;
    color: var(--text);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.newsletter-input:focus {
    border-color: var(--text);
}

.newsletter-input::placeholder {
    color: #bbb;
}

.newsletter-btn {
    padding: 14px 22px;
    background: var(--text);
    color: var(--white);
    border: 1px solid var(--text);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 2px;
    cursor: pointer;
    transition: opacity 0.2s ease;
    text-transform: uppercase;
    white-space: nowrap;
}

.newsletter-btn:hover {
    opacity: 0.75;
}

.newsletter-success {
    display: none;
    font-size: 0.75rem;
    color: var(--muted);
    letter-spacing: 1px;
}

.newsletter-error {
    display: none;
    font-size: 0.75rem;
    color: #c0392b;
    letter-spacing: 1px;
}

/* Email */
.contact-email {
    margin: 0;
}

.contact-email a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.72rem;
    letter-spacing: 1px;
    transition: color 0.2s ease;
}

.contact-email a:hover {
    color: var(--text);
}

/* Animaatio */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: 1s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .card-layout { gap: 20px; padding: 0 5%; }
    .countdown { gap: 4px; }
    .countdown-unit { min-width: 0; }
    .countdown-unit span { font-size: 2rem; letter-spacing: -1px; }
    .countdown-unit small { font-size: 0.45rem; letter-spacing: 2px; margin-top: 4px; }
    .countdown-sep { font-size: 1.6rem; }
    h1 { font-size: 1.6rem; }
    .links { flex-direction: column; gap: 14px; align-items: center; }
    .newsletter { max-width: 100%; }
    .newsletter-form { flex-direction: column; gap: 8px; }
    .newsletter-input { border-right: 1px solid #e0e0e0; }
    .newsletter-btn { width: 100%; }
}
