/* ============ FS BLACKLIGHT — FINAL STRIKE ============ */
:root {
  --bg: #05070d;
  --bg-2: #0a0e18;
  --panel: #0d1322;
  --line: #1c2438;
  --fire: #ff6b1a;
  --fire-2: #ff3d00;
  --gold: #ffb347;
  --text: #e8ecf5;
  --muted: #8a93a6;
  --nav-bg: rgba(5, 7, 13, 0.85);
  --fire-bg: rgba(255, 61, 0, 0.12);
  --fire-bg2: rgba(255, 107, 26, 0.04);
  --font-display: 'Orbitron', 'Rajdhani', sans-serif;
  --font-body: 'Rajdhani', 'Segoe UI', sans-serif;
}

/* ===== LIGHT THEME ===== */
[data-theme="light"] {
  --bg: #f2f5fb;
  --bg-2: #e9edf6;
  --panel: #ffffff;
  --line: #d8deea;
  --fire: #e05200;
  --fire-2: #c63d00;
  --gold: #a96a00;
  --text: #10162b;
  --muted: #5b6579;
  --nav-bg: rgba(242, 245, 251, 0.88);
  --fire-bg: rgba(198, 61, 0, 0.09);
  --fire-bg2: rgba(198, 61, 0, 0.03);
}

/* smooth theme transition */
body, .nav, .ticker, .stat, .skill-card, .clan-card, .master-card,
.footer, .btn-ghost, .theme-toggle, .section-title, .about-text p,
.skill-card p, .clan-card p, .hero-tag, .kicker, .avatar-caption, .join-text {
  transition: background-color 0.3s ease, border-color 0.3s ease,
              color 0.3s ease, box-shadow 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* ===== Ember particles + scanlines ===== */
#embers {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.scanlines {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px, transparent 3px,
    rgba(0, 0, 0, 0.08) 3px, rgba(0, 0, 0, 0.08) 4px
  );
  opacity: 0.5;
}
.nav, .hero, .ticker, .section, .footer, .promo-bar { position: relative; z-index: 2; }

/* ===== PROMO BAR ===== */
.promo-bar {
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 10px 5vw;
  background: linear-gradient(135deg, #ff8c1a, #ff5a00 55%, #ff3d00);
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-family: 'Hind Siliguri', var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5;
  animation: promoGlow 3s ease-in-out infinite;
}
.promo-bar:hover { background: linear-gradient(135deg, #ffa040, #ff6b1a 55%, #ff4d00); }
@keyframes promoGlow {
  0%, 100% { box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.15), 0 0 0 rgba(255, 61, 0, 0); }
  50% { box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.15), 0 4px 24px rgba(255, 61, 0, 0.55); }
}
.promo-diamond {
  font-size: 1.35rem;
  animation: diamondBounce 1.6s ease-in-out infinite;
  display: inline-block;
}
@keyframes diamondBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-4px) rotate(-8deg); }
  75% { transform: translateY(-2px) rotate(8deg); }
}
.promo-text {
  letter-spacing: 0.2px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.promo-btn {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.55);
  padding: 4px 16px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all 0.2s;
}
.promo-bar:hover .promo-btn {
  background: rgba(0, 0, 0, 0.42);
  border-color: #fff;
  transform: scale(1.05);
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 5vw;
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}
.logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 2px;
  color: var(--text);
  text-decoration: none;
}
.logo span { color: var(--fire); }
.nav nav { display: flex; gap: 26px; }
.nav nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1.5px;
  font-size: 0.95rem;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav nav a:hover { color: var(--fire); }
.nav-cta {
  color: var(--fire) !important;
  border: 1px solid var(--fire);
  padding: 5px 16px;
  border-radius: 4px;
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--fire); color: #000 !important; box-shadow: 0 0 18px rgba(255, 107, 26, 0.5); }

/* ===== THEME TOGGLE ===== */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--fire);
  color: var(--fire);
  box-shadow: 0 0 16px rgba(255, 107, 26, 0.4);
}
.theme-toggle svg { width: 19px; height: 19px; }
.icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: block; }

