@import url('https://fonts.cdnfonts.com/css/ica-rubrik-black');

/* ─── Background ─────────────────────────────────────────────────── */
html, body {
  background-color: #E5E5E5 !important;
  background-image: none !important;
}

/* ─── Banner — 3D rendering context for projector depth sorting ───── */
.banner{
    width: 100%;
    height: 100vh;
    text-align: center;
    overflow: visible;            /* was hidden — must be visible for 3D */
    position: relative;
    transform: translateX(0);
    transform-style: preserve-3d; /* depth-sorts slider + projector-3d-wrap */
}

/* ─── Slider — own GPU layer for smooth JS-driven rotation ─────────── */
.banner .slider{
    position: absolute;
    width: 180px;
    height: 270px;
    top: 10%;
    left: calc(50% - 100px);
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateX(-14deg) rotateY(0deg);
    z-index: 5;
    will-change: transform;       /* keeps rotation on its own composited layer */
}

.banner .slider .item{
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset: 0 0 0 0;
    z-index: 3;
    transform:
        rotateY(calc( (var(--position) - 1) * (360 / var(--quantity)) * 1deg))
        translateZ(450px);
}

.banner .slider .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-style: preserve-3d;
}

.banner .slider .poster {
    width: 180px;
    height: 270px;
    transform: translateZ(0);
}

/* ─── Content — flat (no nested preserve-3d), keeps HDsound title ── */
.banner .content{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding-bottom: 100px;
    display: block;
    justify-content: center;
    align-items: center;
    z-index: 4;
    pointer-events: none;
    transform: none;
    transform-style: flat;        /* no nested 3D — avoids GPU overhead */
}

/* ─── HDsound Title ─────────────────────────────────────────────────
   Merged: original layout + user-approved font, size & position      */
.banner .content h1{
  position: absolute;
  left: 50%;
  bottom: calc(0.5vh - 40px);    /* adjusted position */
  transform: translateX(-50%);
  white-space: nowrap;

  font-family: 'ICA Rubrik', sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: clamp(3rem, 20vw, 22rem);  /* ~90% page width */
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: none;

  z-index: 4;
  pointer-events: none;

  color: #273CF5;
  -webkit-text-fill-color: #273CF5;
  text-shadow:
    0 0 10px rgba(39, 60, 245, 0.6),
    0 0 25px rgba(39, 60, 245, 0.4),
    0 0 2px rgba(255, 255, 255, 0.35);
}

.banner .content h1::before{
  content: attr(data-content);
  position: absolute;
  inset: 0;
  font: inherit;
  line-height: inherit;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    rgba(255,255,255,0.00) 0%,
    rgba(255,255,255,0.15) 25%,
    rgba(255,255,255,0.95) 45%,
    rgba(255,255,255,0.20) 55%,
    rgba(255,255,255,0.00) 80%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  opacity: 0.22;
  filter: blur(0.3px);
  mix-blend-mode: screen;
}

.banner .content h1::after{
  content: attr(data-content);
  position: absolute;
  inset: 0;
  font: inherit;
  line-height: inherit;
  pointer-events: none;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.7);
  text-shadow:
    0 0 8px rgba(255,255,255,0.5),
    0 0 18px rgba(180,200,255,0.35);
  opacity: 0.6;
}

/* ─── Projector model placeholder (moved to projector-3d-wrap by JS) */
.banner .content .model{
    position: absolute !important;
    left: 50% !important;
    bottom: 200px !important;
    transform: translateX(-50%) !important;
    width: 700px !important;
    height: 700px !important;
    z-index: 20 !important;
    pointer-events: none !important;
}

/* Hide placeholder after JS moves it to projector-3d-wrap */
body.model-moved .banner .content .model {
  display: none !important;
}

/* ─── Projector 3D wrapper (created + positioned by JS) ────────────── */
.projector-3d-wrap {
  position:       absolute;
  pointer-events: none;
  will-change:    transform;
}

/* ─── Cookie notice ─────────────────────────────────────────────────── */
#cookieNotice{
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 320px;
  padding: 14px 18px;
  background: rgba(0,0,0,0.88);
  color: white;
  font-size: 14px;
  line-height: 1.4;
  border-radius: 12px;
  z-index: 99999;
  backdrop-filter: blur(10px);
}
#cookieNotice button{
  margin-top: 10px;
  padding: 8px 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

