:root {
  color-scheme: dark;
  font-family: 'Montserrat', sans-serif;
  background: #080b11;
  color: #f5f3ee;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(circle at top, rgba(212, 175, 55, 0.08), transparent 35%), #080b11;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1280px, 100% - 2rem);
  margin: 0 auto;
}
.container-nav {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 4rem;
}

.header {
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 120;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(8, 11, 17, 0.96);
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 1.2rem 0;
}

.logo {
  font-family: 'Cinzel', serif;
  letter-spacing: 1px;
  color: #f5f3ee;
  text-decoration: none;
  font-weight: 700;
  display: flex;
  display: inline-flex; 
  align-items: center;
  flex-shrink: 0;
  transition: opacity 0.3s ease;
  position: relative;
  z-index: 3;
  height: 55px; 
}

.logo:hover {
  opacity: 0.85; 
}

.logo-image {
  height: 55px !important;
  width: auto !important;
  max-width: none !important; 
  display: block;
  object-fit: contain;
  transition: opacity 0.4s ease-in-out;
}

.logo-scrolled {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.header.scrolled .logo-default {
  opacity: 0;
}

.header.scrolled .logo-scrolled {
  opacity: 1;
}

.logo-separator {
  color: #d4af37;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: nowrap;
  white-space: nowrap;
  justify-content: center;
  justify-self: center;
  position: relative;
  margin-right: auto;
  margin-left: 1.5rem;
}

.nav-item {
  position: relative;
}

.menu-toggle {
  display: none;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
}

.menu-toggle span {
  position: absolute;
  left: 8px;
  width: 24px;
  height: 2px;
  background: #d4af37;
  transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) { top: 13px; }
.menu-toggle span:nth-child(2) { top: 19px; }
.menu-toggle span:nth-child(3) { top: 25px; }

.menu-toggle.active span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}

.nav-link {
  color: rgba(245, 243, 238, 0.9);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #d4af37;
  border-bottom-color: #d4af37;
}



.nav-item.has-submenu > .nav-link::after {
  content: '▼';
  font-size: 0.55rem;
  margin-left: 0.2rem;
  color: rgba(212, 175, 55, 0.85);
  transition: transform 0.3s ease;
}

.nav-item.has-submenu:hover > .nav-link::after,
.nav-item.has-submenu:focus-within > .nav-link::after {
  transform: rotate(-180deg);
}

.submenu {
  position: absolute;
  top: calc(100% + 0.8rem);
  left: -1rem;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  gap: 0.45rem;
  background: rgba(8, 11, 17, 0.98);
  border: 1px solid rgba(212, 175, 55, 0.14);
  border-radius: 1rem;
  padding: 0.85rem;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.24);
  z-index: 150;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


.submenu::before {
  content: '';
  position: absolute;
  top: -1.5rem;
  left: 0;
  width: 100%;
  height: 1.5rem;
}

.nav-item.has-submenu:hover > .submenu,
.nav-item.has-submenu:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-item.has-submenu:hover .dropdown-arrow {
  transform: rotate(-180deg);
}

.submenu-link {
  color: rgba(245, 243, 238, 0.88);
  text-decoration: none;
  padding: 0.7rem 0.85rem;
  border-radius: 0.85rem;
  transition: background 0.2s ease, color 0.2s ease;
  font-size: 0.92rem;
}

.submenu-link:hover,
.submenu-link:focus-visible {
  background: rgba(212, 175, 55, 0.12);
  color: #d4af37;
}

.cta-button,
.button {
  font-family: 'Montserrat', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.85rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.cta-button {
  border: 2px solid #d4af37;
  color: #f5f3ee;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.08) 100%);
  font-weight: 700;
  letter-spacing: 1.5px;
  font-size: 0.82rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.25s ease;
  position: relative;
}

.cta-button:hover {
  background: rgba(212, 175, 55, 0.28);
  color: #d4af37;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.18);
  border-color: #e5c158;
}

.button {
  border: 1px solid rgba(212, 175, 55, 0.55);
  color: #f5f3ee;
  background: transparent;
}

.button:hover {
  background: rgba(212, 175, 55, 0.14);
  color: #ffffff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-shrink: 0;
  justify-self: end;
}

.header-actions .button.ghost {
  border: 1px solid rgba(212, 175, 55, 0.6);
  color: #f5f3ee;
  font-weight: 500;
  padding: 0.85rem 1.6rem;
}

.header-actions .button.ghost:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
  background: rgba(212, 175, 55, 0.1);
}

