:root {
	--glass-stroke: rgba(255, 255, 255, 0.35);
	
	
}

   * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: "Montserrat", sans-serif;
      font-optical-sizing: auto;
      font-weight: 300;
      font-style: normal;
    }

    .a-enter-vr, .a-enter-ar, .a-orientation-modal,
    .a-enter-vr-button, .a-enter-ar-button,
    .a-loader-title, .a-orientation-modal-close { display: none !important; }

    body, html {
      height: 100%;
      width: 100%;
      overflow: hidden;
      background: #050510;
      color: #fff;
  }

  #pano {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

.glass {
    border: 1.5px solid var(--glass-stroke);
    background: var(--glass-fill);
    backdrop-filter: blur(6px);
    color: rgba(255, 255, 255, 0.92);
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.25), 0 2px 18px rgba(0, 0, 0, 0.3);
}

    .container {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      height: 100%;
	  width: 100%;
	  position: absolute;
	  left: 0px;
	  top: 0px;

      padding-top: clamp(30px, 8vh, 120px);
	  padding-bottom: 100px;
	  z-index: 2;
    }

    /* Logo */
    .logo {
      width: auto;
      height: clamp(150px, 46vh, 640px);
	  margin-bottom: 30px;
	  color: #fff;
	  user-select: none;
	  
	  
    }
	
	.logo img {
		width: 100%;
		height: 100%;
        
	}

    /* Start button */
    .start-btn {
      padding: 15px 40px;
      font-size: 18px;
      border: none;
      cursor: pointer;
      background: #2196F3;
      color: white;
    }

     /* Language row */
    .lang-container {
      display: flex;
      gap: 15px;
      padding: 3px;
	  margin-top: 40px;
	  border-radius: 999px;
    }

    /* Hide radio buttons */
    .lang-container input {
      display: none;
	  
    }

    /* Base style for options */
    .lang-option {
      width: 120px;
      height: 40px;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      color: white;
      transition: 0.2s;
      user-select: none;
	      padding: 6px 12px;
    border-radius: 999px;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    }

    .lang-container input:checked + label {
      padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    }

    .bottom-left {
      font-size: 14px;
      position: fixed;
      bottom: 20px;
      left: 20px;
      display: flex;
      flex-direction: column;
      gap: 2px;
	  z-index: 2;
    }

    .toggle-row {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 8px 12px;
    }

    /* Switch */
    .switch {
      position: relative;
      width: 40px;
      height: 20px;
    }

    .switch input {
      display: none;
    }

    .slider {
      position: absolute;
      cursor: pointer;
      inset: 0;
      background-color: #aaa;
      transition: 0.3s;
    }

    .slider:before {
      content: "";
      position: absolute;
      height: 16px;
      width: 16px;
      left: 2px;
      top: 2px;
      background-color: white;
      transition: 0.3s;
    }

    input:checked + .slider {
      background-color: #F4AF16;
    }

    input:checked + .slider:before {
      transform: translateX(20px);
    }
	.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
  cursor: pointer;
}

.toggle-switch input[type="checkbox"] {
  display: none;
}

.toggle-switch-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  box-shadow: inset 0 0 0 2px #ccc;
  transition: background-color 0.3s ease-in-out;
}

.toggle-switch-handle {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 20px;
  height: 20px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
}

.toggle-switch::before {
  content: "";
  position: absolute;
  top: -25px;
  right: -35px;
  font-size: 12px;
  font-weight: 600;
  color: #aaa;
  text-shadow: 1px 1px #fff;
  transition: color 0.3s ease-in-out;
}

.toggle-switch input[type="checkbox"]:checked + .toggle-switch-handle {
  transform: translateX(45px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2), 0 0 0 3px #fee6a0;
}

.toggle-switch input[type="checkbox"]:checked + .toggle-switch-background {
 /* background-color: #fee6a0;  */
  /* box-shadow: inset 0 0 0 2px #F4AF16; */
}



.toggle-switch input[type="checkbox"]:checked + .toggle-switch:before {
  content: "On";
  color: #fee6a0;
  right: -15px;
}

