/*
Theme Name: Lost City Command Center
Theme URI: https://lostcity-command-center.local/
Author: OpenAI Codex
Description: A sleek, futuristic brochure theme for the Lost City Clan Command Center.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: lost-city-command-center
*/


@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #050505;
  --panel: rgba(255, 255, 255, 0.03);
  --panel-strong: rgba(10, 10, 10, 0.92);
  --text: #ffffff;
  --muted: #94a3b8;
  --muted-deep: #64748b;
  --border: rgba(255, 255, 255, 0.08);
  --border-soft: rgba(255, 255, 255, 0.05);
  --emerald: #10b981;
  --blue: #3b82f6;
  --amber: #f59e0b;
  --danger: #ef4444;
  --max-width: 1240px;
  --body: "Inter", "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
  --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background:
    radial-gradient(circle at 12% 12%, rgba(16, 185, 129, 0.12), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(59, 130, 246, 0.12), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(16, 185, 129, 0.06), transparent 32%),
    linear-gradient(180deg, #050505 0%, #060606 100%);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.03) 1px, transparent 0);
  background-size: 24px 24px;
  opacity: 1;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(16, 185, 129, 0.05), transparent);
  opacity: 1;
  transform: translateY(-100%);
  animation: sweep 8s linear infinite;
}

body > .shell::before,
body > .shell::after {
  content: "";
  position: fixed;
  width: 34rem;
  height: 34rem;
  border-radius: 999px;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.16;
  z-index: 0;
}

body > .shell::before {
  top: -8rem;
  right: -10rem;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.9), transparent 62%);
  animation: floatOrb 14s ease-in-out infinite;
}

body > .shell::after {
  left: -12rem;
  bottom: 10%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.85), transparent 62%);
  animation: floatOrbAlt 18s ease-in-out infinite;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  position: relative;
  z-index: 1;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-soft);
  background: rgba(5, 5, 5, 0.78);
}

.topbar-inner,
.section,
.footer-inner {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--body);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
}

.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  background:
    linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(59, 130, 246, 0.08)),
    rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 20px rgba(16, 185, 129, 0.08);
}

.brand span:last-child {
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.8rem 1rem;
  border: 1px solid transparent;
  color: var(--muted);
  border-radius: 0.75rem;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.hero,
.page-hero {
  padding: 5rem 0 2rem;
}

.hero {
  position: relative;
  overflow: clip;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent),
    radial-gradient(circle at 15% 20%, rgba(16, 185, 129, 0.08), transparent 22%);
  transform: translateX(-100%);
  animation: heroSweep 7s ease-in-out infinite;
}

.hero-grid,
.page-hero-grid,
.archive-grid,
.contact-grid,
.footer-grid,
.mini-grid,
.stats-grid,
.hero-stats {
  display: grid;
  gap: 1rem;
}

.hero-grid,
.page-hero-grid {
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: stretch;
}

.archive-grid,
.contact-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.footer-grid {
  grid-template-columns: 1.3fr 0.7fr;
  align-items: start;
}

.hero-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.25rem;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mini-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eyebrow,
.label {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  font-family: var(--mono);
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  color: var(--emerald);
}

.eyebrow::before,
.label::before {
  content: "";
  width: 2.6rem;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--body);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.9;
  margin-top: 1.2rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 0.96;
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

.lead {
  max-width: 58ch;
  font-size: 1.05rem;
  margin-top: 1.5rem;
}

.hero-actions,
.button-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.3rem;
  min-width: 200px;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button {
  color: #050505;
  border-color: rgba(16, 185, 129, 0.2);
  background: linear-gradient(90deg, var(--emerald), var(--blue));
}

.button-secondary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.button:hover,
.button-secondary:hover {
  transform: translateY(-2px);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.07);
}

.button,
.button-secondary,
.nav a,
.card,
.clan-card,
.table-panel,
.quote-panel,
.stat,
.timeline-item,
.form-panel {
  will-change: transform, box-shadow, border-color, background-color;
}

.panel,
.card,
.stat,
.timeline-item,
.form-panel,
.boot-panel,
.clan-card,
.table-panel,
.quote-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02)),
    rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.card:hover,
.clan-card:hover,
.table-panel:hover,
.quote-panel:hover,
.timeline-item:hover,
.form-panel:hover,
.stat:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.boot-panel,
.card,
.clan-card,
.timeline-item,
.form-panel,
.table-panel,
.quote-panel {
  padding: 1.5rem;
}

.boot-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
}

.boot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--mono);
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.lights {
  display: flex;
  gap: 0.45rem;
}

.lights span {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background: rgba(100, 116, 139, 0.35);
}

.lights span:nth-child(1) { background: rgba(239, 68, 68, 0.78); }
.lights span:nth-child(2) { background: rgba(245, 158, 11, 0.8); }
.lights span:nth-child(3) { background: rgba(16, 185, 129, 0.9); }

.boot-log,
.list,
.meta-list,
.timeline {
  display: grid;
  gap: 0.7rem;
}

.boot-log {
  font-family: var(--mono);
  font-size: 0.88rem;
  color: #d9fbe8;
}

.boot-line {
  opacity: 0.2;
  transform: translateY(8px);
  transition: opacity 250ms ease, transform 250ms ease;
}

.boot-line.visible {
  opacity: 1;
  transform: translateY(0);
}

.boot-line strong {
  color: var(--emerald);
}

