/* Header Styles */
.top-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 0;
  z-index: 100;
}

.top-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon-gear {
  flex-shrink: 0;
  transition: transform 2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.logo-brand:hover .logo-icon-gear {
  transform: rotate(360deg);
  filter: drop-shadow(0 0 8px rgba(205, 163, 83, 0.6));
}

.logo-brand-text {
  font-family: "Lora", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.logo-brand-text .accent {
  color: var(--primary);
  text-shadow: 0 0 10px rgba(205, 163, 83, 0.3);
}

/* Steampunk Gear Dock Navigation (Right side floating pipe dock) */
.steampunk-dock-nav {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  pointer-events: none;
}

.steampunk-dock-shell {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: rgba(27, 20, 16, 0.95);
  border: 2px solid #cca353;
  padding: 24px 12px;
  border-radius: 40px;
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.9),
    0 0 25px rgba(205, 163, 83, 0.15),
    inset 0 0 15px rgba(0,0,0,0.6);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  position: relative;
}

/* Pipe connector lines above and below the dock to look like it's connected to steam pipes */
.steampunk-dock-shell::before,
.steampunk-dock-shell::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 6px;
  height: 50px;
  background: linear-gradient(90deg, #d38c5d, #a29182, #d38c5d);
  transform: translateX(-50%);
  border: 1px solid #000;
  z-index: -1;
}

.steampunk-dock-shell::before {
  top: -50px;
}

.steampunk-dock-shell::after {
  bottom: -50px;
}

.dock-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 50px;
  height: 50px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gear-container {
  position: relative;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gear-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--primary);
  stroke-width: 4;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1.2);
}

.dock-icon {
  font-size: 1.1rem;
  z-index: 2;
  transition: transform 0.3s ease;
}

.dock-label {
  position: absolute;
  right: 68px;
  background: rgba(22, 17, 13, 0.95);
  border: 1px solid var(--primary);
  color: var(--text);
  font-family: "Share Tech Mono", monospace;
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
  transition: all 0.2s ease;
}

/* Hover and Active states on Steampunk Gear Dock */
.dock-item:hover {
  transform: scale(1.1);
}

.dock-item:hover .gear-svg {
  transform: rotate(180deg);
  stroke: #fff;
  filter: drop-shadow(0 0 6px var(--primary));
}

.dock-item:hover .dock-label {
  opacity: 1;
  visibility: visible;
  right: 62px;
}

.dock-item.active .gear-svg {
  stroke: var(--accent);
  transform: rotate(90deg);
  filter: drop-shadow(0 0 8px var(--accent));
}

.dock-item.active .dock-icon {
  transform: scale(1.2);
}

/* Mobile responsive navigation placement */
@media (max-width: 768px) {
  .steampunk-dock-nav {
    right: auto;
    bottom: 15px;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
  }
  
  .steampunk-dock-shell {
    flex-direction: row;
    padding: 10px 20px;
    border-radius: 30px;
  }
  
  .steampunk-dock-shell::before,
  .steampunk-dock-shell::after {
    display: none;
  }
  
  .dock-label {
    display: none;
  }
}

/* Home Section Layouts */
.intro-editorial {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 40px;
}

