/*
Theme Name: Rektor Untad Cup III 2026
Theme URI: https://rektoruntadcup.ac.id
Author: Panitia Rektor Untad Cup
Author URI: https://untad.ac.id
Description: Tema resmi untuk Rektor Untad Cup III 2026 - Turnamen Tenis Lapangan Universitas Tadulako.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rektor-untad-cup
*/

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* =========================================================================
   REKTOR UNTAD CUP III 2026 Ã¢â‚¬â€ Landing Page Stylesheet
   Modern Sports Premium Ã‚Â· Universitas Tadulako
   ========================================================================= */

/* ----- Design tokens ----- */
:root {
  /* Primary Ã¢â‚¬â€ deep navy: authority, professionalism & prestige */
  --navy: #0B1D3A;
  --navy-light: #162E55;
  --navy-deep: #060E1D;

  /* Accent gold Ã¢â‚¬â€ amber gold: trophy, prize, achievement */
  --gold: #E8A020;
  --gold-light: #FFCA6A;

  /* Accent teal Ã¢â‚¬â€ sport energy & freshness */
  --crimson: #0D7377;

  /* Accent green Ã¢â‚¬â€ tennis court */
  --green: #0A7055;

  /* Neutrals Ã¢â‚¬â€ cool, crisp, modern */
  --white: #FFFFFF;
  --offwhite: #F4F7FB;
  --text: #0D1B2A;
  --muted: #5A6B82;
  --line: rgba(11, 29, 58, 0.10);
  --line-dark: rgba(255, 255, 255, 0.12);

  /* Type */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  --fs-hero: clamp(2.6rem, 8.2vw, 6rem);
  /* @kind font */
  --fs-h2: clamp(1.9rem, 4.4vw, 3.4rem);
  /* @kind font */
  --fs-h3: clamp(1.2rem, 2.4vw, 1.7rem);
  /* @kind font */
  --fs-lead: clamp(1.05rem, 1.7vw, 1.3rem);
  /* @kind font */
  --fs-body: clamp(1rem, 1.15vw, 1.075rem);
  /* @kind font */
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.78rem;

  /* Spacing & rhythm */
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  /* @kind spacing */
  --container: 1200px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  /* @kind spacing */
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  /* Elevation */
  --shadow-sm: 0 2px 8px rgba(11, 29, 58, 0.08);
  --shadow-md: 0 12px 30px rgba(11, 29, 58, 0.14);
  --shadow-lg: 0 28px 60px rgba(11, 29, 58, 0.22);
  --shadow-gold: 0 14px 34px rgba(232, 160, 32, 0.32);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  /* @kind other */
}

/* ----- Reset ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ----- Layout helpers ----- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--dark {
  background: var(--navy);
  color: var(--white);
}

.section--deep {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(232, 160, 32, 0.10), transparent 60%),
    linear-gradient(180deg, var(--navy-deep), var(--navy));
  color: var(--white);
}

.section--tint {
  background: var(--offwhite);
}

/* Pembungkus Section Tengah dengan Background */
.mid-sections-wrapper {
  position: relative;
  overflow: hidden;
  background-color: var(--white);
}

.mid-sections-wrapper__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("assets/background_index.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  opacity: 0.16;
  /* Dibuat sedikit lebih terlihat agar lebih jelas */
  filter: grayscale(15%);
}

.mid-sections-wrapper__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Efek transisi halus di bagian atas dan bawah */
  background: linear-gradient(180deg,
      var(--white) 0%,
      transparent 8%,
      transparent 92%,
      var(--white) 100%);
}

/* Penyesuaian agar section di dalam pembungkus menjadi semi-transparan */
.mid-sections-wrapper .section {
  position: relative;
  z-index: 2;
  background: transparent;
}

.mid-sections-wrapper .section--tint {
  background: rgba(244, 247, 251, 0.28);
  /* Mengurangi opacity tint agar background lebih tembus pandang */
  backdrop-filter: blur(3px);
  /* Mengurangi blur agar gambar lebih terdefinisi */
  -webkit-backdrop-filter: blur(3px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--crimson);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--crimson);
  border-radius: 2px;
}

.section--dark .eyebrow,
.section--deep .eyebrow {
  color: var(--gold);
}

.section--dark .eyebrow::before,
.section--deep .eyebrow::before {
  background: var(--gold);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head h2 {
  font-size: var(--fs-h2);
  margin-top: 1rem;
}

.section-head p {
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: var(--fs-lead);
  text-wrap: pretty;
}

.section--dark .section-head p,
.section--deep .section-head p {
  color: rgba(255, 255, 255, 0.72);
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-deep);
  box-shadow: var(--shadow-gold);
}

.btn--gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(212, 175, 55, 0.42);
}

.btn--gold:active {
  transform: translateY(-1px) scale(0.99);
}

.btn--outline {
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: var(--white);
  transform: translateY(-3px);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn--navy:hover {
  background: var(--navy-light);
  transform: translateY(-3px);
}

.btn--ghost-dark {
  border: 1.5px solid var(--line);
  color: var(--navy);
}

.btn--ghost-dark:hover {
  border-color: var(--navy);
  transform: translateY(-3px);
}

.btn--sm {
  padding: 0.68rem 1.2rem;
  font-size: 0.9rem;
}

/* =========================================================================
   NAVBAR
   ========================================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease),
              padding 0.35s var(--ease), transform 0.38s var(--ease);
  padding-block: 1.1rem;
}

/* Hide navbar when scrolling down */
.nav--hidden {
  transform: translateY(-110%);
  pointer-events: none;
}

.nav.is-scrolled {
  background: rgba(6, 14, 29, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.32);
  padding-block: 0.7rem;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
}

.brand img {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.brand__txt {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand__sub {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  white-space: nowrap;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav__link {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  position: relative;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav__link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__toggle {
  display: none;
  color: var(--white);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.nav__toggle svg {
  width: 26px;
  height: 26px;
}

/* Mobile drawer */
.nav__drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(6, 14, 29, 0.97);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  padding: var(--gutter);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  visibility: hidden;
}

.nav__drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}

.nav__drawer a {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  padding: 0.6rem 0;
}

.nav__drawer a:hover {
  color: var(--gold);
}

/* =========================================================================
   HERO-COMBINED (Unified Parallax Background)
   ========================================================================= */
.hero-combined {
  position: relative;
  color: var(--white);
  overflow: hidden;
}

.hero-combined__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--navy-deep);
  background-image: url("http://rektoruntadcup.untad.ac.id/wp-content/uploads/2026/07/Gedung-Rektorat-Untad-2-Compressed.png");
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero-combined__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 14, 29, 0.95) 0%, rgba(11, 29, 58, 0.4) 15%, rgba(11, 29, 58, 0.4) 85%, rgba(6, 14, 29, 0.95) 100%),
    linear-gradient(96deg, rgba(6, 14, 29, 0.85) 0%, rgba(6, 14, 29, 0.4) 50%, rgba(6, 14, 29, 0.85) 100%);
}

