html {
  scroll-behavior: smooth;
}

/* ================= GLOBAL RESET ================= */
* {
  box-sizing: border-box;
}

body {
  background: #e7ebf3;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #111;
  line-height: 1.6;
  padding-top: 70px; /* height of navbar */

}

h1, h2 {
  font-family: 'Playfair Display', serif;
}

h2 {
  font-size: 32px;
  margin-bottom: 20px;
  text-align: center;
}

/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  top: 0;
  z-index: 1000;
  background: #0b0f1a;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-container {
  max-width: 1100px;
  margin: auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
}

.brand-link {
  color: #f5c542;
  font-weight: 700;
  text-decoration: none;
}

.brand-link:hover {
  opacity: 0.9;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #f5f5f5;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #f2c94c;
  font-weight: 600;
  border-bottom: 2px solid #f2c94c;
  padding-bottom: 4px;
}

/* ================= SECTIONS ================= */
.section {
  background: #f9faff;
  border-radius: 16px;
  padding: 70px 20px;
  max-width: 1100px;
  margin: 60px auto;
  box-shadow: 0 12px 30px rgba(15, 20, 60, 0.08);
}
/* Light section background explicitly */
.section.light {
  background: #f9faff;
}

.section-title-gold {
  color: #f5c542;
  text-align: center;
}

.section-text {
  max-width: 750px;
  margin: auto;
  text-align: center;
  font-size: 16px;
}

/* ================= HERO ================= */
.hero {
  background: linear-gradient(180deg, #0b0f1a, #11162a);
  color: #fff;
  padding: 120px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 44px;
  color: #f2c94c;
}

/* ================= HERO FEATURE ================= */
.hero-feature {
  background: linear-gradient(180deg, #161c3a, #11162a);
  border: 1.5px solid rgba(245, 197, 66, 0.55);
  border-radius: 18px;
  padding: 42px 36px;
  max-width: 860px;
  margin: 40px auto 0;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.5);
}

.tagline {
  font-size: 18px;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.95);
}

.subtext {
  max-width: 650px;
  margin: 20px auto;
  color: rgba(255,255,255,0.9);
}

