/* ============================================================
   1. Design tokens
   ============================================================ */
:root {
  --color-gold: #c8a24a;
  --color-gold-dark: #9d792b;
  --color-ink: #102019;
  --color-ink-soft: #173225;
  --color-cream: #f7f0dc;
  --color-paper: #fffaf0;
  --color-muted: rgba(255, 255, 255, 0.68);
  --color-line: rgba(200, 162, 74, 0.24);

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "DM Sans", Arial, sans-serif;

  --shadow-soft: 0 24px 70px rgba(0, 0, 0, 0.28);
  --transition: 180ms ease;
}

/* ----------------------------------------------------------
   2. Reset / base
   ---------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: #fff;
  background: var(--color-ink);
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}

/* ----------------------------------------------------------
   3. Section primitives
   ---------------------------------------------------------- */
.section-kicker {
  margin: 0 0 12px;
  color: var(--color-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.section-title,
.section-heading h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
}
.section-title span {
  color: var(--color-gold);
}
.section-copy {
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.8;
}
.section-heading {
  max-width: 820px;
  margin: 0 auto 44px;
}
.section-row-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.section-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

/* ----------------------------------------------------------
   4. Buttons
   ---------------------------------------------------------- */
.btn-primary-custom,
.btn-secondary-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition),
    background var(--transition);
}
.btn-primary-custom {
  color: #18130a;
  background: linear-gradient(135deg, #e7c870, var(--color-gold));
  box-shadow: 0 14px 34px rgba(200, 162, 74, 0.28);
}
.btn-primary-custom:hover {
  color: #18130a;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(200, 162, 74, 0.36);
}
.btn-secondary-custom {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}
.btn-secondary-custom:hover {
  color: #fff;
  border-color: rgba(200, 162, 74, 0.68);
  background: rgba(200, 162, 74, 0.12);
  transform: translateY(-2px);
}

/* ----------------------------------------------------------
   5. Tab system
   ---------------------------------------------------------- */
.tab-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}
.tab-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition:
    color var(--transition),
    background var(--transition),
    border-color var(--transition);
}
.tab-button.active,
.tab-button:hover {
  color: #17130b;
  background: var(--color-gold);
  border-color: var(--color-gold);
}

/* ----------------------------------------------------------
   6. Reveal animation
   ---------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------------------------------------
   7. Back to top
   ---------------------------------------------------------- */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #17130b;
  background: var(--color-gold);
  border-radius: 8px;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity var(--transition),
    transform var(--transition);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 991px) {
  .section-row-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(237, 232, 212, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(157, 121, 43, 0.22);
}
.site-nav-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.site-brand img {
  max-height: 78px;
}
.desktop-nav {
  display: none;
  align-items: center;
  gap: 4px;
}
.nav-link-custom {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 11px;
  color: #2d342d;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    color var(--transition),
    background var(--transition);
}
.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--color-gold-dark);
  background: rgba(200, 162, 74, 0.13);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: #18130a;
  background: linear-gradient(135deg, #e7c870, var(--color-gold));
  box-shadow: 0 14px 34px rgba(200, 162, 74, 0.28);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.nav-cta:hover {
  color: #18130a;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(200, 162, 74, 0.36);
}
.nav-toggle {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ink);
  background: #fff;
  border: 1px solid rgba(157, 121, 43, 0.26);
  border-radius: 8px;
  cursor: pointer;
}
.mobile-menu {
  display: none;
  padding: 10px 0 18px;
  border-top: 1px solid rgba(157, 121, 43, 0.18);
}
.mobile-menu.open {
  display: block;
}
.mobile-menu .container {
  display: grid;
  gap: 8px;
}
.mobile-menu .nav-link-custom {
  justify-content: flex-start;
  min-height: 42px;
}

