/* ============================================================
   Design Tokens — single source of truth for the entire design
   ============================================================ */
:root {
  --bg-color: #050505;
  --text-main: #ffffff;
  --text-muted: #a0a0a0;
  --primary: #8a2be2;
  --primary-glow: rgba(138, 43, 226, 0.5);
  --secondary: #00ffff;

  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(12px);
}

/* ============================================================
   Global Reset & Base Styles
   ============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}
h1,
h2,
h3 {
  font-weight: 800;
  line-height: 1.2;
}
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}
/* Shared section layout */
section {
  min-height: 100vh;
  padding: 120px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.section-title {
  font-size: 3rem;
  margin-bottom: 3rem;
  text-align: center;
}
/* Utility classes */
.gradient-text {
  background: linear-gradient(45deg, var(--secondary), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
/* Buttons */
.btn-primary {
  background: linear-gradient(45deg, var(--primary), #b82be2);
  color: white;
  padding: 10px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 15px var(--primary-glow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px var(--primary-glow);
  }
.btn-glass {
  display: inline-block;
  margin-top: 30px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  color: white;
  padding: 15px 35px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  font-size: 1.1rem;
}
.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
  }

/* ============================================================
   Custom Cursor
   ============================================================ */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 1px;
  transition:
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    opacity 0.3s ease;
}
.custom-cursor.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }

/* ============================================================
   Glass Navigation Bar
   ============================================================ */
.glass-nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  z-index: 100;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.logo {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 2px;
}
.nav-img-logo {
  max-height: 40px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
  }
:is(.nav-links a)::after {
      content: '';
      position: absolute;
      width: 0;
      height: 2px;
      bottom: -5px;
      left: 0;
      background: var(--secondary);
      transition: width 0.3s;
    }
:is(.nav-links a):hover::after {
      width: 100%;
    }
.nav-cta {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  padding: 8px 24px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
}
.nav-cta::after {
    display: none !important;
  }
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 255, 0.5);
    color: #fff;
  }

/* ============================================================
   Hero Section + Spatial Monitor
   ============================================================ */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 0 5%;
}
.hero-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  gap: 60px;
  z-index: 10;
}
.hero-left {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-left p {
    font-size: 1.35rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    margin-bottom: 40px;
  }
.hero-left .btn-glass {
    margin-top: 0;
  }
.hero-right {
  flex: 1.2;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1500px;
}
.hero-logo-left {
  max-width: 450px;
  width: 100%;
  margin-bottom: 20px;
  display: block;
  filter: drop-shadow(0 0 50px rgba(138, 43, 226, 0.5));
  animation: floatingLogo 4s ease-in-out infinite;
}
@keyframes floatingLogo {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}
/* Spatial Monitor */
.spatial-monitor {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  border-radius: 20px;
  background: #000;
  border: 1px solid var(--glass-border);
  box-shadow:
    -30px 40px 80px rgba(0, 0, 0, 0.9),
    inset 0 0 50px rgba(0, 255, 255, 0.15);
  transform: rotateX(20deg) rotateY(-15deg) rotateZ(3deg);
  transform-style: preserve-3d;
  transition:
    transform 0.6s cubic-bezier(0.19, 1, 0.22, 1),
    box-shadow 0.6s ease;
  animation: monitorFloat 8s ease-in-out infinite;
  overflow: hidden;
}
.spatial-monitor:hover {
    transform: rotateX(5deg) rotateY(-5deg) rotateZ(0deg) scale(1.05);
    box-shadow:
      -10px 15px 40px rgba(0, 0, 0, 0.9),
      inset 0 0 80px rgba(138, 43, 226, 0.3);
  }
@keyframes monitorFloat {
  0%,
  100% {
    transform: rotateX(20deg) rotateY(-15deg) rotateZ(3deg) translateY(0);
  }
  50% {
    transform: rotateX(17deg) rotateY(-12deg) rotateZ(1deg) translateY(-25px);
  }
}
.workflow-video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0.85;
  filter: contrast(1.1);
}
.monitor-glare {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 60%);
}
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  pointer-events: none;
  white-space: nowrap;
}
.scroll-text {
  letter-spacing: 3px;
  /* Optically center by negating the extra spacing on the last letter */
  margin-right: -3px;
}
.scroll-indicator svg {
  width: 18px;
  height: 18px;
  fill: none;
  animation: bounceArrow 2s infinite;
}
@keyframes bounceArrow {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(5px);
  }
  60% {
    transform: translateY(3px);
  }
}

/* ============================================================
   YouTube 16:9 3D Carousel
   ============================================================ */
.work-section {
  overflow: hidden;
  padding: 80px 0 160px;
}
.category-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: nowrap;
  max-width: 90%;
  margin: 0 auto 40px auto;
  overflow-x: auto;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}
