/* ============================================================
   RePublic OF WonderfulKillers — Main Stylesheet
   Colors: #CCA97A (gold) | #4A2C00 (deep brown)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

/* ── CSS Variables ── */
:root {
  --gold: #CCA97A;
  --gold-light: #dfc08e;
  --gold-dark: #a8853a;
  --brown: #4A2C00;
  --brown-light: #6b3e00;
  --bg-deep: #060402;
  --bg-dark: #0c0804;
  --bg-card: rgba(15, 10, 5, 0.85);
  --bg-glass: rgba(204, 169, 122, 0.07);
  --border-gold: rgba(204, 169, 122, 0.25);
  --text-primary: #f5e8d0;
  --text-secondary: #b8a080;
  --text-muted: #7a6040;
  --shadow-gold: 0 0 30px rgba(204, 169, 122, 0.15);
  --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.6);
  --radius: 12px;
  --radius-lg: 20px;
  --nav-h: 80px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--gold-light);
}

img {
  max-width: 100%;
  display: block;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--brown-light);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}

/* ════════════════════════════════════════
   PRELOADER
════════════════════════════════════════ */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  width: 100px;
  height: 100px;
  animation: preloader-pulse 1.5s ease-in-out infinite;
}

.preloader-logo img {
  width: 100%;
  border-radius: 50%;
}

.preloader-bar-wrap {
  width: 200px;
  height: 2px;
  background: rgba(204, 169, 122, 0.15);
  border-radius: 2px;
  margin-top: 30px;
  overflow: hidden;
}

.preloader-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  border-radius: 2px;
  animation: preloader-fill 2s ease forwards;
}

.preloader-text {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 4px;
  color: var(--text-muted);
  margin-top: 16px;
  text-transform: uppercase;
  animation: preloader-fade 2s ease infinite;
}

@keyframes preloader-pulse {

  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 10px rgba(204, 169, 122, 0.3));
  }

  50% {
    transform: scale(1.08);
    filter: drop-shadow(0 0 25px rgba(204, 169, 122, 0.6));
  }
}

@keyframes preloader-fill {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes preloader-fade {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }
}

/* ════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 5%;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(6, 4, 2, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-gold);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--gold);
  text-decoration: none;
}

.nav-logo img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--border-gold);
}

.nav-logo span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo .vtc-tag {
  font-size: 0.6rem;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  list-style: none;
}

.nav-links a {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--transition);
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: rgba(204, 169, 122, 0.1);
}

.nav-links .nav-cta {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--bg-deep) !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 700;
}

.nav-links .nav-cta:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(204, 169, 122, 0.35);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media(max-width:768px) {
  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(6, 4, 2, 0.97);
    backdrop-filter: blur(20px);
    padding: 20px 5% 30px;
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    border-bottom: 1px solid var(--border-gold);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-gold);
    border-radius: 0;
  }

  .nav-links .nav-cta {
    border-radius: 8px;
    margin-top: 12px;
    text-align: center;
  }
}

/* ════════════════════════════════════════
   HERO SECTION
════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/hero-bg.png');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: hero-zoom 20s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(6, 4, 2, 0.35) 0%,
      rgba(6, 4, 2, 0.55) 50%,
      rgba(6, 4, 2, 0.95) 100%);
}

@keyframes hero-zoom {
  from {
    transform: scale(1.05);
  }

  to {
    transform: scale(1.12);
  }
}

#particles-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 5%;
  animation: fade-up 1.2s ease 0.3s both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(204, 169, 122, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  padding: 6px 18px;
  margin-bottom: 24px;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-family: 'Outfit', sans-serif;
}

.hero-badge::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: blink 1.5s ease infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.hero h1 {
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.0;
  background: linear-gradient(135deg, #fff 0%, var(--gold-light) 40%, var(--gold) 70%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.hero h1>span {
  color: var(--gold-light);
  -webkit-text-fill-color: currentColor;
}

.hero h1 span {
  display: block;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-secondary);
  margin: 16px 0 16px;
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  letter-spacing: 1px;
}

.hero-slogan {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 40px;
  letter-spacing: 0.5px;
}

.hero-slogan::before,
.hero-slogan::after {
  content: '"';
  color: var(--gold-dark);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: scroll-bounce 2s ease-in-out infinite;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold-dark), transparent);
}

@keyframes scroll-bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ════════════════════════════════════════
   BUTTONS
════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
  color: var(--bg-deep);
  box-shadow: 0 4px 20px rgba(204, 169, 122, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(204, 169, 122, 0.5);
  color: var(--bg-deep);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border-gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: rgba(204, 169, 122, 0.1);
  border-color: var(--gold);
  transform: translateY(-3px);
  color: var(--gold-light);
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* ════════════════════════════════════════
   SECTIONS
════════════════════════════════════════ */
section {
  padding: 100px 5%;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-family: 'Outfit', sans-serif;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--text-primary), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto;
  border-radius: 2px;
}

/* ════════════════════════════════════════
   STATS BAR
════════════════════════════════════════ */
.stats-bar {
  background: linear-gradient(135deg, var(--brown) 0%, #2d1a00 100%);
  padding: 40px 5%;
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-value {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ════════════════════════════════════════
   ABOUT
════════════════════════════════════════ */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-img-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  filter: brightness(0.85) saturate(0.9);
}

.about-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-lg);
  z-index: 1;
  box-shadow: inset 0 0 60px rgba(204, 169, 122, 0.08);
}