.stat { padding: 1.2rem; }

.stat-label,
.table-caption,
.tiny,
.footer-note {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--muted);
}

.stat-value {
  margin-top: 0.8rem;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-family: var(--body);
  font-weight: 900;
  font-style: italic;
  color: var(--text);
}

.section {
  padding: 2rem 0 4rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.section-copy {
  max-width: 60ch;
}

.card p,
.clan-card p,
.timeline-item p {
  margin-top: 0.9rem;
}

.card-tag,
.pill {
  display: inline-flex;
  padding: 0.38rem 0.6rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.card-tag {
  border: 1px solid rgba(59, 130, 246, 0.45);
  color: var(--blue);
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.08);
}

.pill {
  border: 1px solid rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.07);
  border-radius: 999px;
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.span-7 { grid-column: span 7; }
.span-6 { grid-column: span 6; }
.span-5 { grid-column: span 5; }

.clan-card {
  min-height: 100%;
  position: relative;
  overflow: hidden;
}

.clan-card::before {
  content: "";
  position: absolute;
  inset: auto -15% -30% auto;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18), transparent 70%);
  transition: transform 260ms ease, opacity 260ms ease;
}

.clan-card:hover::before {
  transform: scale(1.15);
  opacity: 0.9;
}

.list span,
.meta-list span {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.84rem;
  color: #dce6f5;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.table th,
.table td {
  padding: 0.95rem 0.7rem;
  border-bottom: 1px solid rgba(30, 41, 59, 0.9);
  text-align: left;
  font-family: var(--mono);
  font-size: 0.84rem;
}

.table th {
  color: var(--muted-deep);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.table td { color: #e2e8f0; }

.status-online,
.status-priority,
.status-open { color: var(--emerald); }

.status-throttle { color: var(--amber); }
.status-pending { color: var(--blue); }

.parallax-panel {
  min-height: 520px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.14), transparent 25%),
    radial-gradient(circle at 80% 85%, rgba(16, 185, 129, 0.12), transparent 25%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
}

.parallax-layer {
  position: absolute;
  inset: 0;
  transition: transform 120ms linear, opacity 220ms ease;
}

.parallax-grid {
  background-image:
    linear-gradient(rgba(16, 185, 129, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.08) 1px, transparent 1px);
  background-size: 100% 48px, 48px 100%;
  opacity: 0.3;
}

.parallax-frame {
  inset: 12%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 70px rgba(59, 130, 246, 0.08);
  border-radius: 1rem;
}

.parallax-copy {
  position: absolute;
  left: 8%;
  bottom: 8%;
  right: 8%;
}

.glitch {
  position: relative;
  display: inline-block;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
}

.glitch::before {
  color: var(--blue);
  transform: translate(2px, 0);
  clip-path: inset(0 0 48% 0);
}

.glitch::after {
  color: var(--emerald);
  transform: translate(-2px, 0);
  clip-path: inset(52% 0 0 0);
}

.glitch:hover::before {
  animation: glitchShift 320ms ease 2;
}

.glitch:hover::after {
  animation: glitchShiftAlt 320ms ease 2;
}

label {
  display: grid;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c5d4e4;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font: inherit;
  transition: border-color 160ms ease, background-color 160ms ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(255, 255, 255, 0.07);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-grid.dual {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer {
  border-top: 1px solid var(--border-soft);
  padding: 2rem 0 3rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(10px);
  transition: opacity 650ms ease, transform 650ms ease, filter 650ms ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.boot-panel {
  animation: panelIdle 8s ease-in-out infinite;
}

.stat-value,
h1 span,
h2,
.brand-mark {
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.04);
}

.meta-list span,
.list span,
.table tbody tr,
.nav a,
.button,
.button-secondary {
  transition: transform 180ms ease, color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.table tbody tr {
  position: relative;
}

.table tbody tr:hover {
  transform: translateX(4px);
}

.table tbody tr:hover td {
  color: #fff;
}

.table tbody tr::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0), rgba(16, 185, 129, 0.45), rgba(59, 130, 246, 0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.table tbody tr:hover::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@keyframes scanline {
  from { transform: translateY(0); }
  to { transform: translateY(6px); }
}

@keyframes sweep {
  to { transform: translateY(100%); }
}

@keyframes heroSweep {
  0%,
  100% {
    transform: translateX(-110%);
    opacity: 0;
  }
  12%,
  55% {
    opacity: 1;
  }
  70% {
    transform: translateX(110%);
    opacity: 0;
  }
}

@keyframes floatOrb {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-2rem, 2rem, 0) scale(1.08);
  }
}

@keyframes floatOrbAlt {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(3rem, -2rem, 0) scale(0.94);
  }
}

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

@keyframes glitchShift {
  0%,
  100% {
    transform: translate(2px, 0);
  }
  50% {
    transform: translate(7px, -1px);
  }
}

@keyframes glitchShiftAlt {
  0%,
  100% {
    transform: translate(-2px, 0);
  }
  50% {
    transform: translate(-8px, 1px);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .page-hero-grid,
  .archive-grid,
  .contact-grid,
  .footer-grid,
  .stats-grid,
  .mini-grid,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .span-7,
  .span-6,
  .span-5 {
    grid-column: auto;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .topbar-inner {
    padding: 0.75rem 0;
    align-items: start;
    flex-direction: column;
  }

  .form-grid.dual {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.7rem;
  }
}

