/* BGMI Air — tactical drop-zone design
   Palette drawn from search-result key art: charcoal/navy battleground,
   signal orange (DECEMBER 10 posters), cold white helmet/steel tones. */

:root {
  --navy-950: #0a1420;
  --navy-900: #0d1b2e;
  --navy-800: #122338;
  --navy-700: #16304a;
  --steel-100: #eaf0f6;
  --steel-300: #c3d1e0;
  --steel-500: #7f93aa;
  --orange-500: #ff7a1a;
  --orange-400: #ff9340;
  --orange-100: #ffe3cc;
  --font-display: "Archivo Black", "Arial Black", Impact, sans-serif;
  --font-body: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--navy-950);
  color: var(--steel-100);
  font-family: var(--font-body);
  line-height: 1.65;
}

a { color: var(--orange-400); }

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--steel-100);
}

/* ---------- Header ---------- */

.site-header {
  background: var(--navy-900);
  border-bottom: 3px solid var(--orange-500);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--steel-100);
  letter-spacing: 0.04em;
}

.brand-text em {
  font-style: normal;
  color: var(--orange-500);
}

.main-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--steel-300);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.main-nav a:hover {
  color: var(--orange-400);
  border-color: var(--orange-500);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(255,122,26,0.12), transparent 55%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950) 70%);
  padding: 64px 24px 56px;
  border-bottom: 1px solid var(--navy-700);
}

.hero-chevrons {
  position: absolute;
  top: 24px;
  right: 6%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0.8;
}

.hero-chevrons span {
  width: 54px;
  height: 14px;
  border-top: 5px solid var(--orange-500);
  border-right: 5px solid var(--orange-500);
  transform: rotate(45deg) translate(-8px, 0);
}

.hero-chevrons span:nth-child(2) { opacity: 0.6; }
.hero-chevrons span:nth-child(3) { opacity: 0.35; }

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
}

.eyebrow {
  color: var(--orange-400);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  margin: 0 0 10px;
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4rem);
  margin: 0 0 18px;
  line-height: 0.95;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--steel-300);
  max-width: 54ch;
  margin: 0 0 22px;
}

.status-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy-800);
  border: 1px solid var(--navy-700);
  border-left: 4px solid var(--orange-500);
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--steel-300);
  border-radius: 2px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 0 4px rgba(255,122,26,0.2);
  flex-shrink: 0;
}

/* Poster */

.hero-poster {
  position: relative;
  background: linear-gradient(180deg, #13263d 0%, var(--navy-900) 60%, var(--navy-950) 100%);
  border: 1px solid var(--navy-700);
  border-radius: 6px;
  min-height: 360px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}

.poster-sky {
  position: relative;
  height: 190px;
}

.poster-plane {
  position: absolute;
  top: 22px;
  left: 8%;
  width: 46%;
  opacity: 0.9;
}

.poster-chute {
  position: absolute;
  top: 40px;
  right: 14%;
  width: 34%;
  animation: drift 6s ease-in-out infinite;
}

@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

.poster-date {
  text-align: center;
  padding: 4px 0 8px;
}

.poster-month {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.4em;
  color: var(--steel-300);
}

.poster-day {
  display: block;
  font-family: var(--font-display);
  font-size: 5.2rem;
  line-height: 0.9;
  color: var(--orange-500);
  text-shadow: 0 0 30px rgba(255,122,26,0.35);
}

.poster-skyline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

/* ---------- Content sections ---------- */

.content-section {
  max-width: 880px;
  margin: 0 auto;
  padding: 56px 24px;
}

.content-section.alt {
  background: var(--navy-900);
  max-width: 100%;
  border-top: 1px solid var(--navy-700);
  border-bottom: 1px solid var(--navy-700);
}

.content-section.alt > * {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.content-section h2 {
  font-size: 1.6rem;
  margin: 0 0 20px;
  padding-left: 16px;
  border-left: 5px solid var(--orange-500);
}

.content-section p {
  color: var(--steel-300);
  font-size: 1.02rem;
  margin: 0 0 16px;
}

.inline-link {
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--orange-500);
  padding-bottom: 1px;
}

.inline-link:hover { color: var(--orange-500); }

/* Compare tables */

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  background: var(--navy-800);
  border: 1px solid var(--navy-700);
}

.compare-table caption {
  text-align: left;
  font-weight: 700;
  color: var(--orange-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.compare-table th,
.compare-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--navy-700);
  text-align: left;
  font-size: 0.95rem;
  color: var(--steel-300);
}

.compare-table thead th {
  color: var(--steel-100);
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  background: var(--navy-700);
}

.compare-table tbody th {
  color: var(--steel-100);
  font-weight: 600;
  white-space: nowrap;
}