@media (min-width: 992px) {
  .desktop-nav {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
}
@media (max-width: 991px) {
  .nav-cta {
    display: none;
  }
}

/* ============================================================
   HOME PAGE SECTIONS
   ============================================================ */
.countdown-section,
.content-section {
  padding: 78px 0;
}
.content-section {
  background: var(--color-ink);
}
.countdown-section {
  background: #0d1b14;
}
.committee-section,
.apsi-section,
.schedule-section,
.registration-section,
.contact-section {
  background: var(--color-ink-soft);
}

/* Hero */
.hero-section {
  position: relative;
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
  padding: 72px 0 96px;
  overflow: hidden;
  background: var(--color-ink);
}
.hero-image-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition:
    opacity 700ms ease,
    visibility 700ms ease,
    transform 900ms ease;
}
.hero-image-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.hero-image-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      110deg,
      rgba(12, 26, 16, 0.96),
      rgba(12, 26, 16, 0.78) 52%,
      rgba(12, 26, 16, 0.45)
    ),
    radial-gradient(
      circle at 78% 22%,
      rgba(200, 162, 74, 0.2),
      transparent 24rem
    );
  pointer-events: none;
}
.hero-image-one {
  background-image: url("https://images.unsplash.com/photo-1587474260584-136574528ed5?w=1800&q=80");
}
.hero-image-two {
  background-image: url("https://images.unsplash.com/photo-1717224202659-20cabe7b57e1?w=1800&q=80");
}
.hero-image-three {
  background-image: url("https://plus.unsplash.com/premium_photo-1661919589683-f11880119fb7?w=1800&q=80");
}

.hero-content {
  position: relative;
  z-index: 2;
}
.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 2.5rem + 2.5vw, 4.5rem);
  font-weight: 900;
  line-height: 0.94;
}
.hero-title span {
  color: var(--color-gold);
}
.hero-theme {
  margin: 20px 0 0;
  color: var(--color-gold);
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  font-weight: 700;
}
.hero-copy {
  max-width: 690px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.75;
}
.hero-facts {
  display: grid;
  gap: 12px;
  max-width: 680px;
  margin-top: 28px;
}
.hero-facts div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}
.hero-facts i {
  color: var(--color-gold);
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-panel {
  padding: 28px;
  background: rgba(13, 27, 20, 0.88);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}
.hero-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 0 22px;
}
.hero-logo-grid img {
  width: 100%;
  aspect-ratio: 1 / 0.72;
  object-fit: contain;
  padding: 12px;
  background: #fff;
  border-radius: 8px;
}
.hero-logo-grid img:nth-child(1) {
  padding: 0;
}
.hero-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
  line-height: 1.65;
}

.hero-controls {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateX(-50%);
}
.hero-arrow,
.hero-dots button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
}
.hero-arrow {
  width: 42px;
  height: 42px;
  color: #fff;
  border-radius: 8px;
}
.hero-arrow:hover {
  color: #17130b;
  background: var(--color-gold);
  border-color: var(--color-gold);
  transform: translateY(-2px);
}
.hero-dots {
  display: flex;
  gap: 8px;
}
.hero-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 50%;
}
.hero-dots button.active {
  background: var(--color-gold);
  border-color: var(--color-gold);
  transform: scale(1.25);
}

/* Countdown */
.count-card {
  height: 100%;
  padding: 24px 18px;
  text-align: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}
.count-card strong {
  display: block;
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5vw, 3.3rem);
  line-height: 1;
}
.count-card span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Welcome */
.welcome-card {
  display: grid;
  gap: 14px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}
.welcome-card div {
  padding: 20px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}
.welcome-card strong,
.welcome-card span {
  display: block;
}
.welcome-card strong {
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1;
}
.welcome-card span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
}

/* Committee & APSI — compact member grid */
.committee-panel {
  display: none;
}
.committee-panel.active {
  display: block;
}
.member-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}
.member-card {
  display: flex;
  flex-direction: column;
  width: 190px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
}
.member-card:hover {
  border-color: rgba(200, 162, 74, 0.45);
  background: rgba(200, 162, 74, 0.08);
  transform: translateY(-3px);
}
.member-photo {
  background: #0b1510;
}
.member-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top;
}
.member-body {
  padding: 14px 16px 16px;
}
.member-body h3 {
  margin: 0;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.3;
}
.member-body p {
  margin: 5px 0 0;
  color: var(--color-gold);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.4;
}