.hero-combined__glow {
  position: absolute;
  z-index: 2;
  width: 600px;
  height: 600px;
  right: -6%;
  top: 8%;
  background: radial-gradient(circle, rgba(232, 160, 32, 0.18), transparent 65%);
  filter: blur(12px);
  pointer-events: none;
}

.hero-combined__section {
  position: relative;
  z-index: 3;
  padding-block: clamp(4rem, 8vh, 6.5rem);
}

.hero-combined__intro {
  padding-top: clamp(8rem, 15vh, 11rem);
  min-height: 90svh;
  display: flex;
  align-items: center;
}

.hero-combined__prize {
  text-align: center;
}

/* =========================================================================
   COUNTDOWN TIMER
   ========================================================================= */
.hero-combined__countdown {
  padding-block: clamp(4rem, 8vw, 6rem);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.countdown__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 4vw, 3rem);
}

.countdown__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.countdown__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--white);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  margin: 0;
}

.countdown__sub {
  font-size: var(--fs-body);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  text-wrap: pretty;
}

.countdown__sub strong {
  color: var(--gold-light);
  font-family: var(--font-display);
  font-weight: 700;
}

/* Grid of unit cards */
.countdown__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.25rem;
}

/* Separator colon */
.countdown__sep {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: rgba(232, 160, 32, 0.55);
  line-height: 1;
  padding-bottom: 1.8rem;
  user-select: none;
  flex-shrink: 0;
  animation: sepPulse 1s ease-in-out infinite;
}

@keyframes sepPulse {

  0%,
  100% {
    opacity: 0.55;
  }

  50% {
    opacity: 1;
  }
}

/* Each time unit card */
.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

/* Ring wrapper */
.countdown__ring {
  position: relative;
  width: clamp(72px, 11vw, 100px);
  height: clamp(72px, 11vw, 100px);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.3s var(--ease);
}

.countdown__ring:hover {
  box-shadow: 0 12px 40px rgba(232, 160, 32, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* SVG ring */
.countdown__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  border-radius: 50%;
  overflow: visible;
}

.countdown__track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 5;
}