.header-actions .cta-button.solid-gold,
.mobile-nav-actions .cta-button.solid-gold {
  background: #d4af37;
  color: #080b11;
  border: none;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.header-actions .cta-button.solid-gold:hover,
.mobile-nav-actions .cta-button.solid-gold:hover {
  transform: scale(1.05);
  filter: brightness(1.15);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
  background: #e5c158;
}

.login-text-btn {
  background: none;
  border: none;
  color: #d4af37;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.5rem;
  white-space: nowrap;
  transition: opacity 0.3s ease, text-shadow 0.3s ease;
}
.login-text-btn:hover {
  opacity: 0.8;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.mobile-nav-actions {
  display: none;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-actions .cta-button.solid-gold {
  width: 100%;
  text-align: center;
}

.ghost {
  border-color: rgba(212, 175, 55, 0.9);
}

.section {
  padding: clamp(4rem, 5vw, 7rem) 0;
}

.section-header {
  text-align: center;
  max-width: 960px;
  margin: 0 auto 3rem;
}

.section-header .aravt-intro-image {
  margin: 2rem auto 0;
  max-width: 720px;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.section-header .eyebrow,
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.78rem;
  color: #d4af37;
  margin-bottom: 1rem;
}

.section-header h2,
.slide-copy h1,
.envoy-copy h2,
.realms .realm-card h3,
.expedition-card h3,
.protocol-step h3,
.suite-card h3,
.club-card .club-tier,
.journal-hero-content h1 {
  font-family: 'Cinzel', serif;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(1.6rem, 5vw, 3rem);
  line-height: 1.05;
  letter-spacing: 1px;
}

.section-header p,
.envoy-copy p,
.protocol-step p,
.suite-card p,
.realms-cards p,
.expedition-card p,
.club-card p,
.contact-card p {
  color: rgba(245, 243, 238, 0.82);
}

.hero-slider {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.slider-mask {
  position: relative;
  min-height: 100vh;
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  padding: 0 0 6rem;
  opacity: 0;
  transition: opacity 1.1s ease;
  background-image: radial-gradient(circle at 30% 30%, rgba(212, 175, 55, 0.12), transparent 35%), linear-gradient(180deg, rgba(8, 11, 17, 0.1), rgba(8, 11, 17, 0.3)), var(--bg-image, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 11, 17, 0.2) 0%, rgba(8, 11, 17, 0.9) 100%);
  pointer-events: none;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
}

.slide-copy {
  position: relative;
  max-width: 1080px;
  z-index: 2;
}

.slide-copy .eyebrow {
  margin-bottom: 1rem;
}

.slide-copy h1 {
  margin: 0 0 1.3rem;
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.slide-copy p {
  margin: 0 0 2rem;
  font-size: 1.1rem;
  max-width: 640px;
}

.slider-indicators {
  position: absolute;
  left: 50%;
  bottom: 3rem;
  display: flex;
  gap: 0.75rem;
  transform: translateX(-50%);
  z-index: 3;
}

.slider-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.8);
  background: transparent;
  cursor: pointer;
}

.slider-indicators button.active {
  background: #d4af37;
}


.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(8, 11, 17, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #d4af37;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}
.slider-arrow:hover {
  background: rgba(212, 175, 55, 0.25);
  border-color: #d4af37;
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
}
.slider-arrow.prev-arrow { left: 2.5rem; }
.slider-arrow.next-arrow { right: 2.5rem; }

@media (max-width: 768px) {
  .slider-arrow { width: 40px; height: 40px; }
  .slider-arrow.prev-arrow { left: 0.5rem; }
  .slider-arrow.next-arrow { right: 0.5rem; }
}

.invitation .envoy-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.inscription-panel {
  padding: 3rem 2rem;
  background-size: cover;
  background-position: center;
  border-radius: 1.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  position: sticky;
  top: 120px;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  }

.vertical-text {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  line-height: 1.5;
  color: #d4af37;
  letter-spacing: 0.25em;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translateY(-50px);
  transition: opacity 1.2s ease-out, transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.inscription-panel.in-view .vertical-text {
  opacity: 1;
  transform: translateY(0);
}

.inscription-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 4rem 2rem 2.5rem;
  background: linear-gradient(to top, rgba(8, 11, 17, 0.95) 0%, transparent 100%);
  font-size: 0.85rem;
  color: #f5f3ee;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.inscription-panel:hover .inscription-caption {
  opacity: 1;
  transform: translateY(0);
}

.envoy-copy h2 {
  margin: 0 0 1.4rem;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-panel {
  margin-top: 2.5rem;
  padding: 1.7rem 1.6rem;
  border: 1px solid rgba(212, 175, 55, 0.18);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 1.2rem;
}

.gerege-card {
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(212, 175, 55, 0.6);
  color: #d4af37;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.2em;
}

.realms-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: flex-start;
}

.map-panel {
  min-height: 520px;
  min-width: 820px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.06), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  position: relative;
}

.map-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 1.25rem;
  background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.16), transparent 18%), radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 40%), rgba(16, 20, 28, 0.7);
}

.map-placeholder svg,
.map-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.map-placeholder svg path {
  stroke: rgba(0, 0, 0, 0.6);
  stroke-width: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  fill-opacity: 0.6;
}


.map-placeholder svg path#South { fill: #D35400; }     
.map-placeholder svg path#North { fill: #1B4F72; }      
.map-placeholder svg path#West { fill: #7F8C8D; }      
.map-placeholder svg path#East { fill: #B7950B; }     
.map-placeholder svg path#Ulaanbaatar { fill: rgb(223, 223, 223); }       

.map-placeholder svg path:hover {
  stroke: rgba(212, 175, 55, 1);
  fill-opacity: 0.4; 
}

.map-marker {
  position: absolute;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.3s ease;
  scale: 50%;
}

.map-marker:hover {
  background: rgba(212, 175, 55, 0.25);
  transform: scale(1.05);
  border-color: #d4af37;
}

.marker-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.map-tooltip {
  position: absolute;
  background: rgba(8, 11, 17, 0.95);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: #d4af37;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -100%) scale(0.9);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 10;
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.map-tooltip.visible {
  opacity: 1;
  transform: translate(-50%, -120%) scale(1);
}

.marker-south { bottom: 25%; left: 48%; }
.marker-north { top: 28%; right: 50%; }
.marker-west { top: 38%; left: 17%; }
.marker-east { bottom: 45%; right: 15%; }

.realms-cards {
  display: grid;
  gap: 1.5rem;
}

.realm-card,
.expedition-card,
.protocol-step,
.suite-card,
.contact-card,
.club-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.realm-card:hover,
.expedition-card:hover,
.protocol-step:hover,
.suite-card:hover,
.club-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.2);
}

.suite-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
}

.suite-card:nth-child(even) {
  flex-direction: row-reverse;
}

.suite-card img {
  width: 50%;
  border-radius: 1rem;
  object-fit: cover;
  height: 200px;
}

.suite-content {
  flex: 1;
}


.realm-card {
  padding: 1.2rem 1.5rem;
  cursor: pointer;
}

.realm-card h3 {
  font-size: 1.15rem !important;
  margin: 0 !important;
}

.realm-card .realm-number {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.realm-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

.realm-card.expanded .realm-content {
  max-height: 250px;
  opacity: 1;
  margin-top: 0.8rem;
}

.realm-card p {
  margin: 0;
  font-size: 0.85rem;
}

.realm-action {
  margin-top: 1.2rem;
  font-size: 0.72rem;
  padding: 0.6rem 1.2rem;
}

.realm-number,
.step-number {
  display: block;
  font-family: 'Cinzel', serif;
  color: #d4af37;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}

.realm-card h3,
.expedition-card h3,
.suite-card h3,
.protocol-step h3 {
  margin: 0 0 1rem;
  font-size: 1.55rem;
}

.expedition-grid,
.suite-grid,
.club-grid,
.protocol-grid {
  display: grid;
  gap: 1.5rem;
}

.expedition-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.aravt-details {
  display: grid;
  gap: 1.5rem;
  max-width: 980px;
  margin: 0 auto;
}

.aravt-card {
  background: rgba(8, 11, 17, 0.78);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 1.2rem;
  padding: 2rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

.aravt-card h3 {
  margin: 0 0 1rem;
  font-size: 1.85rem;
  color: #d4af37;
}

.aravt-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  counter-reset: aravt-item;
  display: grid;
  gap: 1.2rem;
}

.aravt-list li {
  position: relative;
  padding-left: 2.8rem;
  color: rgba(245, 243, 238, 0.9);
  line-height: 1.8;
}

.aravt-list li::before {
  counter-increment: aravt-item;
  content: counter(aravt-item) ".";
  position: absolute;
  left: 0;
  top: 0.2rem;
  color: #d4af37;
  font-weight: 700;
  font-size: 1rem;
}

.aravt-list li strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
  color: #d4af37;
}

.aravt-card blockquote {
  margin: 1.5rem 0 0;
  padding-left: 1.5rem;
  border-left: 4px solid rgba(212, 175, 55, 0.8);
  color: rgba(245, 243, 238, 0.8);
  font-style: italic;
}


.expedition-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  min-height: 480px;
}