/* Flat variant: no photo supplied — compact name/role pill, no image block */
.member-card-flat {
  flex-direction: row;
  align-items: center;
  min-height: 0;
  width: auto;
  min-width: 190px;
}
.member-card-flat .member-body {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.member-card-flat:hover {
  transform: none;
}

@media (max-width: 575px) {
  .member-grid {
    gap: 12px;
  }
  .member-card {
    width: 140px;
  }
  .member-card-flat {
    min-width: 0;
    width: 100%;
  }
  .member-body {
    padding: 10px 12px 12px;
  }
  .member-body h3 {
    font-size: 0.84rem;
  }
  .member-body p {
    font-size: 11px;
  }
}

/* Highlights */
.feature-card {
  height: 100%;
  padding: 24px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
}
.feature-card:hover {
  border-color: rgba(200, 162, 74, 0.45);
  background: rgba(200, 162, 74, 0.08);
  transform: translateY(-4px);
}
.feature-card i {
  color: var(--color-gold);
  font-size: 2rem;
  margin-bottom: 18px;
}
.feature-card h3 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}
.feature-card p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

/* Schedule */
.schedule-panel {
  display: none;
}
.schedule-panel.active {
  display: block;
}
.schedule-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 22px;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}
.schedule-item time {
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
}
.schedule-item h3 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}
.schedule-item p {
  margin: 7px 0 0;
  color: var(--color-gold);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}
.schedule-item span {
  padding: 6px 12px;
  color: var(--color-gold);
  background: rgba(200, 162, 74, 0.1);
  border: 1px solid rgba(200, 162, 74, 0.28);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

/* Registration table */
.registration-table {
  width: 100%;
  min-width: 820px;
  overflow: hidden;
  color: #fff;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}
.registration-table th,
.registration-table td {
  text-wrap-mode: nowrap;
  padding: 16px 14px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.registration-table th {
  color: #18130a;
  background: var(--color-gold);
  font-weight: 800;
}
.registration-table th:first-child,
.registration-table td:first-child {
  text-align: left;
}
.registration-table th small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  opacity: 0.82;
}
.registration-table tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.04);
}
.registration-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.07);
}
.registration-table td {
  font-weight: 800;
}

/* Venue showcase — featured image + compact nearby list */
.venue-showcase {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.venue-feature {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.venue-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}
.venue-feature-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 26px;
  background: rgba(200, 162, 74, 0);
  opacity: 0;
  transition:
    opacity var(--transition),
    background var(--transition);
}
.venue-feature p {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 40px 18px 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}
.venue-feature:hover img {
  transform: scale(1.05);
}
.venue-feature:hover .venue-feature-overlay {
  opacity: 1;
  background: rgba(200, 162, 74, 0.35);
}

.venue-list {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 10px;
}
.venue-list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition:
    border-color var(--transition),
    background var(--transition);
}
.venue-list-item:hover {
  border-color: rgba(200, 162, 74, 0.4);
  background: rgba(200, 162, 74, 0.08);
}
.venue-list-thumb {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  overflow: hidden;
  border-radius: 8px;
}
.venue-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.venue-list-item span {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 767px) {
  .venue-showcase {
    grid-template-columns: 1fr;
  }
  .venue-feature {
    min-height: 220px;
  }
  .venue-list {
    grid-template-rows: none;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .venue-list {
    grid-template-columns: 1fr;
  }
}

/* Venue detail card */
.venue-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
}
.venue-detail-img {
  min-height: 340px;
  overflow: hidden;
}
.venue-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}
.venue-detail-card:hover .venue-detail-img img {
  transform: scale(1.04);
}
.venue-detail-body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}
.venue-detail-body h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.venue-detail-address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1.55;
}
.venue-detail-address i {
  color: var(--color-gold);
  margin-top: 3px;
  flex-shrink: 0;
}
.venue-amenity-list {
  margin: 0 0 28px;
  padding: 0;
}
.venue-detail-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 991px) {
  .venue-detail-card {
    grid-template-columns: 1fr;
  }
  .venue-detail-img {
    min-height: 240px;
  }
}
@media (max-width: 575px) {
  .venue-detail-body {
    padding: 22px 18px;
  }
}

/* Contact */
.contact-card {
  height: 100%;
  padding: 28px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}
