*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
}

/* --- Single Scroll Root Setup --- */
html {
  height: 100%;
  overflow: hidden; /* prevents html scrollbar */
}

body {
  height: 100%;
  min-height: 100dvh;

  overflow-x: hidden;
  overflow-y: auto; /* body is the ONLY scroll container */

  position: relative;
  font-family: 'Inter', sans-serif;
  color: white;
  background: #030303; /* Safari fallback */
  background: radial-gradient(circle at 20% 20%, #0a0a0a, #030303 60%);
}

@supports (height: 100dvh) {
  body {
    min-height: 100dvh;
  }
}

/* =========================
   CUSTOM SCROLLBAR — DELUXE THEME
========================= */

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #ff6a00 #050505;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(10px);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    #ff6a00,
    #ff8c2a
  );
  border-radius: 999px;
  border: 2px solid #050505;
  box-shadow: 0 0 8px rgba(255,106,0,0.35);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    #ff7a18,
    #ff9a3a
  );
  box-shadow: 0 0 14px rgba(255,106,0,0.6);
}

::-webkit-scrollbar-corner {
  background: #050505;
}

/* Layout */
.section {
  width: 100%;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 768px) {
  .section {
    padding-left: 24px;
    padding-right: 24px;
  }
}

.inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

/* Glass */
.glass {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
  .glass {
    backdrop-filter: none !important;
    background: rgba(255,255,255,0.06);
  }
}

/* Text Effects */
.glossy-text {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f2f2f2 40%,
    #ffffff 55%,
    #dcdcdc 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-gradient {
  background: linear-gradient(135deg, #ff6a00, #ff9a2a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glow System */
.orange-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(90px);
}

/* Sizes */
.glow-lg {
  width: 650px;
  height: 650px;
}

.glow-md {
  width: 420px;
  height: 420px;
}

.glow-sm {
  width: 260px;
  height: 260px;
}

/* Intensities */
.glow-strong {
  background: radial-gradient(circle, rgba(255,106,0,0.40), transparent 70%);
}

.glow-soft {
  background: radial-gradient(circle, rgba(255,106,0,0.22), transparent 70%);
}

.glow-subtle {
  background: radial-gradient(circle, rgba(255,106,0,0.14), transparent 70%);
}

/* Arrow */
.float-arrow {
  animation: floatArrow 1.8s ease-in-out infinite;
}

@keyframes floatArrow {
  0%,100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

/* Cards */
.service-card {
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 25px 60px rgba(255,106,0,0.25);
  border-color: rgba(255,106,0,0.4);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 10%;
  height: 100%;
  background: linear-gradient(108deg, transparent, rgba(255,255,255,0.04), transparent);
  transform: skewX(-18deg);
  animation: shineSweep 9s infinite;
}

@keyframes shineSweep {
  0% { left: -60%; }
  60% { left: 120%; }
  100% { left: 120%; }
}

.service-arrow {
  color: #ff7a18;
  font-size: 18px;
  opacity: 0.9;
  transition: transform 0.25s ease;
}

.service-card:hover .service-arrow {
  transform: translateX(6px);
}

/* Video Scroll */
.scroll-container {
  display: flex;
  gap: 16px;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;

  padding-left: 7vw;
  padding-right: 7vw;

  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scroll-container::-webkit-scrollbar {
  display: none;
}

.video-card {
  flex: 0 0 86vw;   /* slightly smaller than viewport */
  max-width: 86vw;
  max-width: 425px;

  scroll-snap-align: center;
}

@media (orientation: landscape) {

  .scroll-container {
    overflow: visible;
    scroll-snap-type: none;

    justify-content: center;
    padding-left: 16px;
    padding-right: 16px;
  }

  .video-card {
    flex: 1 1 0;
    max-width: 335px;
    min-width: 0;
  }

}

.text-metallic {
  background: linear-gradient(135deg, #ffffff, #9a9a9a, #ffffff);
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: shimmer 5s linear infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.poster-img {
  will-change: opacity;
}