/*
Theme Name: StreamForge
Theme URI: https://example.com/streamforge
Author: StreamForge Theme
Author URI: https://example.com
Description: A high-energy, neon-charged WordPress theme built for streamers. Features YouTube video embeds, VOD galleries, schedule display, social links, and a dynamic gamer aesthetic.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: streamforge
Tags: gaming, streaming, dark, neon, custom-colors, custom-header, custom-menu, featured-images, full-width-template, sticky-post, threaded-comments, translation-ready
*/

/* =====================================================
   CSS CUSTOM PROPERTIES
   ===================================================== */
:root {
  --color-bg:         #060610;
  --color-surface:    #0d0d1f;
  --color-card:       #111128;
  --color-border:     #1e1e3f;
  --color-neon:       #00f5ff;
  --color-neon-dim:   #00f5ff33;
  --color-accent:     #bf00ff;
  --color-accent-dim: #bf00ff33;
  --color-hot:        #ff3c6e;
  --color-hot-dim:    #ff3c6e33;
  --color-text:       #e0e0f8;
  --color-muted:      #6b6b9a;
  --color-white:      #ffffff;

  --font-display: 'Orbitron', monospace;
  --font-body:    'Exo 2', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --shadow-neon:   0 0 20px var(--color-neon-dim), 0 0 60px var(--color-neon-dim);
  --shadow-accent: 0 0 20px var(--color-accent-dim), 0 0 60px var(--color-accent-dim);
  --shadow-hot:    0 0 20px var(--color-hot-dim), 0 0 60px var(--color-hot-dim);

  --transition-fast: 0.15s ease;
  --transition-med:  0.3s ease;
  --transition-slow: 0.6s ease;

  --container-max: 1400px;
  --header-height: 72px;
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

a { color: var(--color-neon); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--color-white); }

img, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.75rem); }

p { margin-bottom: 1rem; }
ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }

/* =====================================================
   LAYOUT
   ===================================================== */
.sf-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

.sf-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2rem; }
.sf-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem; }
.sf-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.5rem; }

@media (max-width: 1024px) {
  .sf-grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sf-grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .sf-grid-2, .sf-grid-3, .sf-grid-4 { grid-template-columns: 1fr; }
}

.sf-section { padding: clamp(3rem, 8vw, 6rem) 0; }

.sf-section-header {
  margin-bottom: 3rem;
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.sf-section-title { position: relative; display: inline-block; }

.sf-section-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-neon), transparent);
}

.sf-section-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--color-border);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.sf-section-link:hover {
  color: var(--color-neon);
  border-color: var(--color-neon);
  box-shadow: var(--shadow-neon);
}

/* =====================================================
   SCROLLBAR
   ===================================================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-neon); }

/* =====================================================
   HEADER / NAV
   ===================================================== */
.sf-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(6, 6, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: border-color var(--transition-med);
}

.sf-header.is-scrolled { border-bottom-color: var(--color-neon-dim); }

.sf-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.sf-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--color-white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  flex-shrink: 0;
}

.sf-logo:hover { color: var(--color-white); }

.sf-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-neon), var(--color-accent));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-neon);
  flex-shrink: 0;
}

/* Custom logo — WP outputs its own <a class="custom-logo-link"> */
a.custom-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  text-decoration: none;
}

a.custom-logo-link img.custom-logo {
  display: block;
  height: 40px;
  max-height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.sf-nav { display: flex; align-items: center; gap: 0.25rem; }

.sf-nav a {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.sf-nav a:hover,
.sf-nav a.current-menu-item,
.sf-nav a.current-menu-parent {
  color: var(--color-neon);
  border-color: var(--color-neon-dim);
  background: var(--color-neon-dim);
}

.sf-header-actions { display: flex; align-items: center; gap: 1rem; }

.sf-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.sf-btn-primary {
  background: linear-gradient(135deg, var(--color-neon), var(--color-accent));
  color: var(--color-bg);
  box-shadow: var(--shadow-neon);
}

.sf-btn-primary:hover {
  color: var(--color-bg);
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--color-neon-dim), 0 8px 30px var(--color-neon-dim);
}

.sf-btn-outline {
  background: transparent;
  color: var(--color-neon);
  border: 1px solid var(--color-neon);
}

.sf-btn-outline:hover {
  background: var(--color-neon-dim);
  color: var(--color-white);
}

.sf-hamburger {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
}

.sf-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  transition: all var(--transition-fast);
}