.compare-table tbody tr:last-child td,
.compare-table tbody tr:last-child th {
  border-bottom: none;
}

/* ---------- Timeline ---------- */

.timeline-section h2 { border-left-color: var(--orange-500); }

.timeline {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--navy-700);
}

.timeline li {
  position: relative;
  padding-top: 26px;
}

.timeline li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--navy-800);
  border: 2px solid var(--orange-500);
}

.timeline li.timeline-target::before {
  background: var(--orange-500);
  box-shadow: 0 0 0 5px rgba(255,122,26,0.2);
}

.timeline-date {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--orange-400);
  margin-bottom: 8px;
}

.timeline li p {
  color: var(--steel-300);
  font-size: 0.92rem;
  margin: 0;
}

/* ---------- Guide cards ---------- */

.guide-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.guide-card {
  display: block;
  background: var(--navy-800);
  border: 1px solid var(--navy-700);
  border-top: 3px solid var(--orange-500);
  padding: 20px;
  text-decoration: none;
  transition: transform 0.15s, border-color 0.15s;
}

.guide-card:hover {
  transform: translateY(-3px);
  border-top-color: var(--orange-400);
}

.guide-card h3 {
  font-size: 1.02rem;
  margin: 0 0 8px;
  color: var(--steel-100);
  text-transform: none;
}

.guide-card p {
  margin: 0;
  color: var(--steel-500);
  font-size: 0.9rem;
}

/* ---------- FAQ ---------- */

.faq-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-list details {
  background: var(--navy-800);
  border: 1px solid var(--navy-700);
  padding: 4px 18px;
  border-radius: 2px;
}

.faq-list summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 700;
  color: var(--steel-100);
  list-style: none;
  position: relative;
  padding-right: 28px;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 12px;
  color: var(--orange-500);
  font-size: 1.3rem;
  font-weight: 700;
}

.faq-list details[open] summary::after {
  content: "\2212";
}

.faq-list details p {
  color: var(--steel-300);
  margin: 0 0 16px;
  font-size: 0.96rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-900);
  border-top: 3px solid var(--orange-500);
  padding: 40px 24px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 560px;
}

.footer-disclaimer {
  color: var(--steel-500);
  font-size: 0.85rem;
  margin-top: 12px;
}

.footer-nav {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.footer-nav a {
  color: var(--steel-300);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-nav a:hover { color: var(--orange-400); }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .guide-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .timeline {
    grid-template-columns: 1fr;
  }
  .timeline::before {
    top: 0;
    bottom: 0;
    left: 7px;
    right: auto;
    width: 2px;
    height: auto;
  }
  .timeline li {
    padding-left: 28px;
    padding-top: 0;
  }
  .timeline li::before {
    top: 2px;
    left: 0;
  }
}

/* ---------- Interior guide pages ---------- */

.page-hero {
  max-width: 880px;
  margin: 0 auto;
  padding: 54px 24px 34px;
}

.crumbs {
  color: var(--steel-500);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.crumbs a {
  color: var(--orange-400);
  text-decoration: none;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  margin: 0 0 18px;
}

.page-hero .hero-lead {
  max-width: 68ch;
}

.steps {
  margin: 22px 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 12px;
}

.steps li {
  counter-increment: step;
  position: relative;
  background: var(--navy-800);
  border: 1px solid var(--navy-700);
  padding: 14px 16px 14px 56px;
  color: var(--steel-300);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 14px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  background: var(--orange-500);
  color: var(--navy-950);
  font-weight: 900;
  border-radius: 50%;
}

.check-list {
  margin: 20px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--steel-300);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  background: var(--orange-500);
  clip-path: polygon(14% 46%, 0 62%, 42% 100%, 100% 18%, 84% 5%, 39% 70%);
}

.note-box {
  border: 1px solid rgba(255, 122, 26, 0.55);
  border-left: 5px solid var(--orange-500);
  background: rgba(255, 122, 26, 0.08);
  padding: 14px 18px;
  margin: 20px 0;
}

.note-box p:last-child { margin-bottom: 0; }

.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 22px 0;
}

.official-btn {
  display: inline-block;
  background: var(--orange-500);
  color: var(--navy-950);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 16px;
  border: 2px solid var(--orange-500);
}

.official-btn:hover {
  background: var(--orange-400);
  color: var(--navy-950);
}

.official-btn.secondary {
  background: transparent;
  color: var(--orange-400);
}

.official-btn.secondary:hover {
  color: var(--navy-950);
  background: var(--orange-400);
  border-color: var(--orange-400);
}

.main-nav a[aria-current="page"] {
  color: var(--orange-400);
  border-color: var(--orange-500);
}