.category-filters::-webkit-scrollbar {
  height: 4px;
}
.category-filters::-webkit-scrollbar-thumb {
  background: var(--glass-border);
  border-radius: 10px;
}
.filter-btn {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  backdrop-filter: var(--glass-blur);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  align-items: center;
  gap: 8px;
}
.filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  transform: translateY(-2px);
}
.filter-btn.active {
  background: var(--secondary);
  color: #000;
  border-color: var(--secondary);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}
.carousel-container {
  width: 100%;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: grab;
  position: relative;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  touch-action: pan-y;
}
.carousel-container:active {
    cursor: grabbing;
  }
.carousel-scene {
  width: 480px;
  height: 270px;
  perspective: 1600px;
  position: relative;
}
.carousel-ring {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}
.carousel-card {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  backface-visibility: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transition:
    box-shadow 0.5s ease,
    border-color 0.5s ease;
  will-change: transform;
}
.carousel-card video {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    opacity: 0.2;
    pointer-events: none; /* Block IDM overlay access */
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    -webkit-user-drag: none;
    transition:
      opacity 0.6s ease,
      transform 0.6s ease;
  }
.carousel-card.active-card {
    border-color: var(--secondary);
    box-shadow: 0 0 60px rgba(0, 255, 255, 0.4);
  }
.carousel-card.active-card video {
      opacity: 1;
      transform: scale(1.05);
    }
.carousel-card.active-card .video-info {
      transform: translateY(0);
    }
.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.7);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  opacity: 0;
}
.video-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  padding: 40px 20px 20px;
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}
.video-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #fff;
  }
.video-info p {
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 600;
  }

/* ============================================================
   Reels 9:16 Swipeable Deck Stack
   ============================================================ */
.reels-section {
  padding: 80px 0 160px;
  position: relative;
  overflow: hidden;
}
.deck-container {
  width: 100%;
  height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  perspective: 1200px;
}
.deck-scene {
  position: relative;
  width: 340px;
  height: 604px;
}
.reel-card {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #000;
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  cursor: grab;
  will-change: transform;
  transform-origin: 50% 100%;
  touch-action: none;
}
.reel-card:active {
    cursor: grabbing;
  }
.reel-card video {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    opacity: 0.5;
    pointer-events: none; /* Block IDM overlay access */
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    -webkit-user-drag: none;
    filter: grayscale(50%);
    transition: all 0.5s;
  }
.reel-card.active-reel {
    border-color: var(--primary);
    box-shadow: 0 0 60px rgba(138, 43, 226, 0.5);
  }
.reel-card.active-reel video {
      opacity: 1;
      filter: grayscale(0%);
    }


/* ============================================================
   About / Editors Section
   ============================================================ */
.editors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  width: 90%;
}
.editor-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
}
.editor-card .role {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
  }
.editor-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 3px;
  position: relative;
}
.editor-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    -o-object-fit: cover;
       object-fit: cover;
  }

/* ============================================================
   Contact Section & Footer
   ============================================================ */
.contact-section {
  align-items: center;
}
.contact-box {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  padding: 60px;
  max-width: 600px;
  width: 90%;
  text-align: center;
}
.glass-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}
.glass-form input,.glass-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    color: white;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
  }
:is(.glass-form input,.glass-form textarea):focus {
      outline: none;
      border-color: var(--secondary);
      background: rgba(255, 255, 255, 0.1);
    }
.glass-footer {
  text-align: center;
  padding: 30px;
  color: var(--text-muted);
  border-top: 1px solid var(--glass-border);
}
.form-result {
  margin-top: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s;
}
.form-result.show {
  opacity: 1;
}
.form-result.success {
  color: #4ade80;
  /* Tailwind green-400 equivalent */
}
.form-result.error {
  color: #f87171;
  /* Tailwind red-400 equivalent */
}
/* ============================================================
   Case Study Modal + Plyr Video Player Overrides
   ============================================================ */
.glass-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 5, 10, 0.6);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  perspective: 2000px;
  will-change: opacity;
}
.glass-modal.modal-active {
    opacity: 1;
    pointer-events: all;
  }
.glass-modal.modal-active .modal-content {
      transform: scale(1) rotateX(0deg) translateY(0);
      box-shadow:
        0 40px 150px rgba(0, 0, 0, 0.9),
        inset 0 0 50px rgba(138, 43, 226, 0.3),
        0 0 80px rgba(0, 255, 255, 0.1);
    }
.modal-content {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  width: 90%;
  max-width: 1200px;
  height: 80vh;
  max-height: 800px;
  position: relative;
  display: flex;
  overflow: hidden;
  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.9),
    inset 0 0 40px rgba(138, 43, 226, 0.1);
  transform: scale(0.85) rotateX(20deg) translateY(50px);
  transition:
    transform 0.6s cubic-bezier(0.19, 1, 0.22, 1),
    box-shadow 0.6s ease;
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 2.5rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  opacity: 0.5;
  transition: opacity 0.3s, transform 0.3s;
  line-height: 1;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
