/* ==========================================================================
   Crown Sports & Events — Public website + auth pages
   ========================================================================== */

/* ---- Top bar ----------------------------------------------------------- */
.topbar-site {
  background: var(--crown-black);
  color: #8892a8;
  font-size: .75rem;
  padding: .3rem 0;
  letter-spacing: .01em;
}
.topbar-site a { color: #99a3ba; text-decoration: none; transition: color .15s; }
.topbar-site a:hover { color: var(--crown-gold); }

/* ---- Navigation -------------------------------------------------------- */
.site-nav {
  background: var(--crown-navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 0;
}
.site-nav .container { min-height: 64px; display: flex; align-items: center; }
.site-nav .navbar-brand { color: #fff; padding: .75rem 0; }
.site-nav .brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.site-nav .brand-text span {
  font-family: var(--crown-font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: .01em;
}
.site-nav .brand-text small {
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--crown-gold);
  font-family: var(--crown-font);
  font-weight: 500;
  margin-top: .25rem;
}
.site-nav .nav-link {
  color: rgba(255,255,255,.75);
  font-weight: 500;
  font-size: .875rem;
  padding: .5rem .85rem;
  border-radius: 6px;
  transition: color .15s, background .15s;
}
.site-nav .nav-link:hover { color: #fff; background: rgba(255,255,255,.07); }
.site-nav .nav-link.active { color: var(--crown-gold); }
.site-nav .navbar-toggler { border-color: rgba(255,255,255,.25); padding: .35rem .6rem; }
.site-nav .navbar-toggler-icon { filter: invert(1); background-size: 18px; }

/* ---- Hero -------------------------------------------------------------- */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(160deg, var(--crown-black) 0%, var(--crown-navy) 60%, #0f2345 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(201,168,76,.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(11,23,48,.4) 0%, transparent 70%);
  pointer-events: none;
}
.hero.has-image { background-size: cover; background-position: center; }
.hero.has-image::before {
  background: linear-gradient(100deg, rgba(5,7,13,.38) 0%, rgba(11,23,48,.22) 100%);
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
}
.hero h1 em { color: var(--crown-gold); font-style: normal; }
.hero .lead { color: rgba(255,255,255,.72); font-size: 1.05rem; max-width: 36rem; line-height: 1.7; }
.eyebrow {
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--crown-gold);
  font-family: var(--crown-font);
}
.glass-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  backdrop-filter: blur(12px);
  border-radius: var(--crown-radius);
  color: #fff;
}

/* ---- Page banner ------------------------------------------------------- */
.page-banner {
  background: var(--crown-navy);
  color: #fff;
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.page-banner h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0; }
.page-banner p { color: rgba(255,255,255,.6); margin: .35rem 0 0; font-size: .9rem; }
.page-banner .breadcrumb {
  --bs-breadcrumb-divider-color: #5a6480;
  --bs-breadcrumb-item-active-color: rgba(255,255,255,.55);
  margin-bottom: .5rem;
  font-size: .78rem;
}
.page-banner .breadcrumb a { color: var(--crown-gold); text-decoration: none; }
.page-banner .breadcrumb a:hover { text-decoration: underline; }

/* ---- Sections ---------------------------------------------------------- */
.section { padding: 4.5rem 0; }
.section-alt { background: #fff; }
.section-dark {
  background: linear-gradient(160deg, var(--crown-black) 0%, var(--crown-navy) 100%);
  color: rgba(255,255,255,.8);
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--crown-navy);
  margin-bottom: .35rem;
  line-height: 1.15;
}
.section-dark .section-title { color: #fff; }
.section-title + .divider-gold { margin-bottom: 1.4rem; }

/* ---- Tournament cards -------------------------------------------------- */
.t-card {
  background: #fff;
  border: 1px solid var(--crown-border);
  border-radius: var(--crown-radius);
  overflow: hidden;
  box-shadow: var(--crown-shadow);
  transition: box-shadow .2s ease, transform .2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.t-card:hover { box-shadow: var(--crown-shadow-lg); transform: translateY(-3px); }
.t-card .t-banner {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(160deg, var(--crown-navy-2), var(--crown-black));
  overflow: hidden;
}
.t-card .t-banner img { width: 100%; height: 100%; object-fit: cover; }
.t-card .t-banner .t-status { position: absolute; top: .65rem; left: .65rem; }
.t-card .t-banner .t-sport {
  position: absolute; right: .65rem; bottom: .65rem;
  background: rgba(5,7,13,.75); color: #fff; border-radius: 999px;
  padding: .18rem .65rem; font-size: .75rem; backdrop-filter: blur(6px);
}
.t-card .t-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.t-card h3 { font-size: 1.25rem; margin: 0; line-height: 1.2; }
.t-card h3 a { color: var(--crown-navy); text-decoration: none; }
.t-card h3 a:hover { color: var(--crown-gold-dark); }
.t-meta { font-size: .82rem; color: var(--crown-muted); display: grid; gap: .22rem; }
.t-meta i { color: var(--crown-gold-dark); width: 1.2rem; display: inline-block; }
.t-foot {
  margin-top: auto; display: flex; justify-content: space-between; align-items: center;
  padding-top: .75rem; border-top: 1px solid var(--crown-border);
}
.t-fee { font-family: var(--crown-font-display); font-size: 1.25rem; font-weight: 700; color: var(--crown-navy); }

/* ---- Stat strip -------------------------------------------------------- */
.stat-strip { background: var(--crown-navy); border-top: 1px solid rgba(255,255,255,.07); }
.stat-strip .stat { padding: 1.5rem .5rem; text-align: center; }
.stat-strip .stat b {
  display: block;
  font-family: var(--crown-font-display);
  font-size: 2.2rem;
  color: var(--crown-gold);
  line-height: 1;
}
.stat-strip .stat span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); }

/* ---- Sponsor logos ----------------------------------------------------- */
.sponsor-tier { margin-bottom: 2.5rem; }
.tier-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--crown-gold-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.tier-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--crown-border);
}
.sponsor-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  padding: 1rem 1.4rem;
  background: #fff;
  border: 1px solid var(--crown-border);
  border-radius: var(--crown-radius);
  box-shadow: var(--crown-shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  text-decoration: none;
}
.sponsor-logo:hover {
  transform: translateY(-4px);
  box-shadow: var(--crown-shadow-lg);
  border-color: var(--crown-gold);
}
.sponsor-logo img { max-height: 100%; max-width: 100%; object-fit: contain; }
.sponsor-logo .sponsor-name {
  font-weight: 700;
  font-size: .9rem;
  color: var(--crown-navy);
  text-align: center;
}

