:root {
  --bg: #0B0B0D;
  --surface: rgba(255, 255, 255, 0.05);
  --glass: rgba(255, 255, 255, 0.08);
  --obsidian: #18181B;
  --gold: #D4AF37;
  --champagne: #F5E7B8;
  --steel: #71717A;
  --ivory: #FAFAFA;
  --primary: #FFFFFF;
  --muted: #B5B5BE;
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--champagne);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--gold);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #D4AF37 0%, #AA8529 100%);
  color: var(--bg);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

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

.btn-secondary {
  background: transparent;
  color: var(--champagne);
  border: 1px solid var(--glass);
}

.btn-secondary:hover {
  background: var(--surface);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.1);
}

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

/* ==========================================================================
   HEADER
   ========================================================================== */
.top-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 36px;
  background: var(--obsidian);
  color: var(--muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 101;
  border-bottom: 1px solid var(--glass);
}

.header {
  position: absolute;
  top: 36px;
  left: 0;
  width: 100%;
  height: 72px;
  background: rgba(11, 11, 13, 0.95);
  border-bottom: 1px solid var(--glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  z-index: 100;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

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

/* ==========================================================================
   VAULT WING (CENTRAL LAYOUT)
   ========================================================================== */
.vault-wing {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2.5rem;
  padding: 140px 2rem 60px;
  max-width: 1600px;
  margin: 0 auto;
}

.vault-bg-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  width: 1200px;
  height: 1200px;
  border: 1px solid var(--glass);
  border-radius: 50%;
  z-index: -1;
}

.vault-bg-ring::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 40px;
  right: 40px;
  bottom: 40px;
  border: 1px dashed rgba(212, 175, 55, 0.15);
  border-radius: 50%;
}

.left-vault, .right-vault {
  width: 260px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Left Vault - Lockers */
.vault-locker {
  background: var(--obsidian);
  border: 1px solid var(--glass);
  padding: 1.5rem;
  border-radius: 4px;
  position: relative;
}

.vault-locker::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gold);
  opacity: 0.5;
}

.vault-locker h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

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

/* Game Core */
.game-core {
  flex: 0 0 1000px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.game-frame {
  background: linear-gradient(145deg, #18181B, #0B0B0D);
  border: 2px solid var(--gold);
  border-radius: 22px;
  padding: 1rem;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.05), inset 0 0 20px rgba(0,0,0,0.8);
  position: relative;
}

.game-frame::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--gold);
  border-radius: 4px;
}

.game-frame iframe {
  width: 100%;
  height: 560px;
  border: none;
  border-radius: 12px;
  background: #000;
}

.game-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Right Vault - Tower Directory */
.directory-tower {
  background: var(--obsidian);
  border: 1px solid var(--glass);
  border-radius: 4px;
  padding: 2rem 1.5rem;
  height: 100%;
}

.directory-header {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--gold);
  text-align: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--surface);
  padding-bottom: 1rem;
}

.directory-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  border-bottom: 1px dashed var(--glass);
  padding-bottom: 0.5rem;
}

.directory-label {
  color: var(--steel);
}

.directory-value {
  color: var(--ivory);
  text-align: right;
}

/* ==========================================================================
   TREASURE CORRIDOR
   ========================================================================== */
.treasure-corridor {
  position: relative;
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.brass-rail {
  position: absolute;
  top: 24px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  z-index: 1;
}

.corridor-station {
  position: relative;
  z-index: 2;
  text-align: center;
  background: var(--bg);
  padding: 0 1rem;
  width: 180px;
}

.station-icon {
  width: 50px;
  height: 50px;
  background: var(--obsidian);
  border: 1px solid var(--gold);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

.station-icon span {
  display: block;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
}

.corridor-station h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  color: var(--champagne);
}

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

/* ==========================================================================
   MEMBER SERVICES
   ========================================================================== */
.member-services {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  max-width: 1400px;
  margin: 100px auto;
  padding: 0 2rem;
}

/* Left - Compact Editorial */
.ms-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--surface);
  padding: 1.5rem;
  border-radius: 2px;
}

.editorial-img-container {
  flex: 0 0 240px;
}

