/* ============================================================================
   Fair Fight BD — premium Free Fire tournament landing (static, SEO-first)
   Palette: ultra-navy #020917 · electric cyan · luminous gold
   ========================================================================== */
:root {
  --navy-900: #020917;
  --navy-850: #040c1e;
  --navy-800: #061329;
  --navy-700: #0a1b38;
  --navy-600: #0d203f;
  --card: #081633;
  --card-hi: #0c2048;
  --line: rgba(70, 140, 220, 0.16);
  --line-hi: rgba(80, 170, 255, 0.42);
  --cyan: #2ea8ff;
  --cyan-bright: #58c6ff;
  --cyan-deep: #1270d8;
  --gold: #f6c53c;
  --gold-deep: #e0a11d;
  --text: #eaf2ff;
  --muted: #90a4c8;
  --muted-dim: #67789c;
  --radius: 16px;
  --shell: 1200px;
  --sans: "Hind Siliguri", system-ui, "Segoe UI", Roboto, sans-serif;
  --display: "Rajdhani", "Hind Siliguri", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  font-family: var(--sans);
  background: var(--navy-900);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* ambient background glows */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 600px at 78% -5%, rgba(30, 120, 230, 0.20), transparent 60%),
    radial-gradient(700px 500px at 8% 12%, rgba(20, 90, 200, 0.12), transparent 60%),
    radial-gradient(1000px 700px at 50% 108%, rgba(20, 80, 180, 0.14), transparent 60%),
    var(--navy-900);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.05; text-wrap: balance; letter-spacing: 0.2px; }
.shell { width: min(100% - 40px, var(--shell)); margin-inline: auto; }
.kicker {
  display: inline-block; font-family: var(--display); font-weight: 600;
  letter-spacing: 3px; font-size: 13px; text-transform: uppercase;
  color: var(--cyan-bright);
}
.kicker::before, .kicker::after { content: "·"; margin: 0 8px; color: var(--gold); }
.en { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--display); font-weight: 700; letter-spacing: 0.4px;
  border: 0; border-radius: 12px; cursor: pointer;
  padding: 13px 22px; font-size: 16px; line-height: 1;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-gold {
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #1a1203;
  box-shadow: 0 8px 26px rgba(224, 161, 29, 0.32), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(224, 161, 29, 0.45); }
.btn-ghost {
  background: rgba(20, 50, 95, 0.35); color: var(--text);
  border: 1px solid var(--line-hi);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--cyan); }
.btn.big { padding: 16px 30px; font-size: 18px; }
.btn:focus-visible, a:focus-visible, summary:focus-visible, button:focus-visible {
  outline: 2px solid var(--cyan-bright); outline-offset: 3px;
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 12px 0;
  background: rgba(3, 9, 23, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .shell { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: min(100% - 40px, var(--shell)); }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(46,168,255,0.5)); }
.brand b { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: 1px; }
.brand b em { color: var(--cyan-bright); font-style: normal; }
.menu { display: flex; align-items: center; gap: 26px; }
.menu a { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: 0.6px; color: var(--muted); transition: color 0.15s; }
.menu a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-btn {
  font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 1px;
  background: transparent; color: var(--cyan-bright);
  border: 1px solid var(--line-hi); border-radius: 10px; padding: 8px 12px; cursor: pointer;
}
.hamburger { display: none; background: transparent; border: 1px solid var(--line-hi); color: var(--text); width: 42px; height: 42px; border-radius: 10px; font-size: 20px; cursor: pointer; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 46px 0 30px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 30px; align-items: center; }
.badge-top {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 600; letter-spacing: 2px; font-size: 13px;
  color: var(--gold); text-transform: uppercase; margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(42px, 7vw, 82px); line-height: 0.92; text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #bfe0ff 55%, #6fb8ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 18px rgba(46, 150, 255, 0.35));
}
.hero h1 span { display: block; font-size: clamp(22px, 3.4vw, 40px); color: var(--cyan-bright); -webkit-text-fill-color: var(--cyan-bright); letter-spacing: 2px; }
.hero .bn-tag { font-family: var(--sans); font-weight: 700; font-size: clamp(19px, 2.6vw, 27px); color: var(--text); margin: 14px 0 10px; }
.hero p.lead { color: var(--muted); font-size: 16px; max-width: 520px; margin-bottom: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 20px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 16px 22px; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--muted); }
.trust-row svg { width: 17px; height: 17px; color: var(--cyan-bright); }
.hero-art { position: relative; }
.hero-art .frame {
  position: relative; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line-hi);
  box-shadow: 0 30px 80px rgba(2, 20, 50, 0.6), 0 0 0 1px rgba(46,168,255,0.08);
}
.hero-art .frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.hero-art .shield {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  width: clamp(120px, 20vw, 190px);
  filter: drop-shadow(0 0 26px rgba(46, 168, 255, 0.7));
}
/* clean shield-only hero visual (no character banner) */
.hero-art .shield-stage { position: relative; display: grid; place-items: center; min-height: 360px; }
.hero-art .shield-stage::before {
  content: ""; position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 168, 255, 0.32), transparent 66%);
  filter: blur(16px); z-index: 0;
}
.hero-art .shield-main {
  position: relative; z-index: 1; width: min(82%, 440px); height: auto;
  filter: drop-shadow(0 0 42px rgba(46, 168, 255, 0.62));
  animation: floaty 5s ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .hero-art .shield-main { animation: none; } }