.expedition-card .card-image {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  z-index: 0;
}

.expedition-card .card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 11, 17, 0.98) 0%, rgba(8, 11, 17, 0.6) 40%, transparent 80%);
  z-index: 1;
  pointer-events: none;
}


.custom-flag-select {
  position: relative;
  width: 105px;
  flex-shrink: 0;
  z-index: 20;
}
.selected-flag-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 0 0.8rem;
  cursor: pointer;
  height: 100%;
  min-height: 48px;
  color: #f5f3ee;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.selected-flag-code:focus,
.selected-flag-code:hover, 
.selected-flag-code.active {
  border-color: #d4af37;
  background: rgba(212, 175, 55, 0.05);
  outline: none;
}
.selected-flag-code img {
  width: 22px;
  border-radius: 2px;
  box-shadow: 0 0 3px rgba(0,0,0,0.5);
}
.selected-flag-code span {
  margin-left: 0.5rem;
  margin-right: 0.3rem;
}
.flag-dropdown-list {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: 260px;
  background: #0f131a;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 250px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}
.flag-dropdown-list.active {
  display: block;
  animation: fadeIn 0.2s ease forwards;
}
.flag-dropdown-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.8rem 1rem;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  color: rgba(245, 243, 238, 0.9);
  transition: background 0.2s ease, color 0.2s ease;
}
.flag-dropdown-list li:hover {
  background: rgba(212, 175, 55, 0.15);
  color: #d4af37;
}
.flag-dropdown-list li img {
  width: 20px;
  border-radius: 2px;
}
.flag-dropdown-list::-webkit-scrollbar { width: 5px; }
.flag-dropdown-list::-webkit-scrollbar-thumb { background: rgba(212, 175, 55, 0.4); border-radius: 5px; }


.custom-country-select {
  position: relative;
  width: 100%;
  z-index: 10;
}
.selected-country {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 0 1.2rem;
  cursor: pointer;
  min-height: 48px;
  color: #f5f3ee;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.selected-country:focus,
.selected-country:hover,
.selected-country.active {
  outline: none;
  border-color: #d4af37;
  background: rgba(212, 175, 55, 0.05);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}
.selected-country-inner {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.selected-country .placeholder-text {
  color: rgba(245, 243, 238, 0.3);
}
.selected-country img {
  width: 22px;
  border-radius: 2px;
  box-shadow: 0 0 3px rgba(0,0,0,0.5);
}
.country-dropdown-list {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: 100%;
  background: #0f131a;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 250px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}
.country-dropdown-list.active {
  display: block;
  animation: fadeIn 0.2s ease forwards;
}
.country-dropdown-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.8rem 1.2rem;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  color: rgba(245, 243, 238, 0.9);
  transition: background 0.2s ease, color 0.2s ease;
}
.country-dropdown-list li:hover {
  background: rgba(212, 175, 55, 0.15);
  color: #d4af37;
}
.country-dropdown-list li img {
  width: 20px;
  border-radius: 2px;
}
.country-dropdown-list::-webkit-scrollbar { width: 5px; }
.country-dropdown-list::-webkit-scrollbar-thumb { background: rgba(212, 175, 55, 0.4); border-radius: 5px; }

.expedition-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.expedition-card:hover .card-image img {
  transform: scale(1.06);
}

.expedition-card .badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  margin: 0;
  z-index: 2;
  backdrop-filter: blur(4px);
}

.expedition-card .card-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.expedition-card h3 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  margin: 0 0 1rem;
}

.expedition-card .card-details {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.expedition-card .detail-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  color: rgba(245, 243, 238, 0.95);
  font-weight: 500;
}

.expedition-card .detail-item svg {
  width: 18px;
  height: 18px;
  stroke: #d4af37;
}

.seats-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

.expedition-card .detail-item svg.seat-icon {
  width: 14px;
  height: 14px;
  stroke: none;
  fill: rgba(245, 243, 238, 0.2);
  transition: fill 0.3s ease;
}

.expedition-card .detail-item svg.seat-icon.available {
  fill: #d4af37;
}

.seats-label {
  font-size: 0.8rem;
  color: rgba(245, 243, 238, 0.7);
  white-space: nowrap;
}