.editorial-img {
  width: 100%;
  height: auto;
  max-width: 700px;
  max-height: 420px;
  object-fit: cover;
  border: 1px solid var(--glass);
}

.ms-left-text h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.ms-left-text p {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Center - Large Typography */
.ms-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ms-center h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.ms-center h2 span {
  color: var(--gold);
  font-style: italic;
}

.typography-list {
  list-style: none;
}

.typography-list li {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--champagne);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.typography-list li::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--gold);
}

/* Right - Glass Panels */
.ms-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.glass-panel {
  background: var(--glass);
  padding: 1.5rem;
  border-radius: 4px;
  border-left: 2px solid var(--gold);
  transition: background 0.3s ease;
}

.glass-panel:hover {
  background: rgba(255, 255, 255, 0.12);
}

.glass-panel h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--ivory);
}

.glass-panel p {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ==========================================================================
   SUPPORT SUITE
   ========================================================================== */
.support-suite {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1200px;
  margin: 100px auto;
  padding: 0 2rem;
}

.support-col h3 {
  font-size: 1.75rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--glass);
  padding-bottom: 1rem;
}

/* Concierge */
.concierge-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.detail-block h5 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--steel);
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.detail-block p {
  font-size: 1rem;
  color: var(--champagne);
}

/* Questions */
.faq-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-list li {
  background: var(--obsidian);
  padding: 1rem;
  border: 1px solid var(--glass);
  font-size: 0.9rem;
  color: var(--ivory);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--obsidian);
  border: 1px solid var(--glass);
  padding: 0.75rem 1rem;
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 0.85rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

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

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--obsidian);
  border-top: 1px solid var(--glass);
  padding: 4rem 2rem 2rem;
  margin-top: 80px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.footer-nav a {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-legal {
  max-width: 800px;
  font-size: 0.75rem;
  color: var(--steel);
  line-height: 1.8;
}

.footer-badges {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.badge {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 1px solid var(--steel);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--steel);
  font-size: 0.85rem;
}

/* ==========================================================================
   LEGAL / INNER PAGES
   ========================================================================== */
.legal-page {
  padding: 160px 2rem 80px;
  max-width: 900px;
  margin: 0 auto;
}

.legal-header {
  text-align: center;
  margin-bottom: 4rem;
}

.legal-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.legal-image-container {
  margin: 3rem 0;
  text-align: center;
}

.legal-image {
  max-width: 700px;
  max-height: 420px;
  width: 100%;
  object-fit: cover;
  border: 2px solid var(--glass);
  border-radius: 4px;
}

.legal-content h2 {
  font-size: 1.75rem;
  margin: 2.5rem 0 1rem;
  color: var(--ivory);
}

.legal-content p {
  margin-bottom: 1.5rem;
  color: var(--muted);
}

.legal-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: var(--muted);
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1400px) {
  .vault-wing {
    flex-wrap: wrap;
    padding-top: 120px;
  }
  .left-vault, .right-vault {
    width: calc(50% - 1.25rem);
    flex-direction: row;
    flex-wrap: wrap;
  }
  .vault-locker, .directory-tower {
    flex: 1 1 100%;
  }
  .game-core {
    order: -1;
    flex: 0 0 100%;
    max-width: 1000px;
  }
}

@media (max-width: 1024px) {
  .member-services {
    grid-template-columns: 1fr;
  }
  .support-suite {
    grid-template-columns: 1fr;
  }
  .treasure-corridor {
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
  }
  .brass-rail {
    display: none;
  }
  .corridor-station {
    width: 45%;
  }
}

@media (max-width: 768px) {
  .top-banner {
    height: 54px;
    font-size: 0.6rem;
    padding: 0 1rem;
    text-align: center;
  }
  .header {
    top: 54px;
    padding: 0 1.5rem;
  }
  .nav-links {
    display: none;
  }
  .left-vault, .right-vault {
    width: 100%;
  }
  .corridor-station {
    width: 100%;
  }
  .ms-left {
    flex-direction: column;
  }
  .editorial-img-container {
    flex: 0 0 auto;
    width: 100%;
  }
  .game-frame iframe {
    height: 400px;
  }
}