/* ---------- metrics ---------- */
.metrics { margin-top: 26px; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.metric {
  display: flex; gap: 13px; align-items: center;
  background: linear-gradient(180deg, var(--card-hi), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px;
}
.metric .mi { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: rgba(46, 140, 255, 0.14); color: var(--cyan-bright); }
.metric .mi svg { width: 22px; height: 22px; }
.metric b { font-family: var(--display); font-size: 20px; display: block; }
.metric small { color: var(--muted); font-size: 12.5px; }

/* ---------- section scaffold ---------- */
.section { padding: 64px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 38px; }
.section-head h2 { font-size: clamp(28px, 4.4vw, 46px); margin: 12px 0 10px; text-transform: uppercase; }
.section-head h2 em { color: var(--cyan-bright); font-style: normal; }
.section-head p { color: var(--muted); }

/* feature grid */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.feature {
  background: linear-gradient(180deg, var(--card-hi), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.feature:hover { transform: translateY(-4px); border-color: var(--line-hi); box-shadow: 0 16px 40px rgba(6, 22, 55, 0.6); }
.feature .glyph { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: rgba(46, 140, 255, 0.13); color: var(--cyan-bright); margin-bottom: 14px; border: 1px solid var(--line-hi); }
.feature .glyph svg { width: 24px; height: 24px; }
.feature h3 { font-size: 18px; letter-spacing: 0.3px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 13.5px; }

/* why band */
.why { position: relative; padding: 60px 0; border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(8,22,50,0.5), rgba(3,9,23,0.2)); }
.why-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 30px; align-items: center; }
.why h2 { font-size: clamp(28px, 4.2vw, 44px); text-transform: uppercase; }
.why h2 em { color: var(--cyan-bright); font-style: normal; }
.why p.sub { color: var(--muted); margin-top: 12px; }
.why-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.why-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.why-card .glyph { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: rgba(46,140,255,0.12); color: var(--cyan-bright); margin-bottom: 11px; }
.why-card .glyph svg { width: 21px; height: 21px; }
.why-card h4 { font-size: 15.5px; font-family: var(--display); margin-bottom: 5px; }
.why-card p { color: var(--muted); font-size: 12.5px; }

/* modes */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mode {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 230px;
  border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px; isolation: isolate; transition: transform 0.2s ease, border-color 0.2s;
}
.mode:hover { transform: translateY(-4px); border-color: var(--line-hi); }
.mode::before { content: ""; position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transform: scale(1.02); transition: transform 0.4s ease; }
.mode:hover::before { transform: scale(1.08); }
.mode::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3,9,23,0.1) 20%, rgba(3,9,23,0.55) 55%, rgba(3,9,23,0.94) 100%); }
.mode.lw::before { background-image: url("../assets/hero-art.webp"); }
.mode.cs::before { background-image: url("../assets/tournament-art.webp"); }
.mode.br::before { background-image: url("../assets/footer-art.webp"); }
.mode .tag { font-family: var(--display); letter-spacing: 2px; font-size: 12px; color: var(--cyan-bright); text-transform: uppercase; }
.mode h3 { font-size: 24px; text-transform: uppercase; margin: 4px 0 6px; }
.mode p { color: var(--muted); font-size: 13px; }

/* steps (auto flow) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; counter-reset: s; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--display); font-weight: 700; font-size: 34px; color: rgba(46,168,255,0.25); line-height: 1; }
.step h4 { font-family: var(--display); font-size: 17px; margin: 8px 0 6px; }
.step p { color: var(--muted); font-size: 13px; }

/* longform SEO content */
.prose { max-width: 820px; margin: 0 auto; }
.prose h3 { font-size: 22px; color: var(--text); margin: 26px 0 10px; }
.prose p { color: var(--muted); margin-bottom: 12px; }
.prose .en { display: block; font-size: 14px; }