/* Sponsor description card */
.sponsor-desc-card {
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--crown-border);
  border-left: 4px solid var(--crown-gold);
  border-radius: var(--crown-radius);
  box-shadow: var(--crown-shadow);
  padding: 1.4rem 1.6rem;
  margin-bottom: 1rem;
}
.sponsor-desc-card .sd-logo {
  width: 80px;
  height: 60px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sponsor-desc-card .sd-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sponsor-desc-card .sd-body { min-width: 0; }
.sponsor-desc-card .sd-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--crown-navy);
  margin-bottom: .2rem;
}
.sponsor-desc-card .sd-tier {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  background: var(--crown-gold);
  color: var(--crown-navy);
  padding: .15rem .55rem;
  border-radius: 999px;
  margin-bottom: .6rem;
}
.sponsor-desc-card .sd-desc { font-size: .875rem; color: var(--crown-muted); line-height: 1.7; margin: 0; }

/* CTA panel */
.cta-panel {
  background: linear-gradient(135deg, var(--crown-navy-2) 0%, var(--crown-navy) 100%);
  border-radius: var(--crown-radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  border: 1px solid rgba(255,255,255,.08);
  border-top: 3px solid var(--crown-gold);
}
.cta-panel h2 { color: #fff; margin-bottom: .3rem; }
.cta-panel p { color: rgba(255,255,255,.65); margin: 0; font-size: .9rem; }

/* ---- Person cards ------------------------------------------------------ */
.person-card {
  background: #fff;
  border-radius: var(--crown-radius-lg);
  box-shadow: var(--crown-shadow-lg);
  overflow: hidden;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.person-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 56px rgba(11,23,48,.18);
}

/* Dark navy banner at top — photo floats over it */
.pc-banner {
  background: linear-gradient(145deg, var(--crown-navy-2) 0%, var(--crown-navy) 100%);
  height: 110px;
  position: relative;
  flex: none;
}
.pc-banner::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(5,7,13,.25));
}