/* ===== HERO ===== */
.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 5vw 40px;
}
.hero-glow {
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(255, 61, 0, 0.22), transparent 65%);
  z-index: -1;
  animation: pulse 5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.12); }
}
.kicker {
  font-family: var(--font-display);
  color: var(--gold);
  letter-spacing: 6px;
  font-size: 0.85rem;
  margin-bottom: 18px;
  animation: flicker 4s infinite;
}
@keyframes flicker {
  0%, 100% { opacity: 1; }
  92% { opacity: 1; }
  93% { opacity: 0.4; }
  94% { opacity: 1; }
  97% { opacity: 0.6; }
  98% { opacity: 1; }
}
.hero-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4rem, 14vw, 9.5rem);
  line-height: 1;
  letter-spacing: 8px;
  background: linear-gradient(180deg, #ffd9a3 0%, var(--fire) 45%, var(--fire-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(255, 61, 0, 0.45));
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 3.2vw, 1.6rem);
  letter-spacing: 4px;
  color: var(--text);
  margin-top: 10px;
}
.hero-title .slash { color: var(--fire); }
.hero-tag {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.1rem;
  margin-top: 22px;
}
.hero-tag strong { color: var(--text); }
.hero-cta { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; justify-content: center; }

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.85rem;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s;
}
.btn-fire {
  background: linear-gradient(135deg, var(--fire), var(--fire-2));
  color: #fff;
  box-shadow: 0 4px 24px rgba(255, 61, 0, 0.4);
}
.btn-fire:hover { transform: translateY(-2px); box-shadow: 0 8px 34px rgba(255, 61, 0, 0.6); }
.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line);
  background: var(--panel);
}
.btn-ghost:hover { border-color: var(--fire); color: var(--fire); }
.btn-soon {
  color: var(--muted);
  border: 1px dashed var(--line);
  background: transparent;
  cursor: default;
}
.btn-wa, .btn-fb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}
.btn-wa {
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.35);
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 8px 34px rgba(37, 211, 102, 0.55); }
.btn-fb {
  background: linear-gradient(135deg, #1877f2, #0d47a1);
  box-shadow: 0 4px 24px rgba(24, 119, 242, 0.35);
}
.btn-fb:hover { transform: translateY(-2px); box-shadow: 0 8px 34px rgba(24, 119, 242, 0.55); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 56px;
  width: min(760px, 100%);
}
.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: var(--fire);
}
.stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: var(--text);
  word-break: break-word;
}

/* ===== TICKER ===== */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  padding: 10px 0;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: scroll 22s linear infinite;
}
.ticker-track span {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 0.85rem;
  color: var(--muted);
  white-space: nowrap;
}
.ticker-track i { color: var(--fire); font-style: normal; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== SECTIONS ===== */
.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 90px 5vw 30px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  letter-spacing: 4px;
  margin-bottom: 46px;
  position: relative;
  display: inline-block;
}
.section-title span { color: var(--fire); }
.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--fire), transparent);
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: center;
}
.avatar-wrap { text-align: center; }
.avatar-ring {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 0 auto;
  border-radius: 50%;
  padding: 6px;
  background: conic-gradient(var(--fire-2), var(--fire), var(--gold), var(--fire-2));
  animation: spin 8s linear infinite;
  box-shadow: 0 0 60px rgba(255, 61, 0, 0.35);
}
@keyframes spin { to { transform: rotate(360deg); } }
.avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  display: block;
  border: 4px solid var(--bg);
  animation: spin-rev 8s linear infinite;
}
@keyframes spin-rev { to { transform: rotate(-360deg); } }
.avatar-caption {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold);
  margin-top: 18px;
  font-size: 0.9rem;
}
.about-text h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 3px;
  color: var(--fire);
  margin-bottom: 14px;
}
.about-text p { color: var(--muted); margin-bottom: 16px; }
.about-text strong { color: var(--text); }
.about-text .btn { margin-top: 10px; }

/* ===== SKILLS ===== */
.master-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, var(--fire-bg), var(--fire-bg2));
  border: 1px solid rgba(255, 107, 26, 0.4);
  border-radius: 10px;
  padding: 24px 28px;
  margin-bottom: 30px;
}
.master-icon { font-size: 2.4rem; }
.master-card h4 {
  font-family: var(--font-display);
  letter-spacing: 2px;
  color: var(--text);
  font-size: 1.05rem;
}
.master-card p { color: var(--muted); }
.skill-grid, .clan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.skill-card, .clan-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 30px 24px;
  transition: all 0.25s;
}
.skill-card:hover, .clan-card:hover {
  border-color: var(--fire);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(255, 61, 0, 0.15);
}
.skill-icon, .clan-icon { font-size: 2rem; margin-bottom: 14px; }
.skill-card h5, .clan-card h5 {
  font-family: var(--font-display);
  letter-spacing: 2px;
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: var(--gold);
}
.skill-card p, .clan-card p { color: var(--muted); font-size: 0.98rem; }