.toggle-switch input[type="checkbox"]:checked + .toggle-switch-background .toggle-switch-handle {
  transform: translateX(30px);
}

.toggle-switch input:checked 
  + .toggle-switch-background 
  .toggle-switch-handle {
  transform: translateX(30px);
  background-color: #F4AF16;

  /* Glow effect */
  box-shadow:
    0 0 5px #F4AF16,
    0 0 10px #F4AF16,
    0 0 20px #F4AF16;
}

.toggle-switch.ligher input:checked 
  + .toggle-switch-background 
  .toggle-switch-handle {
  transform: translateX(30px);
  background-color: #fee6a0;

  /* Glow effect */
  box-shadow:
    0 0 5px #fee6a0,
    0 0 10px #fee6a0,
    0 0 20px #fee6a0;
}

/* Keep background unchanged (or subtle) */
.toggle-switch-background {
  background-color: transparent;
}

  .light {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0.85;
    mix-blend-mode: screen;
	z-index: 1;
  }

  .light1 {
    background: radial-gradient(circle, #F4AF16, transparent 70%);
    animation: move1 12s infinite alternate ease-in-out;
  }

  .light2 {
    background: radial-gradient(circle, /*#fee6a0*/#F4AF16, transparent 70%);
    animation: move2 14s infinite alternate ease-in-out;
  }




  @keyframes move1 {
    0%   { transform: translate(10vw, 18vh) scale(1); }
    25%  { transform: translate(55vw,  8vh) scale(1.2); }
    50%  { transform: translate(38vw, 65vh) scale(0.9); }
    75%  { transform: translate(72vw, 46vh) scale(1.1); }
    100% { transform: translate(16vw, 74vh) scale(1); }
  }

  @keyframes move2 {
    0%   { transform: translate(72vw, 65vh) scale(1); }
    20%  { transform: translate(26vw, 55vh) scale(1.3); }
    40%  { transform: translate(64vw, 26vh) scale(0.8); }
    60%  { transform: translate(16vw, 16vh) scale(1.1); }
    80%  { transform: translate(46vw, 74vh) scale(0.95); }
    100% { transform: translate(8vw,  36vh) scale(1); }
  }

/*
  @keyframes move1 {
    0%   { transform: translate(10vw, 18vh) scale(1); }
    25%  { transform: translate(55vw,  8vh) scale(1.2); }
    50%  { transform: translate(38vw, 65vh) scale(0.9); }
    75%  { transform: translate(72vw, 46vh) scale(1.1); }
    100% { transform: translate(16vw, 74vh) scale(1); }
  }

  @keyframes move2 {
    0%   { transform: translate(72vw, 65vh) scale(1); }
    20%  { transform: translate(26vw, 55vh) scale(1.3); }
    40%  { transform: translate(64vw, 26vh) scale(0.8); }
    60%  { transform: translate(16vw, 16vh) scale(1.1); }
    80%  { transform: translate(46vw, 74vh) scale(0.95); }
    100% { transform: translate(8vw,  36vh) scale(1); }
  }
*/
  
  
  .watch-btn {
    cursor: pointer;
    transition: all 0.35s ease;
  position: relative;
  border-radius: 999px;
  overflow: visible; 
	width: clamp(70px, 16vh, 130px);
	height:clamp(70px, 16vh, 130px);
	z-index: 1;
  }
  
.watch-btn img {
	width: 100%;
	height: 100%;
}

.watch-btn:hover{
	transform: scale(1.1);
	
}

.watch-btn::before {
  content: "";
  position: absolute;
  inset: -8px; /* extend beyond button */
  border-radius: 999px;

  background: radial-gradient(
    circle,
    rgba(244,175,22,0.9) 0%,
    rgba(244,175,22,0.75) 100%,
    transparent 75%
  );

  filter: blur(18px); /* makes it glow */
  transform: scale(1.08);
  opacity: 0;

  transition: opacity 0.35s ease;
  z-index: -1;
}

.watch-btn:hover::before {
  opacity: 1;
}

.watch-btn.loading {
  opacity: 0.35;
  pointer-events: none;
}


.logo-row {
	position: absolute;
	right: 28px;
	bottom: 28px;
	
    padding: 10px 18px;
    display: inline-flex;
    gap: 22px;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 2px 12px;
}

.logo-row img {
  height: clamp(30px, 5vw, 50px);
  width: auto;
}

/* ── Responsive ── */

@media (max-width: 768px) {

  .lang-option {
    width: auto;
    font-size: 12px;
    padding: 6px 10px;
  }

  .lang-container {
    gap: 4px;
    margin-top: 24px;
  }

  /* Center logo-row on mobile */
  .logo-row {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: 12px;
    gap: 14px;
    padding: 8px 16px;
    white-space: nowrap;
  }

  /* Lift toggles above logo-row */
  .bottom-left {
    bottom: 80px;
    left: 12px;
  }

  .toggle-row {
    padding: 4px 8px;
  }
}

@media (max-width: 480px) {
  .lang-option {
    font-size: 11px;
    padding: 5px 8px;
  }

  .logo-row img {
    height: clamp(24px, 7vw, 40px);
  }

  .logo-row {
    gap: 10px;
    padding: 6px 12px;
  }
}

/* Landscape phones — very limited height */
@media (max-height: 480px) and (orientation: landscape) {
  .container {
    padding-top: 3vh;
    padding-bottom: 60px;
  }

  .logo {
    width: auto;
    height: clamp(100px, 23vh, 185px);
  }

  .lang-container {
    margin-top: 12px;
  }

  .logo-row {
    bottom: 8px;
  }

  /* toggles in a row, sitting just above the logo-row (~46px tall + 8px gap) */
  .bottom-left {
    bottom: 62px;
    flex-direction: row;
    gap: 10px;
  }
}

.st0{
  fill:currentColor;
}

.st1{
  fill:none;
  stroke:currentColor;
  stroke-width:.42px;
  stroke-miterlimit:10;
}

.st2{
  fill:none;
  stroke:currentColor;
  stroke-width:.83px;
  stroke-miterlimit:10;
}

svg{
  color:currentColor;
}

#mainMenu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
}


#vr-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}

.video-ui {
  position: absolute;
  bottom: 1vw;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;

  width: 55vw;

  display: none;
  align-items: center;
  gap: 12px;

  user-select: none;
  pointer-events: auto;
}


/* ── Loading spinner ── */

#loading-spinner {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 5, 16, 0.75);
  z-index: 100;
}

