:root {
  --wsu: #b2132e;
  --wsu-light: #d4384f;
  --wsu-dark: #8c0e22;
  --wsu-glow: rgba(178, 19, 46, 0.18);
  --wsu-soft: rgba(178, 19, 46, 0.08);
  --text: #0b0d12;
  --text-soft: #1a1f2b;
  --muted: #5a5f6d;
  --line: rgba(11, 13, 18, 0.07);
  --line-strong: rgba(11, 13, 18, 0.11);
  --soft: rgba(11, 13, 18, 0.025);
  --surface: #f8f8fa;
  --surface-2: #fcfcfd;
  --white: #ffffff;
  --radius: 24px;
  --radius-lg: 32px;
  --radius-sm: 14px;
  --shadow-sm: 0 8px 24px rgba(15, 18, 28, 0.06);
  --shadow-md: 0 18px 48px rgba(15, 18, 28, 0.10);
  --shadow-lg: 0 28px 70px rgba(15, 18, 28, 0.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(178, 19, 46, 0.035), transparent 32%),
    radial-gradient(circle at top right, rgba(178, 19, 46, 0.03), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fcfcfd 40%, #f8f8fa 100%);
  min-width: 320px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; }
img { display: block; max-width: 100%; }

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

/* ===== Floating background accents ===== */
body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -2;
  inset: auto;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
}

body::before {
  width: 260px;
  height: 260px;
  top: 110px;
  right: -60px;
  background: rgba(178, 19, 46, 0.07);
}

body::after {
  width: 220px;
  height: 220px;
  bottom: 80px;
  left: -40px;
  background: rgba(178, 19, 46, 0.05);
}

/* ===== Navbar ===== */
.appbar-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0 0;
}

.appbar {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border-radius: 999px;
  box-shadow: 0 10px 34px rgba(15,18,28,0.08);
}

.toolbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1rem 0 1.35rem;
}

.brand {
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: 1.1rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.brand::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wsu), var(--wsu-light));
  box-shadow: 0 0 0 6px rgba(178, 19, 46, 0.08);
}

.brand-text {
  background: linear-gradient(135deg, var(--wsu-dark) 0%, var(--wsu) 55%, var(--wsu-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  background: rgba(178, 19, 46, 0.045);
  border: 1px solid rgba(178, 19, 46, 0.08);
  border-radius: 999px;
  padding: 0.34rem;
}

.desktop-nav a,
.mobile-nav a {
  text-decoration: none;
  font-weight: 650;
  font-size: 0.92rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  transition: all 0.25s ease;
  color: var(--muted);
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  background: linear-gradient(135deg, var(--wsu), var(--wsu-dark));
  color: #fff;
  box-shadow: 0 10px 24px rgba(178, 19, 46, 0.25);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #f7f7f9);
  border-radius: 14px;
  width: 46px;
  height: 42px;
  font-size: 1.15rem;
  cursor: pointer;
  color: var(--text);
  transition: all 0.2s ease;
}

.menu-toggle:hover {
  border-color: rgba(178, 19, 46, 0.22);
  color: var(--wsu);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0.75rem auto 0;
  width: min(1180px, calc(100% - 2rem));
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(11,13,18,0.07);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  padding: 0.8rem;
  backdrop-filter: blur(12px);
}

.mobile-nav.open { display: flex; }

.mobile-nav a:hover {
  background: var(--wsu-soft);
  color: var(--wsu);
}

/* ===== Hero ===== */
.hero-shell {
  padding: 1rem 0 0;
}

.hero {
  position: relative;
  overflow: hidden;
  width: min(1240px, calc(100% - 1rem));
  margin: 0 auto;
  border-radius: 36px;
  min-height: 720px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.4);
}

.hero-carousel,
.hero-overlay,
.hero-grain,
.hero-lines {
  position: absolute;
  inset: 0;
}

.hero-carousel {
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.06) brightness(0.6);
  opacity: 0;
  transition: opacity 1.1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide-0 { background-image: url("assets/carousel_0.jpg"); }
.hero-slide-1 { background-image: url("assets/carousel_1.jpeg"); }
.hero-slide-2 { background-image: url("assets/carousel_2.jpeg"); }
.hero-slide-3 { background-image: url("assets/carousel_3.jpeg"); }
.hero-slide-4 { background-image: url("assets/carousel_4.jpeg"); }


.hero-grain {
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 220px;
  mix-blend-mode: soft-light;
}

.hero-lines {
  background:
    linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.035) 49.6%, transparent 50.2%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.03) 49.7%, transparent 50.2%, transparent 100%);
  background-size: 100% 100%, 100% 100%;
  opacity: 0.45;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 720px;
  display: grid;
  align-items: end;
  padding: 3rem;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.22s ease, transform 0.22s ease;
}