.about-img-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 2;
  background: rgba(6, 4, 2, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 12px 20px;
}

.about-img-badge strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 700;
}

.about-img-badge span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.about-text .section-header {
  text-align: left;
  margin-bottom: 24px;
}

.about-text .section-divider {
  margin: 0;
}

.about-desc {
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 20px 0 30px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.about-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-glass);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-family: 'Outfit', sans-serif;
}

.about-tag span {
  font-size: 1rem;
}

@media(max-width:900px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-text .section-header {
    text-align: center;
  }

  .about-text .section-divider {
    margin: 0 auto;
  }

  .about-tags {
    justify-content: center;
  }
}

/* ════════════════════════════════════════
   MEMBERS
════════════════════════════════════════ */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.member-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.member-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: var(--transition);
}

.member-card:hover {
  transform: translateY(-6px);
  border-color: rgba(204, 169, 122, 0.5);
  box-shadow: var(--shadow-gold);
}

.member-card:hover::before {
  opacity: 1;
}

.member-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brown), var(--brown-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  border: 2px solid var(--border-gold);
}

.member-avatar-wrap {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  position: relative;
}

.member-avatar-wrap .member-avatar {
  margin: 0;
}

.member-avatar-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-gold);
  display: block;
}

.member-name {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.member-role {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(204, 169, 122, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold-dark);
}

.member-role.owner {
  background: linear-gradient(135deg, rgba(74, 44, 0, 0.5), rgba(204, 169, 122, 0.2));
  border-color: var(--gold);
  color: var(--gold);
}

/* ════════════════════════════════════════
   CONVOY CARDS
════════════════════════════════════════ */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.event-card:hover {
  transform: translateY(-8px);
  border-color: rgba(204, 169, 122, 0.5);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), var(--shadow-gold);
}

.event-banner {
  width: 100%;
  height: 180px;
  object-fit: cover;
  filter: brightness(0.85);
  transition: var(--transition);
}

.event-card:hover .event-banner {
  filter: brightness(1);
  transform: scale(1.03);
}

.event-banner-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--brown) 0%, #1a0d00 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.event-body {
  padding: 20px;
}

.event-type-badge {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  padding: 3px 10px;
  margin-bottom: 10px;
  font-family: 'Outfit', sans-serif;
}

.event-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.event-route {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.event-route span {
  color: var(--gold-dark);
}

.event-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-gold);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.event-attendance {
  color: var(--gold);
  font-weight: 600;
}

/* ── Slot Booking Button on Convoy Cards ── */
.slot-booking-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 14px;
  padding: 10px 16px;
  background: linear-gradient(135deg, rgba(204, 169, 122, 0.15), rgba(204, 169, 122, 0.08));
  border: 1px solid rgba(204, 169, 122, 0.35);
  border-radius: 10px;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.25s ease;
}

.slot-booking-btn:hover {
  background: linear-gradient(135deg, rgba(204, 169, 122, 0.25), rgba(204, 169, 122, 0.15));
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(204, 169, 122, 0.15);
  transform: translateY(-2px);
}

.slot-booking-btn svg {
  width: 14px;
  height: 14px;
}

/* ── Slot Booking Modal ── */
.slot-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}

.slot-modal-overlay.active {
  display: flex;
}

.slot-modal {
  position: relative;
  width: 94vw;
  max-width: 900px;
  max-height: 90vh;
  background: rgba(12, 8, 4, 0.98);
  border: 1px solid rgba(204, 169, 122, 0.3);
  border-radius: 20px;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8), 0 0 60px rgba(204, 169, 122, 0.06);
}

.slot-modal-close {
  position: sticky;
  top: 16px;
  float: right;
  margin-right: 16px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(204, 169, 122, 0.12);
  border: 1px solid rgba(204, 169, 122, 0.25);
  color: var(--gold);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.slot-modal-close:hover {
  background: rgba(204, 169, 122, 0.25);
  transform: rotate(90deg);
}

.slot-modal-header {
  padding: 32px 32px 20px;
  text-align: center;
}

.slot-modal-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text-primary), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}

.slot-modal-header p {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ── Image Gallery Slider ── */
.slot-gallery {
  position: relative;
  margin: 0 24px 24px;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(204, 169, 122, 0.2);
}

.slot-gallery-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.slot-gallery-track img {
  width: 100%;
  min-width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  background: #0a0704;
  flex-shrink: 0;
}

.slot-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(204, 169, 122, 0.3);
  color: var(--gold);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 5;
}

.slot-gallery-nav:hover {
  background: rgba(204, 169, 122, 0.2);
}

.slot-gallery-nav.prev {
  left: 10px;
}

.slot-gallery-nav.next {
  right: 10px;
}

.slot-gallery-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  padding: 10px 0;
  background: rgba(0, 0, 0, 0.4);
}

.slot-gallery-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(204, 169, 122, 0.25);
  cursor: pointer;
  transition: all 0.2s;
}

.slot-gallery-dots span.active {
  background: var(--gold);
  box-shadow: 0 0 8px rgba(204, 169, 122, 0.5);
  transform: scale(1.2);
}

/* ── Depot / Slot List ── */
.slot-depots {
  padding: 0 28px 24px;
}

.slot-depots h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.slot-depot-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.slot-depot-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(204, 169, 122, 0.05);
  border: 1px solid rgba(204, 169, 122, 0.12);
  border-radius: 10px;
  transition: all 0.2s;
}