.countdown__fill {
  fill: none;
  stroke: url(#cdGradient);
  stroke-width: 5;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.countdown__fill--seconds {
  stroke: url(#cdGradientSeconds);
  transition: stroke-dashoffset 0.85s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Numeric value */
.countdown__val {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.8vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  line-height: 1;
}

/* Seconds unit gets a gold glow pulse */
.countdown__unit--seconds .countdown__ring {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22), 0 0 0 0 rgba(232, 160, 32, 0), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: secondGlow 1s ease-in-out infinite;
}

@keyframes secondGlow {

  0%,
  100% {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22), 0 0 0 0 rgba(232, 160, 32, 0), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }

  50% {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22), 0 0 0 6px rgba(232, 160, 32, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
}

.countdown__unit--seconds .countdown__val {
  color: var(--gold-light);
}

/* Label below ring */
.countdown__lbl {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* Footer note */
.countdown__foot {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
}

.countdown__foot svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
  flex-shrink: 0;
}

/* Finished state */
.countdown__grid.is-finished .countdown__val {
  color: var(--gold);
}

.countdown__grid.is-finished .countdown__unit--seconds .countdown__ring {
  animation: none;
  box-shadow: 0 0 0 4px rgba(232, 160, 32, 0.3), 0 8px 32px rgba(0, 0, 0, 0.22);
}

/* Responsive */
@media (max-width: 700px) {
  .countdown__sep {
    display: none;
  }

  .countdown__grid {
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .countdown__ring {
    width: 68px;
    height: 68px;
  }

  .countdown__val {
    font-size: 1.1rem;
  }
}

.hero-combined__motto {
  padding-bottom: clamp(6rem, 12vh, 9rem);
}

.hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero__content {
  max-width: 860px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(13, 115, 119, 0.22);
  border: 1px solid rgba(232, 160, 32, 0.45);
  padding: 0.45rem 1rem 0.45rem 0.55rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  margin-bottom: 1.6rem;
}

.hero__badge b {
  color: var(--gold);
}

.hero__badge .chip {
  background: var(--crimson);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  letter-spacing: 0.12em;
}

.hero h1 {
  font-size: var(--fs-hero);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.hero h1 .accent {
  display: block;
  background: linear-gradient(120deg, var(--gold-light), var(--gold) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__year {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: 0.02em;
  opacity: 0.85;
}

.hero__lead {
  margin-top: 1.5rem;
  font-size: var(--fs-lead);
  max-width: 600px;
  color: rgba(255, 255, 255, 0.82);
  text-wrap: pretty;
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.1rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.92rem;
}

.pill svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

.pill b {
  font-family: var(--font-display);
  font-weight: 700;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.4rem;
}


.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero__mouse {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}

.hero__mouse span {
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollDot 1.8s var(--ease) infinite;
}

@keyframes scrollDot {
  0% {
    opacity: 0;
    transform: translateY(-4px);
  }

  40% {
    opacity: 1;
  }

  80% {
    opacity: 0;
    transform: translateY(12px);
  }

  100% {
    opacity: 0;
  }
}


.pband__inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}

.eyebrow--center {
  justify-content: center;
}

.pband__quote {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.pband__quote .gold {
  background: linear-gradient(120deg, var(--gold-light), var(--gold) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pband__rule {
  width: 84px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
}

.pband__sub {
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
  text-wrap: pretty;
}

.pband__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 0.6rem;
}

.pband__tags span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.pband__tags svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

.pband__tags .dot {
  width: 5px;
  height: 5px;
  padding: 0;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.7);
}

@media (max-width: 640px) {
  .pband__tags .dot {
    display: none;
  }

  .pband {
    min-height: 64vh;
  }
}

/* Mobile fixed-attachment fallback (iOS ignores fixed) */
@media (hover: none) and (pointer: coarse) {
  .hero-combined__bg {
    background-attachment: scroll;
  }
}

/* =========================================================================
   ABOUT / SAMBUTAN
   ========================================================================= */
.about__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.about__body p {
  color: var(--muted);
  margin-top: 1.2rem;
  font-size: var(--fs-lead);
  text-wrap: pretty;
}

.about__sign {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about__sign-line {
  width: 46px;
  height: 2px;
  background: var(--gold);
}

.about__sign b {
  font-family: var(--font-display);
  display: block;
  color: var(--navy);
}

.about__sign span {
  font-size: var(--fs-small);
  color: var(--muted);
}

.rektor-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

.rektor-card image-slot {
  width: 100%;
  height: 440px;
  display: block;
}

.rektor-card__tag {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  right: 1.2rem;
  background: rgba(6, 14, 29, 0.80);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(232, 160, 32, 0.38);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  color: #fff;
}

.rektor-card__tag .role {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.rektor-card__tag .name {
  font-family: var(--font-display);
  font-weight: 700;
  margin-top: 0.25rem;
  font-size: 1.02rem;
  line-height: 1.3;
}

/* =========================================================================
   POSTER SHOWCASE
   ========================================================================= */
.poster__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.poster__frame {
  position: relative;
  justify-self: center;
  max-width: 440px;
  width: 100%;
  border-radius: var(--radius-lg);
  padding: 12px;
  background: linear-gradient(150deg, var(--gold-light), var(--gold) 45%, #a06010 100%);
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.poster__frame:hover {
  transform: translateY(-8px) rotate(-0.6deg);
  box-shadow: 0 40px 80px rgba(46, 8, 18, 0.32);
}

.poster__frame img {
  width: 100%;
  border-radius: calc(var(--radius-lg) - 8px);
  display: block;
}

.poster__frame::after {
  content: "COMING SOON";
  position: absolute;
  top: 22px;
  right: -10px;
  background: var(--crimson);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  box-shadow: var(--shadow-md);
}

.poster__body .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.poster__supporters {
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.poster__supporters span {
  font-size: var(--fs-small);
  color: var(--muted);
  display: block;
  margin-bottom: 0.9rem;
  font-weight: 500;
}

.poster__supporters b {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 600;
}


/* =========================================================================
   CATEGORIES
   ========================================================================= */
.cat__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.cat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.cat-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--crimson));
  transition: width 0.4s var(--ease);
}

.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.cat-card:hover::after {
  width: 100%;
}

.cat-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1.3rem;
  background: rgba(46, 111, 64, 0.10);
  color: var(--green);
}

.cat-card__icon svg {
  width: 26px;
  height: 26px;
}

.cat-card h3 {
  font-size: 1.2rem;
  color: var(--navy);
}

.cat-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.5rem;
}

.cat-card__meta {
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--navy);
  font-weight: 600;
}

.cat-card__meta svg {
  width: 16px;
  height: 16px;
  color: var(--crimson);
}

/* =========================================================================
   SCHEDULE / TIMELINE
   ========================================================================= */
.timeline {
  position: relative;
  margin-top: 1rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(212, 175, 55, 0.15));
}

.tl-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.6rem;
  position: relative;
  padding-block: 1rem;
}

.tl-day {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  z-index: 2;
  background: var(--navy);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 6px var(--offwhite);
}

.tl-day small {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

.tl-content {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.tl-content:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.tl-date {
  font-family: var(--font-display);
  color: var(--crimson);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tl-content h3 {
  font-size: 1.18rem;
  color: var(--navy);
  margin-top: 0.3rem;
}

.tl-content p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.4rem;
}


@media (max-width: 860px) {
  .prize__tiers {
    grid-template-columns: 1fr;
  }
}

/* =========================================================================
   PRIZE (shared styles)
   ========================================================================= */
.prize {
  text-align: center;
}

.prize__total {
  margin: 2.5rem auto 0;
  max-width: 760px;
}

.prize__label {
  font-family: var(--font-display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 600;
}

.prize__amount {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(2.4rem, 8vw, 5.5rem);
  line-height: 0.95;
  margin-top: 0.5rem;
  background: linear-gradient(120deg, var(--gold-light) 10%, var(--gold) 55%, #c07010 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 10px 60px rgba(232, 160, 32, 0.28);
}

.prize__amount .rp {
  font-size: 0.35em;
  vertical-align: 0.65em;
  opacity: 0.9;
  color: var(--gold-light);
  -webkit-text-fill-color: var(--gold-light);
}

.prize__sub {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.8rem;
}

.prize__tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
  margin-top: 3.5rem;
}

.prize-tier {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(6px);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.prize-tier:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 160, 32, 0.5);
  background: rgba(255, 255, 255, 0.07);
}

.prize-tier--gold {
  background: linear-gradient(180deg, rgba(232, 160, 32, 0.16), rgba(232, 160, 32, 0.03));
  border-color: rgba(232, 160, 32, 0.45);
}

.prize-tier__medal {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.prize-tier--gold .prize-tier__medal {
  color: var(--gold);
}

.prize-tier--silver .prize-tier__medal {
  color: #cfd6df;
}

.prize-tier--bronze .prize-tier__medal {
  color: #d8a06a;
}

.prize-tier__val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-top: 0.8rem;
}

.prize-tier__note {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin-top: 0.4rem;
}

.prize__foot {
  margin-top: 2.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
}

.prize__foot svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

/* =========================================================================
   VENUE
   ========================================================================= */
.venue__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: stretch;
}

.venue__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 380px;
  position: relative;
}

.venue__media image-slot {
  width: 100%;
  height: 100%;
  min-height: 380px;
}

.venue__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.venue__list {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.venue-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.venue-row__ic {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(110, 16, 35, 0.08);
  color: var(--navy);
  display: grid;
  place-items: center;
}

.venue-row__ic svg {
  width: 20px;
  height: 20px;
}

.venue-row b {
  font-family: var(--font-display);
  color: var(--navy);
  display: block;
}

.venue-row span {
  color: var(--muted);
  font-size: 0.92rem;
}

.venue__map {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.venue__map iframe {
  width: 100%;
  height: 240px;
  border: 0;
  display: block;
  filter: grayscale(0.2) contrast(1.05);
}

/* =========================================================================
   REGISTRATION
   ========================================================================= */

/* Pembungkus Section Bawah (Pendaftaran & Galeri) dengan Parallax */
.bottom-sections-wrapper {
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.bottom-sections-wrapper__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("assets/gedung-rektorat-untad.png");
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  transform: scale(1.03);
  transition: transform 8s ease;
}

.bottom-sections-wrapper__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(6, 14, 29, 0.95) 0%,
      rgba(11, 29, 58, 0.82) 20%,
      rgba(11, 29, 58, 0.82) 80%,
      var(--navy-deep) 100%),
    radial-gradient(ellipse 80% 60% at 0% 50%, rgba(13, 115, 119, 0.18), transparent 70%),
    radial-gradient(ellipse 60% 60% at 100% 30%, rgba(232, 160, 32, 0.12), transparent 70%);
}

.bottom-sections-wrapper .section--docs {
  position: relative;
  z-index: 2;
  background: transparent !important;
  color: var(--white);
}

/* Mobile: disable fixed attachment (iOS bug) */
@media (hover: none) and (pointer: coarse) {

  .bottom-sections-wrapper__bg {
    background-attachment: scroll;
    transform: none;
  }
}

/* =========================================================================
   SPONSORS
   ========================================================================= */
.sponsors__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
  margin-top: 1rem;
}

.sponsor {
  height: 96px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.04em;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.3s var(--ease), opacity 0.3s var(--ease), transform 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  text-align: center;
  padding: 1rem;
  font-size: 0.95rem;
}

.sponsor:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-4px);
  color: var(--navy);
  box-shadow: var(--shadow-md);
}

.sponsors__note {
  text-align: center;
  margin-top: 1.8rem;
  color: var(--muted);
  font-size: 0.88rem;
}

/* =========================================================================
   FAQ
   ========================================================================= */
.faq {
  max-width: 820px;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 0.25rem;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--navy);
}