.contact-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #17130b;
  background: var(--color-gold);
  border-radius: 8px;
  font-size: 22px;
}
.contact-label {
  margin: 0 0 7px;
  color: var(--color-gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.contact-card h3 {
  margin: 0 0 20px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
}
.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 13px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
  text-decoration: none;
}
.contact-line i {
  width: 18px;
  margin-top: 4px;
  color: var(--color-gold);
  text-align: center;
}
a.contact-line:hover {
  color: #fff;
}
.contact-person {
  display: block;
  padding: 16px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  text-decoration: none;
  transition:
    border-color var(--transition),
    background var(--transition);
}
.contact-person:hover {
  color: #fff;
  background: rgba(200, 162, 74, 0.08);
  border-color: rgba(200, 162, 74, 0.4);
}
.contact-person strong,
.contact-person span {
  display: block;
}
.contact-person strong {
  margin-bottom: 8px;
  color: #fff;
  font-size: 1.05rem;
}
.contact-person i {
  color: var(--color-gold);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding: 42px 0 0;
  background: linear-gradient(180deg, rgba(13, 27, 20, 0.98), #09130e), #0d1b14;
  border-top: 3px solid var(--color-gold);
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) minmax(260px, 1.4fr) auto;
  align-items: start;
  gap: 34px;
}
.footer-brand {
  display: inline-flex;
}
.footer-logo {
  max-height: 78px;
  background: #fff;
  border-radius: 8px;
}
.footer-copy {
  max-width: 520px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
}
.footer-theme {
  margin: 8px 0 0;
  color: var(--color-gold);
  font-weight: 800;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 8px 18px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-nav a:hover {
  color: var(--color-gold);
}
.footer-connect {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
}
.visitor-count {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.visitor-number {
  max-width: 320px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--color-gold);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(200, 162, 74, 0.42);
  border-radius: 8px;
  font-family: var(--font-body);
  letter-spacing: 0.14em;
}
.visitor-number img {
  max-width: 100%;
  height: auto;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  text-decoration: none;
  transition:
    color var(--transition),
    background var(--transition);
}
.footer-social a:hover {
  color: #17130b;
  background: var(--color-gold);
}
.footer-contact-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}
.footer-contact-card {
  padding: 20px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}
.footer-contact-label {
  margin: 0 0 7px;
  color: var(--color-gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.footer-contact-card h2 {
  margin: 0 0 14px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
}
.footer-contact-card p,
.footer-contact-card a {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0 0 9px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
}
.footer-contact-card a {
  transition: color var(--transition);
}
.footer-contact-card a:hover {
  color: #fff;
}
.footer-contact-card i {
  width: 16px;
  margin-top: 3px;
  color: var(--color-gold);
  text-align: center;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
}
.footer-bottom a {
  color: var(--color-gold);
  text-decoration: none;
}
.footer-managed {
  color: rgba(255, 255, 255, 0.6) !important;
  font-weight: 700;
}

@media (max-width: 991px) {
  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand,
  .footer-connect {
    align-items: center;
    justify-content: center;
  }
  .footer-logo {
    margin: 0 auto;
  }
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
  .footer-contact-strip {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   RESPONSIVE (home)
   ============================================================ */
@media (max-width: 991px) {
  .hero-section {
    min-height: auto;
    padding: 62px 0 92px;
  }
  .hero-panel {
    margin-top: 6px;
  }
}
@media (max-width: 767px) {
  .hero-section,
  .countdown-section,
  .content-section {
    padding: 58px 0;
  }
  .hero-section {
    min-height: 0;
    padding-bottom: 88px;
  }
  .hero-copy {
    font-size: 16px;
  }
  .hero-facts div {
    align-items: flex-start;
  }
  .hero-logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-logo-grid img:last-child {
    grid-column: span 2;
    max-height: 92px;
  }
  .hero-controls {
    bottom: 20px;
  }
  .hero-arrow {
    width: 38px;
    height: 38px;
  }
  .schedule-item {
    grid-template-columns: 1fr;
  }
  .schedule-item span {
    justify-self: start;
  }
}

/* ============================================================
   AUTH PAGE — Register / Login
   ============================================================ */
.auth-page {
  background:
    radial-gradient(
      circle at 12% 0%,
      rgba(200, 162, 74, 0.14),
      transparent 34rem
    ),
    var(--color-ink);
}
.auth-main {
  min-height: calc(100vh - 82px - 92px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 0;
}
.auth-section {
  width: 100%;
}
.auth-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}
.auth-header {
  padding: 34px clamp(24px, 5vw, 46px);
  background:
    linear-gradient(
      135deg,
      rgba(200, 162, 74, 0.14),
      rgba(255, 255, 255, 0.04)
    ),
    rgba(13, 27, 20, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.auth-header h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
}
.auth-header p:last-child {
  max-width: 680px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}
.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.auth-tab {
  min-height: 50px;
  color: rgba(255, 255, 255, 0.66);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}
.auth-tab.active,
.auth-tab:hover {
  color: #17130b;
  background: var(--color-gold);
  border-color: var(--color-gold);
}
.auth-body {
  padding: clamp(24px, 5vw, 46px);
}
.auth-panel {
  display: none;
}
.auth-panel.active {
  display: block;
}
.auth-form-label {
  margin: 0 0 18px;
  color: var(--color-gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.form-label {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
}
.form-control,
.form-control:disabled,
.form-select {
  min-height: 52px;
  color: #fff;
  background-color: rgba(5, 12, 9, 0.72);
  border-color: rgba(200, 162, 74, 0.3);
  border-radius: 8px;
}
textarea.form-control {
  min-height: 84px;
  resize: vertical;
}
.form-control::placeholder {
  color: rgba(255, 255, 255, 0.38);
}
.form-control:focus,
.form-select:focus {
  color: #fff;
  background-color: rgba(5, 12, 9, 0.92);
  border-color: var(--color-gold);
  box-shadow: 0 0 0 0.22rem rgba(200, 162, 74, 0.14);
}
.form-select option {
  color: #fff;
  background-color: var(--color-ink);
}
.form-control.is-invalid,
.form-select.is-invalid {
  border-color: #e06262;
}
.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
  border-color: #e06262;
  box-shadow: 0 0 0 0.22rem rgba(224, 98, 98, 0.16);
}
.form-control.is-invalid::placeholder {
  color: #e06262;
  opacity: 1;
}
input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.auth-field {
  position: relative;
}
.auth-field .form-control {
  padding-right: 46px;
}
.auth-field > i,
.auth-field-btn {
  position: absolute;
  top: 50%;
  right: 13px;
  transform: translateY(-50%);
  color: rgba(200, 162, 74, 0.7);
}
.auth-field-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
.auth-field-btn:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}
.auth-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 52px;
  align-items: center;
  border-radius: 8px;
}
.auth-radio-group.is-invalid {
  border-color: #e06262;
}
.auth-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.375rem 0.75rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  font-weight: 400;
  background-color: rgba(5, 12, 9, 0.72);
  border: 1px solid rgba(200, 162, 74, 0.3);
  border-radius: 8px;
  cursor: pointer;
  transition:
    background var(--transition),
    border-color var(--transition),
    color var(--transition);
}
.auth-radio input {
  display: none;
}
.auth-radio:hover {
  border-color: rgba(200, 162, 74, 0.45);
}
.auth-radio:has(input:checked) {
  color: #17130b;
  font-weight: 700;
  background: var(--color-gold);
  border-color: var(--color-gold);
}
.auth-divider {
  height: 1px;
  margin: 30px 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(200, 162, 74, 0.34),
    transparent
  );
}
.auth-submit {
  width: 100%;
  margin-top: 28px;
}

@media (max-width: 575px) {
  .auth-tabs {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   DASHBOARD
   ============================================================ */
.dash-greet-card {
  padding: 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.015);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  border-radius: 8px;
  margin-bottom: 28px;
}

.dash-info-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.dash-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.dash-info-row:last-of-type {
  border-bottom: 0;
}
.dash-info-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.dash-info-label i {
  color: var(--color-gold);
  font-size: 16px;
}
.dash-info-value {
  color: #fff;
  font-weight: 700;
  text-align: right;
}
.dash-info-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding-top: 22px;
}

.dash-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.dash-action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 130px;
  padding: 24px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
}
.dash-action-card i {
  color: var(--color-gold);
  font-size: 2rem;
}
.dash-action-card span {
  font-weight: 800;
  font-size: 14px;
}
.dash-action-card:hover {
  color: #fff;
  border-color: rgba(200, 162, 74, 0.45);
  background: rgba(200, 162, 74, 0.08);
  transform: translateY(-4px);
}
.dash-action-danger i {
  color: #e06262;
}
.dash-action-danger:hover {
  border-color: rgba(224, 98, 98, 0.45);
  background: rgba(224, 98, 98, 0.08);
}

@media (max-width: 575px) {
  .dash-actions {
    grid-template-columns: 1fr;
  }
  .dash-info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .dash-info-value {
    text-align: left;
  }
}

/* ============================================================
   REGISTRATION / CHECKOUT — append to style.css
   ============================================================ */

/* highlight active fee tier column on registration page */
.registration-table td.tier-active {
  position: relative;
  background: rgba(200, 162, 74, 0.16);
  color: var(--color-gold);
}
.registration-table th.tier-active {
  background: var(--color-gold-dark);
}

/* select to match form-control */
.form-select {
  min-height: 52px;
  color: #fff;
  background-color: rgba(5, 12, 9, 0.72);
  border: 1px solid rgba(200, 162, 74, 0.3);
  border-radius: 8px;
}
.form-select:focus {
  color: #fff;
  background-color: rgba(5, 12, 9, 0.92);
  border-color: var(--color-gold);
  box-shadow: 0 0 0 0.22rem rgba(200, 162, 74, 0.14);
}
.form-select.is-invalid {
  border-color: #e06262;
}

/* file input to match form-control */
input[type="file"].form-control {
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.72);
}
input[type="file"].form-control::file-selector-button {
  padding: 7px 14px;
  margin-right: 14px;
  color: #17130b;
  background: var(--color-gold);
  border: 0;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background var(--transition);
}
input[type="file"].form-control::file-selector-button:hover {
  background: var(--color-gold-dark);
}

/* disabled amount-display field, styled to read as informational not editable */
.form-control:disabled#r-amount-display {
  color: var(--color-gold);
  font-weight: 800;
  background-color: rgba(200, 162, 74, 0.08);
  border-color: rgba(200, 162, 74, 0.3);
  opacity: 1;
}

