.golden-shop-button {
  /* neutralize legacy styles in favor of inline header CSS */
  background: inherit !important;
  color: inherit !important;
  border: inherit !important;
  border-radius: inherit !important;
  font-weight: inherit !important;
  text-transform: inherit !important;
  letter-spacing: inherit !important;
  box-shadow: none !important;
  transition: none !important;
  position: inherit !important;
  z-index: inherit !important;
  flex-shrink: 1 !important;
  min-width: 0 !important;
}

.golden-shop-button:hover, .golden-shop-button:focus {
  background: inherit !important;
  color: inherit !important;
  box-shadow: none !important;
  border-color: inherit !important;
}

.navbar {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  overflow-x: auto;
  width: 100%;
  min-width: 0;
  border: 2px solid #b58f2e;
  border-radius: 12px;
  background: none;
  padding: 0;
  margin: 0 auto;
  box-sizing: border-box;
  align-items: stretch;
}

.navbar__link {
  flex: 0 0 auto;
  padding: 1rem 2.1rem 1rem 2.1rem;
  color: #fffce7;
  border-right: 1.5px solid #b58f2e;
  background: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.18s, color 0.18s, border-radius 0.18s;
  border-radius: 0;
  position: relative;
  z-index: 1;
}

.navbar__link:last-of-type {
  border-right: none;
}

.navbar__link:hover, .navbar__link:focus {
  background: #1a1a1a;
  color: #ffce2e;
  border-radius: 0.5rem;
}
/* Ensure navbar never clips last link and is horizontally scrollable if needed */
.navbar {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  overflow-x: auto;
  width: 100%;
  min-width: 0;
  border: 2px solid #b58f2e;
  border-radius: 12px;
  background: none;
  padding: 0;
  margin: 0 auto;
  box-sizing: border-box;
}

.navbar__link {
  flex: 0 0 auto;
  padding: 1rem 2.1rem 1rem 2.1rem;
  color: #fffce7;
  border-right: 1.5px solid #b58f2e;
  background: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.18s, color 0.18s, border-radius 0.18s;
  border-radius: 0;
  position: relative;
  z-index: 1;
}

.navbar__link:last-of-type {
  border-right: none;
}

.navbar__link:hover, .navbar__link:focus {
  background: #1a1a1a;
  color: #ffce2e;
  border-radius: 0.5rem;
}
/* SHOP button (desktop navbar) - red, bold, and stands out */
.golden-shop-button {
  background: var(--crimson) !important;
  color: #fffce7 !important;
  border: 2px solid var(--crimson) !important;
  border-radius: 0 11px 11px 0 !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  box-shadow: none !important;
  transition: none !important;
  position: static !important;
  z-index: auto !important;
}

.golden-shop-button:hover, .golden-shop-button:focus {
  background: var(--crimson) !important;
  color: #fffce7 !important;
  box-shadow: none !important;
  border-color: var(--crimson) !important;
  border-radius: 0 11px 11px 0 !important;
}
/* Kick icon theme and hover styles */
.cyberpunk-social .kick-logo-svg {
  color: #fffce7; /* default: light on dark */
  transition: color 0.2s;
}
.cyberpunk-social:hover .kick-logo-svg {
  color: var(--cyan);
  filter: none;
}
[data-theme="light"] .cyberpunk-social:hover .kick-logo-svg {
  color: var(--cyan);
  filter: none;
}
[data-theme="light"] .cyberpunk-social .kick-logo-svg {
  color: #1a1a1a; /* dark on light */
}

/* Theme Variables - Dark Mode (Default) */
:root {
  --bg-primary: #0f0f0f;
  --bg-secondary: #091417;
  --bg-card: #0f0f0f;
  --text-primary: #fffce7;
  --text-secondary: #b58f2e;
  --text-accent: #47c4e0;
  --border-primary: #9064c4;
  --border-secondary: rgba(255, 255, 255, 0.18);
  --shadow-color: rgba(0, 0, 0, 0.5);
  --shadow-light: rgba(0, 0, 0, 0.3);
  
  /* Brand colors */
  --purple: #9064c4;
  --crimson: #cd1042;
  --brass: #b58f2e;
  --cyan: #47c4e0;
  --gold: #ffce2e;
  --blue: #3077ee;

  /* Animated grid background (default for dark theme) */
  --bg-grid-dot: rgba(255, 252, 231, 0.06);
  --bg-grid-gap: 22px;
}

/* Light Mode */
[data-theme="light"] {
  --bg-primary: #fefcf5;
  --bg-secondary: #f5f3ed;
  --bg-card: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #8b6919;
  --text-accent: #0066cc;
  --border-primary: #6b4fa0;
  --border-secondary: rgba(0, 0, 0, 0.15);
  --shadow-color: rgba(0, 0, 0, 0.1);
  --shadow-light: rgba(0, 0, 0, 0.05);
  
  /* Adjusted brand colors for light mode */
  --purple: #6b4fa0;
  --crimson: #a00d35;
  --brass: #8b6919;
  --cyan: #0066cc;
  --gold: #cc9f00;
  --blue: #1e5fc4;

  /* Lighter dots for light theme */
  --bg-grid-dot: rgba(0, 0, 0, 0.06);

}

/* Soften blog/page titles specifically in light mode */
[data-theme="light"] h1,
[data-theme="light"] .h1,
[data-theme="light"] .post-title,
[data-theme="light"] .page-title {
  color: #b3413f !important; /* softer red */
  text-shadow: none !important;
}

/* Light mode: make the post title banner light instead of black */
[data-theme="light"] .post-title-banner {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12) !important;
}

.colors {
color: #9064c4; /*- Deep mystical purple text glow on header title Joeleo*/
color: #b58f2e; /* - Golden bronze accent for shop button*/
color: #cd1042; /* - Crimson red for buttons with white text*/
color: #fffce7; /* - Cream parchment for text*/
color: #0c0f16; /* - Dark (WARNING: Same as background!)*/
color: #47c4e0; /* - Ethereal cyan blue for links on hover highlight*/
color: #3077ee; /* - blue */
}

/* REMOVED: @import Google Fonts (DM Sans, Uncial Antiqua, Orbitron) */