.slot-depot-item:hover {
  background: rgba(204, 169, 122, 0.1);
  border-color: rgba(204, 169, 122, 0.3);
}

.slot-depot-name {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.slot-depot-spaces {
  font-size: 0.72rem;
  color: var(--text-muted);
  background: rgba(204, 169, 122, 0.1);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(204, 169, 122, 0.15);
}

.slot-depot-available {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}

.slot-depot-available.open {
  background: #4caf50;
  box-shadow: 0 0 8px rgba(76, 175, 80, 0.5);
}

.slot-depot-available.closed {
  background: #f44336;
}

/* ── Allocated VTCs inline on depot items ── */
.slot-depot-vtcs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}

.slot-vtc-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  background: rgba(204, 169, 122, 0.08);
  border: 1px solid rgba(204, 169, 122, 0.2);
  border-radius: 20px;
  font-size: 0.68rem;
  color: var(--gold);
  font-weight: 500;
  text-shadow: 0 0 8px rgba(204, 169, 122, 0.15);
}

.slot-vtc-chip img {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: cover;
}

/* ── Slot Request Form ── */
.slot-request-form {
  padding: 0 28px 32px;
}

.slot-request-form h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.slot-form-group {
  margin-bottom: 14px;
}

.slot-form-group label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 5px;
  font-weight: 500;
}

.slot-form-group input,
.slot-form-group select {
  width: 100%;
  padding: 10px 14px;
  background: rgba(204, 169, 122, 0.06);
  border: 1px solid rgba(204, 169, 122, 0.2);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.slot-form-group input:focus,
.slot-form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(204, 169, 122, 0.15);
}

.slot-form-group select option {
  background: #1a1008;
  color: var(--text-primary);
}

.slot-submit-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, var(--brown), rgba(204, 169, 122, 0.25));
  border: 1px solid var(--gold);
  border-radius: 12px;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.25s;
}

.slot-submit-btn:hover {
  background: linear-gradient(135deg, rgba(204, 169, 122, 0.3), rgba(204, 169, 122, 0.15));
  box-shadow: 0 0 25px rgba(204, 169, 122, 0.2);
  transform: translateY(-2px);
}

.slot-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.slot-success {
  text-align: center;
  padding: 20px;
  color: #4caf50;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ── Loading state ── */
.slot-loading {
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.slot-loading-spinner {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid rgba(204, 169, 122, 0.15);
  border-top-color: var(--gold);
  animation: spin 0.8s linear infinite;
  margin: 0 auto 12px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media(max-width:640px) {
  .slot-modal {
    width: 98vw;
    border-radius: 14px;
  }

  .slot-modal-header {
    padding: 24px 20px 14px;
  }

  .slot-gallery {
    margin: 0 12px 16px;
  }

  .slot-depots,
  .slot-request-form {
    padding: 0 16px 20px;
  }
}

/* ════════════════════════════════════════
   PAGE HERO (non-home pages)
════════════════════════════════════════ */
.page-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 4, 2, 0.4) 0%, rgba(6, 4, 2, 0.97) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 5%;
}

.page-hero h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--text-primary), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.page-hero p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ════════════════════════════════════════
   TMP PROFILE CARD
════════════════════════════════════════ */
.vtc-profile-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.vtc-cover {
  width: 100%;
  height: 250px;
  object-fit: cover;
  filter: brightness(0.7);
}

.vtc-cover-placeholder {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, var(--brown) 0%, #1a0d00 100%);
}

.vtc-profile-body {
  padding: 30px 40px;
}

.vtc-profile-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 30px;
  margin-top: -60px;
  position: relative;
  z-index: 1;
}

.vtc-logo-large {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  box-shadow: 0 0 30px rgba(204, 169, 122, 0.3);
  background: var(--bg-dark);
  object-fit: cover;
  flex-shrink: 0;
}

.vtc-header-info {
  padding-top: 30px;
}

.vtc-header-info h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.vtc-header-info .vtc-slogan {
  color: var(--text-muted);
  font-style: italic;
}

.vtc-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.vtc-stat {
  text-align: center;
  padding: 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
}

.vtc-stat-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
}

.vtc-stat-lbl {
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.vtc-games {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.game-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(204, 169, 122, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.8rem;
  color: var(--gold);
  font-family: 'Outfit', sans-serif;
}

/* ════════════════════════════════════════
   SERVER STATUS
════════════════════════════════════════ */
.servers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.server-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition);
}

.server-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.server-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.server-dot.online {
  background: #4caf50;
  box-shadow: 0 0 8px #4caf5066;
}

.server-dot.offline {
  background: #f44336;
}

