/**
 * TEMPLE ADVENTURES — CINEMATIC 3D & LUXURY UNDERWATER DESIGN SYSTEM
 */

/* ==========================================================================
   1. GLOBAL UNDERWATER LIGHTING & CANVAS
   ========================================================================== */
#ocean-webgl-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

#ocean-webgl-container canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

/* Base ocean depth atmosphere */
html {
  overflow-x: hidden !important;
  max-width: 100vw;
}

body {
  background: radial-gradient(ellipse at 50% 0%, #082d45 0%, #04192b 35%, #020d18 70%, #01070e 100%) !important;
  color: #f3f9ff;
  overflow-x: hidden !important;
  max-width: 100vw;
  width: 100%;
}

.site {
  position: relative;
  z-index: 2;
  background: transparent !important;
}

/* ==========================================================================
   2. CINEMATIC HERO SECTION — OCEAN SURFACE & MARINE BREACH
   ========================================================================== */
.cinematic-hero {
  position: relative;
  width: 100vw;
  height: 100svh;
  min-height: 680px;
  max-height: 1080px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 24px 60px;
  isolation: isolate;
  background: #020b16;
}

/* Full-bleed background shark video */
.hero-bg-video-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transform: scale(1.02);
}

/* Atmospheric vignette overlay for high-contrast luxury typography */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: 
    radial-gradient(circle at 50% 40%, rgba(2, 11, 20, 0.15) 0%, rgba(2, 11, 20, 0.55) 60%, rgba(1, 9, 18, 0.95) 100%),
    linear-gradient(180deg, rgba(2, 11, 20, 0.85) 0%, rgba(2, 11, 20, 0.25) 30%, rgba(2, 11, 20, 0.45) 70%, rgba(1, 9, 18, 0.98) 100%);
}

.hero-wave-transition {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 90px;
  background: linear-gradient(to bottom, transparent, rgba(3, 10, 20, 0.95) 75%, #030a14);
  z-index: 3;
  pointer-events: none;
}

/* Hero Typography */
.hero-content {
  position: relative;
  z-index: 4;
  max-width: 1100px;
  margin: 0 auto;
}
  z-index: 4;
  max-width: 1050px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-block;
  font-size: clamp(10px, 1.1vw, 13px);
  letter-spacing: 0.35em;
  font-weight: 800;
  color: #00d7ee;
  text-transform: uppercase;
  margin-bottom: 16px;
  text-shadow: 0 0 16px rgba(0, 215, 238, 0.4);
}

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(38px, 6.2vw, 86px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #f7fcff;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hero-title span {
  display: block;
  letter-spacing: -0.01em;
}

.hero-title em {
  font-style: italic;
  color: #00d7ee;
  background: linear-gradient(120deg, #6ef2ff, #00d7ee 60%, #00a4cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(15px, 1.6vw, 21px);
  line-height: 1.6;
  color: #c0d8e8;
  max-width: 720px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-cta-dive {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 36px;
  border-radius: 999px;
  background: linear-gradient(110deg, #00d7ee, #00b0d6);
  color: #011422;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(0, 215, 238, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.hero-cta-dive:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 40px rgba(0, 215, 238, 0.6);
  background: linear-gradient(110deg, #6ef2ff, #00d7ee);
}

.hero-cta-dive b {
  font-size: 18px;
  transition: transform 0.25s ease;
}

.hero-cta-dive:hover b {
  transform: translateY(3px);
}

.hero-cta-video {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1px solid rgba(0, 215, 238, 0.4);
  background: rgba(4, 25, 42, 0.6);
  backdrop-filter: blur(12px);
  color: #e5f6fd;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.hero-cta-video:hover {
  background: rgba(0, 215, 238, 0.15);
  border-color: #00d7ee;
  transform: translateY(-2px);
}

.hero-cta-video i {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #00d7ee;
  color: #02121d;
  font-size: 11px;
  font-style: normal;
}

/* Scuba video overlay modal */
.hero-video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(1, 9, 18, 0.94);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.hero-video-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.hero-video-modal-inner {
  position: relative;
  width: min(94vw, 1100px);
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 215, 238, 0.35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85);
}

.hero-video-modal-inner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-video-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(3, 20, 34, 0.85);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.2s, background 0.2s;
}

.hero-video-modal-close:hover {
  transform: rotate(90deg);
  background: #00d7ee;
  color: #011422;
}

/* ==========================================================================
   3. HIGH PRIORITY: 3D CIRCULAR COURSE ORBIT CAROUSEL ("PERFUME SHOWCASE")
   ========================================================================== */
.courses-v61 {
  position: relative;
  padding: 110px clamp(18px, 4vw, 60px) 120px;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse at 50% 30%, rgba(0, 185, 235, 0.08) 0%, transparent 60%);
}

.orbit-3d-wrapper {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 40px auto 0;
  min-height: 720px;
  perspective: 1200px;
  perspective-origin: 50% 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  user-select: none;
}

/* 3D Pedestal / Podium Platform (Smooth luxury ambient glow, zero harsh spoke lines) */
.orbit-3d-pedestal {
  position: absolute;
  top: 76%;
  left: 50%;
  transform: translate(-50%, -50%) rotateX(74deg);
  width: min(90vw, 880px);
  aspect-ratio: 1;
  pointer-events: none;
  z-index: 1;
  border-radius: 50%;
}

.pedestal-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(0, 215, 238, 0.12);
}