/* ─── Footer ────────────────────────────────────────────────────────── */
.site-footer{
  position: fixed;
  bottom: 10px;
  left: 15px;
  z-index: 9999;
  font-family: Arial, sans-serif;
  font-size: 12px;
}
.site-footer a{ color: #999; text-decoration: none; }
.site-footer a:hover{ color: #fff; }


/* ═══════════════════════════════════════════════════════════════════
   GLASS NAVIGATION SYSTEM
   6 glass orbs (3 left / 3 right) + FR language toggle
   Hides when video is playing (body.video-open added by Poster_Player.js)
═══════════════════════════════════════════════════════════════════ */

.glass-nav {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1000;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

/* Hide nav when video is active — restores when poster returns */
body.video-open .glass-nav {
  opacity:        0      !important;
  pointer-events: none   !important;
  visibility:     hidden !important;
}

.glass-nav-left, .glass-nav-right {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 16px;
  pointer-events: all;
}
.glass-nav-left  { left: 20px; }
.glass-nav-right { right: 20px; }

.glass-orb {
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  box-sizing: border-box !important;
  width:  clamp(65px, 7.5vw, 95px) !important;
  height: clamp(65px, 7.5vw, 95px) !important;
  border-radius: 50%;
  text-decoration: none; cursor: pointer;
  font-family: 'ICA Rubrik', sans-serif;
  font-size: clamp(11px, 1.4vw, 18px); font-weight: 600;
  letter-spacing: 0.04em;
  color: #273CF5;
  text-align: center !important; line-height: 0.95; padding: 8px 4px;
  background: radial-gradient(circle at 38% 28%,
    rgba(190,215,255,0.72) 0%, rgba(210,228,255,0.48) 40%, rgba(180,210,255,0.28) 100%);
  border: 3px solid rgba(39,60,245,0.55);
  box-shadow:
    0 0 0 1px rgba(39,60,245,0.10),
    0 3px 18px rgba(39,60,245,0.22),
    inset 0 2px 4px rgba(255,255,255,0.90),
    inset 0 -1px 3px rgba(100,130,200,0.20);
  transition: transform .28s cubic-bezier(.34,1.56,.64,1), box-shadow .28s, border-color .28s;
  user-select: none;
}
.glass-orb::before {
  content: ''; position: absolute;
  top: 13%; left: 17%; width: 46%; height: 27%;
  background: linear-gradient(132deg,rgba(255,255,255,.52) 0%,rgba(255,255,255,.14) 52%,transparent 100%);
  border-radius: 50% 50% 42% 42%; transform: rotate(-9deg);
  filter: blur(1.5px); pointer-events: none; z-index: 2;
}
.glass-orb::after {
  content: ''; position: absolute;
  bottom: 13%; left: 22%; width: 56%; height: 6%;
  background: linear-gradient(90deg,transparent,rgba(100,145,255,.24),transparent);
  border-radius: 50%; filter: blur(2px); pointer-events: none; z-index: 2;
}
.glass-orb:hover {
  transform: scale(1.08);
  background: radial-gradient(circle at 38% 28%,
    rgba(150,195,255,0.85) 0%, rgba(175,212,255,0.65) 40%, rgba(145,188,255,0.42) 100%);
  border-color: rgba(39,60,245,0.85);
  box-shadow:
    0 0 28px rgba(39,60,245,0.40), 0 6px 22px rgba(39,60,245,0.25),
    inset 0 2px 4px rgba(255,255,255,0.95), inset 0 -1px 3px rgba(80,120,200,0.22);
}
.glass-orb:active { transform: scale(1.04); }
.glass-orb-wrap   { position: relative; }

.glass-orb--has-dropdown .glass-chevron {
  position: absolute !important;
  bottom: 12px; left: 50%;
  transform: translateX(-50%);
  display: block; font-size: 12px;
  opacity: 0.72; line-height: 1; z-index: 3; margin-top: 0;
}

.glass-dropdown {
  display: none; position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(248,250,255,0.97);
  border: 1.5px solid rgba(39,60,245,0.30); border-radius: 14px; padding: 8px 5px;
  box-shadow: 0 4px 24px rgba(39,60,245,0.15), 0 2px 8px rgba(0,0,0,0.06);
  min-width: 158px; z-index: 1100;
}
.glass-dropdown--left  { left:  96px; }
.glass-dropdown--right { right: 96px; }
.glass-dropdown.glass-open { display: block; }
.glass-dropdown a {
  display: block; padding: 7px 14px;
  font-family: 'ICA Rubrik', sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: .07em;
  color: #273CF5; text-decoration: none;
  border-radius: 8px; transition: background .16s, color .16s;
}
.glass-dropdown a:hover { background: rgba(39,60,245,0.08); color: #1a2db0; }
.glass-divider { height: 1px; background: rgba(39,60,245,0.15); margin: 4px 10px; }

.glass-nav-lang {
  position: absolute; top: 22px; right: 23px;
  width: 100px; display: flex; justify-content: center; pointer-events: all;
}
.glass-orb--lang {
  box-sizing: border-box !important;
  width:  clamp(40px,4vw,50px) !important;
  height: clamp(40px,4vw,50px) !important;
  font-size: clamp(8px,0.9vw,11px);
  letter-spacing: .1em;
}

/* ─── Responsive breakpoints ──────────────────────────────────────── */
@media (max-width: 900px) {
  .glass-nav-left  { left: 8px; }
  .glass-nav-right { right: 8px; }
  .glass-nav-lang  { right: 13px; }
}
@media (max-width: 600px) {
  .glass-nav-left  { left: 4px; gap: 10px; }
  .glass-nav-right { right: 4px; gap: 10px; }
  .glass-dropdown  { display: none !important; }
  .glass-orb--lang { right: 8px !important; }
}