/* Large circular photo straddling banner / body */
.pc-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--crown-gold);
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--crown-navy);
  box-shadow: 0 6px 24px rgba(11,23,48,.22);
  z-index: 1;
}
.pc-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--crown-gold);
  font-family: var(--crown-font-display);
  font-size: 2.8rem;
  font-weight: 700;
}

/* Body sits below the photo */
.pc-body {
  padding: 116px 1.5rem 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pc-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--crown-navy);
  margin: 0 0 .3rem;
  line-height: 1.2;
}
.pc-role {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--crown-gold-dark);
  margin-bottom: 1rem;
}
.pc-bio {
  font-size: .85rem;
  color: var(--crown-muted);
  text-align: left;
  margin-bottom: 1rem;
  line-height: 1.65;
}
.pc-contacts {
  border-top: 1px solid var(--crown-border);
  padding-top: .9rem;
  margin-top: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.pc-contacts > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  font-size: .82rem;
  color: var(--crown-muted);
  text-decoration: none;
  transition: color .15s;
}
.pc-contacts > a .bi { color: var(--crown-gold-dark); font-size: .85rem; }
.pc-contacts > a:hover { color: var(--crown-navy); }
.pc-social {
  display: flex;
  justify-content: center;
  gap: .65rem;
  margin-top: .35rem;
  font-size: 1.1rem;
}
.pc-social a { color: var(--crown-muted); text-decoration: none; transition: color .15s; }
.pc-social a:hover { color: var(--crown-navy); }

/* Legacy — kept for any remaining uses */
.avatar-lg { display: inline-flex; align-items: center; justify-content: center;
             color: var(--crown-gold); font-family: var(--crown-font-display); font-size: 2.4rem; }

