:root {
  --video-bg: #0e0d0b;
  --video-surface: #171411;
  --video-gold: #c89b51;
  --video-gold-soft: #e3c792;
  --video-text: #f7f3ec;
  --video-muted: #b8b0a5;
  --video-line: rgba(255, 255, 255, 0.11);
  --video-radius: 20px;
}

.video-studio-page {
  min-width: 320px;
  overflow-x: clip;
  color: var(--video-text);
  background: var(--video-bg) !important;
  font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif;
}

.video-studio-page #preloader { display: none !important; }

.video-studio-page nav > div:first-child {
  top: 12px !important;
  left: 50% !important;
  width: min(calc(100% - 24px), 1180px) !important;
  min-height: 68px;
  transform: translateX(-50%);
  padding-inline: 18px !important;
  border: 1px solid var(--video-line);
  border-radius: 18px;
  background: rgba(14, 13, 11, 0.84) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(20px) saturate(130%);
}

.video-studio-page nav img {
  width: 76px !important;
  max-height: 50px;
  object-fit: contain;
  filter: none !important;
}

.video-studio-page #nav-links { align-items: center; gap: 4px !important; }
.video-studio-page #underline-indicator { display: none; }

.video-studio-page #nav-links a,
.video-studio-page #nav-links button {
  min-height: 42px;
  padding-inline: 12px !important;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 500;
  border-radius: 10px;
}

.video-studio-page #nav-links a:hover,
.video-studio-page #nav-links button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.video-studio-page #mobile-menu {
  top: 88px !important;
  border: 1px solid var(--video-line);
  border-radius: 16px;
  background: rgba(14, 13, 11, 0.97) !important;
}

.video-studio-page > section:first-of-type {
  min-height: 92svh;
  isolation: isolate;
}

.video-studio-page > section:first-of-type > .absolute:nth-child(2) {
  background: linear-gradient(180deg, rgba(8, 7, 6, 0.45), rgba(8, 7, 6, 0.88)) !important;
}

.video-studio-page > section:first-of-type h1 {
  max-width: 980px;
  margin-inline: auto;
  font-size: clamp(2.6rem, 5.5vw, 5.7rem) !important;
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.video-studio-page > section:first-of-type p {
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1rem, 1.6vw, 1.2rem) !important;
}

.video-studio-page section {
  border-top: 1px solid rgba(200, 155, 81, 0.12);
}

.video-studio-page section:nth-of-type(2),
.video-studio-page section:nth-of-type(3) {
  padding-block: clamp(72px, 9vw, 120px) !important;
  background: var(--video-surface) !important;
}

.video-studio-page section:nth-of-type(3) { background: var(--video-bg) !important; }

.video-studio-page section .max-w-7xl {
  width: min(100%, 1180px);
  padding-inline: clamp(18px, 4vw, 40px) !important;
}

.video-studio-page section h2 {
  color: var(--video-text);
  font-size: clamp(2.15rem, 4.5vw, 4.4rem) !important;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.video-studio-page section h2 span {
  color: var(--video-muted) !important;
  font-size: clamp(1rem, 2vw, 1.35rem) !important;
  line-height: 1.7;
}

.video-studio-page section p { color: var(--video-muted); }

.video-studio-page section span[class*="rounded-full"] {
  color: var(--video-gold-soft);
  border: 1px solid rgba(200, 155, 81, 0.24);
  background: rgba(200, 155, 81, 0.08) !important;
}

.video-studio-page .aspect-video {
  overflow: hidden;
  border: 1px solid var(--video-line);
  border-radius: var(--video-radius) !important;
  background: #080706;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28) !important;
}

.video-studio-page .aspect-video iframe,
.video-studio-page .aspect-video img,
.video-studio-page .aspect-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-studio-page #exhibitions {
  padding-block: clamp(72px, 9vw, 120px) !important;
  background: #f4f0e9 !important;
}

.video-studio-page #exhibitions > div { width: min(100%, 1180px); }
.video-studio-page #exhibitions h2,
.video-studio-page #exhibitions h3 { color: #171411 !important; }
.video-studio-page #exhibitions p { color: #625b52 !important; }

.video-studio-page #exhibitions .space-y-24 > div {
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid rgba(23, 20, 17, 0.1);
  border-radius: var(--video-radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 44px rgba(39, 29, 17, 0.07);
}

.video-studio-page footer {
  padding-block: 64px !important;
  border-top: 1px solid rgba(200, 155, 81, 0.2);
  background: #12100e !important;
}

.video-studio-page footer a { color: var(--video-gold-soft) !important; }

.video-studio-page :focus-visible {
  outline: 3px solid var(--video-gold-soft);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .video-studio-page nav > div:first-child {
    top: 8px !important;
    width: calc(100% - 16px) !important;
    min-height: 60px;
    border-radius: 14px;
  }

  .video-studio-page nav img { width: 64px !important; }
  .video-studio-page #mobile-menu { top: 76px !important; inset-inline: 8px; }

  .video-studio-page > section:first-of-type {
    min-height: 78svh;
    padding-top: 84px;
  }

  .video-studio-page > section:first-of-type h1 {
    font-size: clamp(2.2rem, 10vw, 3.25rem) !important;
  }

  .video-studio-page section .mt-16 { margin-top: 36px !important; }
  .video-studio-page section .gap-12,
  .video-studio-page section .gap-10 { gap: 28px !important; }
  .video-studio-page #exhibitions .space-y-24 > div + div { margin-top: 48px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .video-studio-page *,
  .video-studio-page *::before,
  .video-studio-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