@font-face {
  font-family: 'VAGRounded';
  src: url('/assets/fonts/VAG Rounded Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'VAGRounded';
  src: url('/assets/fonts/VAG Rounded Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Utility class to use VAG Rounded */
.font-vag { font-family: 'VAGRounded',  serif !important; }

.text-shadow-glow {
  text-shadow: 
    0 0 15px rgba(255, 252, 231, 1),
    0 0 25px rgba(163, 204, 219, 0.8);
}

.drop-shadow-mystical {
  filter: drop-shadow(0 0 20px rgba(104, 62, 149, 0.6));
}

.backdrop-blur-mystical {
  backdrop-filter: blur(15px);
}

/* Global Background and Text Colors - Enhanced for Tailwind */
html, body {
  background-color: var(--bg-primary) !important;
  background-image: radial-gradient(circle at center, var(--bg-grid-dot) 4%, transparent 7%);
  background-size: var(--bg-grid-gap) var(--bg-grid-gap);
  background-position: 0 0;
  animation: bg-grid-drift 1.2s linear infinite;
  color: var(--text-primary) !important;
  font-family: 'VAGRounded', sans-serif;
  font-weight: 500;
  line-height: 1.6;
  text-shadow: 1px 1px 2px var(--shadow-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}

@keyframes bg-grid-drift {
  to {
    background-position: calc(var(--bg-grid-gap) * -1) var(--bg-grid-gap);
  }
}

/* Ensure Tailwind respects our mystical background */
body {
  @apply bg-void text-cream font-mystical;
}

/* Soften white backgrounds only on main content surfaces (avoid blanketing header/footer) */
main, .container, .content, .post-content, .page-content {
  background-color: inherit;
}

/* Let the footer sit on the global grid background */
.site-footer .container {
  background-color: transparent !important;
}

/* Global link styling: remove underlines everywhere */
a, a:visited { text-decoration: none !important; }
a:hover, a:focus { text-decoration: none !important; }

/* Default link colors for page/post content */
.prose a, .page-content a, .post-content a {
  color: #9064c4 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
}
.prose a:hover, .prose a:focus,
.page-content a:hover, .page-content a:focus,
.post-content a:hover, .post-content a:focus {
  color: #47c4e0 !important;
  text-decoration: none !important;
}

/* Video editing block needs consistent light text even in light theme */
.video-editing-section,
.video-editing-section * {
  color: #fffce7 !important;
  text-shadow: none !important;
}

/* X / Twitter logo (PNG is white). Make it black in light mode only. */
img.x-logo { filter: none; }
[data-theme="light"] img.x-logo { filter: brightness(0); }

/* Tailwind-like border utilities for static build (ensure purple shows) */
.border-purple { border-color: #9064c4 !important; }
.border-purple\/30 { border-color: rgba(144, 100, 196, 0.3) !important; }
.border-purple\/40 { border-color: rgba(144, 100, 196, 0.4) !important; }
.hover\:border-purple:hover { border-color: #9064c4 !important; }

/* About page: ensure links follow site style */
.about-page-container a {
  color: #9064c4 !important; /* purple */
  text-decoration: none !important;
  font-weight: 600 !important;
}
.about-page-container a:hover {
  color: #47c4e0 !important; /* cyan hover */
  text-decoration: none !important;
}

/* Guardian Fake GPT widget */
.ggpt-box { background: #1f2224; border: 1.5px solid rgba(144,100,196,.6); border-radius: 8px; overflow: hidden; box-shadow: 0 0 0 1px rgba(144,100,196,.18), 0 8px 22px rgba(0,0,0,.4); }
.ggpt-header { color: #b58f2e; font-weight: 800; padding: .5rem .75rem; box-shadow: inset 0 -1.5px 0 rgba(144,100,196,.45); }
.ggpt-messages { height: 300px; overflow-y: auto; padding: .65rem; }
.ggpt-input { box-shadow: inset 0 1.5px 0 rgba(144,100,196,.45); padding: .5rem; display:flex; gap:.5rem; }
.ggpt-bubble { max-width: 80%; margin: .35rem 0; padding: .5rem .65rem; border-radius: .6rem; line-height: 1.45; }
.ggpt-user { background: rgba(205,16,66,.15); border: 1px solid rgba(205,16,66,.35); color: #fffce7; margin-left: auto; }
.ggpt-assistant { background: rgba(144,100,196,.12); border: 1px solid rgba(144,100,196,.3); color: #fffce7; }
.ggpt-input input { flex:1; background: #0f1416; color: #fffce7; border: 1px solid rgba(144,100,196,.25); border-radius: 6px; padding: .6rem .75rem; }
.ggpt-input button { background: linear-gradient(45deg,#9064c4,#3077ee); border: 0; color:#fffce7; font-weight:700; padding:.55rem .9rem; border-radius:6px; cursor:pointer; }
.ggpt-input button:hover { filter: brightness(1.05); }
.ggpt-quick-btn { background: transparent; color:#fffce7; border:1px solid rgba(144,100,196,.35); border-radius:9999px; padding:.25rem .6rem; font-weight:700; }
.ggpt-quick-btn:hover { background: rgba(144,100,196,.12); }

/* Blog post links - Match header navigation color */
.blog-card a {
  color: var(--text-primary) !important; /* Match header navigation items */
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  font-family: 'VAGRounded', sans-serif !important;
  font-weight: 600 !important;
}

.blog-card a:hover {
  color: var(--cyan) !important; /* Your existing cyan blue hover color */
  text-decoration: none !important;
  text-shadow: 0 0 8px rgba(71, 196, 224, 0.4) !important;
}

/* Main container backgrounds */
.container, main, .content, .post-content, .page-content {
  background-color: var(--bg-primary) !important;
  color: var(--text-primary) !important;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Title Hierarchy */
h1, .h1, .main-title, .post-title, .page-title {
  color: var(--crimson) !important;
  font-family: 'VAGRounded', sans-serif;
  text-shadow: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  transition: color 0.3s ease;
}

h2, .h2, .secondary-title, .subtitle {
  color: var(--text-secondary) !important;
  font-family: 'VAGRounded', sans-serif;
  text-shadow: none;
  font-weight: 600;
  letter-spacing: 2px;
  transition: color 0.3s ease;
  margin: 0 0 20px 0 !important;  /* keep only bottom space by default */
  padding: 0 !important;          /* no extra padding driving top gap */
  line-height: 1.2;
}

/* Add top margin only when not the first child, so headings still breathe when needed */
h2:not(:first-child),
.h2:not(:first-child),
.secondary-title:not(:first-child),
.subtitle:not(:first-child) {
  margin-top: 16px !important;
}

h3, h4, h5, h6, .h3, .h4, .h5, .h6 {
  color: var(--text-secondary) !important;
  font-family: 'VAGRounded', sans-serif;
  text-shadow: 0 0 8px var(--shadow-light);
  font-weight: 500;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

/* Body Text (non-paragraph elements keep VAG Rounded) */
.text, .content, 
.description, .excerpt, .summary, div, span {
  color: var(--text-primary) !important;
  font-family: 'VAGRounded', sans-serif;
  font-weight: 500;
  line-height: 1.6;
  font-size: 0.95rem;
  text-shadow: 1px 1px 2px var(--shadow-color);
  transition: color 0.3s ease;
}


/* Navigation specific */
nav a {
  color: var(--text-primary) !important;
  font-family: 'VAGRounded', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--cyan) !important;
}

/* Neon title in header */
.neon-title {
  color: var(--text-primary) !important;
  transition: color 0.3s ease;
}

.neon-title:hover {
  color: var(--cyan) !important;
}

/* Blog post specific */
.post-meta, .post-date, .metadata {
  color: var(--text-secondary) !important;
  font-family: 'VAGRounded', sans-serif;
  font-size: 0.9em;
  font-weight: 600;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px var(--shadow-color);
  transition: color 0.3s ease;
}

/* Cards and containers */
.card, .post-card, .content-card {
  background: var(--bg-card) !important;
  border: none;
  border-radius: 0;
  padding: 1.5rem;
  box-shadow: none;
  transition: background-color 0.3s ease;
}

.project-card {
  border-radius: 1rem;
  overflow: hidden;
  background-clip: padding-box;
  isolation: isolate;
}

/* Buttons */
.btn, .button {
  background: linear-gradient(45deg, #cd1042, #b91c1c) !important;
  color: #fffce7 !important;
    font-family: 'VAGRounded', sans-serif;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.btn:hover, .button:hover {
  background: linear-gradient(45deg, #47c4e0, #3eb8d4) !important;
  color: #0f0f0f !important;
  box-shadow: 0 5px 15px rgba(71, 196, 224, 0.3);
}

/* Ensure native buttons keep pointer cursor without changing styles */
button { cursor: pointer; }

/* Support Banner Header - Simple */
.support-banner-header {
  /* Soft banner wrapper without hard rectangle lines */
  background: radial-gradient(120% 120% at 50% 0%, rgba(181, 143, 46, 0.14) 0%, rgba(181, 143, 46, 0.08) 40%, rgba(181, 143, 46, 0.04) 100%);
  border: none;
  border-radius: 12px;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(181, 143, 46, 0.18), 0 8px 30px rgba(0, 0, 0, 0.4);
}

.support-banner-title {
  color: #b58f2e !important;
  font-size: 2rem !important;
  font-weight: 600 !important;
  margin-bottom: 1rem !important;
}

.support-banner-subtitle {
  color: #fffce7 !important;
  opacity: 0.85;
  font-size: 1rem;
  margin-bottom: 0;
  line-height: 1.5;
  text-align: center !important;
}

/* Support section (Payment Cards) */
.support-section {
  max-width: 820px;
  margin: 0 auto; /* spacing controlled via Tailwind */
  text-align: center;
}

/* Left-align variant when you don't want centered text */
.support-left {
  text-align: left;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .support-grid { 
    grid-template-columns: repeat(2, 1fr); 
  }
  /* Allow a card to span both columns when needed (e.g., single top card) */
  .support-card-wide {
    grid-column: 1 / -1;
  }
  
  /* Center the 5th card (Stripe) when it's alone on the last row */
  .support-card-center {
    grid-column: 1 / -1;
    max-width: 300px;
    margin: 0 auto;
  }
}

.support-card {
  background: #0f0f0f !important;
  border: 2px solid #9064c4;
  border-radius: 10px;
  padding: 1.25rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Business contact variants */
.support-card-gold { border-color: #b58f2e !important; }
.support-card-blue { border-color: #3077ee !important; }

/* Make outline buttons full width inside cards */
.support-card .btn-outline { width: 100% !important; }

.support-card h4 {
  color: #fffce7 !important;
  margin: 0.25rem 0 0.25rem 0;
}

.support-note {
  color: rgba(255, 252, 231, 0.75) !important;
  margin-bottom: 0.75rem;
}

.support-icon { color: #9064c4 !important; }

.btn-purple {
  background: rgba(144, 100, 196, 0.15) !important;
  color: #fffce7 !important;
  border: 2px solid #9064c4 !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  width: 100% !important;
}

.btn-purple:hover {
  background: rgba(144, 100, 196, 0.25) !important;
  box-shadow: 0 0 12px rgba(144, 100, 196, 0.25) !important;
}

.btn-gold {
  background: linear-gradient(135deg, #b58f2e 0%, #ffce2e 50%, #b58f2e 100%) !important;
  color: #0f0f0f !important;
  border: 2px solid #ffce2e !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  width: 100% !important;
  font-weight: 700 !important;
}

.btn-gold span {
  color: #0f0f0f !important;
}

.btn-gold svg {
  color: #0f0f0f !important;
}

.btn-gold:hover {
  filter: brightness(1.05);
}

.btn-blue {
  background: linear-gradient(135deg, #0070f3 0%, #0052cc 100%) !important;
  color: #ffffff !important;
  border: 2px solid #0070f3 !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  width: 100% !important;
  font-weight: 600 !important;
}

.btn-blue:hover {
  background: linear-gradient(135deg, #0052cc 0%, #003d99 100%) !important;
  box-shadow: 0 0 12px rgba(0, 112, 243, 0.3) !important;
}

.btn-orange {
  background: linear-gradient(135deg, #ff5722 0%, #f44336 100%) !important;
  color: #ffffff !important;
  border: 2px solid #ff5722 !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  width: 100% !important;
  font-weight: 600 !important;
}

.btn-orange:hover {
  background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%) !important;
  box-shadow: 0 0 12px rgba(255, 87, 34, 0.3) !important;
}

.btn-red {
  background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%) !important;
  color: #ffffff !important;
  border: 2px solid #ff0000 !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  width: 100% !important;
  transition: all 0.3s ease !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.btn-red:hover {
  background: linear-gradient(135deg, #cc0000 0%, #990000 100%) !important;
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.3) !important;
}

.btn-black {
  background: linear-gradient(135deg, #000000 0%, #333333 100%) !important;
  color: #ffffff !important;
  border: 2px solid #000000 !important;
  transition: all 0.3s ease !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.btn-black:hover {
  background: linear-gradient(135deg, #333333 0%, #666666 100%) !important;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3) !important;
}

/* Flat notices */
.notice-flat {
  background: transparent;
  border: 1px solid rgba(181, 143, 46, 0.55);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  text-align: center;
}

.notice-title {
  margin: 0 0 0.25rem 0;
  color: #b58f2e !important;
  font-weight: 700;
  font-size: 1.125rem;
}

.notice-sub {
  margin: 0;
  color: rgba(255, 252, 231, 0.75) !important;
  font-size: 0.9rem;
}

/* Full-width banner notice (edge-to-edge) */
.notice-banner {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  background: transparent;
  border-top: 2px solid rgba(181, 143, 46, 0.55);
  border-bottom: 2px solid rgba(181, 143, 46, 0.55);
  padding: 0.9rem 1rem;
  text-align: center;
}

.notice-banner .notice-title { font-size: 1.25rem; }
.notice-em { color: #ffce2e !important; font-weight: 800; text-transform: uppercase; }

.btn-pink {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  color: #ffffff !important;
  border: 2px solid #e1306c !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  width: 100% !important;
  transition: all 0.3s ease !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.btn-pink:hover {
  background: linear-gradient(135deg, #bc1888 0%, #cc2366 25%, #dc2743 50%, #e6683c 75%, #f09433 100%) !important;
  box-shadow: 0 0 12px rgba(225, 48, 108, 0.3) !important;
}

.btn-green {
  background: linear-gradient(135deg, #53fc18 0%, #00d4aa 100%) !important;
  color: #000000 !important;
  border: 2px solid #53fc18 !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  width: 100% !important;
  transition: all 0.3s ease !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.btn-green:hover {
  background: linear-gradient(135deg, #00d4aa 0%, #53fc18 100%) !important;
  box-shadow: 0 0 12px rgba(83, 252, 24, 0.3) !important;
}

/* Contact: minimal buttons and layout */
.contact-cta {
  max-width: 800px;
  margin: 2rem auto 2.5rem auto;
  text-align: center;
}

.contact-cta h2 {
  color: #fffce7 !important;
  text-shadow: none !important;
  letter-spacing: 1px;
}

.contact-cta p {
  opacity: 0.9;
  margin-bottom: 1rem !important;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn-outline {
  background: transparent !important;
  color: #fffce7 !important;
  border: 1px solid rgba(255, 252, 231, 0.35) !important;
  border-radius: 8px !important;
  padding: 10px 16px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
}

.btn-outline:hover {
  background: rgba(255, 252, 231, 0.06) !important;
  border-color: #fffce7 !important;
}

.btn-outline-gold { border-color: #b58f2e !important; }
.btn-outline-gold:hover { background: rgba(181, 143, 46, 0.12) !important; }

.btn-outline-blue { border-color: #3077ee !important; }
.btn-outline-blue:hover { background: rgba(48, 119, 238, 0.12) !important; }

/* Inline button variants (no full-width) */
.btn-gold-inline {
  background: linear-gradient(135deg, #b58f2e 0%, #ffce2e 50%, #b58f2e 100%) !important;
  color: #0f0f0f !important;
  border: 2px solid #ffce2e !important;
  border-radius: 8px !important;
  padding: 10px 16px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

.btn-gold-inline:hover { filter: brightness(1.05); }

.btn-purple-inline {
  background: rgba(144, 100, 196, 0.15) !important;
  color: #fffce7 !important;
  border: 2px solid #9064c4 !important;
  border-radius: 8px !important;
  padding: 10px 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

.btn-purple-inline:hover {
  background: rgba(144, 100, 196, 0.25) !important;
  box-shadow: 0 0 12px rgba(144, 100, 196, 0.25) !important;
}

/* Product cards (Merch TV + Beanie) */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

.product-card {
  position: relative;
  background: linear-gradient(145deg, #11151f, #0f0f0f);
  border: 2px solid #9064c4;
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-media {
  width: 100%;
  height: 180px;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(144, 100, 196, 0.35);
  background:
    radial-gradient(circle at 30% 20%, rgba(144, 100, 196, 0.35), transparent 50%),
    radial-gradient(circle at 70% 75%, rgba(48, 119, 238, 0.22), transparent 55%),
    #0f0f0f;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-icon {
  width: 64px; height: 64px;
  color: #9064c4; stroke: #9064c4;
}

.product-title { color: #fffce7 !important; font-weight: 700; margin: 0.25rem 0; }
.product-sub   { color: rgba(255, 252, 231, 0.75) !important; margin-bottom: 0.25rem; }
.product-price { color: #ffce2e !important; font-weight: 700; margin-bottom: 0.75rem; }

.product-btns { width: 100%; display: flex; gap: 0.5rem; }

/* Code blocks */
code, pre, .code {
  background: rgba(9, 20, 23, 0.8) !important;
  color: #47c4e0 !important;
  border: 1px solid rgba(71, 196, 224, 0.2);
  border-radius: 4px;
  padding: 0.2em 0.4em;
}

pre {
  padding: 1rem !important;
  overflow-x: auto;
}

/* Forms */
input, textarea, select {
  background: rgba(9, 20, 23, 0.8) !important;
  color: #fffce7 !important;
    font-family: 'VAGRounded', sans-serif;
  font-weight: 500;
  border: 2px solid rgba(205, 16, 66, 0.3);
  border-radius: 6px;
  padding: 10px;
  transition: border-color 0.3s ease;
  font-size: 0.95rem;
}

input:focus, textarea:focus, select:focus {
  border-color: #47c4e0;
  box-shadow: 0 0 10px rgba(71, 196, 224, 0.3);
  outline: none;
}

/* Tables */
table {
  background: #0f0f0f !important;
  border-collapse: collapse;
  width: 100%;
}

th, td {
  color: #fffce7 !important;
  border: 1px solid rgba(205, 16, 66, 0.3);
  padding: 12px;
}

th {
  background: rgba(205, 16, 66, 0.2) !important;
  color: #fffce7 !important;
  font-weight: 600;
}

/* Blockquotes */
blockquote {
  background: rgba(181, 143, 46, 0.1) !important;
  border-left: 4px solid #b58f2e;
  padding: 1rem;
  margin: 1rem 0;
  color: #fffce7 !important;
  font-style: italic;
}

/* Jekyll specific overrides */
.post-content, .page-content {
  background: var(--bg-primary) !important;
  transition: background-color 0.3s ease;
}

.post-header {
  background: var(--bg-primary) !important;
  transition: background-color 0.3s ease;
}

.site-header {
  background: transparent !important;
  transition: color 0.3s ease;
}

.site-footer {
  background: transparent !important;
  color: var(--text-primary) !important;
  transition: color 0.3s ease;
}

/* Tailwind overrides */
.bg-white, .bg-gray-50, .bg-gray-100, .bg-gray-200 {
  background-color: var(--bg-primary) !important;
}

.text-gray-900, .text-black {
  color: var(--text-primary) !important;
}

.text-gray-600, .text-gray-700, .text-gray-800 {
  color: var(--text-primary) !important;
}

/* Mystical glow effects for special elements */
.mystical-glow {
  text-shadow: 0 0 20px rgba(163, 204, 219, 0.8);
  animation: mystical-pulse 3s ease-in-out infinite alternate;
}

@keyframes mystical-pulse {
  0% {
    text-shadow: 0 0 20px rgba(163, 204, 219, 0.8);
  }
  100% {
    text-shadow: 0 0 30px rgba(163, 204, 219, 1), 0 0 40px rgba(205, 16, 66, 0.6);
  }
}

/* WARNING MESSAGE FOR INVISIBLE LINKS */
.link-warning {
  background: #f42e0f1a;
  border: 1px solid #f42e0f;
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 6px;
  color: #fffce7;
}

.link-warning::before {
  content: "⚠️ WARNING: ";
  color: #f42e0f;
  font-weight: bold;
}

/* GUARDIAN'S CHANNEL BANNERS - Clean & Powerful */
.guardian-channels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 4rem auto;
  padding: 2rem;
}

@media (min-width: 768px) {
  .guardian-channels {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.channel-banner {
  background: linear-gradient(135deg, 
    #683e9533 0%, 
    rgba(21, 72, 123, 0.15) 50%, 
    rgba(180, 143, 45, 0.1) 100%
  );
  border: 2px solid #683e95;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

.channel-banner:hover {
  border-color: #cd1042;
  box-shadow: 
    0 20px 40px rgba(205, 16, 66, 0.4),
    0 0 30px rgba(163, 204, 219, 0.2),
    inset 0 0 50px rgba(255, 206, 46, 0.1);
  background: linear-gradient(135deg, 
    rgba(104, 62, 149, 0.3) 0%, 
    rgba(21, 72, 123, 0.25) 50%, 
    rgba(180, 143, 45, 0.2) 100%
  );
}

/* Enhanced Banner Glow Effect */
.channel-banner::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(45deg, #683e95, #cd1042, #a3ccdb);
  background-size: 200% 200%;
  border-radius: 15px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
  animation: banner-glow-rotate 4s linear infinite;
}

.channel-banner:hover::before {
  opacity: 0.3;
}

@keyframes banner-glow-rotate {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

.channel-title {
  color: #b58f2e !important;
    font-family: 'VAGRounded', sans-serif;
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  margin-bottom: 0.5rem !important;
  text-shadow: 
    0 0 15px #b58f2e,
    2px 2px 4px #000000cc !important;
}

.channel-subtitle {
  color: #ffce2e !important;
    font-family: 'VAGRounded', sans-serif;
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  margin-bottom: 1.5rem !important;
  text-shadow: 0 0 8px rgba(255, 206, 46, 0.4) !important;
}

.channel-description {
  color: #fffce7 !important;
    font-family: 'VAGRounded', sans-serif;
  line-height: 1.6 !important;
  font-size: 0.9rem !important;
  text-align: left !important;
  flex-grow: 1 !important;
  margin-bottom: 2rem !important;
}

.channel-description p {
  margin-bottom: 1rem !important;
  color: #fffce7 !important;
}

.channel-features {
  list-style: none !important;
  padding: 0 !important;
  margin: 1rem 0 !important;
}

.channel-features li {
  color: #fffce7 !important;
  margin-bottom: 0.5rem !important;
  font-size: 0.85rem !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
}

.channel-button {
  display: inline-block !important;
  padding: 0.8rem 1.5rem !important;
  background: linear-gradient(45deg, #683e95, #cd1042) !important;
  color: #fffce7 !important;
    font-family: 'VAGRounded', sans-serif;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  text-decoration: none !important;
  border-radius: 6px !important;
  border: 2px solid #683e95 !important;
  cursor: pointer !important;
  margin-top: auto !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 
    0 4px 15px rgba(104, 62, 149, 0.4),
    inset 0 0 20px rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(5px) !important;
  user-select: none !important;
}

.channel-button:hover {
  background: #cd1042 !important;
  color: #fffce7 !important;
  border-color: #cd1042 !important;
  transform: none !important;
  transition: none !important;
  box-shadow: 
    0 4px 15px rgba(104, 62, 149, 0.4),
    inset 0 0 20px rgba(255, 255, 255, 0.1) !important;
  text-shadow: none !important;
}

.channel-button:active {
  background: #cd1042 !important;
  color: #fffce7 !important;
  border-color: #cd1042 !important;
  transform: none !important;
  box-shadow: 
    0 4px 15px rgba(104, 62, 149, 0.4),
    inset 0 0 20px rgba(255, 255, 255, 0.1) !important;
}

.channel-button:focus {
  background: #cd1042 !important;
  color: #fffce7 !important;
  border-color: #cd1042 !important;
  outline: none !important;
  transform: none !important;
  box-shadow: 
    0 4px 15px rgba(104, 62, 149, 0.4),
    inset 0 0 20px rgba(255, 255, 255, 0.1) !important;
}

/* Removed all button animations and glow effects for static appearance */

/* GUARDIAN'S PHILOSOPHY SECTION */
.guardian-philosophy {
  background: transparent;
  border: 1px solid rgba(255, 252, 231, 0.3);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.philosophy-title {
  color: #fffce7 !important;
    font-family: 'VAGRounded', sans-serif;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  margin-bottom: 0.5rem !important;
  text-shadow: none !important;
}

.philosophy-content {
  color: #fffce7 !important;
    font-family: 'VAGRounded', sans-serif;
  line-height: 1.6 !important;
  font-size: 0.95rem !important;
  text-align: left !important;
  max-width: 760px !important;
  margin: 0 auto !important;
}

.philosophy-content p {
  margin-bottom: 1.5rem !important;
  color: #fffce7 !important;
}

/* Responsive Design */
@media (max-width: 767px) {
  .guardian-channels {
    padding: 1rem;
  }
  
  .channel-banner {
    padding: 1.5rem;
    min-height: auto;
  }
  
  .channel-title {
    font-size: 1.5rem !important;
  }
  
  .philosophy-title {
    font-size: 1.5rem !important;
  }
  
  .guardian-philosophy {
    padding: 2rem;
  }
}

/* Subscribe Button - Rounded crimson with cursor effect */
.subscribe-button {
  background: #cd1042 !important;
  color: #fffce7 !important;
  border: 2px solid #cd1042 !important;
  border-radius: 5px !important;
  cursor: pointer !important;
}

.subscribe-button:hover {
  background: #cd1042 !important;
  color: #fffce7 !important;
  border: 2px solid #cd1042 !important;
  cursor: pointer !important;
} 

p {
  font-family: 'Gabarito', sans-serif !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  text-align: left !important;
  text-shadow: 1px 1px 2px var(--shadow-color) !important;
  color: var(--text-primary) !important;
  font-weight: 400 !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 1.25rem !important;
  padding: 0 !important;
  transition: color 0.3s ease;
}

/* Highlight markdown lists inside .list wrappers */
.list ul,
.list ol {
  list-style: none !important;
  margin: 0 0 1rem 0 !important;
  padding: 0 !important;
}

.list li {
  position: relative !important;
  padding-left: 1.25rem !important;
  margin: 0.25rem 0 !important;
}

.list li::before {
  content: "-";
  position: absolute;
  left: 0;
  top: 0;
  color: #ffce2e; /* gold */
  text-shadow: 0 0 8px rgba(255, 206, 46, 0.5);
  font-weight: 700;
}

/* iframe video classes  */
.responsive-video {
  position: relative;
  padding-bottom: 56.25%; 
  height: 0; 
  overflow: hidden; 
  width: 100%; 
}

.responsive-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Generic 2-column content block (e.g., text left + media right in posts) */
.post-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
  margin: 1rem 0 1.5rem;
}

@media (min-width: 768px) {
  .post-two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.post-two-col__text {
  text-align: left;
}

.post-two-col__media {
  width: 100%;
}

.post-two-col__video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.channel-panel .panel-content p {
  text-align: center !important;
}

/* Bigger versions for enhanced visual impact */
.panel-logo-small {
  width: 5.5rem !important;
  height: 5.5rem !important;
  object-fit: contain;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  background: rgba(0,0,0,0.2);
  padding: 0.4rem;
  border: 3px solid #9064c4;
}

.panel-title-small {
  font-family: 'VAGRounded', sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: #b58f2e !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  margin-bottom: 0.8rem !important;
  text-shadow: 0 0 15px #b58f2e, 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
}

.panel-description-small {
    font-family: 'VAGRounded', sans-serif;
  font-size: 0.875rem !important;
  font-weight: 400 !important;
  color: #fffce7 !important;
  text-align: center !important;
  margin-bottom: 0 !important;
}

.channel-panel {
  padding: 2.5rem 1.5rem !important;
}

/* Panel with gallery background */
.panel-with-gallery {
  position: relative !important;
  overflow: hidden !important;
}

.panel-gallery, .membership-image-layer {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 1 !important;
  overflow: hidden !important;
  border-radius: 1rem !important;
}

.panel-gallery-container {
  display: flex !important;
  flex-direction: row !important;
  gap: 0 !important; /* No gap between images */
  width: max-content !important;
  animation: panelScrollLeft 200s linear infinite !important;
  will-change: transform !important;
  height: 100% !important;
}

.panel-gallery-image {
  height: 100% !important;
  width: auto !important;
  opacity: 0.15 !important; /* Very subtle background effect */
  object-fit: cover !important;
  transform: translateZ(0) !important;
  border-radius: 0 !important; /* No border radius so they blend */
}

.panel-with-gallery:hover .panel-gallery-image {
  opacity: 0.25 !important; /* Slightly more visible on hover */
}

.panel-with-gallery .panel-content {
  position: relative !important;
  z-index: 2 !important;
  background: transparent !important; /* Remove the black box */
  border-radius: 0.8rem !important;
  margin: 0.2rem !important;
  backdrop-filter: none !important; /* Remove the blur to see gallery clearly */
}

/* Add stronger text shadows for readability without the black background */
.panel-with-gallery .panel-title-small {
  text-shadow: 
    0 0 20px #b58f2e,
    0 0 30px #b58f2e,
    2px 2px 8px rgba(0, 0, 0, 1),
    -1px -1px 0 rgba(0, 0, 0, 1),
    1px -1px 0 rgba(0, 0, 0, 1),
    -1px 1px 0 rgba(0, 0, 0, 1),
    1px 1px 0 rgba(0, 0, 0, 1) !important;
}

.panel-with-gallery .panel-description-small {
  text-shadow: 
    0 0 10px rgba(255, 252, 231, 0.8),
    2px 2px 6px rgba(0, 0, 0, 1),
    -1px -1px 0 rgba(0, 0, 0, 1),
    1px -1px 0 rgba(0, 0, 0, 1),
    -1px 1px 0 rgba(0, 0, 0, 1),
    1px 1px 0 rgba(0, 0, 0, 1) !important;
}

.panel-with-gallery .panel-border {
  z-index: 3 !important;
}

@keyframes panelScrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 0px)); /* No gap to account for */
  }
}
.channel-section-bg {
background-color: #0f0f0f;
padding: 1.25rem 1.5rem;
min-height: auto;
display: flex;
align-items: flex-start;
justify-content: center;
}

@media (min-width: 1024px) {
  .channel-section-bg {
    padding-top: 1.25rem; /* normalized */
    padding-bottom: 2rem;
  }
}

/* Normalize top spacing across main page containers */
.channel-section-bg,
.games-page-container,
.projects-page-container,
.about-page-container,
.gear-page-container {
  padding-top: 0.25rem !important;
}

.channel-panel {
position: relative;
background: #0f0f0f;
border-radius: 1rem;
padding: 3rem 2rem;
text-align: center;
text-decoration: none;
overflow: hidden;
z-index: 1;
}

.panel-border {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
border-radius: 1rem;
padding: 2px;
background: linear-gradient(145deg, #9064c4, #3077ee);
-webkit-mask: 
   linear-gradient(#fff 0 0) content-box, 
   linear-gradient(#fff 0 0);
mask: 
   linear-gradient(#fff 0 0) content-box, 
   linear-gradient(#fff 0 0);
-webkit-mask-composite: destination-out;
mask-composite: exclude;
z-index: 0;
}

.panel-content {
position: relative;
z-index: 2;
}

.panel-logo {
width: 6rem;
height: 6rem;
object-fit: contain;
border-radius: 50%;
margin: 0 auto 1.5rem;
background: #0f0f0f;
padding: 0.5rem;
border: 2px solid #9064c4;
}

.panel-title {
  font-family: 'VAGRounded', sans-serif;
font-size: 1.75rem;
font-weight: 700;
color: #fffce7;
text-transform: uppercase;
letter-spacing: 1.5px;
text-shadow: 0 0 15px rgba(144, 100, 196, 0.4);
}

.panel-description {
font-family: sans-serif;
color: rgba(255, 252, 231, 0.7);
margin-top: 0.5rem;
font-size: 0.9rem;
}

/* Remove particle styles if they still exist */
/* Removed empty ruleset previously declared for .particle,  .text-shadow-glow */

/* Deadlock-inspired banner styles */
.deadlock-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 0 0 1px rgba(205, 16, 66, 0.35), 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 22px rgba(205, 16, 66, 0.2);
}

.deadlock-crimson {
  background: linear-gradient(135deg, #3621af65 0%, #80080862 100%) !important;
}

/* Animated sheen sweep */
.deadlock-card::before {
  content: '';
  position: absolute;
  inset: -10% -40%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.18), rgba(255,255,255,0));
  transform: skewX(-20deg) translateX(-120%);
  filter: blur(0.5px);
  pointer-events: none;
}

.deadlock-card:hover::before {
  animation: deadlock-sheen 1.6s ease forwards;
}

@keyframes deadlock-sheen {
  to { transform: skewX(-20deg) translateX(120%); }
}

/* Subtle grid + scanline overlay */
.deadlock-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 24px);
  mix-blend-mode: overlay;
  opacity: 0.06;
  pointer-events: none;
  border-radius: inherit;
  background-position: 0 12px, 12px 0; /* offset to prevent top/left seam lines */
}

/* Thin metallic accent edge */
.deadlock-accent {
  position: absolute;
  top: 8px;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #cd1042 0%, #ffce2e 50%, #cd1042 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.deadlock-card:hover .deadlock-accent { opacity: 0.35; }

/* Synthwave deep purple variant */
.deadlock-synthwave {
  background: linear-gradient(135deg, #2b1a6a 0%, #5b21b6 45%, #8a2be2 80%) !important;
}

/* Stronger neon grid for synthwave */
.deadlock-synthwave::after {
  background-image:
    repeating-linear-gradient(0deg, rgba(163, 204, 219, 0.12) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(90deg, rgba(163, 204, 219, 0.12) 0 1px, transparent 1px 22px);
  opacity: 0.10;
  border-radius: inherit;
  background-position: 0 12px, 12px 0; /* offset grid so no top seam */
}

/* Outer neon bloom */
.deadlock-neon-glow {
  box-shadow: 0 0 0 1px rgba(138, 43, 226, 0.45), 0 12px 36px rgba(104, 62, 149, 0.55), 0 0 40px rgba(138, 43, 226, 0.35) !important;
}

/* Accent bar in synthwave colors */
.deadlock-accent-synth {
  background: linear-gradient(90deg, #8a2be2 0%, #ff00ff 50%, #47c4e0 100%);
  opacity: 0.7;
}

.prose h1 { font-size: 2rem; }
.prose h2 { font-size: 1.7rem; margin: 0 0 16px 0; padding: 0; line-height: 1.2; }
.prose h2:not(:first-child) { margin-top: 16px; }
.prose h3 { font-size: 1.4rem; }
.prose h4 { font-size: 1.2rem; }


/* Tier list builder ------------------------------------------------------- */
.tier-page-wrapper {
  padding-top: 3rem;
  padding-bottom: 4rem;
  color: #fefcf5;
}

.tier-hero {
  background: radial-gradient(circle at 20% 20%, rgba(147, 197, 253, 0.15), transparent 55%),
    linear-gradient(135deg, rgba(48, 119, 238, 0.25), rgba(104, 62, 149, 0.35));
  border: 1px solid rgba(48, 119, 238, 0.45);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  margin-bottom: 2rem;
}

.tier-kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.25rem;
  color: #a5b4fc;
  margin-bottom: 0.35rem;
}

.tier-title {
  font-family: 'VAGRounded', sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 0.5rem;
}

.tier-lede {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  max-width: 48rem;
  margin-bottom: 0.75rem;
}

.tier-instructions {
  margin: 0;
  padding-left: 1.25rem;
  color: rgba(255, 255, 255, 0.75);
}

.tier-instructions li {
  margin-bottom: 0.2rem;
}

.tier-game-selector {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.tier-game-btn {
  padding: 0.55rem 1.25rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: #050505;
  color: #fefcf5;
  font-weight: 600;
  transition: border-color 160ms ease, background 160ms ease;
  letter-spacing: 0.08em;
}

.tier-game-btn.is-active {
  border-color: #ffffff;
  background: #111111;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.18);
}

.tier-game-btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

.tier-board-panel {
  display: none;
}

.tier-board-panel.is-active {
  display: block;
}

.tier-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid rgba(144, 100, 196, 0.45);
  border-radius: 0.5rem;
  background: rgba(9, 9, 12, 0.85);
  margin-bottom: 1.5rem;
}

.tier-toolbar-label {
  display: flex;
  align-items: center;
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.35rem;
  color: #fde68a;
  margin: 0;
  line-height: 1;
}

.tier-action-btn {
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 0.55rem 1.25rem;
  border-radius: 0.4rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: transform 160ms ease, border-color 160ms ease;
}

.tier-action-btn:hover {
  border-color: #ffffff;
  transform: translateY(-1px);
}

.tier-status {
  position: fixed;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.7rem 1.25rem;
  border-radius: 0.6rem;
  font-size: 0.9rem;
  background: rgba(17, 17, 17, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fef08a;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  z-index: 50;
}

.tier-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2rem;
  border: 1px solid rgba(15, 15, 15, 0.95);
}

.tier-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 90px;
  gap: 0;
  align-items: stretch;
  background: #050505;
  border-bottom: 1px solid rgba(15, 15, 15, 0.95);
}

.tier-row-label {
  padding: 0.65rem 0.65rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  font-weight: 700;
  color: #0f0f10;
  border-right: 1px solid rgba(15, 15, 15, 0.85);
}

.tier-row-grade {
  font-size: 1.75rem;
  font-family: 'VAGRounded', sans-serif;
}

.tier-row-note {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.09em;
}

.tier-row-dropzone {
  min-height: 86px;
  padding: 0.2rem 0.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-content: center;
  align-items: center;
  background: #0f0f10;
  border: 1px solid rgba(15, 15, 15, 0.85);
  border-left: none;
  border-right: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.tier-zone-empty {
  background: rgba(15, 23, 42, 0.65);
}

.tier-zone-hover {
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.4);
}

.tier-row-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.4rem;
  background: #050505;
  border-left: 1px solid rgba(15, 15, 15, 0.85);
}

.tier-row-btn {
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(248, 250, 252, 0.85);
  padding: 0.4rem 0.8rem;
  border-radius: 0.35rem;
  font-size: 0.85rem;
  transition: border-color 160ms ease;
}

.tier-row-btn:hover {
  border-color: rgba(248, 250, 252, 0.8);
}

.tier-row-armory {
  display: block;
}

.tier-row-armory .tier-row-dropzone {
  padding: 0;
  border-left: none;
  border-right: none;
  border-top: 1px solid rgba(15, 15, 15, 0.95);
  min-height: 86px;
  background: #050505;
  display: flex;
  align-items: stretch;
}

.tier-row-armory-controls {
  display: none;
}

.tier-token-carousel {
  display: flex;
  align-items: center;
  width: 100%;
}

.tier-token-nav {
  width: 48px;
  height: 100%;
  border-radius: 0;
  border: none;
  background: #050505;
  color: #fefcf5;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 160ms ease;
}

.tier-token-nav:hover {
  opacity: 0.85;
}

.tier-token-nav:disabled {
  opacity: 0.35;
  pointer-events: none;
}

.tier-token-bank {
  flex: 1;
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  padding: 0.35rem 0.4rem;
  scroll-snap-type: x proximity;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.tier-token-bank::-webkit-scrollbar {
  display: none;
}

.tier-token {
  flex: 0 0 auto;
  width: 66px;
  height: 66px;
  border-radius: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0f0f10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem;
  cursor: pointer;
  transition: transform 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
  scroll-snap-align: start;
}

.tier-row-dropzone [data-tier-token] {
  width: 70px;
  flex: 0 0 auto;
  padding: 0.05rem;
}

.tier-token img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.tier-token:hover {
  transform: translateY(-1px);
  border-color: rgba(96, 165, 250, 0.6);
  box-shadow: 0 0 6px rgba(96, 165, 250, 0.4);
}

.tier-token.is-selected {
  border-color: #fef08a;
  box-shadow: 0 0 10px rgba(254, 240, 138, 0.45);
}

.tier-token.dragging {
  opacity: 0.4;
  border-color: rgba(96, 165, 250, 0.9);
}

.tier-label-s { background: #fb7185; }
.tier-label-a { background: #fdba74; }
.tier-label-b { background: #fcd34d; }
.tier-label-c { background: #fde68a; }
.tier-label-d { background: #bef264; }
.tier-label-f { background: #4ade80; }
.tier-label-unknown { background: #5eead4; }

.tier-label-unknown .tier-row-grade {
  font-size: 1.45rem;
}

@media (max-width: 1024px) {
  .tier-row {
    grid-template-columns: 110px minmax(0, 1fr);
    grid-template-rows: auto auto;
  }

  .tier-row-controls {
    grid-column: span 2;
    justify-content: flex-end;
  }
}

@media (max-width: 768px) {
  .tier-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .tier-row-controls {
    display: none;
  }

  .tier-actions {
    width: 100%;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tier-action-btn,
  .tier-game-btn,
  .tier-token {
    transition: none;
  }
}

/* Light Mode Specific Adjustments */
[data-theme="light"] .neon-title {
  text-shadow: 1px 1px 2px var(--shadow-color);
}

[data-theme="light"] h1, 
[data-theme="light"] .h1, 
[data-theme="light"] .main-title, 
[data-theme="light"] .post-title, 
[data-theme="light"] .page-title {
  text-shadow: 1px 1px 2px var(--shadow-color);
}

[data-theme="light"] h2, 
[data-theme="light"] .h2, 
[data-theme="light"] .secondary-title, 
[data-theme="light"] .subtitle {
  text-shadow: 1px 1px 2px var(--shadow-color);
}

[data-theme="light"] .cyberpunk-nav-link,
[data-theme="light"] .cyberpunk-social {
  text-shadow: 1px 1px 2px var(--shadow-light);
}

[data-theme="light"] .cyberpunk-nav-link:hover,
[data-theme="light"] .cyberpunk-social:hover {
  text-shadow: 0 0 8px var(--cyan);
}

[data-theme="light"] .cyberpunk-mobile-link {
  color: var(--text-primary);
}

[data-theme="light"] .cyberpunk-mobile-link:hover {
  color: var(--text-secondary);
}

