:root {
  --navy: #0b0d3e;
  --navy-deep: #050625;
  --navy-soft: #11134c;
  --gold: #dac27b;
  --gold-bright: #f2de9d;
  --white: #fbfbff;
  --muted: rgba(255, 255, 255, 0.74);
  --stroke: rgba(218, 194, 123, 0.28);
  --glass: rgba(255, 255, 255, 0.065);
  --glass-strong: rgba(255, 255, 255, 0.11);
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  font-family: "Inter", system-ui, sans-serif;
  background:
    radial-gradient(circle at top, rgba(218, 194, 123, 0.10), transparent 28rem),
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.06), transparent 18rem),
    linear-gradient(180deg, var(--navy), var(--navy-deep) 58%, #030416);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.18) 1px, transparent 1.2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent);
  background-size: 58px 58px, 100% 100%;
  opacity: 0.22;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 3.5rem);
  background: rgba(5, 6, 37, 0.78);
  border-bottom: 1px solid rgba(218, 194, 123, 0.18);
  backdrop-filter: blur(18px);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--stroke);
  box-shadow: 0 0 24px rgba(218, 194, 123, 0.18);
}

.nav-box {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
}

.nav-box a {
  min-width: 6.8rem;
  padding: 0.85rem 1rem;
  text-align: center;
  color: var(--white);
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.055);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  transition: 0.2s ease;
}

.nav-box a:hover,
.register-btn:hover,
.gold-btn:hover,
.ghost-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(242, 222, 157, 0.72);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.register-btn {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.3rem;
  border: 1px solid rgba(242, 222, 157, 0.62);
  border-radius: 999px;
  color: var(--navy-deep);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  font-weight: 800;
  transition: 0.2s ease;
}

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

.section-panel {
  position: relative;
  overflow: hidden;
  margin: 0 0 2rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  border: 1px solid var(--stroke);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    rgba(5, 6, 37, 0.42);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.section-panel::after {
  content: "";
  position: absolute;
  inset: auto -8rem -12rem auto;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(218, 194, 123, 0.12), transparent 68%);
  pointer-events: none;
}

.hero {
  min-height: calc(100vh - 7rem);
  display: grid;
  place-items: center;
  text-align: center;
}

.hero-glow {
  position: absolute;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(218, 194, 123, 0.12), transparent 65%);
  filter: blur(4px);
}

.hero > *:not(.hero-glow) {
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: clamp(7rem, 18vw, 12rem);
  height: clamp(7rem, 18vw, 12rem);
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(242, 222, 157, 0.45);
  box-shadow: 0 0 50px rgba(218, 194, 123, 0.2);
}

.eyebrow {
  margin: 1.2rem 0 0.6rem;
  color: var(--gold);
  font-family: "Cinzel", serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cinzel", serif;
  letter-spacing: 0.02em;
}

h1 {
  max-width: 100%;
  font-size: clamp(3.1rem, 8.2vw, 7.8rem);
  line-height: 0.95;
  text-transform: uppercase;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
}

h2 {
  color: var(--gold-bright);
  font-size: clamp(2rem, 4.7vw, 4rem);
  line-height: 1.05;
}

h3 {
  color: var(--white);
}

.motto-art {
  width: min(760px, 92%);
  margin: 1.35rem auto 0;
  filter: drop-shadow(0 8px 24px rgba(218, 194, 123, 0.14));
}

.hero-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.hero-details span {
  padding: 0.8rem 1.1rem;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: var(--glass);
  color: var(--white);
  font-weight: 700;
}

.countdown,
.committees,
.about,
.contact {
  scroll-margin-top: 6rem;
}

.countdown {
  text-align: center;
}

.timer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.timer div,
.committee-card,
.why-content article,
.solace-one,
.agenda-box {
  border: 1px solid var(--stroke);
  background: var(--glass);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.timer div {
  padding: 1.5rem 1rem;
  border-radius: 18px;
}

.timer strong {
  display: block;
  color: var(--gold-bright);
  font-family: "Cinzel", serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.timer span {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.78rem;
}

.section-intro {
  max-width: 680px;
  margin: 1rem 0 2rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.committee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.committee-card {
  min-height: 13rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  border-radius: 18px;
  color: var(--white);
  text-align: left;
  cursor: pointer;
  transition: 0.22s ease;
}

.committee-card:hover {
  transform: translateY(-4px);
  background: var(--glass-strong);
  border-color: rgba(242, 222, 157, 0.68);
}

.committee-card span {
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
}

.committee-card h3 {
  margin-top: 0.8rem;
  font-size: 1.6rem;
}

.committee-card p {
  color: var(--muted);
  line-height: 1.55;
}

.why-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid rgba(242, 222, 157, 0.55);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(218, 194, 123, 0.16), rgba(255, 255, 255, 0.06));
  color: var(--white);
  font-family: "Cinzel", serif;
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 800;
  cursor: pointer;
}

.why-toggle span {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: rgba(218, 194, 123, 0.15);
  color: var(--gold-bright);
}

.why-content {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: 0.35s ease;
}

.why-content.open {
  max-height: 40rem;
  opacity: 1;
  margin-top: 1rem;
}

.why-content article {
  padding: 1rem;
  border-radius: 16px;
}

.why-content h3 {
  min-height: 2.7rem;
  color: var(--gold-bright);
  font-size: 1rem;
}

.why-content p,
.solace-one p {
  color: var(--muted);
  line-height: 1.7;
}

.solace-one {
  margin-top: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 20px;
}

.solace-one h3 {
  color: var(--gold-bright);
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
}

.solace-one strong {
  color: var(--white);
}

.contact {
  text-align: center;
}

.contact .section-intro {
  margin-left: auto;
  margin-right: auto;
}

.contact-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.gold-btn,
.ghost-btn {
  display: inline-flex;
  min-width: 11rem;
  justify-content: center;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.2s ease;
}

.gold-btn {
  color: var(--navy-deep);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  border: 1px solid rgba(242, 222, 157, 0.62);
}

.ghost-btn {
  border: 1px solid var(--stroke);
  background: var(--glass);
}

footer {
  width: min(1180px, calc(100% - 2rem));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin: 0 auto;
  padding: 1rem 0 2rem;
  color: var(--muted);
}

footer img {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 3, 17, 0.78);
  backdrop-filter: blur(10px);
}

.modal-card {
  position: relative;
  width: min(720px, 100%);
  max-height: min(86vh, 680px);
  overflow: auto;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgba(242, 222, 157, 0.48);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045)),
    var(--navy-deep);
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.58);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--stroke);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  font-size: 1.45rem;
  cursor: pointer;
}

.modal-full {
  margin: 0.8rem 0 1.3rem;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.agenda-box {
  padding: 1.2rem;
  border-radius: 18px;
}

.agenda-box span {
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
}

.agenda-box p {
  margin: 0.55rem 0 0;
  color: var(--white);
  font-size: 1.1rem;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto 1fr;
  }

  .nav-box {
    order: 3;
    grid-column: 1 / -1;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .register-btn {
    grid-column: 2;
  }

  .committee-grid,
  .why-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .timer {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  main {
    width: min(100% - 1rem, 1180px);
    padding-top: 1rem;
  }

  .site-header {
    padding: 0.7rem;
  }

  .brand img {
    width: 2.7rem;
    height: 2.7rem;
  }

  .register-btn {
    padding: 0.78rem 1rem;
  }

  .nav-box a {
    min-width: 6.2rem;
    padding: 0.72rem 0.85rem;
  }

  .section-panel {
    border-radius: 18px;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .committee-grid,
  .why-content,
  .timer {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
    gap: 0.4rem;
  }
}
