/* ==========================================================================
   gwu.css — Gundam Wing Universe shared site stylesheet
   Dark sci-fi / military-HUD aesthetic
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;900&family=Share+Tech+Mono&family=Exo+2:wght@300;400;600&display=swap');

/* --------------------------------------------------------------------------
   Variables
   -------------------------------------------------------------------------- */
:root {
  --bg:        #050a0f;
  --panel:     #080f17;
  --border:    #0d2035;
  --accent:    #00c8ff;
  --accent2:   #ff6b00;
  --accent3:   #00ff88;
  --danger:    #ff2244;
  --text:      #b8d4e8;
  --text-dim:  #4a6a82;
  --glow:      rgba(0,200,255,0.15);
}

/* --------------------------------------------------------------------------
   Base Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Exo 2', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Animated grid background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,200,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Scanline overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.07) 2px,
    rgba(0,0,0,0.07) 4px
  );
  pointer-events: none;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   Site Navigation
   -------------------------------------------------------------------------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5,10,15,0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.site-nav-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 52px;
}

.site-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  letter-spacing: 3px;
  text-shadow: 0 0 20px rgba(0,200,255,0.7);
  flex-shrink: 0;
  margin-right: 8px;
}

.site-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}

.site-links a {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-dim);
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid transparent;
  transition: all 0.2s;
  text-transform: uppercase;
}

.site-links a:hover,
.site-links a.active {
  color: var(--accent);
  border-color: rgba(0,200,255,0.3);
  background: rgba(0,200,255,0.06);
}

.site-links a.nav-connect {
  color: var(--accent3);
  border-color: rgba(0,255,136,0.3);
  margin-left: 12px;
}

.site-links a.nav-connect:hover {
  background: rgba(0,255,136,0.08);
  text-shadow: 0 0 8px var(--accent3);
}

/* --------------------------------------------------------------------------
   Community Bar (Discord + Mudverse vote)
   -------------------------------------------------------------------------- */
.community-bar {
  position: sticky;
  top: 52px;
  z-index: 99;
  background: rgba(5, 10, 15, 0.92);
  border-bottom: 1px solid var(--border);
  padding: 5px 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.community-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.community-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: opacity 0.2s;
  line-height: 1;
}

.community-link:hover {
  opacity: 0.8;
}

.discord-link {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  color: #7289da;
  background: rgba(114, 137, 218, 0.1);
  border: 1px solid rgba(114, 137, 218, 0.3);
  padding: 4px 10px 4px 7px;
  text-transform: uppercase;
}

.community-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  fill: #7289da;
}

.vote-link {
  line-height: 0;
}

.mudverse-btn {
  height: 26px;
  width: auto;
  display: block;
  vertical-align: middle;
}

/* --------------------------------------------------------------------------
   Page Container
   -------------------------------------------------------------------------- */
.container {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* --------------------------------------------------------------------------
   Page Header
   -------------------------------------------------------------------------- */
header {
  text-align: center;
  margin-bottom: 48px;
}

.header-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 14px 0;
  animation: pulse-line 3s ease-in-out infinite;
}

@keyframes pulse-line {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

.header-badge {
  display: inline-block;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--accent);
  text-transform: uppercase;
  border: 1px solid rgba(0,200,255,0.3);
  padding: 4px 14px;
  margin-bottom: 10px;
}

h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(26px, 5vw, 48px);
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 40px rgba(0,200,255,0.5), 0 0 80px rgba(0,200,255,0.15);
  line-height: 1.1;
}

