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

:root {
  --orange: #F1A43C;
  --orange-dark: #D98A2A;
  --orange-light: #FFC46A;
  --navy: #14142B;
  --navy-mid: #1A1A3A;
  --navy-light: #0F3460;
  --pink: #FF6B9D;
  --teal: #3BCEAC;
  --purple: #8B5CF6;
  --blue: #4F9DFF;
  --white: #FFFFFF;
  --off-white: #F8F7F4;
  --radius: 22px;
  --radius-sm: 12px;
  --site-max: 1320px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
}

.content-layer { position: relative; overflow: hidden; background: var(--navy); }
.container { max-width: 1300px; margin-inline: auto; width: 100%; }
a { -webkit-tap-highlight-color: transparent; }

/* ANIMATED BACKGROUND */
.bg-blobs { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(120px); animation: floatBlob 22s ease-in-out infinite; }
@keyframes floatBlob {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(60px, -40px) scale(1.15); }
  66% { transform: translate(-40px, 50px) scale(0.9); }
}

.float-pieces { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.piece { position: absolute; font-size: 28px; opacity: 0.07; animation: rise linear infinite; }
@keyframes rise {
  0% { transform: translateY(110vh) rotate(0deg); opacity: 0; }
  12% { opacity: 0.08; }
  88% { opacity: 0.08; }
  100% { transform: translateY(-15vh) rotate(360deg); opacity: 0; }
}

.content-layer > section,
.content-layer > .marquee-section,
.content-layer > footer { position: relative; z-index: 1; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px max(28px, calc((100% - 1300px) / 2));
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(20, 20, 43, 0.7);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: padding 0.3s ease, background 0.3s ease;
}
nav.scrolled { padding-top: 10px; padding-bottom: 10px; background: rgba(20,20,43,0.92); }

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { width: 49px; height: 49px; border-radius: 12px; transition: transform 0.3s ease; }
.nav-logo:hover img { transform: rotate(-8deg) scale(1.08); }
.nav-logo span { font-size: 19px; font-weight: 800; color: var(--white); letter-spacing: -0.3px; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.65);
  text-decoration: none; transition: color 0.2s ease; position: relative;
}
.nav-link::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--orange); transition: width 0.25s ease; }
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 50px; font-size: 14px; font-weight: 700;
  text-decoration: none; transition: all 0.25s ease; white-space: nowrap; border: none; cursor: pointer;
}
.btn-primary { background: var(--orange); color: var(--navy); }
.btn-primary:hover { background: var(--orange-light); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(241,164,60,0.45); }

.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); color: var(--navy); padding: 12px 22px;
  border-radius: var(--radius-sm); text-decoration: none; transition: all 0.25s ease;
}
.store-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,0,0,0.35); }
.store-btn svg { width: 24px; height: 24px; flex-shrink: 0; }
.store-btn-text { display: flex; flex-direction: column; line-height: 1.1; }
.store-btn-text small { font-size: 10px; font-weight: 500; opacity: 0.6; text-transform: uppercase; letter-spacing: 0.5px; }
.store-btn-text strong { font-size: 15px; font-weight: 800; letter-spacing: -0.2px; }

/* SHARED SECTION STYLES */
section, [id] { scroll-margin-top: 88px; }
.section-label { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.section-title { font-size: clamp(30px, 4.5vw, 52px); font-weight: 900; letter-spacing: -1.5px; line-height: 1.1; }
.section-title .accent { background: linear-gradient(120deg, var(--orange), var(--pink)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-desc { font-size: 17px; color: rgba(255,255,255,0.55); margin-top: 16px; line-height: 1.7; }

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s cubic-bezier(.22,1,.36,1), transform 0.7s cubic-bezier(.22,1,.36,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* FOOTER */
footer { background: #0B0B16; padding: 40px 32px; text-align: center; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-links { display: flex; justify-content: center; gap: 22px; margin-bottom: 16px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--orange); }
footer p { font-size: 13px; color: rgba(255,255,255,0.3); }
footer p a { color: var(--orange); text-decoration: none; }

/* VISUALLY HIDDEN (accessible, SEO-visible) */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* BACK TO TOP */
#back-to-top {
  position: fixed;
  bottom: 32px; right: 32px; z-index: 999;
  width: 48px; height: 48px;
  background: var(--orange); color: var(--navy);
  border: none; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  pointer-events: none;
  box-shadow: 0 6px 20px rgba(241,164,60,0.4);
}
#back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
#back-to-top:hover { background: var(--orange-light); }
#back-to-top svg { width: 22px; height: 22px; }

/* EVENT CARDS */
.event-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.event-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--ec, var(--orange)); }
.event-card::after { content: ''; position: absolute; top: -80px; right: -80px; width: 220px; height: 220px; background: var(--ec, var(--orange)); opacity: 0.05; border-radius: 50%; transition: opacity 0.35s ease; pointer-events: none; }
.event-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--ec, var(--orange)) 35%, transparent); box-shadow: 0 22px 44px rgba(0,0,0,0.35); }
.event-card:hover::after { opacity: 0.1; }
.event-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.event-emoji { font-size: 40px; line-height: 1; }
.event-badge { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; padding: 4px 11px; border-radius: 50px; background: color-mix(in srgb, var(--ec, var(--orange)) 20%, transparent); color: color-mix(in srgb, var(--ec, var(--orange)) 80%, white); border: 1px solid color-mix(in srgb, var(--ec, var(--orange)) 28%, transparent); white-space: nowrap; }
.event-badge--feature { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.12); }
.event-name { font-size: 22px; font-weight: 900; letter-spacing: -0.5px; margin-bottom: 10px; }
.event-desc { font-size: 14px; color: rgba(255,255,255,0.58); line-height: 1.65; }
@media (max-width: 560px) { .event-card { padding: 24px 20px; } }