.theme-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Boiler Pressure Widget Container */
.boiler-widget {
  margin-top: 48px;
  padding: 24px;
  text-align: left;
  background: rgba(45, 32, 25, 0.95);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.widget-header {
  border-bottom: 1px double var(--border);
  padding-bottom: 12px;
  margin-bottom: 20px;
  color: var(--primary);
  font-family: "Share Tech Mono", monospace;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-blink {
  animation: widgetBlink 2.2s infinite ease-in-out;
}

@keyframes widgetBlink {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.widget-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

@media (max-width: 768px) {
  .widget-grid {
    grid-template-columns: 1fr;
  }
}

.widget-gauge-sec {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Rounded dial gauge design */
.boiler-dial {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, #2d2019 60%, #16110d 100%);
  border: 4px solid #cca353;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.8);
  flex-shrink: 0;
}

.dial-center-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  background: #d38c5d;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 1px 3px rgba(0,0,0,0.8);
  z-index: 10;
}

.dial-hand {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3px;
  height: 34px;
  background: #ff4d4d;
  transform-origin: bottom center;
  transform: translate(-50%, -100%) rotate(-120deg);
  transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1.2);
}

.dial-ticks {
  position: absolute;
  inset: 5px;
  border: 1px dashed rgba(205, 163, 83, 0.3);
  border-radius: 50%;
  pointer-events: none;
}

.boiler-telemetry {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: "Share Tech Mono", monospace;
  font-size: 0.85rem;
}

.boiler-telemetry p {
  margin: 0;
}

.boiler-telemetry span {
  color: #fff;
  font-weight: 700;
}

.boiler-controls-sec strong {
  display: block;
  font-size: 0.75rem;
  font-family: "Share Tech Mono", monospace;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.boiler-btn-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.boiler-btn {
  background: #211812;
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 3px;
  padding: 10px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.boiler-btn::before {
  content: "⚙️";
  margin-right: 8px;
  display: inline-block;
  transition: transform 0.4s ease;
}

.boiler-btn:hover::before {
  transform: rotate(90deg);
}

.boiler-btn:hover,
.boiler-btn.active {
  background: rgba(205, 163, 83, 0.12);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(205, 163, 83, 0.15);
}

.boiler-btn.active::before {
  content: "🔥";
  color: var(--accent);
}

/* Core Values cards */
.values-editorial {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  z-index: 1;
}

.value-item-editorial {
  padding: 32px 24px;
  background: rgba(33, 24, 18, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
  text-align: center;
}

.value-item-editorial:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  background: rgba(33, 24, 18, 0.85);
  box-shadow: var(--shadow-glow);
}

.value-icon-editorial {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.value-item-editorial h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: #fff;
}

.value-item-editorial p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Reviews and Diagnostics lists */
.split-head-editorial {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: 32px;
}

.muted-sub-title {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.community-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .community-grid {
    grid-template-columns: 1fr;
  }
}

.stats-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stats-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stats-card h4 {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.rating-number {
  margin: 0;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--primary);
}

.rating-label {
  font-size: 0.78rem;
  color: var(--muted);
}

.reviews-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial-card-grid {
  padding: 24px;
}

.testimonial-top {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.testimonial-card-grid p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  font-style: italic;
}

.stars {
  color: var(--primary);
}

.faq-preview-list,
.faq-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.faq-preview-card,
.faq-card {
  padding: 24px;
  transition: border-color 0.3s ease;
}

.faq-preview-card:hover,
.faq-card:hover {
  border-color: var(--primary);
}

.faq-preview-card h3,
.faq-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: var(--primary);
}

.faq-preview-card p,
.faq-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Relaxation Banner */
.relaxation-zone-banner {
  background: var(--gradient-iron);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 64px 48px;
  text-align: center;
}

.banner-content {
  max-width: 700px;
  margin: 0 auto;
}

.banner-title {
  font-family: "Lora", serif;
  font-size: 2.2rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.accent-divider {
  width: 60px;
  height: 2px;
  background: var(--primary);
  margin: 0 auto 24px;
}

.banner-paragraph {
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 30px;
  font-style: italic;
}

/* Footer layout */
.footer-main {
  background: #100d0a;
  border-top: 2px solid var(--border);
  padding: 64px 0 32px;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  font-family: "Lora", serif;
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
}

.footer-logo .accent {
  color: var(--primary);
}

.footer-disclaimer {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 480px) {
  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.footer-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-group h4 {
  margin: 0 0 6px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: #fff;
  font-family: "Share Tech Mono", monospace;
}

.footer-group a {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
}

.footer-group a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(205, 163, 83, 0.1);
  padding-top: 32px;
}

.footer-bottom-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.badge-18 {
  font-family: "Lora", serif;
  font-weight: 700;
  font-size: 1rem;
  color: #ff4d4d;
  border: 2px solid #ff4d4d;
  padding: 4px 8px;
  border-radius: 50%;
  line-height: 1;
}

.pgf-warning {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 760px;
  line-height: 1.6;
}

.pgf-warning a {
  color: var(--primary);
  text-decoration: underline;
}

.copyright {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
}

/* Custom Catalog Header (Steampunk Draftboard Layout) */
.catalog-container-theme {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: min(1280px, 100% - 40px);
  margin: 0 auto;
  padding: 20px 0;
}

.catalog-header-steampunk {
  padding: 48px 32px;
  background: linear-gradient(rgba(27, 20, 16, 0.95), rgba(27, 20, 16, 0.95)), radial-gradient(circle, rgba(205,163,83,0.1) 0%, transparent 80%);
  border: 2px solid #cca353;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.steampunk-crest {
  font-family: "Share Tech Mono", monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.25em;
  margin-bottom: 14px;
}

.catalog-title-steampunk {
  font-family: "Lora", serif;
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.05em;
  margin: 0 0 12px;
  background: var(--gradient-brass);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.catalog-subtitle-steampunk {
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 650px;
  margin: 0 auto 28px;
  font-style: italic;
}

.steampunk-console {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.steampunk-search-wrap {
  position: relative;
  width: min(440px, 100%);
  margin-bottom: 28px;
  z-index: 2;
}

.search-gear-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  pointer-events: none;
}

.steampunk-input {
  width: 100%;
  background: #16110d;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  padding: 14px 20px 14px 50px;
  color: #fff;
  font-family: "Share Tech Mono", monospace;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.7);
}

.steampunk-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 
    0 0 15px rgba(205, 163, 83, 0.3),
    inset 0 2px 6px rgba(0, 0, 0, 0.8);
}

.steampunk-divider {
  width: 100%;
  max-width: 600px;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.steampunk-divider::before,
.steampunk-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(205, 163, 83, 0.15);
}

.steampunk-divider span {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.15em;
  padding: 0 15px;
  font-family: "Share Tech Mono", monospace;
}

/* Valves Grid */
.steampunk-valves {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 800px;
}

.valve-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #1b1410;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  padding: 10px 18px;
  color: var(--muted);
  font-family: "Share Tech Mono", monospace;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.valve-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(205, 163, 83, 0.2);
  transition: all 0.3s ease;
}

.valve-btn:hover {
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.valve-btn:hover .valve-indicator {
  background: var(--primary);
  box-shadow: 0 0 6px var(--primary);
}

.valve-btn.active {
  background: rgba(205, 163, 83, 0.1);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 15px rgba(205, 163, 83, 0.2);
  transform: translateY(-2px);
}

.valve-btn.active .valve-indicator {
  background: var(--accent);
  box-shadow: 
    0 0 6px var(--accent),
    0 0 10px var(--primary);
}

/* Games Grid */
.games-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.game-card {
  display: block;
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  border-radius: var(--radius);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  background: rgba(33, 24, 18, 0.5);
  border: 1.5px solid var(--border);
}

.game-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.8),
    0 0 25px rgba(205, 163, 83, 0.15);
}

.game-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}