/* ===== JOIN ===== */
.join { text-align: center; }
.join .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}
.join-text { max-width: 560px; margin: 0 auto 30px; color: var(--muted); }
.join-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.join-note {
  margin-top: 30px;
  font-family: var(--font-display);
  letter-spacing: 3px;
  font-size: 0.8rem;
  color: var(--fire);
}

/* ===== FOOTER ===== */
.footer {
  margin-top: 60px;
  border-top: 1px solid var(--line);
  padding: 30px 5vw;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  background: var(--bg-2);
}
.footer-note { font-size: 0.78rem; opacity: 0.6; margin-top: 6px; }
.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 14px;
}
.footer-social a {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s;
}
.fs-wa { color: #25d366; }
.fs-wa:hover { text-shadow: 0 0 14px rgba(37, 211, 102, 0.8); }
.fs-fb { color: #4d94ff; }
.fs-fb:hover { text-shadow: 0 0 14px rgba(24, 119, 242, 0.8); }
.fs-sep { color: var(--fire); }

/* ===== FOOTER CUSTOM INVITE ===== */
.footer-custom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 107, 26, 0.45);
  border-radius: 10px;
  background: linear-gradient(135deg, var(--fire-bg), var(--fire-bg2));
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.footer-custom-text {
  font-family: 'Hind Siliguri', var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: 0.3px;
  text-align: center;
}
.footer-custom-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 1.5px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, var(--fire), var(--fire-2));
  padding: 10px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(255, 61, 0, 0.35);
  transition: all 0.25s;
}
.footer-custom-phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 61, 0, 0.55);
}
[data-theme="light"] .footer-custom-phone { box-shadow: 0 4px 18px rgba(198, 61, 0, 0.3); }
[data-theme="light"] .footer-custom-phone:hover { box-shadow: 0 8px 28px rgba(198, 61, 0, 0.45); }
@media (max-width: 480px) {
  .footer-custom-text { font-size: 0.92rem; }
  .footer-custom-phone { font-size: 0.9rem; padding: 9px 20px; }
}

/* ===== Reveal on scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== LIGHT THEME TWEAKS ===== */
[data-theme="light"] .hero-glow {
  background: radial-gradient(circle, rgba(198, 61, 0, 0.13), transparent 65%);
}
[data-theme="light"] .scanlines {
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px, transparent 3px,
    rgba(0, 0, 0, 0.035) 3px, rgba(0, 0, 0, 0.035) 4px
  );
}
[data-theme="light"] .hero-name {
  background: linear-gradient(180deg, #ff9d1a 0%, #ef5a00 45%, #c93c00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 22px rgba(201, 60, 0, 0.3));
}
[data-theme="light"] .avatar-ring { box-shadow: 0 0 46px rgba(201, 60, 0, 0.28); }
[data-theme="light"] .btn-fire { box-shadow: 0 4px 20px rgba(198, 61, 0, 0.3); }
[data-theme="light"] .btn-fire:hover { box-shadow: 0 8px 30px rgba(198, 61, 0, 0.45); }
[data-theme="light"] .theme-toggle:hover { box-shadow: 0 0 14px rgba(198, 61, 0, 0.35); }
[data-theme="light"] .footer-note { opacity: 0.7; }

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .skill-grid, .clan-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .nav nav { gap: 14px; }
  .nav nav a { font-size: 0.8rem; letter-spacing: 1px; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .nav { padding: 12px 4vw; }
  .logo { font-size: 0.85rem; letter-spacing: 1px; }
  .hero-cta .btn { padding: 12px 20px; }
  .theme-toggle { width: 34px; height: 34px; }
  .theme-toggle svg { width: 16px; height: 16px; }
  .promo-bar { font-size: 0.85rem; gap: 6px 10px; padding: 8px 4vw; }
  .promo-diamond { font-size: 1.1rem; }
  .promo-btn { font-size: 0.65rem; padding: 3px 12px; }
}
