@import url('https://fonts.googleapis.com/css2?family=Special+Elite&family=Barlow+Condensed:wght@400;600;700&family=Source+Sans+3:wght@400;500;600&family=Share+Tech+Mono&display=swap');

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

:root {
    --ink: #31180c;
    --rust: #a14716;
    --sunset: #f3b562;
    --sage: #d9cbb3;
    --paper: #fdf6e9;
}

body {
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #150c05;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(243, 181, 98, 0.08), transparent 45%),
        radial-gradient(circle at 80% 0%, rgba(165, 71, 22, 0.15), transparent 55%),
        repeating-linear-gradient(90deg, rgba(49, 24, 12, 0.55) 0px, rgba(49, 24, 12, 0.55) 120px, rgba(23, 9, 4, 0.55) 120px, rgba(23, 9, 4, 0.55) 240px),
        linear-gradient(180deg, #1d0e05 0%, #0f0602 100%);
    color: var(--ink);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    text-align: center;
    padding: 2rem;
}

h1, h2 {
    font-family: 'Barlow Condensed', 'Special Elite', 'Georgia', serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

p {
    font-size: 1rem;
    color: #4b2b17;
    line-height: 1.6;
}

.hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 2rem 0;
}

.gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(11, 6, 3, 0.8) 0%, rgba(11, 6, 3, 0.2) 40%, rgba(11, 6, 3, 0.8) 100%),
        radial-gradient(circle at 50% 10%, rgba(246, 175, 90, 0.35), transparent 50%),
        linear-gradient(140deg, rgba(161, 71, 22, 0.4), rgba(67, 30, 11, 0.75));
    z-index: 0;
}

#particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: screen;
}

.card.container {
    position: relative;
    z-index: 3;
    max-width: 980px;
    margin: 1rem;
    padding: 3rem 3.8rem 2.6rem;
    background:
        linear-gradient(185deg, rgba(255, 255, 255, 0.9), rgba(250, 239, 219, 0.92)),
        url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="140" height="140" viewBox="0 0 10 10"%3E%3Cpath fill="%23f2e4cd" fill-opacity="0.35" d="M0 0h5v5H0zm5 5h5v5H5z"/%3E%3C/svg%3E');
    color: var(--ink);
    border-radius: 24px;
    border: 3px solid rgba(49, 24, 12, 0.8);
    box-shadow: 0 35px 70px rgba(12, 6, 3, 0.65);
    text-align: center;
}

.card.container::before,
.card.container::after {
    content: '';
    position: absolute;
    width: 130px;
    height: 130px;
    background: radial-gradient(circle, rgba(49, 24, 12, 0.25), transparent 70%);
    z-index: -1;
    filter: blur(6px);
}

.card.container::before { top: -50px; left: -70px; }
.card.container::after { bottom: -60px; right: -50px; }

.poster-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Special Elite', 'Courier New', monospace;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(49, 24, 12, 0.75);
    border-bottom: 2px dashed rgba(49, 24, 12, 0.3);
    padding-bottom: 0.6rem;
    margin-bottom: 1.4rem;
}

.ticket-label { font-weight: 600; }
.ticket-year { font-size: 0.9rem; }

.site-title {
    font-size: 3.4rem;
    color: var(--ink);
    text-shadow: 0 4px 0 rgba(247, 227, 200, 0.9);
    position: relative;
    text-transform: none;
}

.site-title::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    color: transparent;
    -webkit-text-stroke: 1px rgba(161, 71, 22, 0.45);
    transform: translate(4px, 4px);
    z-index: -1;
}

.dateline {
    font-family: 'Special Elite', 'Georgia', serif;
    letter-spacing: 0.08em;
    text-transform: none;
    color: rgba(49, 24, 12, 0.7);
    margin: 0.6rem 0 1rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    line-height: 1.1;
}

.dateline span {
    display: block;
}

#start-time-section {
    background: rgba(255, 255, 255, 0.6);
    border: 2px dashed rgba(49, 24, 12, 0.35);
    padding: 1.4rem 1.6rem;
    border-radius: 16px;
    box-shadow: inset 0 0 30px rgba(110, 76, 45, 0.08);
}

#start-time-heading {
    font-size: 1.1rem;
    color: rgba(49, 24, 12, 0.6);
    margin-bottom: 0.5rem;
}

.start-time-lines {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1.1rem;
}

.start-line {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 0.45rem;
    color: rgba(49, 24, 12, 0.9);
}

.time-label {
    font-family: 'Special Elite', 'Georgia', serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    color: rgba(49, 24, 12, 0.65);
}

.time-value {
    font-family: 'Share Tech Mono', 'Special Elite', monospace;
    font-size: 1.6rem;
    letter-spacing: 0.08em;
    color: #a14716;
}

.time-zone {
    font-family: 'Special Elite', 'Georgia', serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: rgba(49, 24, 12, 0.65);
}

.time-note {
    flex-basis: 100%;
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: rgba(49, 24, 12, 0.6);
}

.sydney-line .time-value {
    color: #f45b10;
}

.local-clock {
    border: 2px dashed rgba(49, 24, 12, 0.35);
    border-radius: 14px;
    padding: 0.9rem 1.1rem;
    color: rgba(49, 24, 12, 0.85);
    text-align: center;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.7);
}

.local-clock-label {
    font-family: 'Barlow Condensed', sans-serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.95rem;
    color: rgba(49, 24, 12, 0.65);
}

.local-clock-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0.4rem;
}