.faq-q__ic {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--offwhite);
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
  color: var(--navy);
}

.faq-q__ic svg {
  width: 18px;
  height: 18px;
}

.faq-item.is-open .faq-q__ic {
  transform: rotate(45deg);
  background: var(--gold);
  color: var(--navy-deep);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-a p {
  color: var(--muted);
  padding: 0 0.25rem 1.4rem;
  font-size: 0.96rem;
  text-wrap: pretty;
}



.to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 90;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-deep);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  transform: translateY(-3px);
}

.to-top svg {
  width: 22px;
  height: 22px;
}

/* =========================================================================
   SCROLL REVEAL
   ========================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal[data-delay="1"] {
  transition-delay: 0.08s;
}

.reveal[data-delay="2"] {
  transition-delay: 0.16s;
}

.reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }

  .hero__mouse span {
    animation: none;
  }
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
  .cat__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sponsors__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .nav__menu {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .about__grid,
  .venue__grid {
    grid-template-columns: 1fr;
  }

  .poster__grid {
    grid-template-columns: 1fr;
  }

  .poster__body {
    text-align: center;
  }

  .poster__body .eyebrow,
  .poster__body .btn-row {
    justify-content: center;
  }

  .about__grid .rektor-card {
    order: -1;
  }

  .prize__tiers {
    grid-template-columns: 1fr;
  }
}

/* =========================================================================
   DOCUMENTATION / GALLERY Ã¢â‚¬â€ Rektor Untad Cup II 2025
   ========================================================================= */

/* Section background Ã¢â‚¬â€ dark navy gradient with gold accent glow */
.section--docs {
  background:
    radial-gradient(ellipse 70% 50% at 90% 20%, rgba(232, 160, 32, 0.08), transparent 65%),
    radial-gradient(ellipse 60% 60% at 10% 80%, rgba(13, 115, 119, 0.10), transparent 65%),
    linear-gradient(175deg, var(--navy-deep) 0%, var(--navy) 55%, #0d1f3c 100%);
  color: var(--white);
}

.section--docs .eyebrow {
  color: var(--gold);
}

.section--docs .eyebrow::before {
  background: var(--gold);
}

.section--docs .section-head h2 {
  color: var(--white);
}

.section--docs .section-head p {
  color: rgba(255, 255, 255, 0.70);
}

/* ----- Slideshow wrapper ----- */
.docs-slideshow {
  position: relative;
  margin-top: clamp(2rem, 4vw, 3.5rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
}

/* ----- Track Ã¢â‚¬â€ relative container so absolute slides stack ----- */
.docs-slideshow__track {
  position: relative;
  width: 100%;
  min-height: 440px;
}

/* ----- Individual Slide ----- */
.docs-slide {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
  min-height: 440px;
  /* JS will set position/opacity/z-index dynamically */
}

/* Image side */
.docs-slide__img-wrap {
  position: relative;
  overflow: hidden;
  min-height: 340px;
}

/* Placeholder Ã¢â‚¬â€ shown when no real photo is provided */
.docs-slide__placeholder {
  width: 100%;
  height: 100%;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  background:
    radial-gradient(ellipse 80% 70% at 50% 50%, hsl(var(--ph-hue, 220), 60%, 20%), hsl(var(--ph-hue, 220), 45%, 10%)),
    linear-gradient(135deg, hsl(var(--ph-hue, 220), 50%, 12%), hsl(var(--ph-hue, 220), 40%, 8%));
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--fs-small);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 2rem;
  transition: background 0.5s;
}

.docs-slide__placeholder svg {
  width: 80px;
  height: 80px;
  opacity: 0.5;
}

/* Real images (when added later) */
.docs-slide__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 6s ease;
}

.docs-slide:hover .docs-slide__img-wrap img {
  transform: scale(1.04);
}

/* Caption side */
.docs-slide__caption {
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.8rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.docs-slide__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(232, 160, 32, 0.12);
  border: 1px solid rgba(232, 160, 32, 0.28);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  width: fit-content;
}

.docs-slide__tag svg {
  width: 14px;
  height: 14px;
}

.docs-slide__caption h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  color: var(--white);
  line-height: 1.2;
  margin: 0;
}

.docs-slide__caption p {
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(0.88rem, 1.2vw, 1rem);
  line-height: 1.65;
  text-wrap: pretty;
}

/* ----- Navigation buttons ----- */
.docs-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.docs-btn svg {
  width: 22px;
  height: 22px;
  pointer-events: none;
}

.docs-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 24px rgba(232, 160, 32, 0.40);
}

.docs-btn--prev {
  left: 1.2rem;
}

.docs-btn--next {
  right: 1.2rem;
}

/* ----- Counter badge ----- */
.docs-counter {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  z-index: 10;
  background: rgba(0, 0, 0, 0.50);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}

/* ----- Progress bar ----- */
.docs-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.10);
  z-index: 10;
}

.docs-progress__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  border-radius: 0 2px 2px 0;
  transition: width 0.5s var(--ease);
  width: 16.67%;
}

/* ----- Thumbnail Strip ----- */
.docs-thumbs {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.4rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(232, 160, 32, 0.4) transparent;
}

.docs-thumbs::-webkit-scrollbar {
  height: 4px;
}

.docs-thumbs::-webkit-scrollbar-thumb {
  background: rgba(232, 160, 32, 0.4);
  border-radius: 99px;
}