.seats-highlight {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 2;
  background: rgba(8, 11, 17, 0.85);
  color: #d4af37;
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.price-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.price-label {
  font-size: 0.7rem;
  color: rgba(245, 243, 238, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
}

.price-value {
  font-family: 'Cinzel', serif;
  font-size: 1.45rem;
  color: #d4af37;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
}

.suite-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.club-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.protocol-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.badge {
  display: inline-flex;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: 1rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.badge-gobi { background: rgba(211, 84, 0, 0.6); color: #fff; border: 1px solid rgba(211, 84, 0, 0.8); }
.badge-steppe { background: rgba(183, 149, 11, 0.6); color: #fff; border: 1px solid rgba(183, 149, 11, 0.8); }
.badge-mountain { background: rgba(27, 79, 114, 0.6); color: #fff; border: 1px solid rgba(27, 79, 114, 0.8); }
.badge-forest { background: rgba(15, 86, 53, 0.6); color: #fff; border: 1px solid rgba(15, 86, 53, 0.8); }

.protocol-action {
  margin-top: 2rem;
  text-align: center;
}

.contact-card {
  text-align: center;
}

.contact-card h2 {
  margin: 0 0 1rem;
  font-family: 'Cinzel', serif;
  font-size: 2.4rem;
}

.club-card {
  min-height: 220px;
}

.club-tier {
  display: block;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}



.hero-legacy {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(180deg, rgba(8, 11, 17, 0.4) 0%, rgba(8, 11, 17, 0.95) 100%), var(--bg-image, none);
  background-size: cover;
  background-position: center;
  padding-top: 80px;
}

.text-center {
  text-align: center;
}

.presence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1120px;
  margin: 0 auto;
}

.presence-card {
  background: rgba(255, 255, 255, 0.03);
  border-left: 2px solid rgba(212, 175, 55, 0.6);
  padding: 2rem;
  border-radius: 0 1rem 1rem 0;
  transition: background 0.3s ease;
}

.presence-card:hover {
  background: rgba(212, 175, 55, 0.08);
}

.presence-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
}


.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 2rem;
  border-left: 1px solid rgba(212, 175, 55, 0.3);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.35rem;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d4af37;
  border: 4px solid #080b11;
}

.timeline-year {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  color: #d4af37;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.timeline-content h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}


.team-card {
  text-align: center;
  flex: 1 1 200px;
  max-width: 250px;
}

.team-img-wrapper {
  width: 100%;
  max-width: 250px;
  aspect-ratio: 3/4;
  border-radius: 1rem;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-img {
  transform: scale(1.05);
}

.team-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  margin: 0 0 0.2rem;
}


.payment-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.payment-icon {
  height: 40px;
  display: flex;
  align-items: center;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.payment-icon:hover {
  opacity: 1;
}

.payment-icon img {
  max-height: 100%;
  width: auto;
}

.card-bronze { background: rgba(99, 69, 46, 0.16); }
.card-gold { background: rgba(212, 175, 55, 0.14); }
.card-platinum { background: rgba(234, 229, 224, 0.1); }
.card-silver { background: rgba(23, 23, 23, 0.6); }

.footer {
  padding: 5rem 0 1.75rem;
  border-top: 1px solid rgba(212, 175, 55, 0.14);
  background: linear-gradient(180deg, #050609 0%, #080b11 100%);
  color: rgba(245, 243, 238, 0.92);
}

.footer-grid {
  display: grid;
  grid-template-columns: 240px repeat(4, minmax(110px, 1fr));
  align-items: start;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.footer-luxury .footer-grid > *:not(:first-child) {
  border-left: 1px solid rgba(212, 175, 55, 0.12);
  padding-left: 1.4rem;
}

.footer-logo {
  height: 52px;
  width: auto;
}

.footer-essence {
  margin: 1.5rem 0 2rem;
  font-size: 0.8rem;
  line-height: 1.9;
  max-width: 360px;
  color: rgba(245, 243, 238, 0.78);
}

.footer-links h4,
.footer-contact h4,
.footer-connect h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
  color: #d4af37;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links ul,
.social-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-links li,
.social-list li {
  margin: 0;
}

.footer-links a,
.social-list a {
  color: rgba(245, 243, 238, 0.82);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links a:hover,
.social-list a:hover {
  color: #f2d67f;
  transform: translateX(3px);
}

.newsletter-signup {
  margin-top: 2rem;
}

.newsletter-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 1rem;
  color: #d4af37;
}

.newsletter-form {
  display: grid;
  gap: 0.9rem;
}

.newsletter-form input {
  width: 100%;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #f4f1e8;
}

.newsletter-form input::placeholder {
  color: rgba(245, 243, 238, 0.5);
}

.newsletter-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.4rem;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.05);
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: #d4af37;
  color: #f5f3ee;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(212, 175, 55, 0.15);
}

.newsletter-form button svg {
  transition: transform 0.3s ease;
}

.newsletter-form button:hover svg {
  transform: translateY(2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  font-size: 0.85rem;
  color: rgba(245, 243, 238, 0.62);
}

.footer-bottom-left {
  display: grid;
  gap: 0.55rem;
}

.legal-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.legal-links a {
  color: rgba(245, 243, 238, 0.62);
  text-decoration: none;
}

.legal-links a:hover {
  color: #f2d67f;
}

.payment-logos {
  display: flex;
  justify-content: flex-end;
  gap: 0.4rem;
  flex-wrap: nowrap;
  align-items: center;
}

.payment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: auto;
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.12);
  color: rgba(245, 243, 238, 0.8);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.payment-badge img {
  height: 16px;
  width: auto;
  filter: brightness(1.1) contrast(1.05);
}

.footer-social a {
  color: rgba(245, 243, 238, 0.72);
}

.footer-social-icons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.08);
  color: rgba(245, 243, 238, 0.72);
  transition: all 0.25s ease;
}

.footer-social-icons a:hover {
  background: rgba(212, 175, 55, 0.18);
  color: #d4af37;
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-luxury .footer-grid > *:not(:first-child) {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(212, 175, 55, 0.08);
    padding-top: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .payment-logos {
    justify-content: flex-start;
  }
}

.footer-social a:hover {
  color: #d4af37;
}


.hero-club {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(8, 11, 17, 0.9)), url('assets/images/mongolianbeautifulnature.jpeg');
  background-size: cover;
  background-position: center;
  padding: 120px 0 80px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-content h1 {
  margin: 0 0 1rem;
  font-size: clamp(3rem, 6vw, 4.8rem);
  letter-spacing: 0.08em;
}

.hero-content h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: #d4af37;
  font-weight: 500;
}

.hero-content .tagline {
  font-size: 1.15rem;
  margin-bottom: 3rem;
  color: rgba(245, 243, 238, 0.9);
  font-style: italic;
}

.hero-actions {
  display: flex;
  gap: 1.4rem;
  justify-content: center;
  flex-wrap: wrap;
}

.button.primary {
  background: linear-gradient(135deg, #d4af37, #f0d277);
  color: #080b11;
  border-color: transparent;
}

.membership .ranks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.rank-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.6rem;
  padding: 1.2rem 1.5rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.rank-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.12), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.rank-card.hovered,
.rank-card:hover {
  transform: translateY(-10px);
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 20px 45px rgba(212, 175, 55, 0.14);
}

.rank-card.hovered::before,
.rank-card:hover::before {
  opacity: 1;
}

.rank-icon {
  position: relative;
  width: 75px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.rank-icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.rank-card.hovered .rank-icon img,
.rank-card:hover .rank-icon img {
  opacity: 1;
  transform: scale(1.08);
  filter: drop-shadow(0 8px 15px rgba(212, 175, 55, 0.3));
}

.rank-content {
  flex: 1;
}

.expedition-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  background: #d4af37;
  color: #080b11;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  z-index: 2;
}

.rank-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.rank-benefits li {
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(245, 243, 238, 0.86);
  font-size: 0.85rem;
}

.rank-benefits li:last-child {
  border-bottom: none;
}

.sanctuary .sanctuary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.portal-feature {
  text-align: center;
  padding: 2rem;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portal-feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.12);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.22);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portal-feature:hover .feature-icon {
  transform: scale(1.05);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.2);
}

.portal-feature h3 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
}

.impact .impact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.impact-text ul {
  margin: 1.5rem 0 0;
}

.impact-tracker {
  padding: 2rem;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tracker-grid {
  display: grid;
  gap: 1.2rem;
}

.tracker-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tracker-region {
  min-width: 90px;
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.96rem;
}

.tracker-bar {
  flex: 1;
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.tracker-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #d4af37, #f1e6b5);
  border-radius: 999px;
  transition: width 1.2s ease;
}



.hero-login {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(135deg, rgba(8, 11, 17, 0.75) 0%, rgba(8, 11, 17, 0.95) 100%), var(--bg-image, none);
  background-size: cover;
  background-position: center;
  padding: 120px 1rem 80px;
}

.login-container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  width: 100%;
}

.login-card {
  width: 100%;
  max-width: 440px;
  background: rgba(8, 11, 17, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 1.5rem;
  padding: 3rem 2.5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.login-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.login-icon {
  width: 55px;
  height: auto;
  margin: 0 auto 1.2rem;
  object-fit: contain;
  opacity: 0.9;
  filter: drop-shadow(0 4px 10px rgba(212, 175, 55, 0.4));
}

.login-header h2 {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  margin: 0 0 0.5rem;
  letter-spacing: 0.1em;
}

.login-form {
  display: grid;
  gap: 1.5rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.input-group label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #d4af37;
  font-weight: 500;
}

.input-group input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 1rem 1.2rem;
  color: #f5f3ee;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.input-group input::placeholder {
  color: rgba(245, 243, 238, 0.3);
}

.input-group input:focus {
  outline: none;
  border-color: #d4af37;
  background: rgba(212, 175, 55, 0.05);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

.login-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  margin-top: -0.5rem;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: rgba(245, 243, 238, 0.7);
}

.remember-me input {
  accent-color: #d4af37;
  width: 14px;
  height: 14px;
}

.forgot-link {
  color: rgba(245, 243, 238, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.forgot-link:hover {
  color: #d4af37;
}

.cta-button.full-width {
  width: 100%;
  margin-top: 0.5rem;
  padding: 1.1rem;
}

.login-footer {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(245, 243, 238, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
}

.login-footer a {
  color: #d4af37;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.login-footer a:hover {
  opacity: 0.8;
}

.tracker-value {
  min-width: 120px;
  text-align: right;
  color: rgba(245, 243, 238, 0.72);
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .header-inner {
    display: flex;
    justify-content: space-between;
  }
  .container-nav {
    padding: 0 2rem;
  }
  .membership .ranks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .menu-toggle {
    display: flex;
    margin-left: 1.5rem;
    z-index: 130;
  }
  .header-actions .auth-buttons,
  .header-actions .member-login {
    display: none; 
  }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    padding: 2rem 2rem 3rem;
    min-height: 60vh;
    overflow-y: auto;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 11, 17, 0.98);
    z-index: 110;
    transition: all 0.3s ease;
  }
  .nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .mobile-nav-actions {
    display: flex;
    margin-top: auto;
  }
  .nav-link {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: none;
  }
  .nav-link:hover,
  .nav-link:focus-visible {
    background: rgba(212, 175, 55, 0.08);
    color: #d4af37;
  }
  .submenu {
    position: static;
    display: none;
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 1rem;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.04);
    margin-left: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .submenu::before {
    display: none;
  }
  .nav-item.has-submenu.active > .submenu,
  .nav-item.has-submenu:hover > .submenu,
  .nav-item.has-submenu:focus-within > .submenu {
    display: flex;
  }
  .mobile-nav-actions .profile-submenu {
    position: static;
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255, 255, 255, 0.03);
  }

  .realms-layout,
  .invitation .envoy-grid,
  .protocol-grid,
  .expedition-grid,
  .suite-grid,
  .club-grid {
    grid-template-columns: 1fr;
  }

  .map-panel {
    min-height: 420px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container-nav {
    padding: 0 1.2rem;
  }
  .header-inner {
    padding: 1.5rem 1.2rem;
  }
  .logo {
    height: 40px;
  }
  .logo-image {
    height: 48px !important;
  }
  .header-actions {
    display: none;
  }
  .nav {
    padding: 1rem;
  }

  .hero-slider {
    min-height: 80vh;
  }

  .slide-copy {
    padding: 0 2rem;
  }

  .slide-copy h1 {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .slide-copy p {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
  }

  .slide-copy .button {
    padding: 0.7rem 1.2rem;
    font-size: 0.8rem;
  }

  .inscription-panel {
    position: relative;
    top: 0;
    min-height: auto;
    display: none;
  }

  .map-panel {
    display: none;
  }

  .section-header {
    padding: 0 1rem;
  }

  .suite-card {
    flex-direction: column;
    text-align: center;
  }

  .suite-card:nth-child(even) {
    flex-direction: column;
  }

  .suite-card img {
    width: 100%;
    height: auto;
  }

  .map-marker {
    width: 4.5rem;
    height: 4.5rem;
    font-size: 0.72rem;
  }

  .team-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 0 1.5rem 1.5rem 1.5rem;
    gap: 1.2rem;
  }
  .team-grid::-webkit-scrollbar {
    display: none;
  }
  .team-card {
    flex: 0 0 70% !important;
    max-width: none !important;
    scroll-snap-align: center;
  }
  .team-img-wrapper {
    max-width: 100% !important;
  }
}

@media (max-width: 540px) {
  .header-inner {
    justify-content: space-between;
  }


  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    align-items: center;
  }

  .legal-links {
    justify-content: center;
  }

  .footer-bottom-right > div {
    align-items: center !important;
  }

  .payment-logos {
    justify-content: center;
  }

  .membership .ranks-grid {
    grid-template-columns: 1fr;
  }
}


.glamping-gallery {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 1.5rem;
  height: 550px;
}

.gallery-main {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  min-height: 0; 
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  transition: opacity 0.4s ease;
}

.gallery-main-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8, 11, 17, 0.95) 0%, rgba(8, 11, 17, 0.4) 40%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 3rem 2.5rem;
  transition: opacity 0.4s ease;
}