/* ---- Filter panel / chips --------------------------------------------- */
.filter-panel {
  background: #fff; border: 1px solid var(--crown-border);
  border-radius: var(--crown-radius); padding: 1rem 1.2rem;
  box-shadow: var(--crown-shadow); margin-top: -2rem; position: relative; z-index: 2;
}
.chip-row { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip {
  display: inline-block; padding: .3rem .9rem;
  border-radius: 999px; border: 1px solid var(--crown-border);
  background: #fff; color: var(--crown-ink);
  font-size: .8rem; font-weight: 500; text-decoration: none; transition: .15s;
}
.chip:hover { border-color: var(--crown-navy); color: var(--crown-navy); background: #f0f3fa; }
.chip.active { background: var(--crown-navy); border-color: var(--crown-navy); color: var(--crown-gold); }
.site .pagination {
  --bs-pagination-active-bg: var(--crown-navy);
  --bs-pagination-active-border-color: var(--crown-navy);
  --bs-pagination-color: var(--crown-navy);
  --bs-pagination-hover-color: var(--crown-navy);
  --bs-pagination-focus-color: var(--crown-navy);
}
.site .pagination .active > .page-link { color: var(--crown-gold); }

/* ---- Hero (home) ------------------------------------------------------- */
.hero-home { padding: 5rem 0 5.5rem; }
.hero-home .eyebrow { margin-bottom: 1rem; }
.featured-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-top: 2px solid var(--crown-gold);
  border-radius: var(--crown-radius-lg);
  backdrop-filter: blur(10px);
}
.featured-meta li { margin-bottom: .35rem; color: rgba(255,255,255,.7); font-size: .875rem; }
.featured-meta i { color: var(--crown-gold); width: 1.3rem; display: inline-block; }

/* ---- Section heads ----------------------------------------------------- */
.section-head .eyebrow { font-size: .68rem; }
.section-dark .section-head .section-title { color: #fff; }

/* ---- Tournament detail / sections ------------------------------------- */
.t-section { padding: 1.75rem 0; border-bottom: 1px solid var(--crown-border); }
.t-section:last-child { border-bottom: none; }
.t-section h2 { font-size: 1.35rem; margin-bottom: 1rem; }
.facts-card {
  background: #fff; border: 1px solid var(--crown-border);
  border-radius: var(--crown-radius-lg); padding: 1.4rem 1.5rem;
  box-shadow: var(--crown-shadow); position: sticky; top: 80px;
}
.facts-card h2 { font-size: 1rem; font-family: var(--crown-font); text-transform: uppercase;
                 letter-spacing: .1em; font-weight: 700; color: var(--crown-muted); margin-bottom: 1rem; }
.facts { gap: .75rem; }
.facts li { display: flex; gap: .65rem; font-size: .875rem; align-items: flex-start; }
.facts i { color: var(--crown-gold-dark); width: 1.1rem; flex: none; margin-top: .15rem; }

/* ---- Gallery ----------------------------------------------------------- */

/* Album card */
.album-card {
  background: #fff;
  border-radius: var(--crown-radius-lg);
  box-shadow: var(--crown-shadow);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.album-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--crown-shadow-lg);
}

/* Cover image wrapper */
.album-thumb {
  display: block;
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  flex: none;
  text-decoration: none;
  background: var(--crown-navy);
}
.album-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  display: block;
}
.album-card:hover .album-thumb img { transform: scale(1.07); }

/* Dark gradient overlay + photo count */
.album-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,7,13,.65) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: .85rem 1rem;
}
.album-count {
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  background: rgba(5,7,13,.55);
  backdrop-filter: blur(6px);
  padding: .3rem .75rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.album-flag {
  position: absolute;
  top: .75rem;
  left: .75rem;
  background: var(--crown-gold);
  color: var(--crown-navy);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .2rem .65rem;
  border-radius: 999px;
}

/* Card body */
.album-body {
  padding: 1.1rem 1.25rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.album-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}
.album-title a { color: var(--crown-navy); text-decoration: none; transition: color .15s; }
.album-title a:hover { color: var(--crown-gold-dark); }
.album-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .9rem;
  font-size: .78rem;
  color: var(--crown-muted);
}
.album-meta .bi { color: var(--crown-gold-dark); margin-right: .2rem; }
.album-tournament {
  margin-top: auto;
  padding-top: .65rem;
  border-top: 1px solid var(--crown-border);
  font-size: .78rem;
  font-weight: 600;
  color: var(--crown-navy-3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  transition: color .15s;
}
.album-tournament:hover { color: var(--crown-gold-dark); }
.album-tournament .bi { color: var(--crown-gold-dark); }

/* ---- Gallery detail: grid + lightbox ---------------------------------- */
.album-intro {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--crown-navy-3);
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid var(--crown-border);
  border-top: 3px solid var(--crown-gold);
  border-radius: var(--crown-radius-lg);
}
.album-intro p:last-child { margin-bottom: 0; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.gallery-item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--crown-radius-sm);
  background: var(--crown-navy);
  box-shadow: 0 2px 10px rgba(11,23,48,.12);
  cursor: zoom-in;
  transition: transform .2s, box-shadow .2s;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5,7,13,.6));
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}
.gallery-item:hover, .gallery-item:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(11,23,48,.25);
}
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.06); }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; }
.gallery-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: .75rem .9rem;
  color: #fff;
  font-size: .85rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s, transform .25s;
  pointer-events: none;
}
.gallery-item:hover .gallery-cap, .gallery-item:focus-visible .gallery-cap { opacity: 1; transform: none; }

