/* BTG DJs Minimal CSS - Optional Enhancement Styles */

/* Smooth scrolling for better UX */
html {
  scroll-behavior: smooth;
}

/* Enhanced button hover effects */
.btn {
  box-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);
  transition: all 0.3s ease;
}

.btn:hover {
  box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

/* Card hover animations */
.card, .post-card {
  transition: all 0.3s ease;
}

.card:hover, .post-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Loading state for Ghost posts */
#latest-posts:empty::before {
  content: "Loading latest posts...";
  display: block;
  text-align: center;
  opacity: 0.6;
  padding: 2rem;
}

/* Responsive typography */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .grid {
    grid-template-columns: 1fr;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus indicators for keyboard navigation */
.btn:focus,
nav a:focus,
#themeToggle:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

/* Print styles */
@media print {
  #themeToggle,
  .btn {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
}

:root{
  /* BTG Heat palette (HSL) */
  --btg-blaze: hsl(12 100% 40%);
  --btg-heat:  hsl(16 100% 50%);
  --btg-neon:  hsl(28 100% 54%);
  --btg-ember: hsl(20 100% 55%);
  --btg-flame: hsl(24 100% 64%);

  /* Dark neutrals (HSL) */
  --btg-void:   hsl(0 0% 4%);
  --btg-abyss:  hsl(220 15% 8%);
  --btg-night:  hsl(220 15% 12%);
  --surface-1:  hsl(220 12% 18%);
  --surface-2:  hsl(220 10% 25%);

  /* Text */
  --btg-text-primary:   #fff;
  --btg-text-secondary: rgba(255,255,255,.7);
  --btg-text-tertiary:  rgba(255,255,255,.5);
  --btg-text-disabled:  rgba(255,255,255,.3);
}

/* Typography scale — Inter as workhorse, IBM Plex Mono for code */
.text-display-xxl{ font-family:Inter,system-ui,sans-serif; font-weight:900; font-size:clamp(4rem,12vw,10rem); line-height:0.95; letter-spacing:-0.02em; }
.display-xl     { font-family:Inter,system-ui,sans-serif; font-weight:800; font-size:clamp(3rem,8vw,7rem);   line-height:1;    letter-spacing:-0.02em; }
.display-lg     { font-family:Inter,system-ui,sans-serif; font-weight:800; font-size:clamp(2.5rem,6vw,5rem); line-height:1.02; letter-spacing:-0.02em; }
.t-h1           { font-family:Inter,system-ui,sans-serif; font-weight:700; font-size:48px; line-height:1.1; letter-spacing:-0.01em; }
.t-h2           { font-family:Inter,system-ui,sans-serif; font-weight:700; font-size:36px; line-height:1.15; }
.t-h3           { font-family:Inter,system-ui,sans-serif; font-weight:600; font-size:24px; line-height:1.2; }

.t-body-lg      { font-family:Inter,system-ui,sans-serif; font-weight:400; font-size:18px; line-height:1.65; color:var(--btg-text-secondary); }
.t-body         { font-family:Inter,system-ui,sans-serif; font-weight:400; font-size:16px; line-height:1.7; }
.t-body-sm      { font-family:Inter,system-ui,sans-serif; font-weight:400; font-size:14px; line-height:1.6; color:var(--btg-text-tertiary); }

.t-mono         { font-family:"IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace; font-weight:400; font-size:16px; }


/* =============================================================
   BTG OVERRIDES — Palette + Typography (Appended 2025-08-13T23:36:37Z)
   Non-negotiables: Heat palette (HSL) + Inter scale + IBM Plex Mono
   These overrides are appended to ensure they take precedence.
   ============================================================= */

/* Load fonts (so pages don't need <link> tags) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&family=IBM+Plex+Mono:wght@400&display=swap');

:root{
  /* BTG Heat palette (HSL) */
  --btg-blaze: hsl(12 100% 40%);
  --btg-heat:  hsl(16 100% 50%);
  --btg-neon:  hsl(28 100% 54%);
  --btg-ember: hsl(20 100% 55%);
  --btg-flame: hsl(24 100% 64%);

  /* Dark neutrals (HSL) */
  --btg-void:   hsl(0  0%  4%);
  --btg-abyss:  hsl(220 15% 8%);
  --btg-night:  hsl(220 15% 12%);
  --surface-1:  hsl(220 12% 18%);
  --surface-2:  hsl(220 10% 25%);

  /* Text colors */
  --btg-text-primary:   #ffffff;
  --btg-text-secondary: rgba(255,255,255,.72);
  --btg-text-tertiary:  rgba(255,255,255,.56);
  --btg-text-disabled:  rgba(255,255,255,.36);
}

/* Base application of palette + fonts */
html,body{
  background: var(--btg-void);
  color: var(--btg-text-primary);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Utility: heat gradient text */
.text-gradient{
  background: linear-gradient(135deg, var(--btg-heat), var(--btg-ember));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* CTA primaries mapped to heat */
.btn-primary,.cta-primary{
  background: linear-gradient(135deg, var(--btg-heat), var(--btg-ember));
  color: #111;
  border: none;
}
.btn-primary:hover,.cta-primary:hover{
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* Cards and surfaces */
.surface-1{ background: var(--surface-1); border: 1px solid color-mix(in oklab, var(--surface-2), white 8%); }
.surface-2{ background: var(--surface-2); border: 1px solid color-mix(in oklab, var(--surface-2), white 10%); }
.card:hover{ border-color: var(--btg-heat); box-shadow: 0 8px 24px rgba(0,0,0,.35); }

/* --- Typography scale (Inter) --- */
.text-display-xxl{ font-family: Inter, system-ui, sans-serif; font-weight: 900; font-size: clamp(4rem, 12vw, 10rem); line-height: 0.95; letter-spacing: -0.02em; }
.display-xl     { font-family: Inter, system-ui, sans-serif; font-weight: 800; font-size: clamp(3rem, 8vw, 7rem);   line-height: 1.00; letter-spacing: -0.02em; }
.display-lg     { font-family: Inter, system-ui, sans-serif; font-weight: 800; font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.02; letter-spacing: -0.02em; }
.t-h1           { font-family: Inter, system-ui, sans-serif; font-weight: 700; font-size: 48px; line-height: 1.10; letter-spacing: -0.01em; }
.t-h2           { font-family: Inter, system-ui, sans-serif; font-weight: 700; font-size: 36px; line-height: 1.15; }
.t-h3           { font-family: Inter, system-ui, sans-serif; font-weight: 600; font-size: 24px; line-height: 1.20; }

.t-body-lg      { font-family: Inter, system-ui, sans-serif; font-weight: 400; font-size: 18px; line-height: 1.65; color: var(--btg-text-secondary); }
.t-body         { font-family: Inter, system-ui, sans-serif; font-weight: 400; font-size: 16px; line-height: 1.70; }
.t-body-sm      { font-family: Inter, system-ui, sans-serif; font-weight: 400; font-size: 14px; line-height: 1.60; color: var(--btg-text-tertiary); }

/* Monospace */
.t-mono{ font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-weight: 400; font-size: 16px; }

