
.app-shell {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
}

/* ==========================================================================
   Persistent Top-Right Info Bar & Side Icon Rails
   ========================================================================== */
.top-bar {
  position: absolute;
  top: 14px;
  right: 22px;
  z-index: 30;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.01em;
}

.top-info-link,
.top-datetime {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: inherit;
  text-decoration: none;
}

.top-info-link:hover {
  color: #ffffff;
}

.top-divider {
  opacity: 0.55;
}

.side-rail {
  position: absolute;
  top: 46px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.side-rail-left {
  left: 16px;
}

.side-rail-right {
  right: 16px;
}

.rail-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.88);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.rail-btn:hover {
  transform: scale(1.08);
  background: #1a2233;
  border-color: rgba(255, 255, 255, 0.45);
}

/* Hide home-only chrome on About/Support/Explore to match About screenshot cleanly */
body:not([data-active-section="home"]) .home-only-ui {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ==========================================================================
   Horizontal Multi-Section Slider Track
   ========================================================================== */
.sections-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.sections-track {
  display: flex;
  width: 400%;
  height: 100%;
  transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.page-section {
  position: relative;
  width: 25%;
  height: 100%;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.03);
  transition: transform 1.2s ease-out;
}

.mountain-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.page-section.is-section-active .section-bg {
  transform: scale(1);
}

.section-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(16, 20, 30, 0.76) 0%, rgba(16, 20, 30, 0.48) 55%, rgba(16, 20, 30, 0.36) 100%),
    linear-gradient(to bottom, rgba(10, 14, 22, 0.35) 0%, rgba(10, 14, 22, 0.65) 100%);
  pointer-events: none;
}

.about-overlay {
  background:
    linear-gradient(95deg, rgba(64, 58, 52, 0.72) 0%, rgba(44, 48, 58, 0.42) 55%, rgba(20, 26, 40, 0.32) 100%),
    linear-gradient(to bottom, rgba(24, 28, 38, 0.25) 0%, rgba(12, 18, 30, 0.65) 100%);
}

/* ==========================================================================
   SECTION 0: HOME Hero Slider
   ========================================================================== */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.85s ease, transform 6.5s ease-out;
  will-change: opacity, transform;
}

.slide-bg.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 45%, rgba(11, 16, 28, 0.48) 0%, rgba(7, 10, 18, 0.78) 100%),
    linear-gradient(to bottom, rgba(7, 10, 18, 0.45) 0%, rgba(7, 10, 18, 0.28) 50%, rgba(7, 10, 18, 0.72) 100%);
  pointer-events: none;
}

.hero-center {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1080px;
  padding: 0 24px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-logo {
  margin-bottom: 18px;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.45));
}

.hero-title {
  font-size: clamp(1.75rem, 3.2vw, 60px);
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin-bottom: 30px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.45);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.hero-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(12, 16, 24, 0.35);
  backdrop-filter: blur(5px);
  color: #ffffff;
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 0.3s ease,
    transform 0.25s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.hero-btn .btn-bg-preview {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  transition: opacity 0.35s ease, transform 0.5s ease;
  z-index: 0;
}

.hero-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.52));
  z-index: 1;
  transition: opacity 0.3s ease;
}

.hero-btn .btn-label {
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.65);
}

.hero-btn:hover,
.hero-btn:focus-visible,
.hero-btn.is-active {
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.35);
  outline: none;
}

.hero-btn:hover .btn-bg-preview,
.hero-btn:focus-visible .btn-bg-preview,
.hero-btn.is-active .btn-bg-preview {
  opacity: 0.58;
  transform: scale(1.06);
}

.hero-copyright {
  margin-top: 26px;
  font-size: 12.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.01em;
}

/* ==========================================================================
   Shared Content Container for ABOUT / SUPPORT / EXPLORE
   ========================================================================== */
.section-inner {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1080px;
  padding: 24px 48px 72px;
}