.docs-thumb {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: opacity 0.2s var(--ease);
}

.docs-thumb:hover {
  opacity: 1 !important;
}

.docs-thumb__img {
  width: 90px;
  height: 58px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.12);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.docs-thumb__ph {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 50% 40%, hsl(var(--ph-hue, 220), 60%, 25%), hsl(var(--ph-hue, 220), 45%, 12%));
}

.docs-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.docs-thumb span {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.52);
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s;
}

/* Non-active thumbs: slightly dimmed */
.docs-thumb:not(.docs-thumb--active) {
  opacity: 0.6;
}

.docs-thumb--active .docs-thumb__img {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232, 160, 32, 0.30);
}

.docs-thumb--active span {
  color: var(--gold);
}

/* ----- Stats strip ----- */
.docs-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-lg);
  padding: 1.8rem 2rem;
}

.docs-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  position: relative;
}

.docs-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.docs-stat__val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.docs-stat__label {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

/* =========================================================================
   RESPONSIVE Ã¢â‚¬â€ Documentation section
   ========================================================================= */
@media (max-width: 860px) {
  .docs-slide {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .docs-slideshow__track {
    min-height: auto;
  }

  .docs-slide__img-wrap,
  .docs-slide__placeholder {
    min-height: 260px;
  }

  .docs-slide__caption {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
  }

  .docs-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .docs-stat:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 560px) {
  .docs-thumb__img {
    width: 70px;
    height: 46px;
  }

  .docs-stats {
    padding: 1.2rem 1rem;
  }

  .docs-btn {
    width: 40px;
    height: 40px;
  }

  .docs-btn--prev {
    left: 0.6rem;
  }

  .docs-btn--next {
    right: 0.6rem;
  }
}

/* =========================================================================
   RESPONSIVE Ã¢â‚¬â€ General
   ========================================================================= */

@media (max-width: 560px) {

  .cat__grid,
  .sponsors__grid {
    grid-template-columns: 1fr 1fr;
  }



  .hero__cta .btn {
    flex: 1;
  }
}

/* =========================================================================
   SINGLE POST TEMPLATE (BERITA & ARTIKEL DETAIL)
   ========================================================================= */

.post-hero {
  position: relative;
  padding-block: clamp(6.5rem, 10vw, 8rem) clamp(3.5rem, 6vw, 4.5rem);
  text-align: left;
  overflow: hidden;
}

.post-hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 400px at 50% 120%, rgba(232, 160, 32, 0.15), transparent 60%);
  pointer-events: none;
}

.post-hero__breadcrumbs {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.post-hero__breadcrumbs a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s var(--ease);
}

.post-hero__breadcrumbs a:hover {
  color: var(--gold);
}

.post-hero__breadcrumbs .sep {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.75rem;
}

.post-hero__breadcrumbs .current {
  color: var(--gold);
}

.post-hero__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  max-width: 900px;
}

.post-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-small);
  font-weight: 500;
}

.post-hero__meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.post-hero__meta .meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.post-hero__meta .meta-item a {
  color: var(--white);
  transition: color 0.2s var(--ease);
}

.post-hero__meta .meta-item a:hover {
  color: var(--gold-light);
}

.post-container {
  max-width: 860px;
  margin-inline: auto;
}

.post-card-detail {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.5rem, 5vw, 3.5rem);
  margin-bottom: 3rem;
  overflow: hidden;
}

.post-detail__thumbnail {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
  background: var(--navy-deep);
}

.post-detail__thumbnail img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.entry-content {
  font-size: 1.075rem;
  line-height: 1.75;
  color: var(--text);
}

.entry-content p {
  margin-bottom: 1.5rem;
  text-wrap: pretty;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: var(--navy);
  margin-top: 2.2rem;
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.entry-content h2 {
  font-size: 1.75rem;
}

.entry-content h3 {
  font-size: 1.45rem;
}

.entry-content ul,
.entry-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.75rem;
}

.entry-content ul {
  list-style-type: disc;
}

.entry-content ol {
  list-style-type: decimal;
}

.entry-content li {
  margin-bottom: 0.5rem;
}

.entry-content blockquote {
  border-left: 4px solid var(--gold);
  background: var(--offwhite);
  padding: 1.2rem 1.6rem;
  font-style: italic;
  margin: 1.8rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.entry-content blockquote p {
  margin-bottom: 0;
}

.entry-content blockquote cite {
  display: block;
  font-size: var(--fs-small);
  color: var(--muted);
  margin-top: 0.5rem;
  font-style: normal;
  font-weight: 600;
}

.entry-content strong,
.entry-content b {
  color: var(--navy-deep);
}

.post-detail__footer {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.post-detail__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-small);
}

.post-detail__tags .tags-label {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 700;
  color: var(--navy);
}

.post-detail__tags .tags-label svg {
  width: 15px;
  height: 15px;
  color: var(--crimson);
}

.post-detail__tags .tag-link {
  background: var(--offwhite);
  color: var(--navy);
  padding: 0.28rem 0.85rem;
  border-radius: 99px;
  font-weight: 500;
  transition: all 0.2s var(--ease);
  border: 1px solid transparent;
}

.post-detail__tags .tag-link:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.post-navigation {
  margin-top: 3rem;
}

.post-nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.post-nav-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: all 0.25s var(--ease);
}

.post-nav-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(11, 29, 58, 0.18);
}

.post-nav-item .nav-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.post-nav-item .nav-label svg {
  width: 14px;
  height: 14px;
}

.post-nav-item .nav-label--disabled {
  color: rgba(11, 29, 58, 0.25);
  font-style: italic;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}

.post-nav-item a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  line-height: 1.3;
  transition: color 0.2s var(--ease);
}

.post-nav-item a:hover {
  color: var(--gold);
}

}

.post-detail__thumbnail {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
  background: var(--navy-deep);
}

.post-detail__thumbnail img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.entry-content {
  font-size: 1.075rem;
  line-height: 1.75;
  color: var(--text);
}

.entry-content p {
  margin-bottom: 1.5rem;
  text-wrap: pretty;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: var(--navy);
  margin-top: 2.2rem;
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.entry-content h2 {
  font-size: 1.75rem;
}

.entry-content h3 {
  font-size: 1.45rem;
}

.entry-content ul,
.entry-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.75rem;
}

.entry-content ul {
  list-style-type: disc;
}

.entry-content ol {
  list-style-type: decimal;
}

.entry-content li {
  margin-bottom: 0.5rem;
}