.hero-arrow:hover,
.hero-arrow:focus-visible {
  background: rgba(178, 19, 46, 0.55);
  transform: translateY(-50%) scale(1.06);
}

.hero-arrow-left { left: 1.5rem; }
.hero-arrow-right { right: 1.5rem; }

.hero-dots {
  position: absolute;
  z-index: 3;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.22s ease, transform 0.22s ease;
}

.hero-dot.active {
  background: var(--wsu-light);
  border-color: var(--wsu-light);
  transform: scale(1.15);
}

@media (max-width: 720px) {
  .hero-arrow { width: 38px; height: 38px; font-size: 0.95rem; }
  .hero-arrow-left { left: 0.75rem; }
  .hero-arrow-right { right: 0.75rem; }
}

.hero-card {
  width: min(760px, 100%);
  border-radius: 30px;
  padding: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  width: fit-content;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff6f85;
  box-shadow: 0 0 12px #ff6f85;
  animation: pulse-dot 2.2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.82); opacity: 0.65; }
}

.hero h1 {
  margin-top: 1rem;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 900;
  color: #fff;
  text-wrap: balance;
  text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000;
}

.hero h2 {
  margin-top: 1rem;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-weight: 700;
  color: rgba(255,255,255,0.97);
  text-shadow: -1.5px -1.5px 0 #000, 1.5px -1.5px 0 #000, -1.5px 1.5px 0 #000, 1.5px 1.5px 0 #000;
}

.wsu {
  color: var(--wsu);
  font-weight: 750;
  position: relative;
  display: inline-block;
}

.hero .wsu {
  color: #fff;
  text-shadow: -1.5px -1.5px 0 #000, 1.5px -1.5px 0 #000, -1.5px 1.5px 0 #000, 1.5px 1.5px 0 #000;
}

.hero .wsu::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.14em;
  width: 100%;
  height: 0.34em;
  background: linear-gradient(90deg, rgba(178, 19, 46, 0.92), rgba(212, 56, 79, 0.85));
  z-index: -1;
  border-radius: 999px;
  opacity: 0.9;
}

.hero p {
  margin-top: 0.95rem;
  font-size: 1.03rem;
  font-weight: 700;
  color: rgba(255,255,255,0.86);
  line-height: 1.75;
  max-width: 62ch;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.hero-subtitle {
  color: rgba(255,255,255,0.72);
  font-weight: 700;
  font-size: 1.08rem;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1rem;
  align-items: center;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  border-radius: 14px;
  font-weight: 800;
  padding: 0.95rem 1.5rem;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--wsu) 0%, var(--wsu-dark) 100%);
  color: #fff;
  box-shadow: 0 10px 26px rgba(178, 19, 46, 0.32);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(178, 19, 46, 0.40);
}

.hero-actions p a,
.footer a {
  color: var(--wsu);
  font-weight: 800;
  text-decoration: none;
}

.hero-actions p {
  background: rgba(255,255,255,0.92);
  color: var(--text-soft);
  padding: 0.9rem 1rem;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.6;
  border: 1px solid rgba(255,255,255,0.25);
  text-shadow: none;
}

/* ===== Main content ===== */
.content {
  padding: 3.6rem 0 4rem;
}

.section {
  padding: 1.4rem 0 2rem;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s cubic-bezier(.22,1,.36,1) forwards;
}

.section:nth-child(1) { animation-delay: 0.05s; }
.section:nth-child(2) { animation-delay: 0.12s; }
.section:nth-child(3) { animation-delay: 0.19s; }
.section:nth-child(4) { animation-delay: 0.26s; }
.section:nth-child(5) { animation-delay: 0.33s; }
.section:nth-child(6) { animation-delay: 0.40s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.section h3 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.section-line {
  width: 72px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--wsu-dark), var(--wsu-light));
  margin-top: 0.8rem;
  box-shadow: 0 8px 18px rgba(178, 19, 46, 0.18);
}

.panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(11,13,18,0.06);
  border-radius: var(--radius);
  padding: 2rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(252,252,253,0.98) 100%);
  box-shadow: var(--shadow-sm);
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--wsu), var(--wsu-light));
  opacity: 0.9;
}

.panel p {
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.85;
  color: #2c2f36;
}

.panel p + p { margin-top: 1.05rem; }

.muted {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ===== Organizer panel ===== */
.organizer-panel {
  position: relative;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  background: linear-gradient(135deg, var(--wsu-dark) 0%, var(--wsu) 55%, var(--wsu-light) 100%);
  box-shadow: 0 24px 56px rgba(178, 19, 46, 0.28);
}

.organizer-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,0.18), transparent 35%),
    radial-gradient(circle at 85% 80%, rgba(255,255,255,0.12), transparent 40%);
  pointer-events: none;
}

.organizer-panel::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
}

.organizer-eyebrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
}