.pedestal-ring.ring-outer {
  box-shadow: 0 0 100px rgba(0, 215, 238, 0.14), inset 0 0 60px rgba(0, 215, 238, 0.08);
  animation: pedestalRotate 55s linear infinite;
}

.pedestal-ring.ring-mid {
  inset: 14%;
  border-color: rgba(94, 238, 255, 0.15);
  border-style: solid;
  animation: pedestalRotate 40s linear infinite reverse;
}

.pedestal-ring.ring-inner {
  inset: 30%;
  border-color: rgba(0, 215, 238, 0.22);
  box-shadow: 0 0 50px rgba(0, 215, 238, 0.18);
}

.pedestal-glow {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 215, 238, 0.24) 0%, rgba(0, 160, 200, 0.08) 50%, transparent 75%);
  filter: blur(32px);
}

/* Remove harsh repeating conic lines / ticks entirely */
.pedestal-ticks {
  display: none !important;
}

@keyframes pedestalRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* 3D Spatial Cylinder Stage */
.orbit-3d-stage {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 560px;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  touch-action: pan-y;
  outline: none;
}

.orbit-3d-stage.is-dragging {
  cursor: grabbing;
}

/* Individual Course 3D Card */
.orbit-3d-card {
  position: absolute;
  width: 325px;
  height: 485px;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  border-radius: 24px;
}

.orbit-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 22px;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  background: linear-gradient(155deg, rgba(7, 32, 52, 0.92) 0%, rgba(3, 14, 26, 0.97) 100%);
  border: 1px solid rgba(0, 215, 238, 0.22);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.65), 0 0 35px rgba(0, 185, 220, 0.08);
  backdrop-filter: blur(14px);
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.orbit-3d-card.is-front .orbit-card-inner {
  border-color: rgba(0, 225, 255, 0.65);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.85), 0 0 55px rgba(0, 215, 238, 0.32), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.orbit-card-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #00d7ee;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.orbit-card-badge span {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 215, 238, 0.15);
  border: 1px solid #00d7ee;
  color: #fff;
  font-size: 11px;
}

.orbit-card-art {
  position: relative;
  width: 100%;
  height: 195px;
  border-radius: 16px;
  overflow: hidden;
  background: #031726;
  margin-bottom: 16px;
}

.orbit-card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.orbit-3d-card.is-front:hover .orbit-card-art img {
  transform: scale(1.06);
}

.orbit-card-art-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.orbit-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.orbit-card-kicker {
  font-size: 10px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: #79a8c2;
  margin-bottom: 6px;
}

.orbit-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.18;
  color: #fff;
  margin: 0 0 8px;
}

.orbit-card-desc {
  font-size: 13px;
  line-height: 1.55;
  color: #b1cad8;
  margin: 0 0 14px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.orbit-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid rgba(0, 215, 238, 0.14);
  border-bottom: 1px solid rgba(0, 215, 238, 0.14);
  font-size: 12px;
  color: #cde6f2;
  margin-bottom: 14px;
}