.game-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.game-card:hover .game-thumb {
  transform: scale(1.06);
}

.game-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22, 17, 13, 0.9) 0%, transparent 60%);
  opacity: 0.85;
}

.game-corner {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ff4d4d;
  color: #fff;
  font-family: "Share Tech Mono", monospace;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 2px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.game-cta {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--gradient-brass);
  color: #16110d;
  font-family: "Share Tech Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 3px;
  letter-spacing: 0.08em;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  z-index: 3;
  white-space: nowrap;
}

.game-card:hover .game-cta {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.game-meta {
  padding: 20px;
  position: relative;
  background: #1b1410;
  border-top: 1px solid var(--border);
}

.game-meta h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-subline {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.game-category {
  color: var(--primary);
  font-family: "Share Tech Mono", monospace;
}

.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  background: rgba(205, 163, 83, 0.05);
  border: 1px solid rgba(205, 163, 83, 0.15);
  color: var(--muted);
  font-family: "Share Tech Mono", monospace;
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 2px;
}

/* Empty message */
.empty-msg {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px;
  font-family: "Share Tech Mono", monospace;
}

/* Game player section */
.game-player-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.game-frame-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 28px;
}

@media (max-width: 768px) {
  .game-frame-wrapper {
    aspect-ratio: 4/3;
  }
}