body.lb-open { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(5,7,13,.94);
  padding: 3.5rem 4.5rem;
}
.lightbox[hidden] { display: none; }
.lb-figure {
  margin: 0;
  max-width: 100%; max-height: 100%;
  display: flex; flex-direction: column; align-items: center; gap: .75rem;
}
.lb-img {
  max-width: 100%;
  max-height: calc(100vh - 11rem);
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 10px 50px rgba(0,0,0,.6);
}
.lb-caption {
  color: rgba(255,255,255,.88);
  font-size: .95rem;
  text-align: center;
  max-width: 800px;
  min-height: 1.4em;
}
.lb-btn {
  position: absolute;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.lb-btn:hover, .lb-btn:focus-visible { background: var(--crown-gold); border-color: var(--crown-gold); color: var(--crown-navy); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lb-count {
  position: absolute; top: 1.25rem; left: 1.25rem;
  color: rgba(255,255,255,.75);
  font-size: .85rem; font-weight: 600; letter-spacing: .05em;
}
@media (max-width: 767.98px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
  .gallery-item { aspect-ratio: 1; }
  .gallery-cap { display: none; }
  .lightbox { padding: 3.5rem .5rem 4rem; }
  .lb-prev, .lb-next { top: auto; bottom: .75rem; transform: none; }
  .lb-prev { left: calc(50% - 56px); }
  .lb-next { right: calc(50% - 56px); }
  .lb-img { max-height: calc(100vh - 12rem); }
}

/* Photo lightbox grid */
.photo-thumb {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--crown-radius-sm);
  cursor: pointer;
  transition: opacity .15s, transform .2s;
  width: 100%;
  display: block;
}
.photo-thumb:hover { opacity: .88; transform: scale(1.03); }

/* ---- Video cards ------------------------------------------------------- */
.video-card {
  background: #fff;
  border: 1px solid var(--crown-border);
  border-radius: var(--crown-radius-lg);
  overflow: hidden;
  height: 100%;
  display: flex; flex-direction: column;
  box-shadow: 0 2px 12px rgba(11,23,48,.06);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.video-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(11,23,48,.16); border-color: var(--crown-gold); }
.video-frame, .video-player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--crown-navy);
  overflow: hidden;
}
.video-player { border-radius: var(--crown-radius-lg); box-shadow: 0 10px 40px rgba(11,23,48,.25); }
.video-frame iframe, .video-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; padding: 0; border: 0; cursor: pointer;
  background: var(--crown-navy);
}
.video-play img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.video-play::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(5,7,13,.05) 40%, rgba(5,7,13,.55));
}
.video-play:hover img { transform: scale(1.05); }
.play-icon {
  position: absolute; z-index: 1; top: 50%; left: 50%;
  width: 64px; height: 64px; margin: -32px 0 0 -32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--crown-gold); color: var(--crown-navy);
  font-size: 2rem; padding-left: 3px;
  box-shadow: 0 6px 22px rgba(0,0,0,.45), 0 0 0 6px rgba(201,168,76,.28);
  transition: transform .2s, box-shadow .2s;
}
.video-play:hover .play-icon, .video-play:focus-visible .play-icon { transform: scale(1.12); box-shadow: 0 8px 28px rgba(0,0,0,.5), 0 0 0 10px rgba(201,168,76,.3); }
.video-body { padding: 1.1rem 1.25rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.video-body .badge { align-self: flex-start; background: var(--crown-navy) !important; color: var(--crown-gold) !important; font-weight: 600; letter-spacing: .04em; }
.video-body h3 {
  font-size: 1.05rem; line-height: 1.35; margin: .35rem 0 .6rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.video-body h3 a { color: var(--crown-navy); text-decoration: none; transition: color .15s; }
.video-body h3 a:hover { color: var(--crown-gold-dark); }
.video-body p { margin-bottom: .75rem !important; }
.video-body p a { color: var(--crown-gold-dark); text-decoration: none; font-weight: 600; }
.video-body > a:last-child {
  margin-top: auto; padding-top: .65rem; border-top: 1px solid var(--crown-border);
  color: var(--crown-navy-3); text-decoration: none; font-weight: 600;
}
.video-body > a:last-child:hover { color: #c00; }
.video-body > a:last-child .bi { color: #e62117; }

/* ---- Misc ------------------------------------------------------------- */
.prose p { line-height: 1.8; font-size: 1rem; }
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.section-tight { padding: 2.5rem 0 4rem; }
.min-w-0 { min-width: 0; }
.text-gold-dark { color: var(--crown-gold-dark); }

/* ---- Contact card (homepage about section) ----------------------------- */
.contact-card {
  background: linear-gradient(145deg, var(--crown-navy-2), var(--crown-navy));
  border: 1px solid rgba(255,255,255,.1);
  border-top: 3px solid var(--crown-gold);
  border-radius: var(--crown-radius-lg);
  padding: 2rem 2rem 1.75rem;
  color: rgba(255,255,255,.85);
}
.contact-card h3 { color: #fff; margin-bottom: 1.25rem; }
.contact-card ul li {
  display: flex; align-items: flex-start; gap: .65rem;
  margin-bottom: .75rem; font-size: .9rem;
}
.contact-card ul li .bi { color: var(--crown-gold); margin-top: .15rem; flex: none; }
.contact-card a { color: rgba(255,255,255,.85); text-decoration: none; transition: color .15s; }
.contact-card a:hover { color: var(--crown-gold); }

/* ---- Footer ------------------------------------------------------------ */
.site-footer {
  background: var(--crown-navy);
  color: rgba(255,255,255,.65);
  font-size: .875rem;
}
.site-footer h2 { font-size: .72rem; font-family: var(--crown-font); font-weight: 700;
                  text-transform: uppercase; letter-spacing: .14em; color: var(--crown-gold);
                  margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,.65); text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.site-footer ul li { margin-bottom: .45rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: rgba(255,255,255,.8); }

/* ---- WhatsApp floating button ------------------------------------------ */
.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1050;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.45);
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none;
}
.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,.6);
  color: #fff;
}

/* ---- Auth pages -------------------------------------------------------- */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center;
             padding: 2rem 1rem; background: var(--crown-bg); }