/* FAQ */
.faq-wrap { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 13px; padding: 4px 18px; }
details[open] { border-color: var(--line-hi); }
summary { cursor: pointer; list-style: none; padding: 15px 0; font-family: var(--display); font-weight: 600; font-size: 16.5px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--cyan-bright); font-size: 22px; font-weight: 400; transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding: 0 0 16px; font-size: 14.5px; }

/* CTA band */
.cta-band { position: relative; margin: 20px auto; border-radius: 26px; overflow: hidden; border: 1px solid var(--line-hi); }
.cta-band .bg { position: absolute; inset: 0; z-index: -2; background: url("../assets/footer-art.webp") center/cover; }
.cta-band .ov { position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(3,9,23,0.92), rgba(5,20,50,0.72)); }
.cta-inner { text-align: center; padding: 56px 24px; }
.cta-inner h2 { font-size: clamp(26px, 4.4vw, 46px); text-transform: uppercase; }
.cta-inner h2 em { color: var(--gold); font-style: normal; }
.cta-inner p { color: var(--muted); margin: 12px auto 22px; max-width: 540px; }
.cta-inner small { display: block; color: var(--muted-dim); margin-top: 14px; font-size: 12.5px; }
.cta-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 20px; margin-top: 18px; }
.cta-chips span { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--muted); }
.cta-chips svg { width: 16px; height: 16px; color: var(--cyan-bright); }

/* footer */
footer.site { border-top: 1px solid var(--line); padding: 40px 0 26px; margin-top: 30px; }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
.foot-brand { display: flex; align-items: center; gap: 11px; }
.foot-brand img { width: 38px; height: 38px; }
.foot-brand b { font-family: var(--display); font-size: 20px; letter-spacing: 1px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; }
.foot-links a { color: var(--muted); font-size: 14px; }
.foot-links a:hover { color: var(--text); }
.socials { display: flex; gap: 12px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); transition: 0.15s; }
.socials a:hover { color: var(--cyan-bright); border-color: var(--line-hi); }
.socials svg { width: 18px; height: 18px; }
.foot-legal { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted-dim); font-size: 12.5px; }
.foot-legal .disclaimer { margin-top: 8px; }

/* download page */
.dl-hero { padding: 54px 0 20px; text-align: center; }
.dl-hero h1 { font-size: clamp(34px, 6vw, 60px); text-transform: uppercase; background: linear-gradient(180deg,#fff,#7cc0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dl-card { max-width: 560px; margin: 26px auto 0; background: linear-gradient(180deg, var(--card-hi), var(--card)); border: 1px solid var(--line-hi); border-radius: 22px; padding: 30px 26px; }
.dl-card .ver { color: var(--muted); font-size: 13px; margin-top: 6px; }
.dl-meta { display: flex; justify-content: center; gap: 22px; margin: 20px 0; flex-wrap: wrap; }
.dl-meta div { text-align: center; }
.dl-meta b { font-family: var(--display); font-size: 17px; display: block; }
.dl-meta small { color: var(--muted); font-size: 12px; }
.dl-steps { max-width: 620px; margin: 40px auto 0; display: grid; gap: 12px; }
.dl-step { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 13px; padding: 16px 18px; }
.dl-step .n { flex: 0 0 auto; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: rgba(46,140,255,0.14); color: var(--cyan-bright); font-family: var(--display); font-weight: 700; }
.dl-step p { font-size: 14px; }
.dl-step p b { color: var(--text); }
.note { max-width: 620px; margin: 22px auto 0; background: rgba(246,197,60,0.08); border: 1px solid rgba(246,197,60,0.3); border-radius: 13px; padding: 15px 18px; color: #f3dca0; font-size: 13.5px; }

/* responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; margin: 6px auto 0; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .modes { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .menu { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--navy-850); border-bottom: 1px solid var(--line); padding: 8px 0; }
  .menu.open { display: flex; }
  .menu a { padding: 13px 24px; width: 100%; }
  .hamburger { display: block; }
  .navdownload { display: none; }
  .section { padding: 48px 0; }
}
@media (max-width: 480px) {
  .features { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .modes { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .brand b { font-size: 19px; }
}

/* language switch visibility */
body[data-lang="en"] .bn { display: none; }
body[data-lang="bn"] .en-only { display: none; }