.server-info h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.server-players {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ════════════════════════════════════════
   DOWNLOAD PAGE
════════════════════════════════════════ */
.download-hero-box {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.download-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 30px;
  background: linear-gradient(135deg, var(--brown), var(--brown-light));
  border: 2px solid var(--border-gold);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  box-shadow: var(--shadow-gold);
  animation: download-float 3s ease-in-out infinite;
}

@keyframes download-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.release-card {
  max-width: 700px;
  margin: 0 auto 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.release-header {
  background: linear-gradient(135deg, var(--brown) 0%, #2d1a00 100%);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-gold);
}

.release-version {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
}

.release-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.release-body {
  padding: 24px 28px;
}

.release-notes {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.req-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 24px;
}

.req-card h4 {
  font-family: 'Outfit', sans-serif;
  color: var(--gold);
  margin-bottom: 12px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.req-card ul {
  list-style: none;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.req-card li {
  padding: 5px 0;
  border-bottom: 1px solid rgba(204, 169, 122, 0.08);
}

.req-card li:last-child {
  border: none;
}

.req-card li::before {
  content: '▸ ';
  color: var(--gold-dark);
}

/* ════════════════════════════════════════
   POLICY PAGES
════════════════════════════════════════ */
.policy-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 5%;
}

.policy-container h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.policy-date {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 40px;
}

.policy-section {
  margin-bottom: 40px;
}

.policy-section h2 {
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-gold);
}

.policy-section p,
.policy-section li {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.policy-section ul {
  padding-left: 20px;
}

.policy-section ul li::marker {
  color: var(--gold-dark);
}

/* ════════════════════════════════════════
   CONVOY PAGE
════════════════════════════════════════ */
.convoy-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.convoy-tab {
  padding: 10px 28px;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--border-gold);
  color: var(--text-muted);
  background: transparent;
  transition: var(--transition);
}

.convoy-tab.active,
.convoy-tab:hover {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--bg-deep);
  border-color: var(--gold);
}

.upcoming-event-card {
  max-width: 800px;
  margin: 0 auto 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 260px 1fr;
  transition: var(--transition);
}

.upcoming-event-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-gold);
  border-color: rgba(204, 169, 122, 0.5);
}

.upcoming-event-card .event-banner {
  height: 100%;
  min-height: 160px;
}

.upcoming-event-card .event-banner-placeholder {
  height: 100%;
  min-height: 160px;
}

.upcoming-event-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.upcoming-event-body h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.event-details {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.event-detail-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}

.event-detail-icon {
  color: var(--gold-dark);
  font-size: 0.9rem;
}

@media(max-width:640px) {
  .upcoming-event-card {
    grid-template-columns: 1fr;
  }
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
footer {
  background: linear-gradient(180deg, transparent 0%, rgba(74, 44, 0, 0.15) 100%);
  border-top: 1px solid var(--border-gold);
  padding: 60px 5% 30px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
}

.social-btn:hover {
  background: rgba(204, 169, 122, 0.15);
  color: var(--gold);
  border-color: var(--gold);
}

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid var(--border-gold);
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a {
  color: var(--text-muted);
}

.footer-bottom a:hover {
  color: var(--gold);
}

@media(max-width:768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

/* ════════════════════════════════════════
   COOKIE BANNER
════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(8, 5, 2, 0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-gold);
  padding: 20px 5%;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  flex: 1;
  min-width: 200px;
}

.cookie-banner p a {
  color: var(--gold);
}

.cookie-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-accept,
.cookie-decline {
  padding: 10px 20px;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.cookie-accept {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--bg-deep);
}

.cookie-decline {
  background: transparent;
  border: 1.5px solid var(--border-gold);
  color: var(--text-muted);
}

.cookie-accept:hover {
  box-shadow: 0 4px 20px rgba(204, 169, 122, 0.3);
}

.cookie-decline:hover {
  color: var(--text-primary);
  border-color: var(--text-muted);
}

/* ════════════════════════════════════════
   SCROLL ANIMATIONS
════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ════════════════════════════════════════
   LOADING PLACEHOLDER
════════════════════════════════════════ */
.skeleton {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 25%, rgba(255, 255, 255, 0.07) 50%, rgba(255, 255, 255, 0.03) 75%);
  background-size: 400% 100%;
  animation: skeleton-shimmer 1.5s ease infinite;
  border-radius: 8px;
}

@keyframes skeleton-shimmer {
  from {
    background-position: 100% 0;
  }

  to {
    background-position: -100% 0;
  }
}

/* ════════════════════════════════════════
   MISC UTILITY
════════════════════════════════════════ */
.text-gold {
  color: var(--gold);
}

.text-center {
  text-align: center;
}

.mt-40 {
  margin-top: 40px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.shimmer-text {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: 200% center;
  }
}

.tag {
  display: inline-flex;
  align-items: center;
  background: rgba(204, 169, 122, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  padding: 4px 14px;
  font-size: 0.75rem;
  color: var(--gold-dark);
  font-family: 'Outfit', sans-serif;
}

.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-style: italic;
}

/* ════════════════════════════════════════
   ENHANCED ANIMATIONS
════════════════════════════════════════ */

/* Staggered child reveals */
.stagger>* {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger.visible>*:nth-child(1) {
  opacity: 1;
  transform: none;
  transition-delay: 0.05s;
}

.stagger.visible>*:nth-child(2) {
  opacity: 1;
  transform: none;
  transition-delay: 0.15s;
}

.stagger.visible>*:nth-child(3) {
  opacity: 1;
  transform: none;
  transition-delay: 0.25s;
}

.stagger.visible>*:nth-child(4) {
  opacity: 1;
  transform: none;
  transition-delay: 0.35s;
}

.stagger.visible>*:nth-child(5) {
  opacity: 1;
  transform: none;
  transition-delay: 0.45s;
}

.stagger.visible>*:nth-child(6) {
  opacity: 1;
  transform: none;
  transition-delay: 0.55s;
}

.stagger.visible>*:nth-child(n+7) {
  opacity: 1;
  transform: none;
  transition-delay: 0.65s;
}

/* Glitch text */
.glitch {
  position: relative;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.glitch::before {
  animation: glitch-1 3s infinite;
  color: var(--gold-light);
  clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
  transform: translateX(-3px);
  opacity: 0.6;
}

.glitch::after {
  animation: glitch-2 3s infinite;
  color: rgba(204, 169, 122, 0.4);
  clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
  transform: translateX(3px);
  opacity: 0.4;
}

@keyframes glitch-1 {

  0%,
  94%,
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
    transform: translateX(-3px);
  }

  95% {
    clip-path: polygon(0 15%, 100% 15%, 100% 40%, 0 40%);
    transform: translateX(3px) skewX(5deg);
  }

  97% {
    clip-path: polygon(0 5%, 100% 5%, 100% 25%, 0 25%);
    transform: translateX(-5px);
  }
}

@keyframes glitch-2 {

  0%,
  94%,
  100% {
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
    transform: translateX(3px);
  }

  95% {
    clip-path: polygon(0 70%, 100% 70%, 100% 90%, 0 90%);
    transform: translateX(-3px) skewX(-3deg);
  }

  97% {
    clip-path: polygon(0 75%, 100% 75%, 100% 85%, 0 85%);
    transform: translateX(5px);
  }
}

/* Neon glow pulse on gold elements */
@keyframes neon-pulse {

  0%,
  100% {
    box-shadow: 0 0 10px rgba(204, 169, 122, 0.2), 0 0 30px rgba(204, 169, 122, 0.1);
  }

  50% {
    box-shadow: 0 0 20px rgba(204, 169, 122, 0.4), 0 0 60px rgba(204, 169, 122, 0.2), 0 0 100px rgba(204, 169, 122, 0.08);
  }
}

.neon-glow {
  animation: neon-pulse 3s ease-in-out infinite;
}

/* Tilt card hover */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.1s ease;
  will-change: transform;
}

/* Horizontal scroll marquee */
.marquee-wrap {
  overflow: hidden;
  position: relative;
  padding: 30px 0;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.marquee-img {
  width: 320px;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border-gold);
  flex-shrink: 0;
  filter: brightness(0.8) saturate(0.85);
  transition: var(--transition);
  cursor: pointer;
}

.marquee-img:hover {
  filter: brightness(1) saturate(1.1);
  transform: scale(1.03);
}

/* Floating badge animation */
@keyframes float-badge {

  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

/* Reveal with scale */
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ════════════════════════════════════════
   GALLERY PAGE
════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  cursor: pointer;
  transition: var(--transition);
  aspect-ratio: 16/10;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: brightness(0.8) saturate(0.85);
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(1) saturate(1.1);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(6, 4, 2, 0.92) 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.9rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(2, 1, 0, 0.97);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  box-shadow: 0 0 80px rgba(204, 169, 122, 0.15);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 2rem;
  color: var(--gold);
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--gold-light);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(204, 169, 122, 0.1);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-nav:hover {
  background: rgba(204, 169, 122, 0.2);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* ════════════════════════════════════════
   ABOUT / JOIN PAGES — TIMELINE
════════════════════════════════════════ */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: none;
}

.timeline-dot {
  position: absolute;
  left: -34px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--bg-deep);
  box-shadow: 0 0 10px rgba(204, 169, 122, 0.6);
  animation: neon-pulse 3s ease-in-out infinite;
}