.auth-card { background: #fff; border: 1px solid var(--crown-border); border-radius: var(--crown-radius-lg);
             padding: 2.5rem; box-shadow: var(--crown-shadow-lg); width: 100%; max-width: 420px; }
.auth-card .auth-logo { margin-bottom: 1.5rem; }
.auth-card h1 { font-size: 1.5rem; margin-bottom: .25rem; }
.auth-card .auth-sub { color: var(--crown-muted); font-size: .9rem; margin-bottom: 1.5rem; }

/* ==========================================================================
   Responsive overrides
   ========================================================================== */

/* ---- Small phones (< 576px) -------------------------------------------- */
@media (max-width: 575.98px) {
  /* Hero */
  .hero-home { padding: 2.5rem 0 2.5rem; }
  .hero h1 { font-size: 2rem; }
  .hero .lead { font-size: .95rem; }
  .hero .d-flex.gap-3 { gap: .6rem !important; }
  .hero .btn-lg { font-size: .875rem; padding: .6rem 1.1rem; }

  /* Stat strip */
  .stat-strip .stat { padding: 1.1rem .3rem; }
  .stat-strip .stat b { font-size: 1.65rem; }
  .stat-strip .stat span { font-size: .65rem; letter-spacing: .06em; }

  /* Sections */
  .section { padding: 2.5rem 0; }
  .section-tight { padding: 1.5rem 0 2.5rem; }

  /* Contact card */
  .contact-card { padding: 1.4rem 1.2rem 1.2rem; }

  /* Brand text in nav — shorten if it wraps */
  .site-nav .brand-text span { font-size: 1rem; }
  .site-nav .brand-text small { display: none; }

  /* Footer */
  .site-footer .row.g-5 { --bs-gutter-y: 2rem; }
  .site-footer .py-5 { padding-top: 2.5rem !important; padding-bottom: 2rem !important; }

  /* Page banner */
  .page-banner { padding: 1.75rem 0 1.4rem; }
  .page-banner h1 { font-size: 1.5rem; }

  /* Champion cards */
  .champion-card { padding: 1.1rem 1rem; }

  /* WhatsApp FAB — smaller tap target on phones */
  .whatsapp-fab { width: 50px; height: 50px; bottom: 1rem; right: 1rem; }
  .whatsapp-fab svg { width: 24px; height: 24px; }

  /* Featured card inside hero — remove large gap */
  .hero .row.g-5 { --bs-gutter-y: 1.5rem; }

  /* Auth */
  .auth-card { padding: 1.6rem 1.2rem; }
}