.organizer-eyebrow::before,
.organizer-eyebrow::after {
  content: "";
  width: 26px;
  height: 1px;
  background: rgba(255,255,255,0.5);
}

.organizer-panel p {
  position: relative;
  z-index: 1;
  margin-top: 0.9rem;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 4px 18px rgba(0,0,0,0.18);
}

/* ===== Chips ===== */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.chips span {
  border-radius: 999px;
  border: 1px solid rgba(178, 19, 46, 0.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,248,250,0.96));
  padding: 0.8rem 1rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-soft);
  box-shadow: 0 6px 18px rgba(15,18,28,0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.chips span:hover {
  transform: translateY(-2px);
  border-color: rgba(178, 19, 46, 0.24);
  box-shadow: 0 14px 26px rgba(15,18,28,0.08);
}

/* ===== Cards ===== */
.card-list {
  display: grid;
  gap: 1rem;
}

@media (min-width: 760px) {
  .card-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(11,13,18,0.07);
  border-radius: 22px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
  padding: 1.45rem 1.45rem 1.5rem;
  box-shadow: 0 10px 24px rgba(15,18,28,0.05);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--wsu), var(--wsu-light));
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(15,18,28,0.09);
  border-color: rgba(178, 19, 46, 0.16);
}

.card h4 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.card p {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.72;
}

.registration-box {
  display: flex;
  justify-content: center;
  margin-top: 1.6rem;
}

.block {
  width: min(560px, 100%);
}

/* ===== Fee table ===== */
.fee-table-wrap {
  margin-top: 1.6rem;
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(11,13,18,0.07);
  box-shadow: 0 10px 24px rgba(15,18,28,0.05);
}

.fee-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 0.96rem;
}

.fee-table th,
.fee-table td {
  padding: 0.95rem 1.2rem;
  text-align: left;
  white-space: nowrap;
}

.fee-table thead th {
  background: linear-gradient(135deg, var(--wsu-dark) 0%, var(--wsu) 100%);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.fee-table tbody tr:nth-child(odd) {
  background: var(--soft);
}

.fee-table tbody tr:not(:last-child) td {
  border-bottom: 1px solid var(--line);
}

.fee-table tbody td:first-child {
  font-weight: 650;
  color: var(--text-soft);
  white-space: normal;
}

.fee-table tbody td:not(:first-child) {
  font-weight: 700;
  color: var(--wsu-dark);
}

.fee-note {
  margin-top: 1rem;
}

.fee-heading {
  margin-top: 1.6rem;
  font-size: 1.15rem;
  font-weight: 800;
}

@media (max-width: 480px) {
  .fee-table th,
  .fee-table td {
    padding: 0.8rem 0.9rem;
    font-size: 0.9rem;
  }
}

.center-text {
  text-align: center;
}

/* ===== Footer ===== */
.footer {
  padding: 0 0 3rem;
}

.footer-card {
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,0.94), rgba(248,248,250,0.98));
  border: 1px solid rgba(11,13,18,0.06);
  box-shadow: var(--shadow-sm);
  padding: 1.4rem 1.5rem;
}

.footer hr {
  border: 0;
  border-top: 1px solid rgba(11,13,18,0.08);
  margin-bottom: 1rem;
}

.footer p {
  margin: 0;
  line-height: 1.75;
  font-size: 0.95rem;
}

.footer .mark {
  margin-top: 1rem;
  text-align: left;
  opacity: 0.4;
  letter-spacing: normal;
  user-select: none;
  font-family: inherit;
  font-size: 0.8rem;
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero {
    min-height: 620px;
    border-radius: 28px;
  }

  .hero-content {
    min-height: 620px;
    padding: 1.5rem;
    align-items: end;
  }

  .hero-card {
    padding: 1.5rem;
    border-radius: 24px;
  }
}

@media (max-width: 720px) {
  .appbar-wrap {
    padding-top: 0.75rem;
  }

  .appbar,
  .mobile-nav {
    width: calc(100% - 1rem);
  }

  .toolbar {
    min-height: 66px;
    padding: 0 0.8rem 0 1rem;
  }

  .hero {
    width: calc(100% - 0.75rem);
    min-height: 560px;
  }

  .hero-content {
    min-height: 560px;
    padding: 1rem;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions p {
    font-size: 0.9rem;
  }

  .content {
    padding-top: 2.2rem;
  }

  .panel,
  .card,
  .footer-card {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .section-header {
    display: block;
  }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 1rem); }
  .hero h1 { font-size: 2.1rem; }
  .hero-card { padding: 1.15rem; }
  .brand { font-size: 1rem; }
}

/* ===== Accessibility / polish ===== */
:focus-visible {
  outline: 3px solid rgba(178, 19, 46, 0.22);
  outline-offset: 2px;
}

::selection {
  background: rgba(178, 19, 46, 0.16);
  color: var(--text);
}