.timeline-year {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: var(--gold-dark);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.timeline-item h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.timeline-item p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.value-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(204, 169, 122, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.value-card:hover {
  transform: translateY(-8px);
  border-color: rgba(204, 169, 122, 0.5);
}

.value-card:hover::after {
  opacity: 1;
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
}

.value-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
}

.value-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* Join Form / Steps */
.join-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  counter-reset: step;
}

.join-step {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.join-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
  border-color: rgba(204, 169, 122, 0.5);
}

.join-step-num {
  font-family: 'Outfit', sans-serif;
  font-size: 4rem;
  font-weight: 900;
  color: rgba(204, 169, 122, 0.08);
  line-height: 1;
  position: absolute;
  top: 16px;
  right: 20px;
}

.join-step h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
  position: relative;
}

.join-step p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
}

.requirements-list {
  max-width: 700px;
  margin: 0 auto;
  list-style: none;
}

.requirements-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-gold);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.requirements-list li:last-child {
  border: none;
}

.req-icon {
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ════════════════════════════════════════
   PARTNERS PAGE
════════════════════════════════════════ */
.partner-tabs-shell {
  max-width: 1120px;
  margin: 0 auto;
}

.partner-tab-nav {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.partner-tab-btn {
  padding: 10px 26px;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1.5px solid var(--border-gold);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.partner-tab-btn:hover,
.partner-tab-btn.active {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--bg-deep);
  border-color: var(--gold);
}

.partner-tab-panel {
  display: none;
}

.partner-tab-panel.active {
  display: block;
  animation: fade-up 0.45s ease;
}

.partner-info-note {
  max-width: 900px;
  margin: 0 auto 24px;
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(204, 169, 122, 0.08);
  border: 1px solid var(--border-gold);
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-align: center;
}

.partner-requirements-timeline {
  max-width: 900px;
  margin: 0 auto;
  padding-left: 48px;
}

.partner-requirements-timeline .timeline-item {
  margin-bottom: 28px;
}

.partner-requirements-timeline .timeline-item:last-child {
  margin-bottom: 0;
}

.partner-requirements-timeline .timeline-year {
  letter-spacing: 2px;
  font-size: 0.72rem;
}

.partner-requirements-timeline .timeline-item h3 {
  font-size: 1.02rem;
}

.partner-requirements-timeline .timeline-item p {
  font-size: 0.88rem;
}

.partner-side-logos {
  position: fixed;
  right: 14px;
  top: 94px;
  width: 86px;
  height: calc(100vh - 112px);
  overflow: hidden;
  pointer-events: none;
  opacity: 0.26;
  z-index: 4;
  mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
}

.partner-side-track {
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: partner-side-scroll 24s linear infinite;
}

.partner-side-logo {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid var(--border-gold);
  background: rgba(204, 169, 122, 0.08);
  object-fit: cover;
}

@keyframes partner-side-scroll {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-50%);
  }
}