.header-sub {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 2px;
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section {
  margin-bottom: 48px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.section-icon {
  font-size: 20px;
  width: 36px;
  text-align: center;
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Stat Bar
   -------------------------------------------------------------------------- */
.stat-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.stat-item {
  flex: 1;
  min-width: 120px;
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 14px 18px;
  text-align: center;
}

.stat-val {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: var(--accent);
  text-shadow: 0 0 16px rgba(0,200,255,0.5);
}

.stat-label {
  display: block;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   Data Table (changes, mudstat, help index)
   -------------------------------------------------------------------------- */
.data-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
}

.data-table th {
  text-align: left;
  padding: 10px 16px;
  background: var(--panel);
  color: var(--accent);
  border-bottom: 1px solid var(--border);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.data-table td {
  padding: 9px 16px;
  border-bottom: 1px solid rgba(13,32,53,0.6);
  color: var(--text);
  vertical-align: top;
}

.data-table tr:hover td {
  background: rgba(0,200,255,0.03);
}

.data-table td.num {
  color: var(--text-dim);
  white-space: nowrap;
}

.data-table td.key {
  color: var(--accent);
  white-space: nowrap;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   News List (index.html)
   -------------------------------------------------------------------------- */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-item {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 16px 20px;
  border-left: 2px solid var(--accent);
}

.news-body {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.6;
}

.news-meta {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 1px;
}

/* --------------------------------------------------------------------------
   Cover Image
   -------------------------------------------------------------------------- */
.cover-wrap {
  margin-bottom: 36px;
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.cover-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* --------------------------------------------------------------------------
   Lore / Body text
   -------------------------------------------------------------------------- */
.lore-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
}

.lore-text em {
  color: var(--accent);
  font-style: normal;
}

/* --------------------------------------------------------------------------
   Connect Button
   -------------------------------------------------------------------------- */
.connect-btn {
  display: inline-block;
  font-family: 'Orbitron', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 4px;
  color: #000;
  background: var(--accent);
  padding: 14px 40px;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 0 30px rgba(0,200,255,0.4);
}

.connect-btn:hover {
  background: #fff;
  box-shadow: 0 0 50px rgba(0,200,255,0.7);
}

/* --------------------------------------------------------------------------
   Status Badges (mudstat)
   -------------------------------------------------------------------------- */
.status-badge {
  display: inline-block;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  padding: 6px 16px;
  border: 1px solid;
  margin: 0 8px 16px 0;
  text-transform: uppercase;
}

.status-ok   { color: var(--accent3); border-color: rgba(0,255,136,0.4); background: rgba(0,255,136,0.07); }
.status-warn { color: var(--accent2); border-color: rgba(255,107,0,0.4); background: rgba(255,107,0,0.07); }
.status-err  { color: var(--danger);  border-color: rgba(255,34,68,0.4);  background: rgba(255,34,68,0.07); }

/* --------------------------------------------------------------------------
   Help File Body
   -------------------------------------------------------------------------- */
.helpfile-body {
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 24px;
  white-space: pre-wrap;
  word-break: break-word;
}

.help-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 16px 0;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  color: var(--text-dim);
}

.meta-item {
  border: 1px solid var(--border);
  padding: 4px 12px;
}

.back-link {
  margin: 20px 0;
}

.back-link a {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid rgba(0,200,255,0.3);
  padding: 6px 16px;
  transition: all 0.2s;
  text-transform: uppercase;
}

.back-link a:hover {
  background: var(--glow);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
footer {
  text-align: center;
  padding: 32px 0 16px;
  border-top: 1px solid var(--border);
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 1px;
  position: relative;
  z-index: 2;
  margin-top: 48px;
}

footer a {
  color: var(--accent);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .site-links a { font-size: 10px; padding: 5px 8px; }
  .stat-item { min-width: 90px; }
  .cover-img { height: 180px; }
}


/* ================================================================
   GWU HOMEPAGE ADDITIONS — append to the bottom of gwu.css
   ================================================================ */

/* Inner dark panel used inside homepage sections */
.home-panel {
    background: #0d1520;
    border: 1px solid #1a2d42;
    border-radius: 4px;
    padding: 16px;
}

/* Two-column grid for side-by-side panels */
.home-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 0 0 4px;
}

/* Three-column grid (class pills, combat cards, experience pillars) */
.home-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 0 0 4px;
}

/* Six-item grid for "A World That Never Stops" features */
.home-grid-6 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 0 0 4px;
}

/* Pill used for class names */
.home-pill {
    background: #0d1520;
    border: 1px solid #1a2d42;
    border-radius: 4px;
    padding: 12px 14px;
    text-align: center;
    font-family: 'Orbitron', monospace;
    font-size: 9px;
    color: #7a9ab5;
    letter-spacing: 2px;
}

/* Combat weapon card */
.home-combat-card {
    background: #0d1520;
    border: 1px solid #1a2d42;
    border-left: 2px solid #00bfff;
    border-radius: 4px;
    padding: 12px 14px;
}

.home-combat-label {
    font-family: 'Orbitron', monospace;
    font-size: 9px;
    color: #00bfff;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.home-combat-desc {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    color: #5a8aaa;
}

/* Feature card (world features grid) */
.home-feat-card {
    background: #0d1520;
    border: 1px solid #1a2d42;
    border-radius: 4px;
    padding: 14px 16px;
}

.home-feat-name {
    font-family: 'Orbitron', monospace;
    font-size: 10px;
    color: #ffffff;
    letter-spacing: 2px;
    font-weight: 700;
    margin: 6px 0;
}

.home-feat-text {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    color: #5a8aaa;
    line-height: 1.6;
}

/* Panel label (replaces inline stat-label usage inside panels) */
.home-panel-label {
    font-family: 'Orbitron', monospace;
    font-size: 9px;
    color: #00bfff;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 700;
}

/* Bullet list inside panels */
.home-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    color: #7a9ab5;
}

    .home-list li {
        padding: 3px 0 3px 14px;
        position: relative;
    }

        .home-list li::before {
            content: '\203A';
            position: absolute;
            left: 0;
            color: #00bfff;
        }

/* Mono secondary text inside panels */
.home-mono {
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    color: #5a8aaa;
    line-height: 1.7;
}

/* CTA subtitle lines above/below connect button */
.home-cta-sub {
    text-align: center;
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    color: #2a4a6a;
    letter-spacing: 3px;
    margin: 10px 0;
}

/* Spacing between lore-text and following grid inside a section */
.section .lore-text {
    margin-bottom: 16px;
}

    /* Remove top gap when lore-text is the first child of section body */
    .section .lore-text:first-child {
        margin-top: 0;
    }

/* Tagline style (replaces header-sub inside section bodies) */
.home-tagline {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    color: #4a7a9b;
    letter-spacing: 2px;
    margin-bottom: 14px;
    margin-top: 0;
}
 