.meta-icon {
  color: #00d7ee;
  margin-right: 4px;
}

.meta-price strong {
  font-size: 16px;
  color: #00d7ee;
  font-weight: 800;
}

.orbit-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.orbit-card-detail-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(0, 215, 238, 0.45);
  background: linear-gradient(110deg, rgba(0, 215, 238, 0.18), rgba(0, 215, 238, 0.05));
  color: #d6f6ff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.orbit-3d-card.is-front .orbit-card-detail-btn {
  background: #00d7ee;
  color: #011422;
  border-color: #00d7ee;
  box-shadow: 0 4px 18px rgba(0, 215, 238, 0.35);
}

.orbit-card-detail-btn:hover {
  background: #fff;
  color: #011422;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0, 215, 238, 0.5);
}

/* Orbit Navigation & Indicators */
.orbit-3d-controls {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.orbit-spin-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid rgba(0, 215, 238, 0.45);
  background: rgba(4, 25, 42, 0.78);
  backdrop-filter: blur(10px);
  color: #00d7ee;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.25s ease;
}

.orbit-spin-toggle-btn:hover {
  background: #00d7ee;
  color: #011422;
  transform: scale(1.04);
  box-shadow: 0 0 20px rgba(0, 215, 238, 0.4);
}

.orbit-spin-toggle-btn .spin-icon {
  font-size: 15px;
  display: inline-block;
  animation: spinIconRotate 4s linear infinite;
}

.orbit-spin-toggle-btn.is-paused .spin-icon {
  animation-play-state: paused;
  color: #799bae;
}

.orbit-spin-toggle-btn.is-paused {
  border-color: rgba(121, 155, 174, 0.35);
  color: #8daec0;
}

@keyframes spinIconRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.orbit-nav-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(0, 215, 238, 0.4);
  background: rgba(4, 25, 42, 0.8);
  color: #00d7ee;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.orbit-nav-btn:hover {
  background: #00d7ee;
  color: #011422;
  border-color: #00d7ee;
  transform: scale(1.08);
  box-shadow: 0 0 25px rgba(0, 215, 238, 0.45);
}

.orbit-dots-indicator {
  display: flex;
  gap: 10px;
}

.orbit-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(0, 215, 238, 0.4);
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.orbit-dot.is-active {
  width: 32px;
  border-radius: 12px;
  background: #00d7ee;
  border-color: #00d7ee;
  box-shadow: 0 0 15px #00d7ee;
}

.orbit-drag-cue {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #7ba2b8;
  margin-top: 14px;
  text-transform: uppercase;
}

.orbit-drag-cue span {
  color: #00d7ee;
}

/* ==========================================================================
   4. LUXURY DETAIL MODAL / DRAWER
   ========================================================================== */
.orbit-detail-drawer {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}

.orbit-detail-drawer.is-open {
  opacity: 1;
  visibility: visible;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 9, 18, 0.88);
  backdrop-filter: blur(20px);
}

.drawer-sheet {
  position: relative;
  z-index: 2;
  width: min(94vw, 980px);
  max-height: 88vh;
  overflow-y: auto;
  border-radius: 28px;
  background: linear-gradient(150deg, #07263d, #02111f 70%, #010a14);
  border: 1px solid rgba(0, 215, 238, 0.35);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.9), 0 0 60px rgba(0, 215, 238, 0.2);
  padding: clamp(28px, 4vw, 48px);
  transform: translateY(30px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.18, 0.82, 0.22, 1);
}

.orbit-detail-drawer.is-open .drawer-sheet {
  transform: translateY(0) scale(1);
}

.drawer-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 215, 238, 0.3);
  background: rgba(4, 25, 42, 0.7);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s;
}

.drawer-close-btn:hover {
  background: #00d7ee;
  color: #011422;
  transform: rotate(90deg);
}

.drawer-header {
  margin-bottom: 28px;
  padding-right: 48px;
}

.drawer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #00d7ee;
  margin-bottom: 8px;
}

.badge-num {
  padding: 4px 10px;
  background: rgba(0, 215, 238, 0.2);
  border: 1px solid #00d7ee;
  border-radius: 20px;
}

