/*
Theme Name: The Comic Stand V10
Theme URI: https://thecomicstand.local/
Author: The Comic Stand
Description: A high-end WordPress theme for comic inventory, featured issues, market watch pages, and collecting tools.
Version: 10.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: the-comic-stand
*/

:root {
  --tcs-bg: #090a11;
  --tcs-bg-soft: #111320;
  --tcs-card: rgba(255,255,255,0.075);
  --tcs-card-strong: rgba(255,255,255,0.12);
  --tcs-text: #f7f7fb;
  --tcs-muted: #b7bdd4;
  --tcs-accent: #ffcc33;
  --tcs-accent-2: #f43f5e;
  --tcs-border: rgba(255,255,255,0.16);
  --tcs-shadow: 0 22px 80px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at top left, rgba(244,63,94,.24), transparent 34%), radial-gradient(circle at top right, rgba(255,204,51,.18), transparent 34%), var(--tcs-bg);
  color: var(--tcs-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }

.tcs-shell { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.tcs-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(9,10,17,.78);
  border-bottom: 1px solid var(--tcs-border);
}
.tcs-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 78px; }
.tcs-brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.tcs-logo-badge { width: 46px; height: 46px; border-radius: 16px; background: linear-gradient(135deg, var(--tcs-accent), var(--tcs-accent-2)); display: grid; place-items: center; color: #080812; box-shadow: 0 12px 40px rgba(244,63,94,.25); }
.tcs-logo-badge span { font-size: 25px; line-height: 1; }
.tcs-nav ul { display: flex; align-items: center; gap: 18px; padding: 0; margin: 0; list-style: none; }
.tcs-nav a { color: var(--tcs-muted); text-decoration: none; font-weight: 700; font-size: 14px; }
.tcs-nav a:hover { color: var(--tcs-text); }

.tcs-hero { padding: 88px 0 48px; }
.tcs-hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 42px; }
.tcs-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--tcs-accent); font-weight: 900; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; }
.tcs-hero h1 { font-size: clamp(44px, 6vw, 84px); line-height: .92; letter-spacing: -.07em; margin: 12px 0 18px; }
.tcs-hero p { color: var(--tcs-muted); font-size: 18px; max-width: 650px; }
.tcs-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.tcs-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border-radius: 999px; text-decoration: none; font-weight: 900; border: 1px solid var(--tcs-border); background: var(--tcs-card); color: var(--tcs-text); }
.tcs-button-primary { background: linear-gradient(135deg, var(--tcs-accent), #fff3a6); color: #111; border-color: rgba(255,204,51,.45); }
.tcs-button:hover { transform: translateY(-1px); }

.tcs-showcase { min-height: 430px; border-radius: 34px; border: 1px solid var(--tcs-border); background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.04)); box-shadow: var(--tcs-shadow); padding: 24px; position: relative; overflow: hidden; }
.tcs-showcase:before { content: ''; position: absolute; inset: -20% -10% auto auto; width: 340px; height: 340px; background: radial-gradient(circle, rgba(255,204,51,.3), transparent 62%); }
.tcs-comic-stack { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; height: 100%; align-items: center; }
.tcs-comic-cover { aspect-ratio: 2/3; border-radius: 18px; background: linear-gradient(160deg, rgba(244,63,94,.95), rgba(255,204,51,.9)); border: 1px solid rgba(255,255,255,.28); box-shadow: 0 18px 60px rgba(0,0,0,.32); padding: 14px; display: flex; flex-direction: column; justify-content: space-between; min-height: 230px; }
.tcs-comic-cover:nth-child(2) { transform: translateY(-28px); background: linear-gradient(160deg, rgba(59,130,246,.95), rgba(255,204,51,.85)); }
.tcs-comic-cover:nth-child(3) { background: linear-gradient(160deg, rgba(34,197,94,.92), rgba(244,63,94,.82)); }
.tcs-cover-title { font-size: 25px; font-weight: 950; line-height: 1; letter-spacing: -.05em; text-transform: uppercase; }
.tcs-cover-meta { color: rgba(255,255,255,.86); font-size: 12px; font-weight: 800; }

.tcs-section { padding: 44px 0; }
.tcs-section-title { font-size: clamp(28px, 3vw, 44px); line-height: 1.05; letter-spacing: -.045em; margin: 0 0 14px; }
.tcs-section-lead { color: var(--tcs-muted); margin: 0 0 26px; max-width: 760px; }
.tcs-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tcs-info-card { background: var(--tcs-card); border: 1px solid var(--tcs-border); border-radius: 24px; padding: 22px; box-shadow: 0 14px 40px rgba(0,0,0,.18); }
.tcs-info-card h3 { margin: 0 0 8px; font-size: 20px; }
.tcs-info-card p { margin: 0; color: var(--tcs-muted); }

.tcs-main { padding: 42px 0 70px; min-height: 62vh; }
.tcs-post-card { background: var(--tcs-card); border: 1px solid var(--tcs-border); border-radius: 24px; padding: 26px; margin: 0 0 20px; }
.tcs-post-card h2, .tcs-page-title { letter-spacing: -.04em; }
.tcs-post-card a { text-decoration: none; }

.tcs-site-footer { border-top: 1px solid var(--tcs-border); background: rgba(0,0,0,.2); padding: 34px 0; color: var(--tcs-muted); }
.tcs-footer-inner { display:flex; justify-content:space-between; align-items:center; gap:20px; flex-wrap:wrap; }

@media (max-width: 850px) {
  .tcs-header-inner, .tcs-footer-inner { align-items: flex-start; }
  .tcs-nav ul { flex-wrap: wrap; gap: 10px 16px; }
  .tcs-hero-grid, .tcs-card-grid { grid-template-columns: 1fr; }
  .tcs-showcase { min-height: auto; }
}
