/* Dark Theme Variables */
:root {
  --bg: #0e0f14;
  --bg-soft: #141622;
  --text: #e6e6e6;
  --muted: #a8a8a8;
  --primary: #e74c3c;
  --primary-700: #c63f32;
  --accent: #00bcd4;
  --card: #1a1d2b;
  --border: #2a2e42;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1000px 800px at 10% 10%, #111425 0%, var(--bg) 60%) fixed;
}
.container { width: 100%; max-width: 1000px; margin: 0 auto; padding: 0 16px; }

/* Loader */
.loader { position: fixed; inset: 0; background: #0b0c12; display: grid; place-items: center; z-index: 9999; }
.loader-inner { text-align: center; }
.loader .logo { font-weight: 700; font-size: 28px; letter-spacing: 0.8px; color: var(--text); margin-bottom: 14px; }
.loader .bar { width: 240px; height: 4px; background: #1c2030; border-radius: 2px; overflow: hidden; margin: 8px auto 0; }
.loader .progress { display: block; width: 0%; height: 100%; background: linear-gradient(90deg, var(--primary), #ff7d6f); animation: loading 1.8s ease infinite; }
.loader p { color: var(--muted); font-size: 14px; margin-top: 10px; }
@keyframes loading { 0% { width: 0%; } 50% { width: 100%; } 100% { width: 0%; } }
.loader.hide { animation: fadeOut 500ms ease forwards; }
@keyframes fadeOut { to { opacity: 0; visibility: hidden; } }

/* Header */
.site-header { position: sticky; top: 0; backdrop-filter: saturate(140%) blur(8px); background: rgba(20, 22, 34, 0.6); border-bottom: 1px solid var(--border); z-index: 10; }
.header-wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand-name { font-weight: 600; color: var(--text); }
.social-link { color: var(--muted); text-decoration: none; }
.social-link:hover { color: var(--text); }

/* Hero */
.hero { text-align: center; padding: 72px 0 20px; }
.title { font-size: 34px; line-height: 1.15; margin: 0 0 12px; }
.subtitle { font-size: 18px; color: var(--muted); margin: 0; }

/* Info */
.info { padding: 28px 0 8px; }
.card { background: linear-gradient(180deg, var(--card), #161827); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); padding: 22px; }
.card h2 { margin: 0 0 10px; font-size: 22px; }
.card p { margin: 0 0 10px; color: var(--text); }
.bullets { margin: 14px 0; padding: 0 0 0 18px; }
.bullets li { margin: 6px 0; color: var(--muted); }

/* CTA */
.cta { text-align: center; padding: 16px 0 28px; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); margin-top: 20px; }
.site-footer .container { padding: 18px 0; text-align: center; color: var(--muted); font-size: 13px; }

/* Buttons */
.btn { display: inline-block; text-decoration: none; cursor: pointer; user-select: none; border-radius: 10px; font-weight: 600; transition: all .2s ease; }
.btn-primary { background: var(--primary); color: #fff; padding: 10px 16px; border: 1px solid transparent; }
.btn-primary:hover { background: var(--primary-700); transform: translateY(-1px); }
.btn-outline { border: 1px solid var(--border); color: var(--text); padding: 10px 16px; background: transparent; }
.btn-outline:hover { border-color: var(--primary); color: #fff; background: rgba(231, 76, 60, .12); }
.btn-sm { padding: 8px 12px; font-size: 13px; }

/* Audio Control */
.audio-ctl { position: fixed; right: 16px; bottom: 16px; z-index: 20; }
#audio-toggle[aria-pressed="true"] { background: #2b2f43; color: #fff; border-color: #3b4060; }
/* Icon spacing inside buttons */
.btn i { margin-right: 8px; }
.social-link i { margin-right: 6px; }

/* Hidden YouTube player container */
#yt-bg-player { position: fixed; width: 1px; height: 1px; opacity: 0; pointer-events: none; bottom: 0; right: 0; }

/* Responsive */
@media (max-width: 640px) {
  .title { font-size: 26px; }
  .subtitle { font-size: 16px; }
  .header-wrap { padding: 12px 0; }
  .card { padding: 18px; }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .loader .progress { animation: none; width: 100%; }
  .btn { transition: none; }
}