.drawer-kicker {
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: #8daec0;
  font-weight: 700;
  margin-bottom: 6px;
}

.drawer-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500;
  color: #fff;
  line-height: 1.15;
  margin: 0;
}

.drawer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.drawer-img-wrap {
  position: relative;
  width: 100%;
  height: 290px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 215, 238, 0.25);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}

.drawer-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drawer-stat-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.drawer-stat {
  padding: 12px;
  border-radius: 14px;
  background: rgba(0, 215, 238, 0.06);
  border: 1px solid rgba(0, 215, 238, 0.18);
  text-align: center;
}

.stat-label {
  display: block;
  font-size: 9px;
  letter-spacing: 0.15em;
  color: #7ca5bc;
  margin-bottom: 4px;
}

.stat-val {
  font-size: 13px;
  color: #fff;
}

.stat-price {
  color: #00d7ee !important;
  font-size: 15px !important;
  font-weight: 800;
}

.drawer-info {
  display: flex;
  flex-direction: column;
}

.drawer-lead {
  font-size: 16px;
  line-height: 1.7;
  color: #d1e4f0;
  margin: 0 0 24px;
}

.drawer-highlights h4 {
  font-size: 13px;
  letter-spacing: 0.15em;
  color: #00d7ee;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.drawer-highlights ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-highlights li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  color: #bed6e5;
  line-height: 1.5;
}

.drawer-highlights .bullet {
  color: #00d7ee;
  font-size: 11px;
}

.drawer-pricing-box {
  padding: 16px 22px;
  border-radius: 16px;
  background: linear-gradient(110deg, rgba(0, 215, 238, 0.12), rgba(0, 160, 200, 0.04));
  border: 1px solid rgba(0, 215, 238, 0.28);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.pricing-label span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #00d7ee;
}

.pricing-label small {
  color: #92b8cd;
  font-size: 12px;
}

.pricing-value {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.drawer-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.drawer-book-btn {
  flex: 1;
  min-width: 200px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  background: #00d7ee;
  color: #011422;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(0, 215, 238, 0.35);
  transition: all 0.25s ease;
}

.drawer-book-btn:hover {
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 215, 238, 0.55);
  transform: translateY(-2px);
}

.drawer-back-btn {
  padding: 15px 22px;
  border-radius: 999px;
  border: 1px solid rgba(0, 215, 238, 0.3);
  background: transparent;
  color: #c1e4f4;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
}

.drawer-back-btn:hover {
  background: rgba(0, 215, 238, 0.1);
  border-color: #00d7ee;
}

/* ==========================================================================
   5. AMBIENT AUDIO WIDGET & SOUND CONTROLLER
   ========================================================================== */
#soundToggleWidget {
  position: fixed;
  bottom: clamp(18px, 3vw, 30px);
  left: clamp(14px, 2vw, 28px);
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(3, 22, 36, 0.82);
  border: 1px solid rgba(0, 215, 238, 0.35);
  backdrop-filter: blur(14px);
  color: #bdf2fc;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  transition: all 0.25s ease;
}

#soundToggleWidget:hover {
  background: rgba(0, 215, 238, 0.2);
  border-color: #00d7ee;
  transform: translateY(-2px);
}

#soundToggleWidget .sound-wave-icon {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 14px;
}

#soundToggleWidget .sound-bar {
  width: 2px;
  height: 100%;
  background: #00d7ee;
  border-radius: 2px;
  animation: soundBarBounce 1.2s ease-in-out infinite alternate;
}

#soundToggleWidget.is-muted .sound-bar {
  animation: none;
  height: 3px;
  background: #64869c;
}

#soundToggleWidget .sound-bar:nth-child(2) { animation-delay: 0.2s; }
#soundToggleWidget .sound-bar:nth-child(3) { animation-delay: 0.4s; }
#soundToggleWidget .sound-bar:nth-child(4) { animation-delay: 0.15s; }

@keyframes soundBarBounce {
  0% { height: 3px; }
  100% { height: 14px; }
}

/* ==========================================================================
   6. RESPONSIVE BREAKPOINTS (MOBILE, TABLET, DESKTOP)
   ========================================================================== */
