@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg: #fafaf8;
  --bg2: #f3f0fa;
  --bg3: #ede8f8;
  --gold: #d4a000;
  --gold2: #b8860b;
  --gold-bright: #FFD700;
  --gold-dim: rgba(212,160,0,0.12);
  --purple: #7c3aed;
  --purple2: #6d28d9;
  --purple-dim: rgba(124,58,237,0.1);
  --green: #059669;
  --green-dim: rgba(5,150,105,0.1);
  --red: #dc2626;
  --red-dim: rgba(220,38,38,0.1);
  --text: #1a1030;
  --text-muted: #6b5f8a;
  --border: rgba(124,58,237,0.15);
  --card: rgba(255,255,255,0.85);
  --card-hover: rgba(124,58,237,0.06);
  --radius: 16px;
  --radius-sm: 10px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse 70% 50% at 10% 0%, rgba(124,58,237,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(212,160,0,0.07) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(124,58,237,0.05) 0%, transparent 60%);
}

/* ─── Canvas Background ─── */
#candleCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0.12;
  pointer-events: none;
}

/* ─── Ticker Bar ─── */
.ticker-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #1a1030, #2d1b6e, #1a1030);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  height: 32px;
}
.ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
  height: 100%;
  width: max-content;
}
.ticker-item {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0 28px;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 8px;
}
.ticker-item .up   { color: var(--green); }
.ticker-item .down { color: var(--red); }
.ticker-item .sym  { color: var(--gold); }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── Nav ─── */
nav {
  position: fixed;
  top: 32px; left: 0; right: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 68px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(124,58,237,0.15);
  box-shadow: 0 2px 20px rgba(124,58,237,0.08);
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.nav-logo .logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: #040a0f;
  font-family: 'Bebas Neue', cursive;
  box-shadow: 0 0 20px rgba(255,215,0,0.35);
}
.nav-logo .logo-text {
  display: flex; flex-direction: column; line-height: 1;
}
.nav-logo .logo-text span:first-child {
  font-family: 'Bebas Neue', cursive;
  font-size: 19px;
  letter-spacing: 0.05em;
  background: linear-gradient(90deg, var(--purple), var(--purple2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-logo .logo-text span:last-child {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  letter-spacing: 0.02em;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gold);
  background: var(--gold-dim);
}
.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold2)) !important;
  color: #0b0812 !important;
  font-weight: 700 !important;
  padding: 8px 18px !important;
  box-shadow: 0 0 18px rgba(255,215,0,0.25);
}
.nav-cta:hover { box-shadow: 0 0 28px rgba(255,215,0,0.45) !important; transform: translateY(-1px); }