.gallery-main-overlay h3 {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  color: #d4af37;
  margin: 0 0 1rem;
  line-height: 1.1;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.gallery-main-overlay p {
  font-size: 1.05rem;
  color: rgba(245, 243, 238, 0.95);
  margin: 0;
  max-width: 80%;
  line-height: 1.6;
}

.gallery-thumbnails {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  min-height: 0; 
}

.gallery-thumb {
  position: relative;
  border-radius: 1.2rem;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  min-height: 0;
}

.gallery-thumb.active {
  display: none; 
}

.gallery-thumb:hover {
  transform: translateX(-5px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.2);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-thumb:hover img {
  transform: scale(1.05);
}

.gallery-thumb .thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 11, 17, 0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
}

.gallery-thumb .thumb-overlay span {
  font-family: 'Cinzel', serif;
  color: #f5f3ee;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

@media (max-width: 992px) {
  .glamping-gallery {
    grid-template-columns: 1fr;
    height: auto;
  }
  .gallery-main {
    height: 450px;
  }
  .gallery-thumbnails {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.2rem;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 0 1.5rem 1.5rem 1.5rem;
  }
  .gallery-thumbnails::-webkit-scrollbar { display: none; }
  .gallery-thumb {
    flex: 0 0 45%;
    height: 150px;
    scroll-snap-align: start;
  }
  .gallery-thumb:hover {
    transform: translateY(-5px);
  }
  .gallery-main-overlay p {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .gallery-thumbnails {
    display: flex;
  }
  .gallery-thumb {
    flex: 0 0 85%;
    height: auto;
    aspect-ratio: 16/9;
  }
  .gallery-main {
    height: auto;
    aspect-ratio: 4/3;
  }
  .gallery-main-overlay h3 {
    font-size: 1.5rem;
  }
  .gallery-main-overlay {
    padding: 2rem 1.5rem;
  }

  .club-grid {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 1.5rem 1.5rem 1.5rem 1.5rem;
    gap: 1rem;
  }
  .club-grid::-webkit-scrollbar { display: none; }

  .club-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
    flex-direction: column !important;
    text-align: center;
    padding: 1.5rem !important;
    gap: 1rem !important;
    min-height: auto;
  }
  .club-card img {
    width: 80px !important;
    margin: 0 auto;
  }
  .club-tier {
    font-size: 1.05rem !important;
    margin-bottom: 0.5rem !important;
  }
  .club-card p {
    font-size: 0.8rem !important;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}


.expedition-gallery-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.expedition-gallery-container {
  max-width: 1000px;
  margin: 0 auto;
}
.gallery-main-view {
  width: 100%;
  height: 550px;
  border-radius: 1.2rem;
  overflow: hidden;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.gallery-main-view img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}
.gallery-thumbnail-slider {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.thumbnail-track {
  display: flex;
  gap: 0.8rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  flex: 1;
}
.thumbnail-track::-webkit-scrollbar {
  display: none;
}
.gallery-thumb-item {
  flex: 0 0 140px;
  height: 90px;
  border-radius: 0.8rem;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}
.gallery-thumb-item:hover,
.gallery-thumb-item.active {
  opacity: 1;
  border-color: #d4af37;
}
.gallery-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slider-nav-btn {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #d4af37;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.slider-nav-btn:hover {
  background: rgba(212, 175, 55, 0.25);
  color: #fff;
}
@media (max-width: 768px) {
  .gallery-main-view { height: 300px; }
  .gallery-thumb-item { flex: 0 0 100px; height: 70px; }
  .slider-nav-btn { width: 36px; height: 36px; }
}


.partner-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 11, 17, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.partner-modal-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.partner-modal-content {
  position: relative;
  width: calc(100% - 2rem);
  max-width: 700px;
  background: rgba(11, 11, 11, 0.95);
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 1.5rem;
  padding: 3rem;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8), inset 0 0 40px rgba(212,175,55,0.05);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.partner-modal-overlay.active .partner-modal-content {
  transform: translateY(0) scale(1);
}

.close-partner-modal {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: #C0C0C0;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s ease;
  line-height: 1;
}

.close-partner-modal:hover {
  color: #d4af37;
}

.form-steps.inline-steps {
  display: flex;
  justify-content: space-between;
  margin: 0 0 2.5rem;
  border-bottom: 1px solid rgba(212,175,55,0.2);
  padding-bottom: 1rem;
}

.form-steps .step {
  color: #C0C0C0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.form-steps .step.active {
  color: #d4af37;
  opacity: 1;
}

.partner-form .form-step-content {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.partner-form .form-step-content.active {
  display: block;
}

.partner-form .form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.partner-form label {
  display: block;
  color: #d4af37;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.partner-form input,
.partner-form select,
.partner-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.5rem;
  padding: 0.9rem 1.2rem;
  color: #f5f3ee;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.partner-form input:focus,
.partner-form select:focus,
.partner-form textarea:focus {
  outline: none;
  border-color: #d4af37;
  background: rgba(212,175,55,0.05);
}

.partner-form select option {
  background: #0b0b0b;
  color: #f5f3ee;
}

.form-actions {
  margin-top: 2rem;
}

.form-actions.split {
  display: flex;
  justify-content: space-between;
}

.submit-glow-btn {
  box-shadow: 0 0 20px rgba(212,175,55,0.4);
}

.submit-glow-btn:hover {
  box-shadow: 0 0 30px rgba(212,175,55,0.6);
}

.partner-state.hidden,
#inlinePartnerSuccessMsg.hidden {
  display: none;
}

.spinning-gerege {
  width: 120px;
  margin: 0 auto 2rem;
  animation: smooth-spin 2s linear infinite;
}

@keyframes smooth-spin {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

@media (max-width: 768px) {
  .partner-modal-content {
    padding: 2rem 1.5rem;
  }
  .form-steps .step {
    font-size: 0.75rem;
  }
}




.journal-page {
  background: #080b11; 
}

.journal-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  padding-top: 80px;
}

.hero-overlay-dark {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8, 11, 17, 0.6) 0%, rgba(8, 11, 17, 0.9) 100%);
}

.journal-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
}

.journal-hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin: 1rem 0;
  line-height: 1.1;
}

.editorial-intro {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.25rem;
  color: rgba(245, 243, 238, 0.9);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

/* Mobile Responsive Adjustments for Journal Hero */
@media (max-width: 768px) {
  .journal-hero-content h1 {
    font-size: clamp(1.8rem, 8vw, 2.4rem) !important;
    margin: 0.5rem 0 0.8rem !important;
  }
  .editorial-intro {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.5rem !important;
  }
  .journal-hero-content .eyebrow {
    font-size: 0.7rem !important;
    margin-bottom: 0.5rem !important;
  }
}


.journal-paper-bg {
  background-color: #FDFBF5;
  padding: 4rem 0 6rem;
  color: #2B2B2B; 
}

.journal-filters-section {
  margin-bottom: 3rem;
  text-align: center;
}

.journal-filters {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  border-bottom: 1px solid rgba(43, 43, 43, 0.1);
  padding-bottom: 1rem;
}

.filter-btn {
  background: transparent;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(43, 43, 43, 0.6);
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
  color: #d4af37;
  font-weight: 600;
}


.masonry-grid {
  column-count: 3;
  column-gap: 2rem;
}

@media (max-width: 1024px) { .masonry-grid { column-count: 2; } }
@media (max-width: 640px) { .masonry-grid { column-count: 1; } }

.journal-card {
  break-inside: avoid;
  margin-bottom: 2rem;
  background: #fff;
  border: 1px solid rgba(43, 43, 43, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.journal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.journal-card-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.gerege-img {
  background: #111;
  padding: 2rem;
}

.journal-card-content {
  padding: 2rem;
}

.journal-category {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #d4af37;
  margin-bottom: 1rem;
  font-weight: 600;
}

.journal-card h3 {
  color: #1a1a1a;
  font-size: 1.6rem;
  margin: 0 0 1rem;
  line-height: 1.2;
}

.journal-excerpt {
  font-family: 'Lora', serif;
  color: #4a4a4a;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.journal-discover {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #2B2B2B;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid #d4af37;
  padding-bottom: 0.2rem;
  transition: color 0.3s ease;
}

.journal-discover:hover {
  color: #d4af37;
}


.sealed-entry-section {
  margin-top: 4rem;
}

.sealed-entry-box {
  position: relative;
  background: #080b11;
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 1rem;
  overflow: hidden;
}

.sealed-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.08), transparent 60%);
}

.sealed-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.sealed-icon {
  width: 60px;
  margin: 0 auto 1.5rem;
  opacity: 0.8;
}

.sealed-content h2 {
  color: #f5f3ee;
  margin-bottom: 1rem;
}

.sealed-content p {
  color: rgba(245, 243, 238, 0.7);
  margin-bottom: 2rem;
}

.gold-btn {
  color: #d4af37;
  border-color: #d4af37;
}


.brochure-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 11, 17, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.brochure-popup-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  z-index: 1000 !important;
}