@media (max-width: 1024px) {
  .orbit-3d-wrapper {
    min-height: 640px;
  }
  .orbit-3d-stage {
    height: 520px;
  }
  .orbit-3d-card {
    width: 285px;
    height: 440px;
  }
  .orbit-card-art {
    height: 170px;
  }
  .drawer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .drawer-img-wrap {
    height: 240px;
  }
}

@media (max-width: 768px) {
  .cinematic-hero {
    min-height: 620px;
    padding: 0 16px;
  }
  .hero-breach-stage {
    margin-bottom: 14px;
  }
  .hero-breach-visual {
    width: min(88vw, 340px);
  }
  .hero-title {
    font-size: clamp(34px, 8.5vw, 52px);
  }
  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 24px;
  }
  .courses-v61 {
    padding: 75px 14px 85px;
  }
  .orbit-3d-wrapper {
    min-height: 540px;
    margin-top: 20px;
  }
  .orbit-3d-stage {
    height: 440px;
  }
  .orbit-3d-card {
    width: 240px;
    height: 395px;
    padding: 16px;
  }
  .orbit-card-inner {
    padding: 16px;
  }
  .orbit-card-art {
    height: 140px;
    margin-bottom: 12px;
  }
  .orbit-card-title {
    font-size: 18px;
  }
  .orbit-card-desc {
    font-size: 12px;
    margin-bottom: 10px;
  }
  .orbit-card-meta {
    padding: 8px 0;
    margin-bottom: 10px;
    font-size: 11px;
  }
  .meta-price strong {
    font-size: 14px;
  }
  .orbit-card-detail-btn {
    padding: 9px 14px;
    font-size: 12px;
  }
  .drawer-sheet {
    padding: 24px 18px;
    border-radius: 20px;
  }
  .drawer-stat-bar {
    grid-template-columns: 1fr 1fr;
  }
  .pricing-value {
    font-size: 20px;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: 32px;
  }
  .orbit-3d-stage {
    height: 410px;
  }
  .orbit-3d-card {
    width: 215px;
    height: 365px;
  }
  .orbit-card-inner {
    padding: 13px;
  }
  .orbit-card-art {
    height: 120px;
  }
  .orbit-card-title {
    font-size: 16px;
  }
  .meta-price strong {
    font-size: 13px;
  }
}

/* ==========================================================================
   7. ENHANCED 3D SECTIONS (GEAR HOLOGRAPHIC INSPECTOR & 3D WORLDS)
   ========================================================================== */
.orbit-card-badge .active-pill {
  margin-left: auto;
  font-size: 10px;
  letter-spacing: 0.12em;
  background: #00d7ee;
  color: #011422;
  border-radius: 999px;
  padding: 3px 10px;
  font-weight: 800;
  display: none;
}

.orbit-3d-card.is-front .active-pill {
  display: inline-block;
  box-shadow: 0 0 15px #00d7ee;
  animation: activePulse 1.8s ease-in-out infinite;
}

@keyframes activePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(0.96); }
}

