/* 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-aero {
  flex-shrink: 0;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.3s ease;
}

.logo-brand:hover .logo-icon-aero {
  transform: rotate(180deg) scale(1.08);
  filter: drop-shadow(0 0 10px rgba(143, 169, 196, 0.8));
}

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

.logo-brand-text .accent {
  color: var(--primary);
  text-shadow: 0 0 10px rgba(143, 169, 196, 0.4);
}

/* Altimeter Cockpit Panel Dock Navigation */
.altimeter-dock-nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  pointer-events: none;
}

.altimeter-dock-shell {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(21, 34, 60, 0.85);
  border: 1px solid rgba(143, 169, 196, 0.3);
  padding: 8px 20px;
  border-radius: 40px;
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.85),
    0 0 25px rgba(143, 169, 196, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.altimeter-dock-shell:hover {
  border-color: rgba(143, 169, 196, 0.5);
  box-shadow: 
    0 20px 45px rgba(0, 0, 0, 0.9),
    0 0 35px rgba(143, 169, 196, 0.25);
}

.dock-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--muted);
  width: 48px;
  height: 48px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gauge-face {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(12, 18, 32, 0.8);
  border: 2px solid rgba(143, 169, 196, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  overflow: hidden;
}

.gauge-hand {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 16px;
  background: var(--primary);
  transform-origin: bottom center;
  transform: translate(-50%, -100%) rotate(0deg);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1.2);
}

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

.dock-label {
  position: absolute;
  top: 58px;
  background: rgba(12, 18, 32, 0.95);
  border: 1px solid var(--primary);
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  padding: 4px 10px;
  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 Dock Gauges */
.dock-item:hover {
  transform: translateY(-4px);
  color: #fff;
}

.dock-item:hover .gauge-face {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(143, 169, 196, 0.4);
}

.dock-item:hover .gauge-hand {
  transform: translate(-50%, -100%) rotate(180deg);
  background: #ffffff;
}

.dock-item:hover .dock-label {
  opacity: 1;
  visibility: visible;
  top: 54px;
}

.dock-item.active .gauge-face {
  background: var(--primary);
  border-color: #ffffff;
  box-shadow: 0 0 15px rgba(143, 169, 196, 0.5);
}

.dock-item.active .gauge-face .dock-icon {
  filter: brightness(0.1);
  transform: scale(1.1);
}

.dock-item.active .gauge-hand {
  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;
}

/* Aero control dashboard widget */
.aero-console-widget {
  margin-top: 48px;
  padding: 24px;
  text-align: left;
  border-radius: var(--radius);
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.widget-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 20px;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

.widget-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.controls-sec strong {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.aero-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.aero-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 4px;
  padding: 8px 16px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: all 0.25s ease;
}

.aero-btn:hover,
.aero-btn.active {
  background: var(--primary);
  color: #0c1220;
  border-color: var(--primary-strong);
  box-shadow: 0 0 10px rgba(143, 169, 196, 0.4);
}

.stats-sec p {
  margin: 6px 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.stats-sec span {
  color: #fff;
  font-weight: 700;
}

/* 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(21, 34, 60, 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(21, 34, 60, 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;
}

.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: 900;
  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);
}

.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-metallic);
  border: 1px 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: "Montserrat", sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  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;
}

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

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

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

.footer-logo {
  font-family: "Montserrat", sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  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;
}

.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;
}

.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(143, 169, 196, 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: "Montserrat", sans-serif;
  font-weight: 900;
  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 (Aero layout) */
.catalog-container-theme {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: min(1280px, 100% - 40px);
  margin: 0 auto;
  padding: 20px 0;
}

.catalog-header-aero {
  padding: 48px 32px;
  background: rgba(21, 34, 60, 0.85);
  border: 1px solid rgba(143, 169, 196, 0.3);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.aero-crest {
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.25em;
  margin-bottom: 14px;
}

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

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

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

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

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

.aero-input {
  width: 100%;
  background: rgba(12, 18, 32, 0.95);
  border: 1px solid rgba(143, 169, 196, 0.4);
  border-radius: 30px;
  padding: 14px 20px 14px 50px;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.7);
}

.aero-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 
    0 0 15px rgba(143, 169, 196, 0.4),
    inset 0 2px 6px rgba(0, 0, 0, 0.8);
}

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

.aero-divider::before,
.aero-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(143, 169, 196, 0.15);
}

.aero-divider span {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.15em;
  padding: 0 15px;
}

/* Sectors Grid */
.aero-sectors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 800px;
}