.brochure-popup-content {
  position: relative;
  width: calc(100% - 2rem);
  max-width: 1200px;
  background: rgba(8, 11, 17, 0.98);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s ease;
  box-sizing: border-box;
}

.brochure-popup-overlay.active .brochure-popup-content {
  transform: translateY(0) scale(1);
}

.brochure-iframe-container {
  position: relative;
  width: 100%;
  height: 700px;
  border-radius: 0.5rem;
  overflow: hidden;
  margin-bottom: 2rem;
}

.brochure-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.brochure-popup-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.brochure-download-btn {
  background: linear-gradient(135deg, #d4af37, #b8860b);
  color: #080b11;
  border: none;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.brochure-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.close-brochure-popup {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: rgba(8, 11, 17, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #f5f3ee;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.close-brochure-popup:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: #d4af37;
  color: #d4af37;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .brochure-popup-content {
    width: calc(100% - 1rem);
    padding: 1rem;
  }
  
  .brochure-iframe-container {
    height: 500px;
  }
  
  .brochure-popup-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .brochure-download-btn {
    width: 100%;
    max-width: 300px;
  }
  
  .close-brochure-popup {
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
    top: 0.5rem;
    right: 0.5rem;
  }
}



.hero-faq {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  background-image: linear-gradient(180deg, rgba(8, 11, 17, 0.5) 0%, rgba(8, 11, 17, 0.95) 100%), var(--bg-image, none);
  background-size: cover;
  background-position: center;
  padding-top: 80px;
}

.faq-search-section {
  padding: 3rem 0 2rem;
}

.search-wrapper {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.search-wrapper input {
  width: 100%;
  padding: 1.2rem 1.5rem 1.2rem 3.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 999px;
  color: #f5f3ee;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.search-wrapper input:focus {
  border-color: #d4af37;
  background: rgba(255, 255, 255, 0.08);
}

.search-icon {
  position: absolute;
  left: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  stroke: #d4af37;
}

.faq-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  gap: 6rem;
}

.faq-category-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  position: relative;
}

.faq-category-header::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #d4af37, rgba(212, 175, 55, 0));
}