/* checkout summary */
.checkout-summary {
  display: grid;
  gap: 2px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
}
.checkout-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.045);
}
.checkout-row span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.checkout-row strong {
  color: #fff;
  font-weight: 800;
  text-align: right;
}
.checkout-total {
  background: rgba(200, 162, 74, 0.12);
}
.checkout-total span,
.checkout-total strong {
  color: var(--color-gold);
  font-size: 1.1rem;
}

/* payment method selector */
.payment-method-list {
  display: grid;
  gap: 12px;
  margin-bottom: 8px;
}
.payment-method-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(5, 12, 9, 0.72);
  border: 1px solid rgba(200, 162, 74, 0.3);
  border-radius: 8px;
  cursor: pointer;
  transition:
    border-color var(--transition),
    background var(--transition);
}
.payment-method-option input {
  display: none;
}
.payment-method-option i {
  font-size: 1.6rem;
  color: var(--color-gold);
}
.payment-method-option strong,
.payment-method-option span {
  display: block;
}
.payment-method-option strong {
  color: #fff;
  font-size: 14px;
}
.payment-method-option span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}
.payment-method-option.active,
.payment-method-option:has(input:checked) {
  border-color: var(--color-gold);
  background: rgba(200, 162, 74, 0.1);
}

/* ============================================================
   ABSTRACTS SECTION
   ============================================================ */
.abstract-points {
  margin: 0;
  padding: 0 0 0 20px;
  display: grid;
  gap: 12px;
}
.abstract-points li {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.65;
}
.abstract-points li::marker {
  color: var(--color-gold);
}
.abstract-guidelines-card {
  margin-top: 30px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}
.abstract-guidelines-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
}
.abstract-guidelines-card h3 i {
  color: var(--color-gold);
}
.section-heading .btn-secondary-custom,
.section-heading .btn-primary-custom {
  margin-top: 6px;
}
