/* ══ VIDEO HERO ═══════════════════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000;
}

#hero-video-container {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#hero-video-container iframe {
  position: absolute;
  top: 40%;
  left: 50%;
  width: 177.78vh; /* 16:9 ratio */
  height: 100vh;
  min-width: 100%;
  min-height: 56.25vw; /* 16:9 ratio */
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: none;
}

/* Dark gradient overlay */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.45) 50%,
    rgba(0,0,0,0.60) 100%
  );
  z-index: 1;
}

#hero .hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 40px;
  padding: 6px 18px;
  margin-bottom: 24px;
}
.hero-eyebrow img {
  height: 22px;
  width: auto;
}
.hero-eyebrow span {
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}

#hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 8vw, 96px);
  line-height: 1;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

#hero h1 span {
  color: var(--accent-color);
}

#hero .hero-tagline {
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(15px, 2vw, 19px);
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-color);
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.4);
  color: #fff;
}

.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.hero-btn-secondary:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-2px);
  color: #fff;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  font-family: 'Raleway', sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}
.hero-scroll i { font-size: 20px; }
@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ══ HIGHLIGHTS STRIP ═════════════════════════════════════════════════════ */
.highlights-strip {
  background: var(--accent-color);
  padding: 0;
  overflow: hidden;
}
.highlights-strip .strip-inner {
  display: flex;
  align-items: stretch;
}
.highlight-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  border-right: 1px solid rgba(255,255,255,0.2);
  text-decoration: none;
  transition: background 0.2s;
}
.highlight-item:last-child { border-right: none; }
.highlight-item:hover { background: rgba(0,0,0,0.1); }
.highlight-item i {
  font-size: 28px;
  color: rgba(255,255,255,0.85);
  flex-shrink: 0;
}
.highlight-item .hi-text strong {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  line-height: 1.2;
}
.highlight-item .hi-text span {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}
@media (max-width: 768px) {
  .highlights-strip .strip-inner { flex-direction: column; }
  .highlight-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
  .highlight-item:last-child { border-bottom: none; }
}

/* ══ PILIERS SECTION ══════════════════════════════════════════════════════ */
.pilier-card {
  background: var(--surface-color);
  border-radius: 16px;
  padding: 36px 28px;
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
}
.pilier-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.1);
}
.pilier-icon {
  width: 60px; height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 26px;
}
.pilier-card h4 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--heading-color);
}
.pilier-card p {
  font-size: 14px;
  color: var(--default-color);
  opacity: 0.8;
  line-height: 1.7;
  margin: 0;
}

/* ══ STATS ════════════════════════════════════════════════════════════════ */
.stat-card {
  text-align: center;
  padding: 32px 20px;
}
.stat-card .stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px;
  line-height: 1;
  color: var(--accent-color);
  margin-bottom: 6px;
}
.stat-card .stat-label {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--default-color);
  opacity: 0.7;
}

/* ══ QUICK LINKS ══════════════════════════════════════════════════════════ */
.quick-link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface-color);
  border-radius: 12px;
  padding: 20px 22px;
  text-decoration: none;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  height: 100%;
}
.quick-link-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: var(--accent-color);
}
.quick-link-card i {
  font-size: 26px;
  color: var(--accent-color);
  flex-shrink: 0;
}
.quick-link-card strong {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--heading-color);
  margin-bottom: 2px;
}
.quick-link-card span {
  font-size: 12px;
  color: var(--default-color);
  opacity: 0.65;
}
.quick-link-card .arrow {
  margin-left: auto;
  color: var(--accent-color);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.quick-link-card:hover .arrow { opacity: 1; transform: translateX(4px); }

/* ══ SECTION TITLES ═══════════════════════════════════════════════════════ */
.gage-section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 38px;
  letter-spacing: 2px;
  color: var(--heading-color);
  margin-bottom: 6px;
}
.gage-section-sub {
  font-size: 15px;
  color: var(--default-color);
  opacity: 0.65;
  margin-bottom: 40px;
}

/* ══ RANKING CARDS ════════════════════════════════════════════════════════ */
.ranking-card {
  display: flex;
  align-items: center;
  gap: 24px;
  border-radius: 20px;
  padding: 32px 36px;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}
.ranking-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.06;
  border-radius: 20px;
}
.ranking-gold {
  background: linear-gradient(135deg, #fff8e1, #fffde7);
  border-color: #f9a825;
  box-shadow: 0 8px 32px rgba(249,168,37,0.15);
}
.ranking-gold::before {
  background: #f9a825;
}
.ranking-silver {
  background: linear-gradient(135deg, #f5f5f5, #fafafa);
  border-color: var(--accent-color);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.ranking-silver::before {
  background: var(--accent-color);
}
html.dark-mode .ranking-gold {
  background: linear-gradient(135deg, rgba(249,168,37,0.12), rgba(249,168,37,0.06));
}
html.dark-mode .ranking-silver {
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
}
.ranking-medal {
  font-size: 44px;
  line-height: 1;
  flex-shrink: 0;
}
.ranking-main {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.ranking-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 72px;
  line-height: 1;
  color: var(--accent-color);
  flex-shrink: 0;
}
.ranking-label {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--default-color);
  opacity: 0.85;
  line-height: 1.4;
}
@media (max-width: 480px) {
  .ranking-card { padding: 20px 18px; gap: 14px; }
  .ranking-number { font-size: 52px; }
  .ranking-medal { font-size: 34px; }
}