.spinner {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: #F4AF16;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}


/* ── Subtitles overlay ── */

#subs {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: clamp(14px, 2vw, 22px);
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
  z-index: 10;
  pointer-events: none;
  max-width: 70vw;
  line-height: 1.5;
}


/* ── Back button ── */

.back-btn svg {
  stroke: currentColor;
}


/* ── Settings wrapper + panel ── */

.settings-wrapper {
  position: relative;
}

.settings-panel {
  display: none;
  position: absolute;
  bottom: calc(100% + 10px);
  right: 0;
  background: rgba(8, 8, 22, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 10px 14px;
  min-width: 210px;
  z-index: 20;
}

.settings-panel.open {
  display: block;
}

.sp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
  cursor: pointer;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sp-row:last-child {
  border-bottom: none;
}

.quality-btns {
  display: flex;
  gap: 4px;
}

.quality-btn {
  background: transparent;
  border: 1px solid rgba(234, 193, 126, 0.35);
  color: rgba(234, 193, 126, 0.6);
  border-radius: 4px;
  padding: 3px 9px;
  font-size: 11px;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.quality-btn.active {
  background: rgba(234, 193, 126, 0.18);
  color: #EAC17E;
  border-color: #EAC17E;
}

.quality-btn.loading {
  background: linear-gradient(
    90deg,
    rgba(234, 193, 126, 0.35) var(--ambi-progress, 12%),
    rgba(234, 193, 126, 0.06) var(--ambi-progress, 12%)
  ) !important;
  color: #EAC17E;
  border-color: #EAC17E;
  transition: none !important;
  animation: ambi-ack 0.35s ease-out;
}

@keyframes ambi-ack {
  0%   { box-shadow: 0 0 0 0   rgba(234, 193, 126, 0.5); }
  100% { box-shadow: 0 0 0 8px rgba(234, 193, 126, 0);   }
}

body.ambi-loading,
body.ambi-loading * { cursor: progress !important; }

body.ambi-loading .ambi-btns {
  opacity: 0.4;
  pointer-events: none;
}

/* gear dot — persistent loading signal outside the settings popover */
.settings { position: relative; }

.settings::after {
  content: '';
  position: absolute;
  top: 5px;
  right: 5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #EAC17E;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

body.ambi-loading .settings::after {
  opacity: 1;
  animation: ambi-dot-pulse 1.2s ease-in-out infinite;
}

@keyframes ambi-dot-pulse {
  0%, 100% { opacity: 1;   }
  50%       { opacity: 0.2; }
}


/* ── Goggles button ── */

.goggles svg {
  stroke: currentColor;
  fill: none;
}

.btn {
  width: 34px;
  height: 34px;

  border: none;
  background: none;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  color: white;
  opacity: 0.8;
  transition: opacity 0.15s ease;
}

.btn:hover {
  opacity: 1;
}

.btn svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.play-toggle {
  width: 44px;
  height: 44px;
}

.play-toggle .icon-play  { display: none; }
.play-toggle .icon-pause { display: block; }
.play-toggle.play .icon-play  { display: block; }
.play-toggle.play .icon-pause { display: none; }

.progress-bar {
  position: relative;
  flex: 1;
  height: 18px;
  cursor: pointer;
}

.progress-bar::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 2px;
  background: rgba(255,255,255,0.35);
  border-radius: 999px;
}

.progress-fill {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 2px;
  width: 0%;
  background: #F4AF16;
  border-radius: 999px;
}

.seek-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  transform: translateX(-50%);

  background: rgba(8, 8, 22, 0.88);
  border: 1px solid rgba(234, 193, 126, 0.35);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);

  color: #fff;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  white-space: nowrap;

  padding: 3px 9px;
  border-radius: 6px;
  pointer-events: none;

  opacity: 0;
  transition: opacity 0.12s ease;
}