#game-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: #000;
}

.game-player-details {
  padding: 32px;
  background: rgba(45, 32, 25, 0.95);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}

.game-meta-panel::before {
  content: "";
  position: absolute;
  inset: 2px;
  border: 1px solid rgba(205, 163, 83, 0.05);
  pointer-events: none;
}

.game-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  border-bottom: 1px double var(--border);
  padding-bottom: 16px;
}

.game-title-row h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
}

#game-desc-content h3 {
  margin: 0 0 16px;
  font-size: 1.15rem;
  color: var(--primary);
  text-transform: uppercase;
  font-family: "Share Tech Mono", monospace;
  letter-spacing: 0.05em;
}

.game-info-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.meta-badge {
  background: #1b1410;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: "Share Tech Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 2px;
}

.game-desc-text {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}

/* 404/Error styling on game page */
.error-404 {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #16110d;
  color: #fff;
  padding: 48px;
  text-align: center;
  font-family: "Share Tech Mono", monospace;
}

.error-404 h3 {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 1.5rem;
}

.error-404 p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
  max-width: 440px;
}

/* Overlays (Age Gate, Cookies) */
#age-verification-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 8, 6, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.age-dialog {
  width: min(500px, 100%);
  padding: 40px;
  text-align: center;
  background: #1d1511;
  border: 2px solid #cca353;
  border-radius: var(--radius);
}

.age-dialog h2 {
  margin: 0 0 10px;
  font-size: 1.4rem;
  color: #ff4d4d;
  font-family: "Share Tech Mono", monospace;
  letter-spacing: 0.1em;
}

.age-dialog h3 {
  margin: 0 0 20px;
  font-size: 1.1rem;
  color: var(--primary);
  text-transform: uppercase;
}

.age-dialog p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 30px;
}

.age-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

#cookie-consent-overlay {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 480px;
  z-index: 999;
  display: none;
}

@media (max-width: 768px) {
  #cookie-consent-overlay {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
}

.cookie-banner {
  padding: 20px 24px;
  border: 1.5px solid var(--border);
  background: #1d1511;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.85);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  font-family: "Share Tech Mono", monospace;
}

.cookie-banner button {
  align-self: flex-end;
}

/* Static Editorial Inner Page layouts (About, FAQ, Contact etc.) */
.editorial-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 40px;
}

.editorial-header {
  text-align: center;
  margin-bottom: 48px;
  border-bottom: 1px double var(--border);
  padding-bottom: 24px;
}