@media (max-width: 900px) {
  .sf-nav { display: none; }
  .sf-hamburger { display: flex; }
  .sf-header-actions .sf-btn-primary { display: none; }
}

/* Mobile nav */
.sf-mobile-nav {
  position: fixed;
  inset: var(--header-height) 0 0 0;
  background: rgba(6, 6, 16, 0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: none;
  flex-direction: column;
  padding: 1.5rem;
  gap: 0.25rem;
  border-top: 1px solid var(--color-border);
  overflow-y: auto;
}

.sf-mobile-nav.is-open { display: flex; }

.sf-mobile-nav a {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  padding: 1rem 0.5rem;
  border-bottom: 1px solid var(--color-border);
  transition: color var(--transition-fast);
  display: block;
  text-align: center;
}

.sf-mobile-nav a:hover { color: var(--color-neon); }

.sf-mobile-nav .sf-btn-primary {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  text-align: center;
}

/* =====================================================
   HERO
   ===================================================== */
.sf-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  position: relative;
  overflow: hidden;
}

.sf-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 245, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: grid-pan 20s linear infinite;
}

@keyframes grid-pan {
  0%   { transform: perspective(500px) rotateX(20deg) translateY(0); }
  100% { transform: perspective(500px) rotateX(20deg) translateY(60px); }
}

.sf-hero::after {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--color-accent-dim) 0%, transparent 65%);
  pointer-events: none;
}

.sf-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  width: 100%;
}

@media (max-width: 900px) {
  .sf-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
    padding: 3rem 0;
  }
}

.sf-hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-neon);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sf-hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--color-neon);
}

@media (max-width: 900px) {
  .sf-hero-eyebrow { justify-content: center; }
  .sf-hero-eyebrow::before { display: none; }
}

.sf-hero-title { margin-bottom: 1.5rem; }

.sf-hero-title .highlight {
  background: linear-gradient(135deg, var(--color-neon), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.sf-hero-desc {
  color: var(--color-muted);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  /* FIX: no max-width so it doesn't left-align on mobile */
}

@media (max-width: 900px) {
  .sf-hero-desc { margin-left: auto; margin-right: auto; }
}

.sf-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .sf-hero-actions { justify-content: center; }
}

.sf-hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .sf-hero-stats { justify-content: center; }
}

.sf-stat { display: flex; flex-direction: column; gap: 0.25rem; }

.sf-stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--color-white);
  line-height: 1;
}

.sf-stat-label {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--color-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Hero media (YouTube embed) */
.sf-hero-media { position: relative; }

@media (max-width: 900px) {
  .sf-hero-media { order: -1; } /* Video above text on mobile */
}

.sf-stream-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-accent), 0 40px 80px rgba(0,0,0,0.6);
  aspect-ratio: 16/9;
  background: var(--color-card);
}

.sf-stream-frame::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--color-neon-dim), var(--color-accent-dim));
  z-index: -1;
}

.sf-stream-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.sf-stream-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--color-card), var(--color-surface));
}

.sf-stream-placeholder-icon {
  font-size: 3rem;
  filter: drop-shadow(0 0 20px var(--color-neon));
}

.sf-stream-placeholder p {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
  text-align: center;
}

/* Floating badges */
.sf-float-badge {
  position: absolute;
  background: rgba(6, 6, 16, 0.9);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--color-text);
  animation: float 4s ease-in-out infinite;
  white-space: nowrap;
}

.sf-float-badge.badge-1 {
  top: -1.5rem; right: 2rem;
  border-color: var(--color-neon-dim);
  color: var(--color-neon);
}

.sf-float-badge.badge-2 {
  bottom: 3rem; right: -2rem;
  border-color: var(--color-accent-dim);
  color: var(--color-accent);
  animation-delay: 1.5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

@media (max-width: 640px) { .sf-float-badge { display: none; } }

/* =====================================================
   VIDEO / FEATURED SECTION
   ===================================================== */
.sf-live-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.sf-video-embed {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-card);
}

.sf-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.sf-video-desc {
  margin-top: 1rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* =====================================================
   CARDS
   ===================================================== */
.sf-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-med);
  display: flex;
  flex-direction: column;
}

.sf-card:hover {
  border-color: var(--color-neon-dim);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), var(--shadow-neon);
}

.sf-card-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  background: var(--color-surface);
  display: block;
}

.sf-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.sf-card:hover .sf-card-thumb img { transform: scale(1.05); }

.sf-card-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,6,16,0.8) 0%, transparent 60%);
}