/* ================= INFO PANEL ================= */
.info-panel {
  background: linear-gradient(180deg, #fbfcff, #f4f6fb);
  border-radius: 18px;
  padding: 60px 40px;
  max-width: 900px;
  margin: auto;
}

/* ================= BUTTON ================= */
.btn-primary {
  display: inline-block;
  margin-top: 25px;
  padding: 14px 34px;
  background: #f2c94c;
  color: #000;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(242, 201, 76, 0.35);
}

/* ================= DARK SECTIONS ================= */
.dark {
  background: linear-gradient(180deg, #0a1022, #0e1630);
  color: #fff;
}

/* ================= CARDS ================= */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.price-card {
  background: #151a33;
  border: 1.5px solid rgba(245,197,66,0.4);
  padding: 36px;
  border-radius: 14px;
  text-align: center;
  color: #fff;
  box-shadow: 0 18px 42px rgba(0,0,0,0.35);
}

/* ================= FOOTER ================= */
.footer {
  border-top: 1px solid rgba(0,0,0,0.12);
  margin-top: 60px;
  padding: 30px 20px;
  background: #f1f3f7;
  text-align: center;
}

.brand-arenax {
  color: #c4161c;
  font-weight: 800;
  letter-spacing: 0.4px;
}
.footer-credentials {
  margin-top: 12px;
  font-size: 13px;
  opacity: 0.85;
  line-height: 1.6;
}

.footer-note {
  margin-top: 10px;
  font-size: 12px;
  opacity: 0.75;
}
.footer-links a {
  font-size: 13px;
  opacity: 0.85;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}



/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .section {
    padding: 50px 16px;
    margin: 40px 14px;
  }

  .hero {
    padding: 90px 16px;
  }

  .hero h1 {
    font-size: 32px;
  }
}

/* ================= EVENTS PAGE FIX: CATEGORIES ================= */

/* Dark background for Categories section */
.section-royal {
  background: linear-gradient(180deg, #0a1022, #0e1630);
  color: #ffffff;
}

/* Grid already exists – ensure spacing */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

/* Make Game Modes & Age Groups look like price cards */
.category-box {
  background: #151a33;
  border: 1.5px solid rgba(245, 197, 66, 0.45);
  border-radius: 14px;
  padding: 30px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(0,0,0,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(0,0,0,0.45);
}

.category-box h3 {
  color: #f5c542;
  margin-bottom: 14px;
}

/* Note text under categories */
.category-note {
  text-align: center;
  margin-top: 24px;
  color: rgba(255,255,255,0.85);
}
/* ================= EVENTS PAGE – VISUAL PARITY WITH INDEX ================= */

/* Ensure Categories section stays DARK */
.section-royal {
  background: linear-gradient(180deg, #0a1022, #0e1630);
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(0,0,0,0.35);
}

/* Categories as highlight cards (Game Modes / Age Groups) */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.category-box {
  background: #151a33;
  border: 1.5px solid rgba(245, 197, 66, 0.45);
  border-radius: 16px;
  padding: 34px 28px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 20px 46px rgba(0,0,0,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 56px rgba(0,0,0,0.5);
}

.category-box h3 {
  color: #f5c542;
  margin-bottom: 16px;
}

/* Category note */
.category-note {
  text-align: center;
  margin-top: 26px;
  color: rgba(255,255,255,0.85);
}

/* ================= EVENTS PAGE – AWARDS DARK FIX ================= */
.section.dark {
  background: linear-gradient(180deg, #0a1022, #0e1630);
  color: #ffffff;
}

/* Ensure award cards look like highlight cards */
.section.dark .price-card {
  background: #151a33;
  border: 1.5px solid rgba(245,197,66,0.4);
  border-radius: 14px;
  padding: 36px;
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(0,0,0,0.35);
}

/* ================= CERTIFICATE IMAGE FIX ================= */
.certificate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.certificate-info {
  text-align: left;
}

.certificate-grid .price-card {
  max-width: 420px;
  margin: auto;
}

/* Mobile stack */
@media (max-width: 768px) {
  .certificate-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
/* ================= EVENT OVERVIEW – SOFTER BACKGROUND ================= */
#event + .section .info-panel,
#overview .info-panel {
  background: linear-gradient(180deg, #f3f5fa, #eceff6);
  border-color: rgba(15, 20, 60, 0.15);
}

/* ================= EARLY BIRD HIGHLIGHT (OVERRIDE DARK) ================= */
.section.dark .early-bird-box {
  background: linear-gradient(180deg, #fff4cc, #ffe9a8);
  border: 2px solid #f2c94c;
  color: #111;
  text-align: center;
  max-width: 680px;
  margin: 40px auto 0;
  box-shadow: 0 18px 40px rgba(242, 201, 76, 0.35);
}

.section.dark .early-bird-box h4 {
  font-size: 1.25rem;
  font-weight: 700;
}

.section.dark .early-bird-box p {
  font-size: 1.05rem;
  font-weight: 500;
}

/* ================= CATEGORIES – MAKE THEM HERO ELEMENTS ================= */
.category-box h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.category-box p {
  font-size: 1.05rem;
  margin: 10px 0;
}

/* ================= AWARDS – MARKETING EMPHASIS ================= */
.section.dark .price-card {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* ================= CERTIFICATE IMAGE CARD FIX ================= */
.certificate-grid .price-card {
  max-width: 420px;
  margin: auto;
  text-align: center;
}

/* ================= MOBILE POLISH ================= */
@media (max-width: 768px) {
  .category-box h3 {
    font-size: 1.25rem;
  }

  .section.dark .early-bird-box {
    padding: 22px 18px;
  }
}

/* ================= CERTIFICATE SECTION – CONTENT CARD ================= */
.certificate-info {
  background: linear-gradient(180deg, #161c3a, #11162a);
  border: 1.5px solid rgba(245, 197, 66, 0.45);
  border-radius: 18px;
  padding: 32px 30px;
  max-width: 520px;
  box-shadow: 0 22px 48px rgba(0,0,0,0.45);
}

.certificate-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.certificate-info li {
  font-size: 1.05rem;
  margin-bottom: 14px;
  line-height: 1.6;
}

/* Center certificate layout */
.certificate-grid {
  align-items: center;
  justify-items: center;
}

/* ================= REGISTER CTA FIX ================= */
#register .btn-primary {
  display: inline-block;
  margin: 30px auto 0;
}

/* ================= SMOOTHER CARD EDGES (GLOBAL) ================= */
.price-card,
.card,
.early-bird-box,
.category-box,
.hero-feature,
.info-panel {
  border-radius: 22px;
}

/* ================= FUTURE HOVER POP (SAFE, DISABLED BY DEFAULT) ================= */
.price-card,
.card,
.certificate-info {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.price-card:hover,
.card:hover,
.certificate-info:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(0,0,0,0.5);
}
/* ===== FIX REGISTER BUTTON ALIGNMENT ===== */
/* ADD THIS AT THE VERY END OF style.css */

#register {
  text-align: center;
}

#register .btn-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 28px auto 0;
}

/* ===================== ADD TO END OF EXISTING style.css ===================== */

/* Soothing overview background */
.overview-soft {
  background: linear-gradient(180deg, #f3f5fa, #eef1f7);
}

/* Highlight grid spacing */
.highlight-grid {
  margin-top: 40px;
}

/* Early bird highlighted box */
.early-bird-highlight {
  background: #fff6dc;
  border-radius: 18px;
  padding: 26px;
  margin: 50px auto 0;
  max-width: 720px;
  text-align: center;
  box-shadow: 0 16px 36px rgba(15,20,60,0.15);
}

/* Certificate info card */
.certificate-info-box {
  text-align: left;
  box-shadow: 0 18px 42px rgba(0,0,0,0.35);
}

/* Certificate preview card */
.certificate-preview-box {
  text-align: center;
  box-shadow: 0 18px 42px rgba(0,0,0,0.35);
}

.certificate-preview-box img {
  max-width: 100%;
  border-radius: 12px;
  margin-bottom: 18px;
}

/* Center CTA consistently */
.cta-wrapper {
  display: flex;
  justify-content: center;
  margin: 28px 0;
}
/* ===== Early Bird text visibility fix ===== */
.early-bird-highlight,
.early-bird-box {
  color: #111 !important;
}

.early-bird-highlight h4,
.early-bird-box h4 {
  color: #111 !important;
}

.early-bird-highlight p,
.early-bird-box p {
  color: #111 !important;
}
/* ================= MOBILE NAV FIX ================= */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .nav-links a {
    font-size: 13px;
    padding-bottom: 2px;
  }
}

/* ================= MOBILE HERO FIX ================= */
@media (max-width: 768px) {
  .hero {
    padding: 70px 16px;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.25;
    max-width: 320px;
    margin: 0 auto 20px;
  }

  .hero-feature {
    padding: 28px 22px;
    margin-top: 28px;
  }

  .hero-feature .tagline {
    font-size: 16px;
    line-height: 1.4;
  }

  .hero-feature .subtext {
    font-size: 14px;
    line-height: 1.6;
  }

  .btn-primary {
    width: 100%;
    max-width: 240px;
  }
}
/* ================= MOBILE TEXT RHYTHM ================= */
@media (max-width: 768px) {
  h2 {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .section-text {
    font-size: 15px;
    line-height: 1.6;
  }

  .cards {
    gap: 18px;
  }
}
/* ================= FAQ PAGE ================= */
.faq-section {
  max-width: 900px;
}

.faq-card {
  background: linear-gradient(180deg, #151a33, #0e1630);
  border: 1.5px solid rgba(245, 197, 66, 0.35);
  border-radius: 18px;
  padding: 28px 32px;
  margin: 22px auto;
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(0,0,0,0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.faq-card h3 {
  color: #f2c94c;
  margin-bottom: 10px;
  font-size: 20px;
}

.faq-card p {
  opacity: 0.92;
  font-size: 15px;
  line-height: 1.6;
}

/* Hover micro-animation (desktop only) */
@media (hover: hover) {
  .faq-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.55);
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 84px;
  }
}

/* ================= CERTIFICATE INFO – TEXT WEIGHT NORMALIZATION ================= */

/* Ensure body text inside certificate cards is NOT bold */
#certificate .price-card p,
#certificate .price-card li {
  font-weight: 400;
  opacity: 0.92;
}

/* Keep headings clearly distinguished */
#certificate .price-card h3 {
  font-weight: 600;
}

/* Slightly soften bullet spacing */
#certificate .price-card ul {
  padding-left: 18px;
}

#certificate .price-card li {
  margin-bottom: 8px;
}

.section.center .btn-primary {
  display: inline-flex;
  margin-left: auto;
  margin-right: auto;
}
/* ================= SUBTLE CARD TEXT (FOR STATUS / NOTES) ================= */

.subtle-card p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  opacity: 0.9;
  text-align: center;
}
/* ================= SPONSOR PAGE – TYPOGRAPHY NORMALIZATION ================= */

/* Make descriptive text calm (not bold-looking) */
.sponsor-page .price-card p {
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.92;
}

/* Keep headings visually distinct */
.sponsor-page .price-card h3 {
  font-weight: 600;
}

/* Subtle status card */
.sponsor-page .subtle-card p {
  font-size: 15px;
  font-weight: 400;
  opacity: 0.9;
}
/* ================= CONTACT PAGE – LINK COLOR FIX ================= */

.contact-page a {
  color: #f5c542;
  text-decoration: none;
  font-weight: 500;
}

.contact-page a:hover {
  text-decoration: underline;
}
/* ================= WHATSAPP ICON ================= */

.whatsapp-link {
  margin-left: 10px;
  display: inline-flex;
  vertical-align: middle;
}

.whatsapp-icon {
  width: 22px;
  height: 22px;
  opacity: 0.9;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.whatsapp-link:hover .whatsapp-icon {
  transform: scale(1.1);
  opacity: 1;
}
/* ================= FULL-WIDTH SECTION SYSTEM ================= */

/* Full-width background wrapper */
.section-full {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Inner constrained content */
.section-full > .section {
  max-width: 1100px;
  margin: 60px auto;
  border-radius: 16px;
}

/* ================= DARK THEME UNIFICATION (SAFE OVERRIDE) ================= */

/* Hero, dark sections, and footer share same background */
.hero,
.section.dark,
.footer {
  background: radial-gradient(
    circle at top,
    #1a2550 0%,
    #0b1024 60%,
    #060914 100%
  );
  color: #ffffff;
}

/* Inner dark cards (used across site already) */
.price-card {
  background: linear-gradient(180deg, #1c2654, #111737);
  color: #ffffff;
  border: 1px solid rgba(245, 197, 66, 0.45);
}

/* Gold headings remain untouched */
.section-title-gold,
.hero h1,
.footer .brand-arenax {
  color: #f5c542;
}

/* Footer link color only (already expected behavior) */
.footer-links a {
  color: #f5c542;
}
.footer {
  padding-top: 70px;
  padding-bottom: 70px;
  margin-top: 0;
}