.partner-partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.partner-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
}

.partner-card:hover {
  transform: translateY(-6px);
  border-color: rgba(204, 169, 122, 0.55);
  box-shadow: var(--shadow-gold);
}

.partner-logo-wrap {
  width: 84px;
  height: 84px;
  margin: 0 auto 14px;
  border-radius: 18px;
  border: 1px solid var(--border-gold);
  background: linear-gradient(135deg, rgba(204, 169, 122, 0.1), rgba(74, 44, 0, 0.25));
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo {
  width: 66px;
  height: 66px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(204, 169, 122, 0.35);
}

.partner-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.partner-desc {
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.6;
  min-height: 42px;
  margin-bottom: 14px;
}

.partner-actions {
  display: grid;
  gap: 10px;
}

.partner-link {
  width: 100%;
  justify-content: center;
  padding: 10px 14px;
  font-size: 0.8rem;
}

@media(max-width:1100px) {
  .partner-side-logos {
    display: none;
  }
}

@media(max-width:640px) {
  .partner-tab-btn {
    width: 100%;
  }

  .partner-requirements-timeline {
    padding-left: 36px;
  }

  .partner-partners-grid {
    grid-template-columns: 1fr;
  }
}

/* ════════════════════════════════════════
   CALENDAR (Convoy Schedule)
════════════════════════════════════════ */
.calendar-wrap {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.calendar-legend {
  max-width: 1000px;
  margin: 0 auto 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.legend-dot.legend-official {
  background: #cf3b3b;
}

.legend-dot.legend-own {
  background: #2c6dde;
}

.legend-dot.legend-attending {
  background: #2f8f4a;
}

.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-bottom: 1px solid var(--border-gold);
  background: linear-gradient(135deg, var(--brown) 0%, #1a0e00 100%);
}

.calendar-nav button {
  background: rgba(204, 169, 122, 0.1);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-nav button:hover {
  background: rgba(204, 169, 122, 0.25);
}

.calendar-month-lbl {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.calendar-day-header {
  padding: 14px 8px;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  border-bottom: 1px solid var(--border-gold);
  background: rgba(204, 169, 122, 0.03);
}

.calendar-cell {
  min-height: 90px;
  padding: 8px 6px;
  border-right: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  position: relative;
  transition: background 0.2s;
  overflow: hidden;
}

.calendar-cell:nth-child(7n) {
  border-right: none;
}

.calendar-cell:hover {
  background: rgba(204, 169, 122, 0.04);
}

.calendar-cell.other-month .cell-num {
  opacity: 0.2;
}

.calendar-cell.today {
  background: rgba(204, 169, 122, 0.05);
}

.calendar-cell.today .cell-num {
  background: var(--gold);
  color: var(--bg-deep);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cell-num {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cell-event {
  display: block;
  max-width: 100%;
  border-radius: 4px;
  padding: 2px 6px;
  margin-bottom: 2px;
  font-size: 0.65rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  transition: filter 0.2s;
  font-weight: 600;
}

.cell-event:hover {
  filter: brightness(1.1);
}

.cell-event.event-official {
  background: linear-gradient(135deg, #c52d2d, #7f1212);
  border: 1px solid rgba(255, 120, 120, 0.55);
}

.cell-event.event-own {
  background: linear-gradient(135deg, #2f76e3, #1c3f86);
  border: 1px solid rgba(120, 170, 255, 0.5);
}

.cell-event.event-attending {
  background: linear-gradient(135deg, #31944f, #1d5f32);
  border: 1px solid rgba(129, 230, 157, 0.35);
}

.cell-event-more {
  font-size: 0.62rem;
  color: var(--text-muted);
  margin-top: 2px;
  letter-spacing: 0.3px;
}

/* Calendar event list (removed from convoy page) */
.calendar-events-list {
  display: none;
}

.no-events-msg {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media(max-width:640px) {
  .calendar-cell {
    min-height: 60px;
  }

  .calendar-legend {
    font-size: 0.74rem;
  }
}

/* ════════════════════════════════════════
   NAVBAR DROPDOWN  —  display controlled by JS
════════════════════════════════════════ */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.dropdown-chevron {
  display: inline-block;
  width: 12px !important;
  height: 12px !important;
  max-width: 12px;
  max-height: 12px;
  flex-shrink: 0;
  vertical-align: middle;
  transition: transform 0.28s ease;
}

/* Chevron rotates when menu is shown (JS sets data-open) */
.nav-dropdown-menu[style*="block"]~* .dropdown-chevron,
.nav-dropdown:has(.nav-dropdown-menu[style*="block"]) .dropdown-chevron {
  transform: rotate(180deg);
}

/* ── The popup panel — display toggled by JS ── */
.nav-dropdown-menu {
  /* display managed by JS — starts hidden */
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  min-width: 230px;
  background: rgba(10, 7, 3, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(204, 169, 122, 0.3);
  border-radius: 14px;
  padding: 8px;
  margin: 0;
  list-style: none;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7), 0 0 30px rgba(204, 169, 122, 0.06);
  animation: ddSlideIn 0.18s ease;
}

@keyframes ddSlideIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Arrow tip */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 9px;
  height: 9px;
  background: rgba(10, 7, 3, 0.98);
  border-left: 1px solid rgba(204, 169, 122, 0.3);
  border-top: 1px solid rgba(204, 169, 122, 0.3);
}

.nav-dropdown-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-dropdown-menu a {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 14px !important;
  border-radius: 9px !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  color: rgba(200, 180, 150, 0.85) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  background: transparent !important;
  border-bottom: none !important;
  transition: background 0.16s, color 0.16s;
  white-space: nowrap;
  text-decoration: none;
}

.nav-dropdown-menu a:hover {
  background: rgba(204, 169, 122, 0.15) !important;
  color: var(--gold) !important;
}

.dd-icon {
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}

/* ── Mobile: menus stack inside hamburger ── */
@media (max-width: 768px) {
  .nav-dropdown-menu {
    position: static !important;
    transform: none !important;
    background: rgba(204, 169, 122, 0.06) !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    animation: none !important;
    min-width: 100% !important;
  }

  .nav-dropdown-menu::before {
    display: none;
  }

  .nav-dropdown-menu a {
    padding: 11px 28px !important;
    font-size: 0.79rem !important;
    border-bottom: 1px solid rgba(204, 169, 122, 0.08) !important;
    border-radius: 0 !important;
  }

  .nav-dropdown-trigger {
    width: 100%;
    justify-content: space-between !important;
  }
}


/* ════════════════════════════════════════
   MANAGEMENT RECRUITMENT PAGE
════════════════════════════════════════ */


/* Recruitment Status Banner */
.recruit-status-banner {
  max-width: 800px;
  margin: 0 auto 50px;
  padding: 20px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.recruit-status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.recruit-status-dot.open {
  background: #4caf50;
  box-shadow: 0 0 12px rgba(76, 175, 80, 0.5);
  animation: blink 2s ease infinite;
}

.recruit-status-dot.closed {
  background: #f44336;
  box-shadow: 0 0 8px rgba(244, 67, 54, 0.3);
}

.recruit-status-dot.soon {
  background: #ff9800;
  box-shadow: 0 0 12px rgba(255, 152, 0, 0.5);
  animation: blink 2s ease infinite;
}

.recruit-status-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.recruit-status-sub {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-left: auto;
}

/* Position Cards Grid */
.positions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.position-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.position-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.position-card:hover {
  transform: translateY(-6px);
  border-color: rgba(204, 169, 122, 0.5);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), var(--shadow-gold);
}

.position-card:hover::before {
  opacity: 1;
}

.position-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.position-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(204, 169, 122, 0.15), rgba(74, 44, 0, 0.3));
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.position-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.position-status.open {
  background: rgba(76, 175, 80, 0.15);
  border: 1px solid rgba(76, 175, 80, 0.4);
  color: #66bb6a;
}

.position-status.closed {
  background: rgba(244, 67, 54, 0.1);
  border: 1px solid rgba(244, 67, 54, 0.3);
  color: #ef5350;
}

.position-status.soon {
  background: rgba(255, 152, 0, 0.15);
  border: 1px solid rgba(255, 152, 0, 0.4);
  color: #ffb74d;
}

.position-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.position-status.open .position-status-dot {
  background: #4caf50;
}

.position-status.closed .position-status-dot {
  background: #f44336;
}

.position-status.soon .position-status-dot {
  background: #ff9800;
}

.position-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.position-desc {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 20px;
  min-height: 48px;
}

.position-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.position-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  background: rgba(204, 169, 122, 0.06);
  border: 1px solid rgba(204, 169, 122, 0.15);
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
}

.position-apply-btn {
  width: 100%;
  justify-content: center;
  padding: 12px 20px;
  font-size: 0.85rem;
}

.position-apply-btn:disabled,
.position-apply-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* Application Modal */
.recruit-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 1, 0, 0.92);
  backdrop-filter: blur(12px);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding: 20px;
}

.recruit-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.recruit-modal {
  background: var(--bg-dark);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s ease;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7), 0 0 40px rgba(204, 169, 122, 0.1);
}

.recruit-modal-overlay.open .recruit-modal {
  transform: scale(1) translateY(0);
}

.recruit-modal-header {
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: var(--bg-dark);
  z-index: 1;
}

.recruit-modal-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
}

.recruit-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border-gold);
  background: transparent;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.recruit-modal-close:hover {
  background: rgba(204, 169, 122, 0.1);
  color: var(--gold);
}

.recruit-modal-body {
  padding: 24px 28px 28px;
}

.recruit-form-group {
  margin-bottom: 20px;
}

.recruit-form-group label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.recruit-form-group label .required {
  color: #ef5350;
  margin-left: 2px;
}

.recruit-input,
.recruit-textarea,
.recruit-select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(204, 169, 122, 0.05);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  transition: var(--transition);
  outline: none;
}

.recruit-input:focus,
.recruit-textarea:focus,
.recruit-select:focus {
  border-color: var(--gold);
  background: rgba(204, 169, 122, 0.08);
  box-shadow: 0 0 0 3px rgba(204, 169, 122, 0.1);
}

.recruit-input::placeholder,
.recruit-textarea::placeholder {
  color: var(--text-muted);
}

.recruit-textarea {
  min-height: 100px;
  resize: vertical;
}

.recruit-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a6040' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.recruit-select option {
  background: #0c0804;
  color: var(--text-primary);
}

.recruit-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media(max-width: 500px) {
  .recruit-form-row {
    grid-template-columns: 1fr;
  }
}

.recruit-submit-btn {
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
  font-size: 0.9rem;
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}

.recruit-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.recruit-submit-btn .btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid transparent;
  border-top-color: var(--bg-deep);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.recruit-submit-btn.loading .btn-spinner {
  display: block;
}

.recruit-submit-btn.loading .btn-text {
  opacity: 0;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Success/Error messages */
.recruit-msg {
  padding: 16px 20px;
  border-radius: 10px;
  margin-top: 16px;
  font-size: 0.88rem;
  display: none;
}

.recruit-msg.success {
  display: block;
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.3);
  color: #66bb6a;
}

.recruit-msg.error {
  display: block;
  background: rgba(244, 67, 54, 0.1);
  border: 1px solid rgba(244, 67, 54, 0.3);
  color: #ef5350;
}

/* Info callout box */
.recruit-info-box {
  max-width: 800px;
  margin: 0 auto 40px;
  padding: 20px 24px;
  background: rgba(204, 169, 122, 0.06);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.recruit-info-box .info-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.recruit-info-box p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.7;
}

@media(max-width: 640px) {
  .positions-grid {
    grid-template-columns: 1fr;
  }

  .recruit-status-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .recruit-status-sub {
    margin-left: 0;
  }
}

/* ════════════════════════════════════════
   EVENT POPUP MODAL (CONVOY CALENDAR)
════════════════════════════════════════ */
.event-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}

