
:root {
--bg-a: #081226;
--bg-b: #06304a;
--accent: #00d4ff;
--text: #d7ecf5;
--text-dim: rgba(215, 236, 245, 0.72);
--tbd: #ffb454;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }

body {
margin: 0;
font-family: Inter, Arial, sans-serif;
background: linear-gradient(180deg, var(--bg-a), var(--bg-b));
color: var(--text);
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
min-height: 100vh;
padding: 64px 20px;
}

.occasion-item {
width: 100%;
max-width: 640px;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
animation: fadeIn 0.8s ease both;
}

.occasion-label {
font-size: 0.75rem;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(--accent);
opacity: 0.8;
margin-bottom: 1rem;
}

.occasion-title {
font-size: clamp(1.5rem, 4vw, 2.25rem);
line-height: 1.25;
color: var(--accent);
margin: 0 0 1.5rem;
}

.occasion-writeup {
text-align: left;
color: var(--text-dim);
font-size: 1rem;
line-height: 1.7;
margin: 0 0 2rem;
}

.occasion-writeup p { margin: 0 0 1rem; }
.occasion-writeup p:last-child { margin-bottom: 0; }

.occasion-writeup a {
color: var(--accent);
text-decoration: underline;
text-decoration-color: rgba(0, 212, 255, 0.4);
text-underline-offset: 2px;
transition: text-decoration-color 0.18s ease;
}

.occasion-writeup a:hover {
text-decoration-color: var(--accent);
}

.tbd {
color: var(--tbd);
border-bottom: 1px dashed rgba(255, 180, 84, 0.6);
}

figure {
margin: 0 0 1.75rem;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
}

.occasion-flier {
width: 100%;
max-width: 380px;
border-radius: 16px;
border: 1px solid rgba(0, 212, 255, 0.15);
box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
object-fit: contain;
transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.occasion-flier:hover {
transform: translateY(-6px);
box-shadow: 0 12px 30px rgba(2, 6, 23, 0.6);
border-color: rgba(0, 212, 255, 0.35);
}

figcaption {
margin-top: 0.75rem;
font-size: 0.8rem;
color: var(--text-dim);
}

.occasion-back {
color: var(--accent);
text-decoration: none;
font-size: 0.85rem;
border-bottom: 1px solid rgba(0, 212, 255, 0.3);
transition: border-color 0.18s ease, opacity 0.18s ease;
}

.occasion-back:hover {
border-color: var(--accent);
opacity: 0.85;
}

@keyframes fadeIn {
from { opacity: 0; transform: scale(0.97); }
to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
.occasion-item { animation: none; }
.occasion-flier { transition: none; }
}