.local-clock-value {
    font-family: 'Share Tech Mono', 'Special Elite', monospace;
    font-size: 2.5rem;
    letter-spacing: 0.14em;
    color: #3bd657;
    text-shadow: 0 0 14px rgba(59, 214, 87, 0.5);
}

.local-clock-meta {
    margin-top: 0.3rem;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(49, 24, 12, 0.6);
}

.local-clock-note {
    margin-top: 0.6rem;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: rgba(49, 24, 12, 0.5);
}

.countdown {
    margin-top: 1.1rem;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    margin-bottom: 0;
}

.countdown-label {
    font-family: 'Barlow Condensed', sans-serif;
    letter-spacing: 0.18em;
    color: rgba(49, 24, 12, 0.65);
    font-size: 0.95rem;
}

.countdown-grid {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 0.4rem;
}

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

.countdown-value {
    font-family: 'Share Tech Mono', 'Special Elite', monospace;
    font-size: 2.4rem;
    letter-spacing: 0.12em;
    color: #f45b10;
    text-shadow: 0 0 12px rgba(244, 91, 16, 0.55);
    background: #1a0d04;
    padding: 0.2rem 0.6rem;
    border-radius: 8px;
    border: 2px solid rgba(244, 91, 16, 0.4);
}

.countdown-text {
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    margin-top: 0.4rem;
    color: rgba(49, 24, 12, 0.65);
}

.countdown-separator {
    font-family: 'Share Tech Mono', monospace;
    font-size: 2rem;
    color: rgba(49, 24, 12, 0.5);
    margin-bottom: 0.5rem;
}

.tz-grid {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 1rem;
    padding-bottom: 0.5rem;
    justify-content: center;
}

.clock-box {
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(249,238,219,0.85));
    border-radius: 18px;
    border: 2px solid rgba(161, 71, 22, 0.4);
    padding: 0.85rem;
    box-shadow: 0 12px 25px rgba(33, 13, 3, 0.18);
    position: relative;
    flex: 1 1 180px;
    max-width: 200px;
}

.clock-box-featured {
    flex: 1 1 210px;
    border-color: rgba(243, 181, 98, 0.8);
    box-shadow: 0 18px 32px rgba(161, 71, 22, 0.25);
    transform: scale(1.02);
    z-index: 1;
}

.clock-box-featured .clock-time {
    font-size: 2.1rem;
    color: var(--rust);
}

.tz-grid::-webkit-scrollbar {
    height: 6px;
}

.tz-grid::-webkit-scrollbar-thumb {
    background: rgba(49, 24, 12, 0.35);
    border-radius: 999px;
}

.tz-grid::-webkit-scrollbar-track {
    background: transparent;
}

.clock-box::after {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px dashed rgba(161, 71, 22, 0.35);
    border-radius: 12px;
    pointer-events: none;
}

.clock-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.12em;
    color: rgba(49, 24, 12, 0.9);
    margin-bottom: 0.4rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    justify-content: center;
}

.clock-emoji {
    font-size: 1.3rem;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.2));
}

.clock-label-text {
    text-transform: uppercase;
}

.clock-time {
    font-family: 'Special Elite', 'Courier New', monospace;
    font-size: 2rem;
    color: var(--rust);
}

.clock-meta {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: rgba(49, 24, 12, 0.7);
}

.clock-meta .tz { font-weight: 600; }
.clock-meta .day { margin-left: 6px; color: rgba(161, 71, 22, 0.7); }

#meeting-details {
    margin-top: 1.75rem;
    padding: 1.2rem 1.5rem;
    border: 2px solid rgba(49, 24, 12, 0.4);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: inset 0 0 25px rgba(110, 76, 45, 0.08);
}

#meeting-details h2 {
    font-size: 1.1rem;
    color: rgba(49, 24, 12, 0.75);
    margin-bottom: 0.4rem;
}

.zoom-link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.4rem;
    background: linear-gradient(135deg, var(--rust), #d66624);
    color: var(--paper);
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.zoom-link a:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(161, 71, 22, 0.25);
}

.zoom-meta {
    margin-top: 0.7rem;
    font-family: 'Special Elite', 'Courier New', monospace;
    color: rgba(49, 24, 12, 0.8);
}

.reflections-link {
    margin-top: 0.8rem;
    font-size: 0.95rem;
    color: rgba(49, 24, 12, 0.8);
}

.reflections-link a {
    color: #a14716;
    font-weight: 600;
    text-decoration: underline;
}

.decorations {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.emoji {
    position: absolute;
    font-size: 24px;
    filter: drop-shadow(0 4px 4px rgba(0,0,0,0.35));
}

@keyframes move-right {
    0% { transform: translateX(0) translateY(0); opacity: 0; }
    10% { opacity: 0.9; }
    90% { opacity: 0.9; }
    100% { transform: translateX(120vw) translateY(-6vh); opacity: 0; }
}

@keyframes move-left {
    0% { transform: translateX(0) translateY(0); opacity: 0; }
    10% { opacity: 0.9; }
    90% { opacity: 0.9; }
    100% { transform: translateX(-120vw) translateY(-6vh); opacity: 0; }
}

@media (max-width: 640px) {
    .card.container { padding: 2.2rem 1.4rem; border-width: 2px; }
    .poster-top { flex-direction: column; gap: 0.3rem; }
    .site-title { font-size: 2.4rem; }
    .countdown-grid { gap: 0.4rem; }
    .countdown-value { font-size: 1.8rem; }
}
