:root {
  --bg-main: #090B12;
  --bg-secondary: #111827;
  --surface: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --midnight-blue: #1E3A8A;
  --electric-cyan: #22D3EE;
  --accent-blue: #38BDF8;
  --silver: #CBD5E1;
  --white: #F8FAFC;
  --muted: #94A3B8;
  --glass-blur: blur(20px);
  --font-main: 'Montserrat', system-ui, -apple-system, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-main);
  color: var(--silver);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--white);
  font-weight: 300;
  letter-spacing: 1px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background-color: var(--electric-cyan);
  color: var(--bg-main);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(34, 211, 238, 0.5);
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-secondary {
  background: var(--surface);
  color: var(--white);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-secondary:active {
  transform: translateY(1px);
}

/* HEADER CONTAINER & TOP GLASS BAR */
.header-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.top-disclaimer {
  background-color: var(--bg-main);
  color: var(--muted);
  text-align: center;
  font-size: 0.75rem;
  padding: 8px 5%;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--glass-border);
}

.top-glass-bar {
  position: relative;
  width: 100%;
  height: 70px;
  background: rgba(9, 11, 18, 0.6);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  transition: all 0.3s ease;
}

.logo {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.logo span {
  color: var(--accent-blue);
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--silver);
}

.nav-links a:hover {
  color: var(--electric-cyan);
}

.nav-right {
  display: flex;
  align-items: center;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* CITY WINDOW */
.city-window {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 105px;
}

.city-window-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.city-window-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(9, 11, 18, 0.3) 0%, var(--bg-main) 100%);
  z-index: -1;
}

.city-window-content {
  text-align: center;
  z-index: 1;
}

.city-window-content h2 {
  font-size: 3.5rem;
  font-weight: 200;
  letter-spacing: 8px;
  text-transform: uppercase;
  margin-bottom: 10px;
  text-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.city-window-content p {
  font-size: 1rem;
  letter-spacing: 3px;
  color: var(--electric-cyan);
  text-transform: uppercase;
}

/* GAME ATRIUM */
.game-atrium {
  position: relative;
  padding: 40px 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-main);
  overflow: hidden;
}

.game-atrium-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  z-index: 0;
  mix-blend-mode: luminosity;
}

.game-container {
  position: relative;
  width: 100%;
  max-width: 1100px;
  background: var(--bg-secondary);
  border-radius: 24px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 
              0 0 40px rgba(34, 211, 238, 0.1),
              inset 0 0 30px rgba(56, 189, 248, 0.05);
  z-index: 1;
}

.game-container iframe {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 16px;
  background: #000;
}

.game-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  z-index: 1;
}

/* FLOATING INFORMATION BRIDGE */
.floating-bridge-section {
  padding: 80px 5%;
  background: var(--bg-main);
}

.floating-bridge {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px 0;
}

.bridge-line {
  position: absolute;
  top: 60px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--midnight-blue), var(--accent-blue), var(--midnight-blue), transparent);
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.3);
  z-index: 0;
}

.bridge-station {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 14%;
}

.station-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-secondary);
  border: 1px solid var(--electric-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.2);
  color: var(--electric-cyan);
  font-size: 1.2rem;
}

.bridge-station h4 {
  font-size: 0.9rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  color: var(--white);
}

.bridge-station p {
  font-size: 0.75rem;
  color: var(--muted);
}

/* CITY STORIES */
.city-stories {
  padding: 100px 5%;
  background: linear-gradient(to bottom, var(--bg-main), var(--bg-secondary));
}

.story-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Story One */
.story-one {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 120px;
}

.story-one-img-wrapper {
  flex: 1;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

.story-one-img-wrapper::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  box-shadow: inset 0 0 40px rgba(9, 11, 18, 0.8);
  pointer-events: none;
}

.story-one img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 3s ease;
}

.story-one:hover img {
  transform: scale(1.05);
}

.story-one-text {
  flex: 1;
}

.story-one-text h3 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  font-weight: 200;
  text-transform: uppercase;
}

.story-one-text p {
  font-size: 1.1rem;
  color: var(--silver);
  margin-bottom: 20px;
}

/* Story Two */
.story-two {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 120px auto;
  padding: 60px 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.story-two h3 {
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.4;
  color: var(--white);
  margin-bottom: 30px;
}

.story-two p {
  font-size: 1.1rem;
  color: var(--muted);
}

/* Story Three */
.story-three {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 40px;
}

.story-column {
  background: var(--surface);
  backdrop-filter: var(--glass-blur);
  padding: 40px;
  border: 1px solid var(--glass-border);
  border-radius: 4px;
}

.story-column h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--electric-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 8px;
}

.spec-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.spec-value {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
}

/* SUPPORT TERMINAL */
.support-terminal-section {
  position: relative;
  padding: 100px 5%;
  background: var(--bg-main);
  overflow: hidden;
}

.support-terminal-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 0;
}

.support-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--bg-main) 0%, rgba(9, 11, 18, 0.8) 50%, var(--bg-main) 100%);
  z-index: 1;
}

.support-terminal {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 40px;
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(30px);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 60px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.support-block h3 {
  font-size: 1.5rem;
  margin-bottom: 30px;
  font-weight: 300;
  color: var(--white);
}

.support-info-item {
  margin-bottom: 25px;
}

.support-info-item h5 {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 5px;
}

.support-info-item span {
  font-size: 1.1rem;
  color: var(--electric-cyan);
}

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

.faq-item h5 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 5px;
  font-weight: 400;
}

.faq-item p {
  font-size: 0.85rem;
  color: var(--muted);
}

.support-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  color: var(--white);
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--electric-cyan);
  background: rgba(0, 0, 0, 0.4);
}

/* FOOTER */
.site-footer {
  position: relative;
  padding: 80px 5% 40px;
  background: var(--bg-main);
  overflow: hidden;
}

.footer-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
  z-index: 0;
  mask-image: linear-gradient(to bottom, transparent, black);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black);
}

.footer-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 30px;
}

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

.footer-nav {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  font-size: 0.85rem;
  color: var(--silver);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-nav a:hover {
  color: var(--electric-cyan);
}

.footer-badges {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.badge {
  padding: 8px 16px;
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(255, 255, 255, 0.02);
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 20px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
}

/* LEGAL PAGES */
.legal-header {
  padding: 180px 5% 60px;
  background: linear-gradient(to bottom, var(--bg-secondary), var(--bg-main));
  text-align: center;
}

.legal-header h1 {
  font-size: 3rem;
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--electric-cyan);
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 5% 100px;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 40px 0 20px;
  color: var(--white);
}

.legal-content p {
  margin-bottom: 20px;
  color: var(--silver);
}

.legal-content ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--silver);
}

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

/* RESPONSIVE */
@media (max-width: 1100px) {
  .story-three {
    grid-template-columns: 1fr;
  }
  .support-terminal {
    grid-template-columns: 1fr;
    padding: 40px;
  }
}

@media (max-width: 992px) {
  .game-container iframe {
    height: 500px;
  }
  .story-one {
    flex-direction: column;
  }
  .bridge-line {
    display: none;
  }
  .floating-bridge {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .bridge-station {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(9, 11, 18, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px 0;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
  }
  .nav-links.active {
    display: flex;
  }
  .nav-right .btn-primary {
    display: none;
  }
  .mobile-play-btn {
    display: block;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
  }
  .city-window h2 {
    font-size: 2.5rem;
  }
  .game-container iframe {
    height: 400px;
  }
  .support-terminal {
    padding: 30px 20px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}