/* Speedy auto-play dot progress */
.orbit-dot {
  position: relative;
  width: 14px;
  height: 10px;
  border-radius: 5px;
  border: 1px solid rgba(0, 215, 238, 0.4);
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.orbit-dot.is-active {
  width: 44px;
  background: rgba(0, 215, 238, 0.25);
  border-color: #00d7ee;
}

.orbit-dot.is-active .dot-progress {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #00d7ee;
  box-shadow: 0 0 12px #00d7ee;
  animation: dotFill 2.4s linear infinite;
}

@keyframes dotFill {
  0% { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

/* Scuba Pro Gear 3D Hologram Stage */
.gear-v55-art {
  position: relative;
  perspective: 900px;
  transform-style: preserve-3d;
}

.gear-v55-art img {
  will-change: transform;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
}

.gear-3d-hologram {
  position: absolute;
  inset: -15%;
  pointer-events: none;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.holo-ring-outer {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(0, 215, 238, 0.25);
  animation: holoRotate 28s linear infinite;
}

.holo-ring-mid {
  position: absolute;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(0, 215, 238, 0.35);
  box-shadow: 0 0 60px rgba(0, 215, 238, 0.2);
  animation: holoRotate 20s linear infinite reverse;
}

.holo-pedestal-glow {
  position: absolute;
  width: 45%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 215, 238, 0.3) 0%, transparent 70%);
  filter: blur(20px);
}

.gear-3d-badge {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.2em;
  font-weight: 800;
  color: #00d7ee;
  background: rgba(4, 25, 42, 0.85);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 215, 238, 0.4);
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

@keyframes holoRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Explore Worlds & Signature 3D Depth */
.world-card, .signature-v48-card {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.15s ease-out, border-color 0.3s ease;
}

.world-card .world-media, .world-card .world-body, .signature-v48-card .signature-v48-photo {
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
}

/* ==========================================================================
   GRID VIEW EXPLORE BUTTONS (100% Reliable Course Modal Trigger)
   ========================================================================== */
.grid-explore-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(0, 215, 238, 0.12);
  color: #00d7ee;
  border: 1px solid rgba(0, 215, 238, 0.45);
  font: 700 13px/1.2 'DM Sans', sans-serif;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.grid-explore-btn:hover {
  background: #00d7ee;
  color: #021522;
  border-color: #00d7ee;
  box-shadow: 0 6px 20px rgba(0, 215, 238, 0.35);
  transform: translateY(-2px);
}

.grid-explore-btn span {
  font-size: 15px;
  transition: transform 0.22s ease;
}

.grid-explore-btn:hover span {
  transform: translateX(3px);
}

/* ==========================================================================
   WHO SECTION: CLEAN LUXURY LOOK (REMOVING LINES AS REQUESTED)
   ========================================================================== */
#who-we-are .who-visual {
  padding-right: 0 !important;
  width: 100% !important;
  min-height: auto !important;
}

#who-we-are .who-image-wrap,
#who-we-are .who-3d-portal-container {
  border: none !important;
  outline: none !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 40px rgba(0, 215, 238, 0.06) !important;
  border-radius: 24px !important;
}

#who-we-are .who-heading:after {
  display: none !important;
  content: none !important;
}

#who-we-are .who-lines {
  border: none !important;
}

#who-we-are .who-section:before,
.who-section:before {
  background: radial-gradient(circle at 75% 30%, rgba(0, 215, 238, 0.06), transparent 36%),
              radial-gradient(circle at 15% 80%, rgba(13, 86, 132, 0.08), transparent 32%) !important;
  background-size: auto !important;
}

/* ==========================================================================
   BORN FOR THE BLUE: DEDICATED 3D OCEANIC PORTAL (DIFFERENT 3D MODEL)
   ========================================================================== */
.who-3d-portal-container {
  position: relative;
  width: 100%;
  min-height: 520px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(170deg, #031424 0%, #010b14 100%);
  box-shadow: 0 32px 85px rgba(0, 0, 0, 0.6), inset 0 0 60px rgba(0, 215, 238, 0.08);
}

.born-blue-3d-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
  cursor: grab;
}

.born-blue-3d-canvas:active {
  cursor: grabbing;
}

/* 3D Depth Sonar HUD */
.born-blue-hud {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
}

.hud-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hud-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(2, 14, 26, 0.82);
  border: 1px solid rgba(0, 215, 238, 0.35);
  font: 700 11px/1 'DM Sans', sans-serif;
  letter-spacing: 0.15em;
  color: #00d7ee;
  backdrop-filter: blur(10px);
}

.hud-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00d7ee;
  box-shadow: 0 0 10px #00d7ee;
  animation: hudPulse 2s ease-in-out infinite;
}

@keyframes hudPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hud-center-compass {
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1px solid rgba(0, 215, 238, 0.12);
  box-shadow: 0 0 40px rgba(0, 215, 238, 0.05);
}

.hud-center-compass::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 215, 238, 0.18);
  animation: compassRotate 40s linear infinite;
}

@keyframes compassRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Interactive Depth Level Selector */
.hud-bottom-bar {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(1, 10, 18, 0.92) 50%, rgba(1, 10, 18, 0.98) 100%);
  margin: -22px;
  padding: 30px 22px 22px;
  backdrop-filter: blur(10px);
}

