/* ===========================================================
   GLOBAL VARIABLES
   =========================================================== */
:root {
  --blue-accent: #87C9ff;
  --blue-accent-soft: rgba(135, 201, 255, 0.8);
  --blue-glow: rgba(135, 201, 255, 0.5);
  --panel-border: rgba(135, 201, 255, 0.6);
  --link-orange: #ffa13c;
  --link-visited: #c16401;
  --text-body: var(--blue-accent);
  --bg-black: #000;
}

/* ===========================================================
   GLOBAL RESET & TYPOGRAPHY
   =========================================================== */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: var(--bg-black);
  color: var(--text-body);
  font-family: "Helvetica", Arial, sans-serif;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--blue-accent);
}

/* Body text */
p, li {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-body);
}

/* Caption text */
.caption {
  font-size: 12px;
  line-height: 1.4;
  color: var(--blue-accent-soft);
  letter-spacing: 0.5px;
  text-shadow: 0 0 6px var(--blue-glow);
}

/* ===========================================================
   LINKS
   =========================================================== */
a {
  color: var(--link-orange);
  text-decoration: none;
  text-shadow: 0 0 6px rgba(164, 88, 0, 0.5);
  transition: all 0.2s ease;
}

a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 227, 135, 0.9);
}

a:visited {
  color: var(--link-visited);
}

/* ===========================================================
   CRT DISPLAY EFFECT
   =========================================================== */
.crt {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.crt::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(10, 20, 40, 0) 50%, rgba(0, 0, 30, 0.3) 50%),
    linear-gradient(90deg, rgba(0, 180, 255, 0.04), rgba(0, 255, 255, 0.02), rgba(0, 120, 255, 0.04));
  background-size: 100% 2px, 3px 100%;
  pointer-events: none;
  z-index: 9999;
}

.crt::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 40, 0.5);
  opacity: 0.05;
  z-index: 9999;
  pointer-events: none;
  animation: flicker 0.15s infinite;
}

@keyframes flicker {
  0%, 100% { opacity: 0.05; }
  50% { opacity: 0.1; }
}

/* Digital-style text (for CRT consistency) */
.digital-text {
  font-family: "Roboto Mono", monospace;
  color: var(--blue-accent);
  text-shadow:
    0 0 5px var(--blue-glow),
    0 0 10px rgba(0, 200, 255, 0.4);
}

/* ===========================================================
   LAYOUT
   =========================================================== */

/* Page background */
.page {
  background-image: url("/images/steelorchid_background_01.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* Outer 12-column grid */
.layout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  width: 1200px;
  max-width: 95vw;
  margin: 2rem auto;
  z-index: 2;
}

/* Display panel (8-column center span) */
.display-panel {
  grid-column: 3 / 11;
  background: rgba(0, 10, 30, 0.8);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  backdrop-filter: blur(8px);
  box-shadow:
    inset 0 0 8px var(--blue-glow),
    0 0 10px var(--blue-glow);
  padding: 2rem;
}

/* Inner panel grid (menu + content) */
.panel-grid {
  display: grid;
  grid-template-columns: 2fr 8fr;
  gap: 24px;
  align-items: flex-start;
}

/* Hero text spanning both columns */
.hero {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 1.5rem;
}

/* ===========================================================
   MENU
   =========================================================== */
.menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
}

.menu button {
  width: 150px;
  padding: 10px 0;
  border: 1px solid var(--blue-accent);
  background: transparent;
  color: var(--blue-accent);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.menu button:hover {
  background: var(--blue-accent);
  color: #000;
}

/* ===========================================================
   CONTENT & FOOTER
   =========================================================== */
.content {
  min-height: 80vh;
  z-index: 1;
}

footer {
  text-align: center;
  padding: 1rem;
  background: #111;
  color: #aaa;
}