.sector-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(12, 18, 32, 0.6);
  border: 1px solid rgba(143, 169, 196, 0.25);
  border-radius: 30px;
  padding: 10px 18px;
  color: var(--muted);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.sector-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(143, 169, 196, 0.4);
  transition: all 0.3s ease;
}

.sector-btn:hover {
  border-color: rgba(143, 169, 196, 0.5);
  color: #fff;
  transform: translateY(-2px);
}

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

.sector-btn.active {
  background: rgba(143, 169, 196, 0.15);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 15px rgba(143, 169, 196, 0.3);
  transform: translateY(-2px);
}

.sector-btn.active .sector-indicator {
  background: #ffffff;
  box-shadow: 
    0 0 6px #ffffff,
    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(21, 34, 60, 0.5);
  border: 1px 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(143, 169, 196, 0.25);
}

.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.08);
}

.game-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(12, 18, 32, 0.9) 100%);
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.game-card:hover .game-thumb-overlay {
  opacity: 0.95;
}

.game-corner {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 77, 77, 0.9);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 0.65rem;
  padding: 4px 6px;
  border-radius: 4px;
}

.game-cta {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--gradient-gold);
  color: #0c1220;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 16px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.game-meta {
  padding: 20px;
}

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

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

.game-category {
  color: var(--primary);
  font-weight: 700;
}

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

.tag {
  background: rgba(143, 169, 196, 0.08);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.68rem;
  padding: 3px 8px;
  border-radius: 4px;
}

/* About Story 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-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 16px;
  font-family: "Montserrat", sans-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;
}

.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(143, 169, 196, 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;
}

.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;
}

.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(143, 169, 196, 0.08) !important;
}

/* 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;
}

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

.form-group label {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 700;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(12, 18, 32, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  color: #fff;
  font-family: inherit;
  transition: border-color 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 8px rgba(143, 169, 196, 0.25);
}

.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;
}

.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 content */
.legal-card-content {
  padding: 40px;
  line-height: 1.8;
}

.legal-card-content h2 {
  font-size: 1.25rem;
  margin-top: 28px;
  margin-bottom: 12px;
  color: #fff;
}

.legal-card-content p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.legal-card-content ul {
  padding-left: 20px;
  color: var(--muted);
  margin-bottom: 20px;
}

.legal-card-content li {
  margin-bottom: 8px;
}

/* Game Player layout */
.game-player-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.back-link {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
}

.game-title {
  margin: 0;
  font-size: 1.5rem;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
}

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

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

.game-player-details {
  padding: 32px;
}

.game-info-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}

.meta-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(143, 169, 196, 0.08);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
}

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

.error-404 {
  text-align: center;
  padding: 80px 40px;
}

.error-404 h3 {
  font-size: 1.8rem;
  color: #ff4d4d;
  margin-bottom: 12px;
}

.error-404 p {
  color: var(--muted);
  margin-bottom: 24px;
}

/* Overlays (Age verification & Cookies popup modal) */
#age-verification-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 21, 0.95);
  backdrop-filter: blur(15px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.age-dialog {
  max-width: 500px;
  padding: 40px;
  text-align: center;
}

.age-dialog h2 {
  color: #ff4d4d;
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  margin-top: 0;
}

.age-dialog h3 {
  font-size: 1.15rem;
  margin-bottom: 16px;
}

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

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

#cookie-consent-overlay {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  max-width: 380px;
  display: none;
  padding: 4px;
  border-radius: var(--radius);
}

.cookie-banner {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

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

/* Responsive Overrides */
@media (max-width: 920px) {
  .altimeter-dock-nav {
    top: auto;
    bottom: 20px;
  }
  
  .altimeter-dock-shell {
    padding: 6px 14px;
    gap: 10px;
  }
  
  .dock-item {
    width: 42px;
    height: 42px;
  }
  
  .gauge-face {
    width: 42px;
    height: 42px;
  }
  
  .dock-icon {
    font-size: 1rem;
  }
  
  .dock-label {
    top: -42px;
  }
  
  .dock-item:hover .dock-label {
    top: -46px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-links-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
  
  .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;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline-node {
    flex-direction: column;
    text-align: center;
  }

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

/* 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: "Montserrat", sans-serif;
  text-transform: uppercase;
}

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