.sf-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.sf-card-badge.vod {
  background: var(--color-surface);
  color: var(--color-muted);
  border: 1px solid var(--color-border);
}

.sf-card-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 52px; height: 52px;
  background: rgba(0, 245, 255, 0.15);
  border: 2px solid var(--color-neon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  opacity: 0;
  transition: all var(--transition-med);
  backdrop-filter: blur(10px);
  color: var(--color-neon);
  text-decoration: none;
}

.sf-card:hover .sf-card-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.sf-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sf-card-category {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--color-neon);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.sf-card-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--color-white);
  margin-bottom: 0.75rem;
  line-height: 1.3;
  letter-spacing: 0.03em;
}

.sf-card-title a { color: inherit; }
.sf-card-title a:hover { color: var(--color-neon); }

.sf-card-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-muted);
}

/* =====================================================
   SCHEDULE
   ===================================================== */
.sf-schedule {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.sf-schedule-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.75rem;
}

@media (max-width: 900px) { .sf-schedule-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 480px) { .sf-schedule-grid { grid-template-columns: repeat(2, 1fr); } }

.sf-schedule-day {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem;
  position: relative;
}

.sf-schedule-day.today { border-color: var(--color-neon); box-shadow: var(--shadow-neon); }

.sf-schedule-day.today::before {
  content: 'TODAY';
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  background: var(--color-neon);
  color: var(--color-bg);
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
  font-weight: 700;
  white-space: nowrap;
}

.sf-day-name {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.6rem;
}

.sf-day-slot {
  padding: 0.4rem 0.5rem;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  margin-bottom: 0.4rem;
  border-left: 2px solid var(--color-neon);
}

.sf-slot-title { font-size: 0.72rem; color: var(--color-text); font-weight: 600; line-height: 1.3; }

.sf-day-off {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--color-border);
  text-align: center;
  padding: 0.75rem 0;
}

/* =====================================================
   ABOUT / SOCIALS
   ===================================================== */
.sf-about-inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .sf-about-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
}

.sf-avatar-wrap {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.sf-avatar-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--color-border);
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--color-surface), var(--color-card));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  flex-direction: column;
  gap: 1rem;
}

/* Gradient overlay only when no image */
.sf-avatar-frame:not(.sf-avatar-has-image)::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--color-bg) 0%, transparent 40%);
  pointer-events: none;
}

.sf-avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}

.sf-avatar-has-image { font-size: 0; }

.sf-avatar-glow {
  position: absolute;
  bottom: -2rem; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 60px;
  background: var(--color-neon);
  filter: blur(40px);
  opacity: 0.3;
  border-radius: 50%;
}

.sf-about-text p { color: var(--color-muted); font-size: 1.05rem; line-height: 1.8; }
.sf-about-text h2 { margin-bottom: 1.25rem; color: var(--color-white); }

.sf-setup-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 900px) {
  .sf-setup-list { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 480px) {
  .sf-setup-list { grid-template-columns: 1fr; }
}

.sf-setup-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--color-text);
  padding: 0.75rem;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

@media (max-width: 900px) {
  .sf-setup-item { justify-content: center; }
}

.sf-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .sf-socials { justify-content: center; }
}