.modal-close:hover {
    opacity: 1;
    transform: rotate(90deg) scale(1.1);
    color: var(--secondary);
    text-shadow: 0 0 20px var(--secondary);
  }
.modal-split {
  display: flex;
  width: 100%;
  height: 100%;
}
.modal-video-container {
  flex: 1.4;
  background: radial-gradient(circle at center, rgba(30, 0, 50, 0.5), #000);
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px;
  position: relative;
}
.modal-video-container .plyr {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
  }
.modal-info {
  flex: 1;
  padding: 60px 50px;
  overflow-y: auto;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2));
}
.modal-info h2 {
    font-size: 2.5rem;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #fff, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
  }
.modal-info p {
    color: #d0d0d0;
    margin-bottom: 40px;
    font-size: 1.05rem;
    line-height: 1.8;
  }
.modal-subtitle {
  color: var(--secondary);
  font-size: 0.9rem;
  margin-bottom: 40px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.modal-section-title {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 5px;
  letter-spacing: 1px;
}
.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill {
  background: rgba(138, 43, 226, 0.15);
  border: 1px solid rgba(138, 43, 226, 0.5);
  color: var(--secondary);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(138, 43, 226, 0.1);
  transition: transform 0.3s;
}
.pill:hover {
    transform: translateY(-2px);
    background: rgba(138, 43, 226, 0.3);
  }
/* Vertical layout adjustments for 9:16 content */
.glass-modal.vertical-layout .modal-content {
    max-width: 1050px;
  }
.glass-modal.vertical-layout .modal-video-container {
    flex: 0.65;
    padding: 30px;
  }
:is(.glass-modal.vertical-layout .modal-video-container) .plyr {
      aspect-ratio: 9/16;
      height: 100%;
      width: auto;
      margin: 0 auto;
    }
.glass-modal:not(.vertical-layout) .modal-video-container .plyr {
  aspect-ratio: 16/9;
}
.modal-header-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 40px;
}
.modal-subtitle {
  margin-bottom: 0 !important;
}
/* Modal External Link (Subtle Ghost Button) */
.btn-external {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-external .btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-external.hidden {
  display: none !important;
}
.btn-external:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
.btn-external .btn-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform 0.2s ease;
}
.btn-external:hover .btn-icon svg {
  transform: scale(1.1);
}
/* Subtle YouTube Hover State */
.btn-external.youtube-style:hover {
  color: #ff4d4d;
  border-color: rgba(255, 77, 77, 0.4);
  background: rgba(255, 77, 77, 0.1);
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.15);
}
/* Subtle Reels / TikTok Hover State */
.btn-external.reels-style:hover {
  color: #ff4dc4;
  border-color: rgba(255, 77, 196, 0.4);
  background: rgba(255, 77, 196, 0.1);
  box-shadow: 0 4px 12px rgba(255, 0, 166, 0.15);
}

/* ============================================================
   Video Loading Spinner
   ============================================================ */
.video-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--secondary);
  border-radius: 50%;
  animation: spinLoader 0.8s linear infinite;
  z-index: 5;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.video-spinner.hidden {
    opacity: 0;
  }
/* Larger spinner variant for the modal */
.modal-video-container .video-spinner {
  width: 56px;
  height: 56px;
  border-width: 4px;
  border-top-color: var(--primary);
  filter: drop-shadow(0 0 12px var(--primary-glow));
}
@keyframes spinLoader {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* ============================================================
   Responsive Breakpoints — All media queries consolidated
   ============================================================ */
@media (max-width: 900px) {
  .glass-nav {
    padding: 15px 20px;
    justify-content: center;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-bottom: 120px;
  }

  .scroll-indicator {
    bottom: 20px;
    z-index: 20;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 15px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .carousel-scene {
    width: 320px;
    height: 180px;
  }

  .deck-scene {
    width: 280px;
    height: 498px;
  }

  .hero-split {
    flex-direction: column;
    text-align: center;
    margin-top: 100px;
    padding-bottom: 50px;
  }

  .hero-left {
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-logo-left {
    margin: 0 auto 30px;
  }

  /* Mobile Modal Overhaul */
  .modal-content {
    width: 95%;
    height: 85vh;
    display: block;
    overflow-y: auto;
  }

  .modal-split {
    display: flex;
    flex-direction: column;
    height: auto;
  }

  .modal-video-container {
    padding: 60px 15px 20px;
    /* Leaves room for close button at top */
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .modal-info {
    padding: 30px 20px;
    overflow-y: visible;
  }

  .glass-modal.vertical-layout .modal-video-container .plyr {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 55vh;
    aspect-ratio: 9/16;
  }

  .modal-close {
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    font-size: 2rem;
  }
}

/*# sourceMappingURL=main.5b5aafc5.css.map*/