.section-heading {
  font-size: clamp(1.85rem, 2.7vw, 2.4rem);
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.section-lead {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 18px;
  max-width: 560px;
}

/* ==========================================================================
   SECTION 1: ABOUT S4
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 56px;
}

.learn-more-link {
  display: inline-block;
  margin-top: 8px;
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.learn-more-link:hover {
  transform: translateX(4px);
  opacity: 0.88;
}

.about-trophy {
  display: flex;
  justify-content: center;
  align-items: center;
}

.trophy-svg {
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.55));
}

/* ==========================================================================
   SECTION 2: SUPPORT
   ========================================================================== */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.support-channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.channel-card {
  padding: 16px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 12, 20, 0.48);
  backdrop-filter: blur(8px);
  text-decoration: none;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.channel-card:hover {
  border-color: #ffffff;
  transform: translateY(-2px);
}

.channel-label {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.65);
}

.channel-value {
  font-size: 14px;
  font-weight: 600;
}

.support-panel {
  padding: 26px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(10, 14, 24, 0.68);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.panel-title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 2px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.field-group input,
.field-group textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
}

.field-group input:focus,
.field-group textarea:focus {
  outline: none;
  border-color: #ffffff;
}

.panel-submit {
  align-self: flex-start;
  padding: 11px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.panel-submit:hover {
  background: #ffffff;
  color: #0b0f17;
}

.form-status {
  font-size: 12.5px;
  color: #a5f3c8;
  min-height: 18px;
}

/* ==========================================================================
   SECTION 3: EXPLORE
   ========================================================================== */
.explore-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.explore-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.explore-card {
  position: relative;
  overflow: hidden;
  min-height: 215px;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(12, 16, 26, 0.55);
  color: #ffffff;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.explore-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.42;
  transition: opacity 0.35s ease, transform 0.5s ease;
}

.explore-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 10, 18, 0.92) 15%, rgba(7, 10, 18, 0.35) 100%);
}

.explore-card-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.explore-tag {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.65);
}

.explore-card-body strong {
  font-size: 15px;
  font-weight: 600;
}

.explore-card-body span:last-child {
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

.explore-card:hover {
  transform: translateY(-4px);
  border-color: #ffffff;
}

.explore-card:hover .explore-card-bg {
  opacity: 0.68;
  transform: scale(1.06);
}

/* ==========================================================================
   Bottom 4-Column Navigation Bar (HOME | ABOUT | SUPPORT | EXPLORE)
   ========================================================================== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 30;
  height: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(8, 11, 18, 0.78);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.bottom-nav-item {
  position: relative;
  appearance: none;
  background: transparent;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.bottom-nav-item:last-child {
  border-right: none;
}

.bottom-nav-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.bottom-nav-item.is-current {
  color: #ffffff;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.35);
  
}

.bottom-nav-item.is-current::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 4px;
  background: #ffffff;
}

/* ==========================================================================
   Bottom-Right Chat Widget (Home)
   ========================================================================== */
.chat-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 35;
  width: 74px;
  height: 74px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.chat-arc-text {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.chat-wave {
  position: absolute;
  left: 0;
  bottom: 14px;
  font-size: 17px;
  pointer-events: none;
  transform: rotate(-12deg);
}

.chat-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6d6af4, #4d49d8);
  box-shadow: 0 8px 22px rgba(77, 73, 216, 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.chat-widget:hover .chat-circle {
  transform: scale(1.08);
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (max-width: 960px) {
  .hero-buttons {
    max-width: 520px;
  }

  .about-grid,
  .two-col-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-trophy {
    display: none;
  }

  .explore-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .top-bar {
    right: 12px;
    left: 12px;
    display: flex;
    justify-content: center;
  }

  .top-info {
    font-size: 11px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .side-rail {
    display: none;
  }

  .section-inner {
    padding: 64px 20px 72px;
  }

  .hero-btn {
    width: 100%;
    max-width: 300px;
  }

  .support-channels,
  .explore-cards {
    grid-template-columns: 1fr;
  }

  .bottom-nav-item {
    font-size: 10.5px;
    letter-spacing: 0.06em;
  }
}