.hud-depth-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.hud-control-label {
  font: 700 10px/1.2 'DM Sans', sans-serif;
  letter-spacing: 0.18em;
  color: #7ba3be;
  text-transform: uppercase;
}

.hud-depth-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.depth-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(3, 20, 35, 0.7);
  border: 1px solid rgba(0, 215, 238, 0.28);
  color: #b9d8ea;
  font: 700 12px/1 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all 0.22s ease;
}

.depth-pill:hover {
  background: rgba(0, 215, 238, 0.18);
  color: #fff;
  border-color: rgba(0, 215, 238, 0.6);
  transform: translateY(-2px);
}

.depth-pill.is-active {
  background: #00d7ee;
  color: #021522;
  border-color: #00d7ee;
  box-shadow: 0 4px 18px rgba(0, 215, 238, 0.38);
  font-weight: 800;
}

.depth-pill span {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.85;
}

.depth-pill.is-active span {
  opacity: 1;
  font-weight: 700;
}

.hud-telemetry-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 215, 238, 0.1);
  font-family: 'DM Sans', sans-serif;
}

.telemetry-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.telemetry-item small {
  font-size: 9px;
  letter-spacing: 0.14em;
  color: #6486a0;
  font-weight: 700;
}

.tele-val {
  font-size: 13px;
  font-weight: 700;
  color: #e5f5ff;
}

.tele-val.accent {
  color: #00d7ee;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS (320px, 375px, 420px, 768px, 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .who-3d-portal-container {
    min-height: 480px;
  }
}

@media (max-width: 768px) {
  .who-3d-portal-container {
    min-height: 420px;
    border-radius: 18px;
  }

  .hud-depth-control {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .hud-depth-pills {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .depth-pill {
    justify-content: center;
    padding: 8px 10px;
    font-size: 11px;
  }

  .hud-telemetry-row {
    font-size: 11px;
  }

  .tele-val {
    font-size: 11px;
  }

  /* 3D Course Orbit Mobile Optimizations */
  .orbit-3d-stage {
    height: 480px;
  }

  .orbit-3d-card {
    width: 280px;
    height: 420px;
  }

  .orbit-card-art {
    height: 180px;
  }

  .orbit-card-body {
    padding: 16px;
  }

  .orbit-card-title {
    font-size: 19px;
  }

  .orbit-card-desc {
    font-size: 12px;
    line-height: 1.45;
    margin-bottom: 10px;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .orbit-card-detail-btn {
    padding: 9px 16px;
    font-size: 12px;
  }

  .orbit-3d-controls {
    gap: 12px;
    padding: 0 10px;
  }

  .orbit-spin-toggle-btn {
    padding: 6px 14px;
    font-size: 11px;
  }

  /* Course Detail Drawer on Mobile */
  .drawer-sheet {
    max-height: 90vh;
    padding: 24px 18px;
    border-radius: 20px 20px 0 0;
  }

  .drawer-close-btn {
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .drawer-header {
    margin-bottom: 20px;
  }

  .drawer-title {
    font-size: 26px;
  }

  .drawer-stat-bar {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .drawer-stat {
    padding: 10px 8px;
  }

  .stat-label {
    font-size: 9px;
  }

  .stat-val {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .who-3d-portal-container {
    min-height: 380px;
  }

  .orbit-3d-stage {
    height: 440px;
  }

  .orbit-3d-card {
    width: 250px;
    height: 390px;
  }

  .orbit-card-art {
    height: 160px;
  }

  .orbit-card-title {
    font-size: 17px;
  }

  .orbit-card-meta {
    font-size: 11px;
    gap: 6px;
  }

  .meta-price strong {
    font-size: 14px;
  }

  .orbit-drag-cue {
    font-size: 10px;
    padding: 0 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pedestal-ring, .hero-breach-splash-ring, #soundToggleWidget .sound-bar, .holo-ring-outer, .holo-ring-mid, .orbit-dot.is-active .dot-progress, .hud-badge-dot, .hud-center-compass::before {
    animation: none !important;
  }
  .orbit-3d-card, .gear-v55-art img, .world-card, .signature-v48-card {
    transition: none !important;
  }
}