.editorial-header h1 {
  font-family: "Lora", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 12px;
  background: var(--gradient-brass);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.editorial-header p {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0;
  font-style: italic;
}

.editorial-content {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
}

.editorial-content h2 {
  color: #fff;
  font-size: 1.4rem;
  margin-top: 40px;
  margin-bottom: 16px;
  text-transform: uppercase;
  border-left: 3px solid var(--primary);
  padding-left: 14px;
}

.editorial-content h3 {
  color: var(--primary);
  font-size: 1.15rem;
  margin-top: 28px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.editorial-content p {
  margin-bottom: 20px;
}

.editorial-content ul {
  margin: 0 0 24px 20px;
  padding: 0;
}

.editorial-content li {
  margin-bottom: 10px;
}

/* Contact page layouts */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: start;
}

.contact-form {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
  color: #fff;
  font-family: "Lora", serif;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 700;
  font-family: "Share Tech Mono", monospace;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: #16110d;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  padding: 12px;
  color: #fff;
  font-family: "Share Tech Mono", monospace;
  transition: border-color 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(205, 163, 83, 0.2);
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  padding: 24px;
}

.contact-info-card h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  color: #fff;
  font-family: "Share Tech Mono", monospace;
  text-transform: uppercase;
}

.contact-info-card p {
  margin: 8px 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-info-card a {
  color: var(--primary);
  text-decoration: underline;
}

.warning-card {
  border-color: rgba(255, 77, 77, 0.4);
}

.warning-card h3 {
  color: #ff4d4d;
}

/* Legal pages cards layout */
.legal-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.legal-card {
  padding: 32px;
}

.legal-card h2 {
  margin-top: 0 !important;
  font-size: 1.3rem;
  color: #fff;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 16px;
  font-family: "Lora", serif;
  text-transform: uppercase;
}

.legal-card-body {
  font-size: 0.95rem;
  color: var(--muted);
}

/* Steampunk Icon SVGs positioning */
.icon-svg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--primary);
  stroke-width: 2.2;
  z-index: 5;
  pointer-events: none;
  transition: all 0.3s ease;
}

.dock-item:hover .icon-svg {
  stroke: #fff;
  transform: translate(-50%, -50%) scale(1.15);
}

.dock-item.active .icon-svg {
  stroke: var(--accent);
}

/* About Page layout */
.about-hero-new {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 16px;
}

.hero-huge-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  background: var(--gradient-brass);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 16px;
  font-family: "Lora", serif;
  text-transform: uppercase;
}

.lead-text {
  font-size: 1.15rem;
  line-height: 1.6;
}

.hero-mission-block {
  padding: 40px;
  border-left: 4px solid var(--primary);
}

.hero-mission-block h2 {
  margin: 0 0 12px;
  font-size: 1.8rem;
  font-family: "Lora", serif;
}

.about-metrics-ribbon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  margin: 48px 0;
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.metric-icon {
  font-size: 1.8rem;
  width: 50px;
  height: 50px;
  background: rgba(205, 163, 83, 0.08);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.metric-info {
  display: flex;
  flex-direction: column;
}

.metric-info strong {
  font-size: 1.1rem;
  color: #fff;
  font-family: "Share Tech Mono", monospace;
}

.metric-info span {
  font-size: 0.82rem;
  color: var(--muted);
}

.metric-separator {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.timeline-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 32px;
}

.timeline-node {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
  width: 100%;
  position: relative;
}

.node-icon {
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  z-index: 2;
}

.node-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.node-content strong {
  font-size: 1.05rem;
  color: #fff;
  font-family: "Lora", serif;
}

.node-content p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.timeline-line {
  width: 2px;
  height: 30px;
  background: var(--border);
  margin-left: 48px;
  align-self: flex-start;
}

.active-node {
  border-color: var(--primary);
  background: rgba(205, 163, 83, 0.08) !important;
}

/* Responsive Overrides for About Page */
@media (max-width: 768px) {
  .about-hero-new {
    grid-template-columns: 1fr;
  }
  
  .hero-mission-block {
    border-left: none;
    border-top: 4px solid var(--primary);
  }
  
  .about-metrics-ribbon {
    flex-direction: column;
    padding: 24px;
    gap: 20px;
  }
  
  .metric-separator {
    width: 100%;
    height: 1px;
  }
  
  .timeline-node {
    flex-direction: column;
    text-align: center;
  }

  .timeline-line {
    margin-left: 0;
    align-self: center;
  }
}