.progress-bar:hover .seek-tooltip {
  opacity: 1;
}

.progress-knob {
  position: absolute;
  left: 0%;
  top: 50%;
  transform: translate(-50%, -50%);

  width: 16px;
  height: 16px;
  border-radius: 50%;

  background: #F4AF16;

  box-shadow:
    0 0 6px rgba(244, 175, 22, 0.9),
    0 0 14px rgba(244, 175, 22, 0.4);

  transition: transform 0.1s ease;
}

.volume-wrapper {
  position: relative;
}

.volume-popover {
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);

  padding: 6px;

  display: none;
}

.volume-wrapper.open .volume-popover {
  display: block;
}

.volume-slider {
  -webkit-appearance: none;
  appearance: none;
  writing-mode: vertical-lr;
  direction: rtl;

  width: 4px;
  height: 80px;

  /* fill grows from bottom (min) upward as volume increases */
  background: linear-gradient(
    to top,
    #F4AF16 var(--vol, 100%),
    rgba(255,255,255,0.25) var(--vol, 100%)
  );
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}

.volume-slider::-webkit-slider-runnable-track {
  width: 4px;
  border-radius: 999px;
  background: transparent;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;

  width: 14px;
  height: 14px;
  margin-left: -5px;

  border-radius: 50%;
  background: #F4AF16;
  box-shadow: 0 0 6px rgba(244,175,22,0.7);
  cursor: grab;
}

.volume-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: none;
  border-radius: 50%;
  background: #F4AF16;
  box-shadow: 0 0 6px rgba(244,175,22,0.7);
  cursor: grab;
}

.time-display {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

.time-current {
  color: #fff;
}

.time-sep {
  color: rgba(255, 255, 255, 0.4);
  margin: 0 2px;
}

.time-total {
  color: rgba(255, 255, 255, 0.7);
}


.fullscreen,
.settings,
.goggles {
  width: 42px;
  height: 42px;
  border: 1.5px solid rgba(234, 193, 126, 0.4);
  border-radius: 50%;
}

.fullscreen svg,
.settings svg {
  stroke: currentColor;
  fill: none;
}