@font-face { font-family: "Poppins"; src: url("fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --blue: #1b2160;
  --red: #e30613;
  --yellow: #f4d35e;
  --white: #ffffff;
  --muted: #4a5285;
  --soft: #b9bfe6;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body { margin: 0; background: var(--blue); }
body { color: var(--white); font-family: "Poppins", system-ui, sans-serif; line-height: 1.35; }

.page { position: relative; max-width: 420px; margin: 0 auto; padding: 24px 16px 20px; }

.confetti span { position: absolute; pointer-events: none; width: 7px; height: 7px; border-radius: 50%; }
.confetti span:nth-child(1) { top: 18px; left: 8%; background: var(--yellow); }
.confetti span:nth-child(2) { top: 48px; right: 10%; background: var(--red); }
.confetti span:nth-child(3) { top: 92px; left: 14%; width: 5px; height: 5px; background: var(--white); }
.confetti span:nth-child(4) { top: 84px; right: 20%; border-radius: 0; transform: rotate(30deg); background: var(--yellow); }
.confetti span:nth-child(5) { top: 28px; left: 32%; width: 5px; height: 5px; border-radius: 0; transform: rotate(15deg); background: var(--white); }
.confetti span:nth-child(6) { top: 130px; right: 9%; width: 5px; height: 5px; background: var(--yellow); }

.profile { position: relative; text-align: center; }
.logo { display: block; width: 84px; height: 84px; margin: 0 auto; }
h1 { margin: 4px 0 0; font-size: 1.1rem; font-weight: 500; }

.socials { display: flex; justify-content: center; gap: 14px; margin: 8px 0 12px; }
.socials a { display: inline-flex; padding: 10px; color: var(--white); border-radius: 8px; }
.socials svg { width: 24px; height: 24px; }

.buttons { position: relative; display: flex; gap: 8px; }
.btn { flex: 1; padding: 11px; border-radius: 10px; font-size: 0.95rem; font-weight: 500; text-align: center; text-decoration: none; }
.btn-primary { background: var(--yellow); color: var(--blue); }
.btn-outline { border: 1.5px solid var(--white); color: var(--white); }

.events h2 { margin: 20px 0 0; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--yellow); }
.event-list { list-style: none; margin: 0; padding: 0; }
.event { display: flex; align-items: center; min-height: 48px; margin-top: 6px; overflow: hidden; border-radius: 10px; background: var(--white); color: var(--blue); text-decoration: none; }
.event-date { flex: none; align-self: stretch; width: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--red); color: var(--white); font-size: 0.7rem; line-height: 1.05; }
.event-day { font-size: 1.05rem; font-weight: 500; }
.event-body { flex: 1; min-width: 0; padding: 6px 10px; }
.event-title { display: block; overflow: hidden; font-size: 0.875rem; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.event-meta { display: block; font-size: 0.75rem; color: var(--muted); }
.event-chevron { padding-right: 12px; font-size: 1.3rem; line-height: 1; color: var(--red); }

.footer { margin-top: 20px; text-align: center; font-size: 0.75rem; color: var(--soft); }
.footer a { color: var(--soft); }

a:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
@media (hover: hover) {
  .btn:hover, a.event:hover { filter: brightness(0.95); }
}