/* ---- Tablets (576px – 991px) ------------------------------------------- */
@media (min-width: 576px) and (max-width: 991.98px) {
  .hero-home { padding: 3.5rem 0 4rem; }
  .section { padding: 3.5rem 0; }
  .stat-strip .stat b { font-size: 2rem; }

  /* About section: contact card full-width on tablet before lg breakpoint */
  .contact-card { padding: 1.75rem; }
}

/* ---- Ensure no horizontal overflow on any size -------------------------- */
body { overflow-x: hidden; }
.hero, .stat-strip, .section, .site-footer { max-width: 100vw; overflow-x: hidden; }

/* ---- Topbar wrapping prevention ---------------------------------------- */
.topbar-site .container { flex-wrap: wrap; gap: .25rem; }

/* ---- Champions section ------------------------------------------------- */
#champions {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 380px at 85% -10%, rgba(201,168,76,.22), transparent 70%),
    radial-gradient(700px 320px at 0% 110%, rgba(201,168,76,.12), transparent 70%),
    linear-gradient(160deg, #13244a 0%, #0b1730 100%);
}
#champions::before {
  content: "\f5e6";
  font-family: "bootstrap-icons";
  position: absolute; right: 4%; top: 50%; transform: translateY(-50%) rotate(8deg);
  font-size: clamp(14rem, 28vw, 26rem); line-height: 1;
  color: rgba(201,168,76,.06);
  pointer-events: none;
}
#champions .container { position: relative; z-index: 1; }
.champion-card {
  position: relative;
  height: 100%;
  padding: 1.6rem 1.5rem 1.5rem;
  background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.04));
  border: 1px solid rgba(201,168,76,.35);
  border-top: 3px solid var(--crown-gold);
  border-radius: var(--crown-radius-lg);
  backdrop-filter: blur(4px);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.champion-card:hover { transform: translateY(-4px); border-color: var(--crown-gold); box-shadow: 0 16px 40px rgba(0,0,0,.35), 0 0 0 1px rgba(201,168,76,.4); }
.champion-card h3 { font-size: 1.35rem; margin: .25rem 0 1rem; line-height: 1.25; }
.champion-card h3 a { color: #fff; text-decoration: none; transition: color .15s; }
.champion-card h3 a:hover { color: var(--crown-gold); }
.champion-card .champion {
  display: flex; align-items: center; gap: .6rem;
  margin: 0 0 .35rem; padding: .6rem .85rem;
  background: rgba(201,168,76,.15); border-radius: 10px;
  color: var(--crown-gold); font-weight: 700; font-size: 1.05rem;
}
.champion-card p.text-white-50 {
  padding: .6rem .85rem; border-radius: 10px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.75) !important;
}