.entry-content blockquote {
  border-left: 4px solid var(--gold);
  background: var(--offwhite);
  padding: 1.2rem 1.6rem;
  font-style: italic;
  margin: 1.8rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.entry-content blockquote p {
  margin-bottom: 0;
}

.entry-content blockquote cite {
  display: block;
  font-size: var(--fs-small);
  color: var(--muted);
  margin-top: 0.5rem;
  font-style: normal;
  font-weight: 600;
}

.entry-content strong,
.entry-content b {
  color: var(--navy-deep);
}

.post-detail__footer {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.post-detail__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-small);
}

.post-detail__tags .tags-label {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 700;
  color: var(--navy);
}

.post-detail__tags .tags-label svg {
  width: 15px;
  height: 15px;
  color: var(--crimson);
}

.post-detail__tags .tag-link {
  background: var(--offwhite);
  color: var(--navy);
  padding: 0.28rem 0.85rem;
  border-radius: 99px;
  font-weight: 500;
  transition: all 0.2s var(--ease);
  border: 1px solid transparent;
}

.post-detail__tags .tag-link:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.post-navigation {
  margin-top: 3rem;
}

.post-nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.post-nav-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: all 0.25s var(--ease);
}

.post-nav-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(11, 29, 58, 0.18);
}

.post-nav-item .nav-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.post-nav-item .nav-label svg {
  width: 14px;
  height: 14px;
}

.post-nav-item .nav-label--disabled {
  color: rgba(11, 29, 58, 0.25);
  font-style: italic;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}

.post-nav-item a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  line-height: 1.3;
  transition: color 0.2s var(--ease);
}

.post-nav-item a:hover {
  color: var(--gold);
}

.post-nav-back {
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  .post-nav-links {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .post-card-detail {
    padding: 1.5rem;
  }
}

/* =========================================================================
   PAGE TEMPLATE (page.php)
   ========================================================================= */

.page-hero {
  position: relative;
  padding-block: clamp(6.5rem, 10vw, 8rem) clamp(3.5rem, 6vw, 4.5rem);
  overflow: hidden;
}

.page-hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 350px at 50% 120%, rgba(232, 160, 32, 0.13), transparent 60%);
  pointer-events: none;
}

.post-hero__sub {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--fs-lead);
  max-width: 640px;
}

/* =========================================================================
   SEARCH TEMPLATE (search.php)
   ========================================================================= */

.search-title__query {
  color: var(--gold);
}

.search-form-wrap {
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

/* WordPress default search form override */
.search-form-wrap .search-form {
  display: flex;
  gap: 0.6rem;
}

.search-form-wrap .search-form label {
  flex: 1;
}

.search-form-wrap .search-form .search-field {
  width: 100%;
  padding: 0.85rem 1.25rem;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  outline: none;
}

.search-form-wrap .search-form .search-field:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(232, 160, 32, 0.14);
}

.search-form-wrap .search-form .search-submit {
  padding: 0.85rem 1.5rem;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-body);
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
}

.search-form-wrap .search-form .search-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.search-results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.search-result-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.search-result-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.search-card__thumb {
  display: block;
  overflow: hidden;
  background: var(--navy-light);
}

.search-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}

.search-result-card:hover .search-card__thumb img {
  transform: scale(1.04);
}

.search-card__thumb--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  min-height: 180px;
}

.search-card__thumb--placeholder svg {
  width: 40px;
  height: 40px;
  color: rgba(255, 255, 255, 0.2);
}

.search-card__body {
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.search-card__meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.search-card__type,
.search-card__date {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--muted);
}

.search-card__type svg,
.search-card__date svg {
  width: 14px;
  height: 14px;
}

.search-card__type {
  color: var(--crimson);
}

.search-card__title {
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0;
}

.search-card__title a {
  color: var(--navy);
  transition: color 0.2s var(--ease);
}

.search-card__title a:hover {
  color: var(--gold);
}

.search-card__excerpt {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  flex: 1;
}

.search-card__read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--crimson);
  margin-top: 0.4rem;
  transition: gap 0.2s var(--ease), color 0.2s var(--ease);
}

.search-card__read-more:hover {
  gap: 0.7rem;
  color: var(--gold);
}

.search-card__read-more svg {
  width: 15px;
  height: 15px;
}

/* Pagination */
.search-pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.search-pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.search-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 0.8rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  background: var(--white);
  transition: all 0.2s var(--ease);
}

.search-pagination .page-numbers:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.search-pagination .page-numbers.current {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-color: transparent;
  color: var(--navy-deep);
  box-shadow: var(--shadow-gold);
}

/* No Results State */
.search-no-results {
  text-align: center;
  padding: clamp(3rem, 8vw, 6rem) 1rem;
  max-width: 540px;
  margin: 0 auto;
}

.no-results__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
}

.no-results__icon svg {
  width: 36px;
  height: 36px;
  color: var(--gold);
}

.search-no-results h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.search-no-results p {
  color: var(--muted);
  font-size: var(--fs-lead);
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* Search form on 404 / empty results */
.error-404__search .search-form,
.search-no-results+.search-form-wrap .search-form {
  display: flex;
  gap: 0.6rem;
}

/* =========================================================================
   404 TEMPLATE (404.php)
   ========================================================================= */

.error-404-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
}

.error-404__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 70% -10%, rgba(13, 115, 119, 0.18), transparent 60%),
    radial-gradient(700px 400px at 20% 110%, rgba(232, 160, 32, 0.12), transparent 60%);
  pointer-events: none;
}

.error-404__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 600px 300px at 50% 50%, rgba(232, 160, 32, 0.06), transparent);
  pointer-events: none;
}

.error-404__inner {
  position: relative;
  z-index: 2;
  padding-block: 8rem 6rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

/* === 404 Animated Graphic === */
.error-404__graphic {
  position: relative;
  width: 220px;
  height: 160px;
  margin-bottom: 1.5rem;
}

.err-number {
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  -webkit-background-clip: text;
  background-clip: text;
  color: rgba(255, 255, 255, 0.12);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.err-orbit {
  position: absolute;
  inset: 0;
  animation: orbit 3.5s linear infinite;
}

.err-ball {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--gold-light), var(--gold));
  box-shadow: 0 0 22px rgba(232, 160, 32, 0.55);
}

/* Tennis ball seam lines */
.err-ball::before,
.err-ball::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  border: 2px solid rgba(11, 29, 58, 0.25);
  clip-path: inset(0 50% 0 0);
}

.err-ball::after {
  transform: scaleX(-1);
}

.err-shadow {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  filter: blur(3px);
  animation: shadow-pulse 3.5s ease-in-out infinite;
}