.faq-category-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(212, 175, 55, 0.1);
}

.category-icon {
  width: 40px;
  height: 40px;
  stroke: #d4af37;
  flex-shrink: 0;
  opacity: 0.8;
}

.faq-category-header h2 {
  margin: 0;
  font-size: 1.4rem;
  color: #f5f3ee;
  letter-spacing: 0.06em;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  text-transform: uppercase;
}

.faq-accordion {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.8rem;
  counter-reset: faq-counter;
  align-items: start;
}

@media (max-width: 768px) {
  .faq-accordion {
    grid-template-columns: 1fr;
  }
}

.faq-item {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.02));
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 1.2rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  cursor: pointer;
}

.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4af37, rgba(212, 175, 55, 0.3));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
  border-color: #d4af37;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(212, 175, 55, 0.1);
}

.faq-item:hover::before {
  transform: scaleX(1);
}

.faq-item.active {
  border-color: #d4af37;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.04));
  box-shadow: 0 16px 48px rgba(212, 175, 55, 0.15);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 2rem;
  color: #f5f3ee;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  transition: color 0.3s ease;
  position: relative;
  line-height: 1.4;
}

.faq-question::before {
  content: counter(faq-counter);
  counter-increment: faq-counter;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(212, 175, 55, 0.1));
  border: 1px solid #d4af37;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4af37;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 2px;
}

.faq-question:hover {
  color: #d4af37;
}

.faq-icon {
  color: #d4af37;
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 300;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
  max-height: 600px;
  opacity: 1;
}

.faq-answer p {
  margin: 0;
  color: rgba(245, 243, 238, 0.8);
  line-height: 1.7;
  font-size: 0.95rem;
  padding: 0 2rem 2rem 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  padding-top: 1.5rem;
}



.concierge-bg {
  background-color: #FDFBF5;
  padding: 3rem 0 6rem;
  color: #2B2B2B;
}

.time-widget-section {
  margin-bottom: 4rem;
}

.world-clock {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  padding: 2.5rem 3.5rem;
  background: linear-gradient(135deg, #080b11 0%, #121824 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 1.5rem;
  max-width: 650px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), inset 0 0 20px rgba(212, 175, 55, 0.05);
}

.clock-item {
  text-align: center;
}

.clock-city {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #d4af37;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.clock-time {
  font-family: 'Cinzel', serif;
  font-size: 2.6rem;
  color: #f5f3ee;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

.clock-divider {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.5), transparent);
}