.event-modal-overlay.active {
  display: flex;
}

.event-modal-content {
  position: relative;
  width: 94vw;
  max-width: 800px;
  max-height: 90vh;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8), var(--shadow-gold);
  backdrop-filter: blur(15px);
}

.event-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 20;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(204, 169, 122, 0.15);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.event-modal-close:hover {
  background: rgba(204, 169, 122, 0.3);
  transform: rotate(90deg);
  color: var(--gold-light);
}

.em-header {
  position: relative;
  height: 200px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-bottom: 2px solid var(--gold-dark);
}

.em-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-dark) 0%, rgba(12, 8, 4, 0.4) 50%, rgba(0, 0, 0, 0.2) 100%);
}

.em-header-content {
  position: relative;
  z-index: 2;
  padding: 20px 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.em-header-content h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  margin: 0;
  line-height: 1.2;
}

/* ── Banner Stats ── */
.em-stats {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  gap: 8px;
  z-index: 3;
  background: rgba(0, 0, 0, 0.65);
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid rgba(204, 169, 122, 0.2);
  backdrop-filter: blur(5px);
}

.em-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-light);
}

.em-stat svg,
.em-stat span.icon {
  color: var(--gold);
}

.em-body {
  padding: 24px;
}

.em-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.em-badge {
  padding: 4px 12px;
  border-radius: 6px;
  background: rgba(204, 169, 122, 0.15);
  border: 1px solid var(--border-gold);
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
}