@keyframes orbit {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes shadow-pulse {

  0%,
  100% {
    transform: translateX(-50%) scaleX(1);
    opacity: 0.35;
  }

  50% {
    transform: translateX(-50%) scaleX(0.6);
    opacity: 0.18;
  }
}

/* === 404 Text === */
.error-404__title {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--white);
  margin: 0;
  line-height: 1.15;
}

.error-404__lead {
  color: rgba(255, 255, 255, 0.68);
  font-size: var(--fs-lead);
  max-width: 520px;
  line-height: 1.7;
}

.error-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.error-404__actions .btn--ghost-dark {
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.85);
}

.error-404__actions .btn--ghost-dark:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

/* === 404 Quick Search === */
.error-404__search {
  margin-top: 1rem;
  width: 100%;
  max-width: 500px;
}

.error-404__search p {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.error-404__search .search-form {
  display: flex;
  gap: 0.5rem;
}

.error-404__search .search-field {
  flex: 1;
  padding: 0.8rem 1.2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  outline: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.error-404__search .search-field::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.error-404__search .search-field:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.12);
}

.error-404__search .search-submit {
  padding: 0.8rem 1.25rem;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.9rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.error-404__search .search-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* === 404 Quick Links === */
.error-404__quicklinks {
  margin-top: 1rem;
  text-align: center;
}

.quick-label {
  display: block;
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 1rem;
}

.quick-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.quick-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 99px;
  font-size: var(--fs-small);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.22s var(--ease);
  background: rgba(255, 255, 255, 0.04);
}

.quick-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(232, 160, 32, 0.08);
  transform: translateY(-2px);
}

.quick-link svg {
  width: 14px;
  height: 14px;
}

/* =========================================================================
   RESPONSIVE â€” New Templates
   ========================================================================= */

@media (max-width: 700px) {
  .search-result-card {
    grid-template-columns: 1fr;
  }

  .search-card__thumb {
    height: 180px;
  }

  .search-card__body {
    padding: 1.25rem;
  }

  .error-404__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .error-404__actions .btn {
    justify-content: center;
  }
}

/* =========================================================================
   TENNIS TEAMS â€” Archive & Single Post Styles
   Re-uses the theme design tokens (var(--navy), var(--gold)â€¦) from :root.
   ========================================================================= */

/* ----- Shared logo (helper output: .ruc-team-logo) ----- */
.ruc-team-logo {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}
.ruc-team-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ruc-team-logo--fallback {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  color: var(--white);
}
.ruc-team-logo__initials {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  font-size: 1.3rem;
}

/* =========================================================================
   ARCHIVE â€” Hero
   ========================================================================= */
.ruc-teams-hero {
  text-align: left;
}
.ruc-teams-hero__title {
  color: var(--gold-light);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .ruc-teams-hero__title {
    background: linear-gradient(100deg, var(--gold-light), var(--gold) 42%, var(--crimson));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}
.ruc-teams-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  margin-right: 0.55rem;
  vertical-align: middle;
}
.ruc-teams-hero__badge svg {
  width: 16px;
  height: 16px;
}

/* =========================================================================
   ARCHIVE â€” Filter bar
   ========================================================================= */
.ruc-teams-section {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.ruc-teams-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.ruc-filter-btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.ruc-filter-btn:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.ruc-filter-btn.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
  box-shadow: var(--shadow-gold);
}

/* =========================================================================
   ARCHIVE â€” Pennant card grid
   ========================================================================= */
.ruc-teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: clamp(0.8rem, 1.6vw, 1.3rem);
}

.ruc-team-card {
  --team-color: var(--navy);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  padding-bottom: 1.7rem;
  /* Pennant flag pointing down â€” bottom edge tapers to a centre point. */
  clip-path: polygon(0 0, 100% 0, 100% 86%, 50% 100%, 0 86%);
  /* drop-shadow (not box-shadow) follows the clip-path silhouette. */
  filter: drop-shadow(0 8px 16px rgba(11, 29, 58, 0.12));
  opacity: 1;
  transition: transform 0.3s var(--ease), filter 0.3s var(--ease), opacity 0.3s var(--ease);
}
/* Team-coloured accent strip across the very top of the pennant. */
.ruc-team-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--team-color);
  z-index: 2;
}
.ruc-team-card__abbr {
  width: 100%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1rem;
  padding: 0.75rem 0.4rem;
  line-height: 1.1;
}
.ruc-team-card__logo {
  width: 74px;
  height: 74px;
  margin: 1rem auto 0.55rem;
}
.ruc-team-card__logo .ruc-team-logo__initials {
  font-size: 1.4rem;
}
.ruc-team-card__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--navy);
  padding: 0 0.6rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ruc-team-card__group {
  font-size: 0.66rem;
  color: var(--muted);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ruc-team-card:hover {
  transform: translateY(-7px) scale(1.02);
  filter: drop-shadow(0 16px 28px rgba(232, 160, 32, 0.4));
}
.ruc-team-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
/* Filter transitions (driven by ruc-teams-filter.js) */
.ruc-team-card.is-leaving {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
}
.ruc-team-card.is-hidden {
  display: none;
}

/* =========================================================================
   ARCHIVE â€” Empty states
   ========================================================================= */
.ruc-teams-empty {
  display: none;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
}
.ruc-teams-empty.is-visible {
  display: block;
}
.ruc-teams-empty__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  display: grid;
  place-items: center;
  background: var(--offwhite);
  color: var(--muted);
  border: 1px solid var(--line);
}
.ruc-teams-empty__icon svg {
  width: 36px;
  height: 36px;
}
.ruc-teams-empty h3 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.ruc-teams-empty p {
  color: var(--muted);
  max-width: 440px;
  margin: 0 auto;
}

/* =========================================================================
   SPONSORS â€” shared cards (archive wall + single section)
   ========================================================================= */
.ruc-teams-sponsors__head {
  text-align: center;
  margin-bottom: clamp(1.8rem, 4vw, 2.6rem);
}
.ruc-teams-sponsors__head .eyebrow {
  justify-content: center;
}
.ruc-teams-sponsors__head h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  color: var(--navy);
  margin-top: 0.6rem;
}
.ruc-teams-sponsors__main {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.ruc-teams-sponsors__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.ruc-sponsor {
  --tier-color: var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  min-width: 140px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.ruc-sponsor:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--tier-color);
}
.ruc-sponsor--main {
  min-width: 220px;
  padding: 1.6rem 2rem;
  border-width: 2px;
  border-color: var(--tier-color);
}
.ruc-sponsor__tier {
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tier-color);
}
.ruc-sponsor__media {
  display: grid;
  place-items: center;
  min-height: 40px;
}
.ruc-sponsor__logo {
  max-height: 56px;
  width: auto;
  object-fit: contain;
}
.ruc-sponsor--main .ruc-sponsor__logo {
  max-height: 130px;
}
.ruc-sponsor__name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
}
.ruc-sponsor--main .ruc-sponsor__name {
  font-size: 1.4rem;
}
.ruc-sponsor__caption {
  font-size: 0.78rem;
  color: var(--muted);
}