/* Hamburger */
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--gold); border-radius: 2px; transition: all 0.3s; display: block; }
.mobile-menu {
  display: none;
  position: fixed;
  top: 100px; left: 0; right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(124,58,237,0.12);
  padding: 20px 5%;
  z-index: 998;
  flex-direction: column; gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { text-decoration: none; color: var(--text); font-size: 16px; font-weight: 500; padding: 12px 0; border-bottom: 1px solid var(--border); display: block; }
.mobile-menu a:hover { color: var(--gold); }

/* ─── Page Wrapper ─── */
.page { position: relative; z-index: 1; padding-top: 100px; }

/* ─── Hero ─── */
.hero {
  min-height: 90vh;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 60px 5%;
  position: relative;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red-dim);
  border: 1px solid rgba(255,23,68,0.3);
  color: var(--red);
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  padding: 6px 16px; border-radius: 100px;
  margin-bottom: 28px;
  text-transform: uppercase;
  animation: pulseRed 2s ease-in-out infinite;
}
.hero-badge::before {
  content: ''; width: 7px; height: 7px;
  background: var(--red); border-radius: 50%;
  animation: blink 1s ease-in-out infinite;
}
@keyframes pulseRed { 0%,100%{box-shadow:0 0 0 0 rgba(255,23,68,0.3)} 50%{box-shadow:0 0 0 8px rgba(255,23,68,0)} }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero h1 {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(58px, 10vw, 110px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.hero h1 .line1 {
  background: linear-gradient(90deg, #1a1030 0%, var(--purple) 60%, var(--purple2) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  display: block;
}
.hero h1 .line2 {
  background: linear-gradient(90deg, var(--gold) 0%, #e6a800 50%, var(--red) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  display: block;
}
.hero-sub {
  font-size: clamp(15px, 2.5vw, 20px);
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.6;
  margin-bottom: 14px;
}
.hero-sub strong { color: var(--gold); font-weight: 600; }
.hero-tanglish {
  font-size: clamp(13px, 2vw, 16px);
  color: var(--green);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 40px;
  opacity: 0.85;
}
.hero-btns {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap;
  margin-bottom: 60px;
}
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-size: 14px; font-weight: 600; letter-spacing: 0.03em;
  text-decoration: none; cursor: pointer; border: none;
  transition: all 0.25s;
  font-family: 'Inter', sans-serif;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #0b0812;
  box-shadow: 0 4px 24px rgba(255,215,0,0.3);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(255,215,0,0.45); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }
.btn-youtube { background: rgba(255,0,0,0.12); color: #ff4444; border: 1px solid rgba(255,0,0,0.25); }
.btn-youtube:hover { background: rgba(255,0,0,0.2); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,0,0,0.2); }
.btn-telegram { background: rgba(41,182,246,0.1); color: #29b6f6; border: 1px solid rgba(41,182,246,0.25); }
.btn-telegram:hover { background: rgba(41,182,246,0.2); transform: translateY(-2px); }
.btn-insta { background: rgba(225,48,108,0.1); color: #e1306c; border: 1px solid rgba(225,48,108,0.25); }
.btn-insta:hover { background: rgba(225,48,108,0.2); transform: translateY(-2px); }

/* XAUUSD Live Box */
.xauusd-box {
  display: inline-flex; align-items: center; gap: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 28px;
  backdrop-filter: blur(12px);
}
.xauusd-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }
.xauusd-price { font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 700; color: var(--gold); }
.xauusd-change { font-size: 13px; font-weight: 600; color: var(--green); }
.xauusd-divider { width: 1px; height: 36px; background: var(--border); }

/* ─── Section ─── */
section { padding: 80px 5%; }
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.section-sub { font-size: 16px; color: var(--text-muted); max-width: 520px; line-height: 1.65; }

/* ─── Grid Cards ─── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 44px; }
.card {
  background: var(--card);
  border: 1px solid rgba(124,58,237,0.12);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.25s;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(124,58,237,0.06);
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--purple), var(--gold), transparent);
  opacity: 0; transition: opacity 0.25s;
}
.card:hover { background: rgba(124,58,237,0.04); border-color: rgba(124,58,237,0.3); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(124,58,237,0.15); }
.card:hover::before { opacity: 1; }
.card-icon { font-size: 32px; margin-bottom: 16px; }
.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.card-tag {
  display: inline-block; margin-top: 14px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px;
}
.tag-gold { background: var(--gold-dim); color: var(--gold); }
.tag-green { background: var(--green-dim); color: var(--green); }
.tag-red { background: var(--red-dim); color: var(--red); }

/* ─── Social Links ─── */
.social-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 44px; }
.social-card {
  display: flex; align-items: center; gap: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  text-decoration: none; color: inherit;
  transition: all 0.25s;
}
.social-card:hover { transform: translateY(-3px); }
.social-card.yt { border-color: rgba(255,0,0,0.2); }
.social-card.yt:hover { background: rgba(255,0,0,0.08); border-color: rgba(255,0,0,0.4); box-shadow: 0 8px 24px rgba(255,0,0,0.15); }
.social-card.ig { border-color: rgba(225,48,108,0.2); }
.social-card.ig:hover { background: rgba(225,48,108,0.08); border-color: rgba(225,48,108,0.4); box-shadow: 0 8px 24px rgba(225,48,108,0.15); }
.social-card.tg { border-color: rgba(41,182,246,0.2); }
.social-card.tg:hover { background: rgba(41,182,246,0.08); border-color: rgba(41,182,246,0.4); box-shadow: 0 8px 24px rgba(41,182,246,0.15); }
.social-icon { font-size: 32px; flex-shrink: 0; }
.social-info { flex: 1; }
.social-name { font-size: 16px; font-weight: 700; }
.social-handle { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.social-arrow { color: var(--text-muted); font-size: 18px; }

/* ─── Chart Vibes Section ─── */
.chart-section { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.mini-chart { height: 120px; position: relative; margin: 32px 0 0; overflow: hidden; }

/* ─── Song Card ─── */
.song-card {
  background: linear-gradient(135deg, rgba(255,215,0,0.06), rgba(255,165,0,0.03));
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: var(--radius);
  padding: 32px;
  display: flex; align-items: center; gap: 24px;
  margin-top: 32px; flex-wrap: wrap;
}
.song-art {
  width: 80px; height: 80px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  box-shadow: 0 8px 24px rgba(255,215,0,0.3);
}
.song-info h4 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.song-info p { font-size: 14px; color: var(--text-muted); }
.song-tag { display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); background: var(--gold-dim); padding: 4px 12px; border-radius: 100px; }

/* ─── Disclaimer ─── */
.disclaimer {
  background: rgba(255,165,0,0.05);
  border: 1px solid rgba(255,165,0,0.2);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: 32px;
}
.disclaimer-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.disclaimer p { font-size: 13px; color: var(--text-muted); line-height: 1.55; }
.disclaimer strong { color: var(--gold2); }

/* ─── About page ─── */
.about-hero { text-align: center; padding: 80px 5% 40px; }
.avatar-ring {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--red), var(--green));
  padding: 3px; margin: 0 auto 24px;
  box-shadow: 0 0 40px rgba(255,215,0,0.25);
}
.avatar-inner {
  width: 100%; height: 100%; border-radius: 50%;
  background: var(--bg2);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
}
.stat-row { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin: 40px 0; }
.stat { text-align: center; }
.stat-num { font-family: 'Bebas Neue', cursive; font-size: 42px; color: var(--gold); line-height: 1; }
.stat-lbl { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }

/* ─── YouTube Page ─── */
.yt-hero { text-align: center; padding: 80px 5% 40px; }
.yt-embed-wrap {
  max-width: 860px; margin: 40px auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 16px 64px rgba(0,0,0,0.5);
}
.yt-embed-wrap iframe { width: 100%; display: block; }

/* ─── Connect Page ─── */
.connect-hero { text-align: center; padding: 80px 5% 40px; }
.connect-cards { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.connect-card {
  display: flex; align-items: center; gap: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 28px;
  text-decoration: none; color: inherit;
  transition: all 0.25s;
  cursor: pointer;
}
.connect-card:hover { transform: translateX(6px); }
.connect-card.yt:hover { background: rgba(255,0,0,0.08); border-color: rgba(255,0,0,0.35); }
.connect-card.ig:hover { background: rgba(225,48,108,0.08); border-color: rgba(225,48,108,0.35); }
.connect-card.tg:hover { background: rgba(41,182,246,0.08); border-color: rgba(41,182,246,0.35); }
.cc-icon { font-size: 36px; }
.cc-text h4 { font-size: 17px; font-weight: 700; }
.cc-text p { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.cc-arrow { margin-left: auto; color: var(--text-muted); font-size: 20px; }

/* ─── Footer ─── */
footer {
  border-top: 1px solid rgba(124,58,237,0.15);
  padding: 40px 5%;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  background: linear-gradient(180deg, #2d1b6e, #1a1030);
  color: #e0d4ff;
}
.footer-brand { font-family: 'Bebas Neue', cursive; font-size: 20px; color: #FFD700; letter-spacing: 0.05em; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: rgba(224,212,255,0.7); text-decoration: none; font-size: 13px; }
.footer-links a:hover { color: #FFD700; }
.footer-note { font-size: 12px; color: rgba(224,212,255,0.5); width: 100%; text-align: center; }
.footer-social { display: flex; gap: 12px; align-items: center; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; transition: all 0.2s; text-decoration: none; }
.footer-social a:hover { transform: translateY(-3px); }
.footer-social a.yt  { background: #FF0000; }
.footer-social a.ig  { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.footer-social a.tg  { background: #29B6F6; }
.footer-social a.sp  { background: #1DB954; }
.footer-social a.fb  { background: #1877F2; }

/* ─── Glowing divider ─── */
.glow-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple), var(--gold), var(--purple), transparent);
  margin: 0; opacity: 0.5;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  /* Nav */
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* Page padding */
  section { padding: 52px 4% !important; }

  /* Hero */
  .hero { min-height: auto; padding: 52px 4% 48px; }
  .hero-btns { gap: 10px; }
  .hero-btns .btn { flex: 1 1 calc(50% - 5px); justify-content: center; text-align: center; font-size: 13px; padding: 12px 10px; }

  /* XAUUSD box */
  .xauusd-box { flex-direction: column; gap: 10px; text-align: center; padding: 14px 20px; width: 100%; max-width: 100%; }
  .xauusd-divider { width: 60px; height: 1px; }

  /* Hero newsletter form */
  .hero #newsletterForm { flex-direction: column; }
  .hero #newsletterForm input { width: 100%; }
  .hero #newsletterForm button { width: 100%; justify-content: center; }

  /* Platform cards */
  .platform-cards-grid { grid-template-columns: 1fr !important; }

  /* Songs grid */
  .songs-grid { grid-template-columns: 1fr !important; }
  .songs-grid > div:last-child img { height: 200px !important; }

  /* Feature cards grid */
  .cards-grid { grid-template-columns: 1fr !important; }

  /* Social grid */
  .social-grid { grid-template-columns: 1fr !important; }

  /* Connect cards */
  .connect-cards { grid-template-columns: 1fr !important; }

  /* Section titles */
  .section-title { font-size: clamp(30px, 8vw, 44px) !important; }

  /* Stat row */
  .stat-row { gap: 24px; flex-wrap: wrap; }

  /* Footer */
  footer { flex-direction: column; text-align: center; padding: 32px 4%; }
  .footer-links { justify-content: center; }
  .footer-note { text-align: center; }

  /* Misc */
  .hero-sub { font-size: 15px; }
  .section-sub { font-size: 14px; }
}

@media (max-width: 480px) {
  .hero-btns .btn { flex: 1 1 100%; }
  .hero h1 { font-size: clamp(50px, 16vw, 80px); }
  .xauusd-box { font-size: 14px; }
  .card { padding: 22px 18px; }
  nav { padding: 0 4%; }
}