.em-badge-outline {
  background: transparent;
  border-color: rgba(204, 169, 122, 0.4);
}

.em-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.em-info-box {
  background: rgba(204, 169, 122, 0.03);
  border: 1px solid rgba(204, 169, 122, 0.1);
  border-radius: 10px;
  padding: 16px;
  text-align: left;
}

.em-info-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 500;
}

.em-info-val {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.em-section {
  margin-bottom: 24px;
}

.em-section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.em-route-box {
  background: rgba(204, 169, 122, 0.03);
  border: 1px solid rgba(204, 169, 122, 0.1);
  border-radius: 10px;
  padding: 16px;
}

.em-route-item {
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.em-route-item:last-child {
  margin-bottom: 0;
}

.em-circle {
  font-size: 1.2rem;
  line-height: 1;
  color: var(--gold-dark);
}

.em-dot {
  font-size: 1.4rem;
  line-height: 1;
  color: var(--gold);
}

.em-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.em-dlc-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  background: rgba(204, 169, 122, 0.1);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
}

.em-slot-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(204, 169, 122, 0.2), rgba(204, 169, 122, 0.05));
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.em-slot-badge:hover {
  background: rgba(204, 169, 122, 0.25);
}

.em-btn-tmp {
  display: block;
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg, rgba(160, 30, 30, 0.3) 0%, rgba(90, 10, 10, 0.6) 100%);
  border: 1px solid rgba(255, 50, 50, 0.3);
  color: #ffb8b8;
  padding: 14px;
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.em-btn-tmp:hover {
  background: linear-gradient(135deg, rgba(220, 40, 40, 0.4) 0%, rgba(120, 20, 20, 0.7) 100%);
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 50, 50, 0.2);
  transform: translateY(-2px);
}

@media(max-width: 640px) {
  .em-grid-3 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .em-grid-2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .em-header {
    height: 160px;
  }

  .em-header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}