/* =========================================================================
   SINGLE â€” Team hero
   ========================================================================= */
.ruc-team-single-hero {
  --team-color: var(--navy);
  position: relative;
  padding-block: clamp(6.5rem, 10vw, 8rem) clamp(2.5rem, 5vw, 3.5rem);
  overflow: hidden;
}
.ruc-team-single-hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background: radial-gradient(640px 320px at 78% -12%, var(--team-color), transparent 62%);
}
.ruc-team-single-hero__inner {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  flex-wrap: wrap;
}
.ruc-team-single-hero__logo {
  width: 160px;
  height: 160px;
  flex: 0 0 auto;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  padding: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.ruc-team-single-hero__logo .ruc-team-logo__initials {
  font-size: 3rem;
}
.ruc-team-single-hero__meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}
.ruc-team-single-hero__abbr {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 0.9rem;
}
.ruc-team-single-hero__name {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  color: var(--white);
  line-height: 1.1;
}
.ruc-team-single-hero__city {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.72);
}
.ruc-team-single-hero__city svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

/* Status badge */
.ruc-team-status-badge {
  --status-color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  align-self: flex-start;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  color: var(--status-color);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--status-color);
  margin-top: 0.3rem;
}
.ruc-team-status-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-color);
}

/* =========================================================================
   SINGLE â€” Body
   ========================================================================= */
.ruc-team-single-body {
  background: var(--offwhite);
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.ruc-team-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  color: var(--navy);
  margin-bottom: 1.1rem;
}

/* Info grid (glassmorphism cards) */
.ruc-team-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.8rem, 1.8vw, 1.2rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.ruc-team-info-card {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.ruc-team-info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.ruc-team-info-card__icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(232, 160, 32, 0.16), rgba(232, 160, 32, 0.05));
  color: var(--gold);
  border: 1px solid rgba(232, 160, 32, 0.25);
}
.ruc-team-info-card__icon svg {
  width: 20px;
  height: 20px;
}
.ruc-team-info-card__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ruc-team-info-card__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 600;
}
.ruc-team-info-card__value {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  font-size: 1.02rem;
  word-break: break-word;
}

/* Profile / bio */
.ruc-team-profile {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 760px;
}
.ruc-team-profile__text {
  color: var(--text);
  font-size: var(--fs-lead);
  line-height: 1.8;
}

/* Jersey colours */
.ruc-team-colors {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.ruc-team-colors__row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.ruc-team-color-swatch {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.7rem 1.1rem 0.7rem 0.7rem;
  box-shadow: var(--shadow-sm);
}
.ruc-team-color-swatch__chip {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.5);
}
.ruc-team-color-swatch__meta {
  display: flex;
  flex-direction: column;
}
.ruc-team-color-swatch__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 600;
}
.ruc-team-color-swatch__hex {
  font-family: Consolas, Monaco, monospace;
  font-weight: 700;
  color: var(--navy);
}

/* Sponsors (single) */
.ruc-team-sponsors-section {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.ruc-team-sponsors-section__main {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.ruc-team-sponsors-section__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Contact */
.ruc-team-contact {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.ruc-team-contact__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
}
.ruc-team-contact__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-weight: 500;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
a.ruc-team-contact__item:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.ruc-team-contact__item svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

/* Back button */
.ruc-team-back {
  margin-top: 1rem;
}
.ruc-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-md);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.ruc-back-btn:hover {
  background: var(--navy-light);
  transform: translateX(-4px);
}
.ruc-back-btn svg {
  width: 18px;
  height: 18px;
}

/* =========================================================================
   TENNIS TEAMS â€” Responsive
   ========================================================================= */
@media (max-width: 900px) {
  .ruc-team-info-grid {
    gap: 0.8rem;
  }
}
@media (max-width: 600px) {
  .ruc-team-info-grid {
    grid-template-columns: 1fr;
  }
  .ruc-team-single-hero__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .ruc-team-single-hero__logo {
    width: 120px;
    height: 120px;
  }
  .ruc-team-single-hero__logo .ruc-team-logo__initials {
    font-size: 2.2rem;
  }
}
@media (max-width: 420px) {
  .ruc-teams-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================================================
   FOOTER â€” Minimal Centered Â· Luxury Gradient
   ========================================================================= */
.footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 70% at 15% 100%, rgba(232, 160, 32, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 85% 0%, rgba(13, 115, 119, 0.08) 0%, transparent 60%),
    linear-gradient(135deg, #091222 0%, #0c182d 50%, #060e1d 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background-clip: padding-box;
  padding-block: clamp(2.25rem, 4vw, 3rem);
}

/* Gradient separator line on top */
.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(232, 160, 32, 0.18) 25%,
    rgba(232, 160, 32, 0.50) 50%,
    rgba(232, 160, 32, 0.18) 75%,
    transparent 100%
  );
}

/* Subtle ambient glow layer */
.footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 80% at 50% 100%, rgba(232, 160, 32, 0.08) 0%, transparent 70%);
}

.footer__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.3rem;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(232, 160, 32, 0.95) 50%,
    rgba(255, 255, 255, 0.6) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(232, 160, 32, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    color 0.28s var(--ease),
    background 0.28s var(--ease),
    border-color 0.28s var(--ease),
    transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease);
}

.footer__social-link:hover {
  color: var(--gold-light);
  background: linear-gradient(135deg, rgba(232, 160, 32, 0.18), rgba(232, 160, 32, 0.07));
  border-color: rgba(232, 160, 32, 0.55);
  transform: translateY(-4px);
  box-shadow:
    0 8px 24px rgba(232, 160, 32, 0.25),
    inset 0 1px 0 rgba(255, 202, 106, 0.15);
}

.footer__social-link svg {
  display: block;
  flex-shrink: 0;
}

/* Divider between brand and copy */
.footer__divider {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 160, 32, 0.35), transparent);
  border: none;
}

.footer__copy {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
}

@media (max-width: 480px) {
  .footer__social-link {
    width: 40px;
    height: 40px;
  }
}