.concierge-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.concierge-heading {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  color: #1a1a1a;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

.hub-card {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(43, 43, 43, 0.08);
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.hub-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  color: #1a1a1a;
  margin: 0.5rem 0 1rem;
}

.hub-card p {
  font-family: 'Lora', serif;
  color: #4a4a4a;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.hub-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hub-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  color: #2B2B2B;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  align-self: flex-start;
  transition: all 0.3s ease;
}

.hub-link:hover {
  color: #d4af37;
  border-bottom-color: #d4af37;
}

.small-heading {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #d4af37;
  margin-bottom: 1rem;
  font-weight: 600;
}

.channel-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.channel-btn {
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: #2B2B2B;
  border: 1px solid rgba(43, 43, 43, 0.2);
  transition: all 0.3s ease;
}

.channel-btn:hover {
  border-color: #d4af37;
  color: #d4af37;
  background: rgba(212, 175, 55, 0.05);
}

.login-prompt {
  font-size: 0.9rem;
  color: #4a4a4a;
}

.login-prompt a {
  color: #d4af37;
  text-decoration: none;
  font-weight: 600;
}

.regional-partners {
  margin-top: 3rem;
  border-top: 1px solid rgba(43, 43, 43, 0.1);
  padding-top: 2rem;
}

.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.partner-item {
  background: #fff;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(43, 43, 43, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.partner-item:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.04);
}

.partner-region {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #d4af37;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.partner-item h4 {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  color: #1a1a1a;
  margin: 0 0 1rem;
}

.partner-item a {
  font-size: 0.85rem;
  color: #4a4a4a;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}

.partner-item a:hover {
  color: #d4af37;
}

.inquiry-form-container {
  background: #fff;
  padding: 3rem 2.5rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.inquiry-form {
  display: grid;
  gap: 1.5rem;
}

.inquiry-form .form-group label {
  color: #4a4a4a;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  background: #FDFBF5;
  border: 1px solid rgba(43, 43, 43, 0.15);
  border-radius: 0.5rem;
  padding: 1rem 1.2rem;
  color: #1a1a1a;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.submit-protocol-btn {
  width: 100%;
  background: #1a1a1a;
  color: #d4af37;
  border: none;
  padding: 1.2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  border-radius: 0.5rem;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.submit-protocol-btn:hover {
  background: #d4af37;
  color: #1a1a1a;
}

.form-success-msg {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: rgba(212, 175, 55, 0.1);
  border-left: 3px solid #d4af37;
  border-radius: 0.5rem;
  color: #2B2B2B;
  font-family: 'Lora', serif;
  font-size: 1.05rem;
}

.form-success-msg.hidden {
  display: none;
}

.dark-map-placeholder {
  margin-top: 4rem;
  background: #1a1a1a;
  border-radius: 1.5rem;
  padding: 4rem 2rem;
  text-align: center;
  border: 1px solid rgba(212, 175, 55, 0.2);
  background-image: radial-gradient(circle at center, rgba(212, 175, 55, 0.05), transparent 60%);
}

.dark-map-placeholder p {
  color: rgba(245, 243, 238, 0.7);
  max-width: 500px;
  margin: 0 auto;
}

@media (max-width: 992px) {
  .concierge-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .world-clock {
    flex-direction: column;
    gap: 2rem;
  }
  .clock-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.5), transparent);
  }
  .partner-grid {
    grid-template-columns: 1fr;
  }
}



.hero-gerege {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: radial-gradient(circle at center, rgba(212, 175, 55, 0.15) 0%, rgba(8, 11, 17, 0.95) 70%), var(--bg-image, none);
  background-color: #080b11;
  background-size: cover;
  background-position: center;
  padding-top: 80px;
  overflow: hidden;
}

.watermark-script {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  opacity: 0.04;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.watermark-script span {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 8rem;
  font-family: 'Cinzel', serif;
  color: #d4af37;
  white-space: nowrap;
  user-select: none;
  letter-spacing: -1rem;
}

.history-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.history-card {
  background: rgba(255, 255, 255, 0.02);
  border-top: 2px solid rgba(212, 175, 55, 0.4);
  padding: 2.5rem 2rem;
  border-radius: 0 0 1.5rem 1.5rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.history-card:hover {
  background: rgba(212, 175, 55, 0.05);
  transform: translateY(-8px);
}

.passport-section {
  padding: 4rem 0 !important; 
}

.passport-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.passport-image img {
  width: 100%;
  max-width: 340px; 
  margin: 0 auto;
  border-radius: 1.5rem;
}


.gerege-flip-container {
  perspective: 1000px;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
}

.gerege-flipper {
  position: relative;
  width: 100%;
  transform-style: preserve-3d;
  cursor: pointer;
  animation: smooth-spin 16s linear infinite;
}

@keyframes smooth-spin {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

.gerege-flip-container:hover .gerege-flipper {
  animation-play-state: paused;
}

.gerege-front, .gerege-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.gerege-front {
  position: relative;
  z-index: 5;
  transform: translateZ(6px);
}


.gerege-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 1;
  filter: brightness(0.35) sepia(0.6) contrast(1.2);
  backface-visibility: visible;
  -webkit-backface-visibility: visible;
}
.gerege-layer.l-1 { transform: translateZ(3px); }
.gerege-layer.l-2 { transform: translateZ(0px); }
.gerege-layer.l-3 { transform: translateZ(-3px); }

.gerege-back {
  z-index: 5;
  transform: rotateY(180deg) translateZ(6px);
}

.glow-effect {
  filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.25));
  animation: gentle-pulse 3.5s ease-in-out infinite alternate;
  scale: 0.8;
}

@keyframes gentle-pulse {
  0% { filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.15)); transform: translateY(0); }
  100% { filter: drop-shadow(0 0 45px rgba(212, 175, 55, 0.45)); transform: translateY(-8px); }
}

.passport-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.8rem;
}

.passport-features li {
  position: relative;
  padding-left: 2.2rem;
  color: rgba(245, 243, 238, 0.85);
  line-height: 1.7;
}

.passport-features li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 2px;
  color: #d4af37;
  font-size: 1.3rem;
}

.passport-features strong {
  color: #d4af37;
  display: block;
  margin-bottom: 0.4rem;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.05em;
  font-size: 1.1rem;
}

@media (max-width: 992px) {
  .passport-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .watermark-script span:nth-child(even) {
    display: none; 
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  top: 110px;
  right: 30px;
  background: rgba(8, 11, 17, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #d4af37;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9997;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: #d4af37;
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 90px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
  .back-to-top svg {
    width: 20px;
    height: 20px;
  }
}