.sf-social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  padding: 0.6rem 1rem;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.sf-social-link:hover { color: var(--color-white); transform: translateY(-2px); }
.sf-social-link.twitch:hover   { border-color: #9147ff; box-shadow: 0 0 20px rgba(145,71,255,0.3); }
.sf-social-link.youtube:hover  { border-color: #ff0000; box-shadow: 0 0 20px rgba(255,0,0,0.2); }
.sf-social-link.twitter:hover  { border-color: #1da1f2; box-shadow: 0 0 20px rgba(29,161,242,0.2); }
.sf-social-link.discord:hover  { border-color: #5865f2; box-shadow: 0 0 20px rgba(88,101,242,0.2); }
.sf-social-link.tiktok:hover   { border-color: #ff0080; box-shadow: 0 0 20px rgba(255,0,128,0.2); }
.sf-social-link.instagram:hover { border-color: #e1306c; box-shadow: 0 0 20px rgba(225,48,108,0.2); }

/* =====================================================
   SIDEBAR / BLOG LAYOUT
   ===================================================== */
.sf-content-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .sf-content-sidebar { grid-template-columns: 1fr; }
}

.sf-widget {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
}

.sf-widget-title {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  margin: 0;
}

.sf-widget-body { padding: 1.25rem; }

/* =====================================================
   SINGLE POST
   ===================================================== */
.sf-entry { max-width: 780px; }
.sf-entry-header { margin-bottom: 2.5rem; }

.sf-entry-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.sf-entry-meta .sep { opacity: 0.3; }

.sf-entry-content { font-size: 1.05rem; line-height: 1.8; }
.sf-entry-content h2, .sf-entry-content h3 { margin: 2rem 0 1rem; }
.sf-entry-content p { margin-bottom: 1.25rem; }
.sf-entry-content a { color: var(--color-neon); }
.sf-entry-content a:hover { text-decoration: underline; }

.sf-entry-content blockquote {
  border-left: 3px solid var(--color-neon);
  border-radius: 0;
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--color-card);
  font-style: italic;
  color: var(--color-muted);
}

.sf-entry-content code {
  font-family: var(--font-mono);
  background: var(--color-card);
  border: 1px solid var(--color-border);
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.85em;
  color: var(--color-neon);
}

.sf-entry-content pre {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.sf-entry-content pre code { background: none; border: none; padding: 0; }

/* =====================================================
   COMMENTS
   ===================================================== */
.sf-comments {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--color-border);
}

.sf-comment {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.sf-comment-avatar img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
}

.sf-comment-author {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.sf-comment-date {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}

/* Comment form */
.sf-comment-form input,
.sf-comment-form textarea {
  width: 100%;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.sf-comment-form input:focus,
.sf-comment-form textarea:focus {
  border-color: var(--color-neon);
  box-shadow: 0 0 0 3px var(--color-neon-dim);
}

.sf-comment-form textarea { min-height: 140px; resize: vertical; }

.sf-comment-form label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.5rem;
}

.sf-comment-form .sf-form-row { margin-bottom: 1.25rem; }

/* =====================================================
   FOOTER
   ===================================================== */
.sf-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 4rem 0 2rem;
}

.sf-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 900px) { .sf-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 600px) { .sf-footer-grid { grid-template-columns: 1fr; text-align: center; } }

.sf-footer-brand .sf-logo { margin-bottom: 0.75rem; }

@media (max-width: 600px) {
  .sf-footer-brand .sf-logo { justify-content: center; }
  .sf-footer-brand .sf-socials { justify-content: center; }
}

.sf-footer-brand p {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin: 0.75rem 0 1rem;
}

.sf-footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.sf-footer-col ul { list-style: none; padding: 0; margin: 0; }
.sf-footer-col ul li { margin-bottom: 0.6rem; }

.sf-footer-col ul a {
  font-size: 0.85rem;
  color: var(--color-muted);
  transition: color var(--transition-fast);
}

.sf-footer-col ul a:hover { color: var(--color-neon); }

.sf-footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--color-muted);
  letter-spacing: 0.1em;
}

@media (max-width: 600px) {
  .sf-footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}

.sf-footer-bottom a { color: var(--color-muted); }
.sf-footer-bottom a:hover { color: var(--color-neon); }

/* =====================================================
   PAGINATION
   ===================================================== */
.sf-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.sf-pagination a,
.sf-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-card);
  color: var(--color-muted);
  transition: all var(--transition-fast);
}

.sf-pagination a:hover,
.sf-pagination .current {
  border-color: var(--color-neon);
  color: var(--color-neon);
  background: var(--color-neon-dim);
}

/* =====================================================
   ANIMATIONS & UTILITIES
   ===================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.is-visible { opacity: 1; transform: translateY(0); }

.sf-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  color: var(--color-muted);
  transition: all var(--transition-fast);
}

.sf-tag:hover { border-color: var(--color-neon); color: var(--color-neon); }

.text-neon { color: var(--color-neon); }
.text-accent { color: var(--color-accent); }
.text-hot { color: var(--color-hot); }
.text-muted { color: var(--color-muted); }

/* FIX: was using @extend (SCSS syntax) — replaced with real CSS */
.sr-only,
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* =====================================================
   AUTH PAGES — header clearance
   ===================================================== */
.sf-auth-wrap {
  padding-top: calc(var(--header-height) + 2rem);
}

/* =====================================================
   WORDPRESS REQUIRED
   ===================================================== */
.wp-caption { margin-bottom: 1rem; }
.wp-caption-text { font-size: 0.8rem; color: var(--color-muted); text-align: center; margin-top: 0.5rem; }
.alignleft  { float: left;  margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }
.sticky { position: relative; }
.gallery-item { display: inline-block; margin: 0.5rem; }
