/* Reset & base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.5);
}

.scrollable {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
}

html, body {
  height: 100%;
  margin: 0;
  background: #000;
}

body {
  overflow: hidden;
  font-family: "Exo 2", sans-serif;
  color: #e5e7eb;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -moz-user-select: none;
  user-select: none;
  touch-action: manipulation;
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
}

/* Header */
.header {
  margin: auto;
  display: flex;
  max-width: 1050px;
  align-items: center;
  justify-content: space-between;
}

.header .logo {
  width: 150px;
}

.header .profile {
  width: 50px;
  height: 50px;
  cursor: pointer;
  display: block;
  border-radius: 100%;
  background-color: #1e1e1e;
}

.header .profile:active {
  animation: 0.32s on-active-animation ease-in-out;
}

/* Navs */
.navs {
  height: 60px;
  display: flex;
  margin: 20px 0;
  padding: 20px 0;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dotted rgba(255, 255, 255, 0.15);
  border-bottom: 1px dotted rgba(255, 255, 255, 0.15);
}

.navs ul li {
  color: rgba(255, 255, 255, 0.5);
  margin: 0 20px;
  cursor: pointer;
  display: inline-block;
}

.navs ul li.active,
.navs ul li:active {
  font-weight: bold;
  color: #fff;
  animation: 0.32s on-active-animation ease-in-out;
}

.navs ul li:hover {
  color: #fff;
  transition: 400ms ease-in-out;
}

/* Form controls */
select, button, input[type=range] {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: rgba(255, 255, 255, 0.05);
  color: #e5e7eb;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 12px;
  width: 100%;
  font: inherit;
}

button {
  cursor: pointer;
}

button.primary, button.active {
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.18), rgba(34, 211, 238, 0.1));
  border-color: rgba(34, 211, 238, 0.35);
}

/* App & Panel */
#app {
  margin: 10px;
  display: block;
}

#panel {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 10;
  width: 100%;
  height: 750px;
  padding: 20px;
  overflow: auto;
  max-width: 1100px;
  border-radius: 15px;
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  background-color: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transform: translate(-50%, -50%); /* center */
}

/* Splash panel */
#splash_panel {
  z-index: 99;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  position: fixed;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(120deg, #0f2027, #203a43, #2c7744, #004d40);
  background-size: 300% 300%;
}

#splash_panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 50% 30%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.5333333333) 100%);
  pointer-events: none;
  z-index: 0;
}

#splash_panel.active {
  animation: pan 14s ease-in-out infinite alternate;
}

#splash_panel .content {
  font-size: 20px;
  color: #fff;
  text-align: center;
}

#splash_panel .content button {
  margin: 20px 0;
  font-size: 18px;
  font-weight: bold;
}

@keyframes pan {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes breathe {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}
/* Home panel */
#home_panel .banner {
  height: 300px;
  display: flex;
  padding: 30px;
  margin: 10px auto;
  max-width: 1050px;
  border-radius: 15px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background-color: rgba(255, 255, 255, 0.03);
}

#home_panel .banner h2 {
  margin: 10px 0;
  font-weight: normal;
}

#home_panel .banner button {
  width: 300px;
  margin: 10px 0;
}

#home_panel h3 {
  margin: 15px 0 10px 10px;
}

#home_panel .box-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 12px;
}

#home_panel .box {
  border-radius: 10px;
  display: grid;
  padding: 20px;
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
}

#home_panel .box:active {
  animation: 0.32s on-active-animation ease-in-out;
}

#home_panel .box h4 {
  margin: 0 0 10px 0;
}

#home_panel .box h4 i {
  font-size: 14px;
}

#home_panel .box p {
  margin: 0;
  color: #94a3b8;
}

#home_panel .box i {
  font-size: 30px;
  margin-bottom: 10px;
}

#home_panel .box .marker {
  right: 20px;
  bottom: 10px;
  opacity: 0.25;
  font-size: 18px;
  position: absolute;
}

#home_panel .box:hover .marker {
  opacity: 1;
  color: rgb(152, 152, 152);
  transition: 400ms ease-in-out;
}

/* Player panel layout */
#player_panel {
  width: 100%;
}

#player_panel h2 {
  font-size: 20px;
}

#player_panel #column {
  width: 100%;
  display: flex;
}

#player_panel #player_wrap {
  width: 70%;
}

#player_panel #player_wrap h1 {
  font-size: 20px;
}

/* Player container */
.player-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16/9;
  background: #000;
  margin: 16px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

/* Background layers (non-interactive) */
.player-bg {
  position: absolute;
  inset: 0;
  background: #000 center/cover no-repeat;
  filter: blur(18px) saturate(1.1);
  transform: scale(1.08);
  z-index: 0;
  pointer-events: none;
}

.player-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(125% 90% at 50% 10%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.35) 60%, rgba(0, 0, 0, 0.7) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Media layers */
.player-video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
  -o-object-fit: contain;
     object-fit: contain;
}

.player-audio {
  display: none;
}

/* Album cover (audio) */
.player-cover {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(35vmin, 175px);
  aspect-ratio: 1/1;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  opacity: 0.95;
  display: none;
  pointer-events: none;
  z-index: 1;
}

/* Audio / VR mode toggles */
.player-container.audio .player-video {
  display: none;
}

.player-container.audio .player-cover {
  display: block;
}

.vr-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 1;
}

.player-container.vr .vr-canvas {
  display: block;
}

.player-container.vr .player-video {
  display: none;
}

/* Controls */
.player-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
  padding: 10px 12px 12px;
  display: grid;
  grid-template-columns: auto auto auto 1fr auto auto auto auto;
  grid-gap: 8px;
  align-items: center;
  color: #fff;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 14px;
  z-index: 1;
}

.player-btn {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  line-height: 1;
}

.player-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.player-btn[aria-pressed=true] {
  background: rgba(102, 204, 102, 0.35);
}

.player-btn[aria-disabled=true], .player-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* Time + progress */
.player-time {
  font-variant-numeric: tabular-nums;
  opacity: 0.9;
  min-width: 110px;
  text-align: center;
}

.player-progress {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
  overflow: hidden;
}

.player-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  box-shadow: -1000px 0 0 1000px rgba(255, 255, 255, 0.35);
}

.player-progress::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 0;
  background: #fff;
  border-radius: 50%;
}

.player-progress::-moz-range-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

/* Hint + start */
.player-hint {
  position: absolute;
  top: 10px;
  left: 12px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 12px;
  opacity: 0.85;
  pointer-events: none;
  z-index: 1;
}

.player-start {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 160px;
  height: 44px;
  border-radius: 10px;
  border: none;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
  z-index: 2;
  align-items: center;
  justify-content: center;
}

/* Fullscreen */
:fullscreen .player-controls {
  padding-bottom: 16px;
}

:-webkit-full-screen .player-controls {
  padding-bottom: 16px;
}

/* VR icon & UI fade */
#vr_icon {
  top: 10px;
  right: 10px;
  z-index: 9;
  width: 33px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
}

#player.ui-hidden .player-controls,
#player.ui-hidden .player-hint,
#player.ui-hidden [data-action=cardboard] {
  opacity: 0;
  pointer-events: none;
}

.player-controls, .player-hint, [data-action=cardboard] {
  transition: opacity 200ms ease;
  opacity: 1;
}

/* More wrap */
#player_panel #more_wrap {
  width: 30%;
  margin: 15px 20px;
}

#player_panel #more_wrap h3 {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 20px;
}

#player_panel #more_wrap #sGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

#player_panel #more_wrap #sGrid .thumb {
  display: flex;
  height: 100px;
  cursor: pointer;
  border-radius: 8px;
  align-items: center;
  justify-content: flex-start;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  position: relative;
}

#player_panel #more_wrap #sGrid .thumb .title {
  font-size: 16px;
}

#player_panel #more_wrap #sGrid .thumb .desc {
  font-size: 14px;
  color: #94a3b8;
}

#player_panel #more_wrap #sGrid .thumb .badge {
  font-size: 12px;
  margin-top: 5px;
}

#player_panel #more_wrap #sGrid .thumb .cover {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  margin: 0 10px 0 8px;
  background-size: cover;
  position: relative;
}

#player_panel #more_wrap #sGrid .thumb .dur {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  padding: 0.15rem 0.4rem;
  font-size: 12px;
  line-height: 1;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  border-radius: 0.35rem;
  pointer-events: none;
}

#player_panel #more_wrap #sGrid .thumb.selected {
  outline: 2px solid rgb(55, 55, 55);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
}

/* Pager */
#player_panel #more_wrap .pager {
  display: flex;
  margin: 10px auto;
  align-items: center;
  justify-content: space-between;
}

#player_panel #more_wrap .pager button {
  width: 80px;
  padding: 10px;
  color: #fff;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

#player_panel #more_wrap .pager button:active {
  animation: 0.32s on-active-animation ease-in-out;
}

#player_panel #more_wrap .pager button:disabled {
  opacity: 0.25;
}

/* UI hide helper (non-nested version of your final block) */
.player-controls, .player-hint, #vr_icon {
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-ui-hidden .player-controls,
.player-ui-hidden .player-hint,
.player-ui-hidden #vr_icon {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.player-container.vr .player-start {
  display: none;
}

.player-container.vr .player-controls {
  z-index: 2;
}

.nav_desktop,
.nav_mobile {
  top: 75px;
  right: 25px;
  width: 240px;
  z-index: 12;
  position: absolute;
  background-color: #1e1e1e;
  border-radius: 10px 0px 10px 10px;
}
.nav_desktop li,
.nav_mobile li {
  padding: 20px;
  cursor: pointer;
  list-style: none;
}
.nav_desktop li i,
.nav_mobile li i {
  margin-right: 10px;
}
.nav_desktop li:hover,
.nav_mobile li:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.nav_mobile {
  top: 50px;
  right: 10px;
}

.bars {
  display: none;
}

.hidden {
  display: none;
}

.player-container {
  position: relative;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none; /* clicks go to the video */
  opacity: 0;
  transition: opacity 0.25s ease;
}

.player-overlay.show {
  opacity: 1;
}

.player-overlay .overlay-icon {
  font-size: 80px;
  color: #fff;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
  animation: pop 0.25s ease;
}

@keyframes pop {
  0% {
    transform: scale(0.85);
    opacity: 0;
  }
  60% {
    transform: scale(1.15);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
/* page-level helpers */
html, body {
  height: 100%;
}

body.vr-no-scroll {
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: none;
}

/* the container already has position:absolute; inset:0; but on iOS we need a real fixed fullscreen */
.vr-immersive {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important; /* desktop / non-iOS */
  background: #000;
  z-index: 9999;
}

/* use visual viewport height on iOS to avoid the URL bar cutting the canvas */
@supports (-webkit-touch-callout: none) {
  .vr-immersive {
    height: calc(var(--vvh, 100vh)) !important;
  }
}
/* make sure the canvas fills its box */
.vr-container .vr-canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* Real fullscreen styling for the container */
.vr-container:fullscreen,
.vr-container:-webkit-full-screen {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: #000;
  z-index: 9999;
}

/* Keep canvas filling the box in real FS too */
.vr-container:fullscreen .vr-canvas,
.vr-container:-webkit-full-screen .vr-canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* Notch / dynamic island padding if you float UI near edges */
@supports (padding: env(safe-area-inset-top)) {
  .vr-container:fullscreen,
  .vr-container:-webkit-full-screen {
    padding-top: env(safe-area-inset-top);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
  }
}
/* Optional: small responsiveness tweaks */
@media only screen and (max-width: 1024px) {
  #panel {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    padding: 10px;
    margin: 10px;
    height: 98dvh;
    transform: translate(0, 0);
  }
  .player-hint {
    display: none !important;
  }
  #player_panel #column {
    flex-direction: column;
  }
  #player_panel #player_wrap {
    width: 100%;
  }
  #player_panel #more_wrap {
    width: 100%;
    margin: 10px 0;
  }
  #home_panel .box-wrap {
    grid-template-columns: 1fr;
  }
  #home_panel .box-wrap .box .marker {
    right: 8px;
    bottom: 0px;
  }
}
@media (max-width: 768px) {
  .profile {
    display: none !important;
  }
  .bars {
    display: block;
    font-size: 30px;
    cursor: pointer;
    color: rgba(0, 221, 255, 0.35);
  }
  .navs {
    display: none;
  }
}
@media only screen and (max-width: 640px) {
  .player-time {
    display: none;
  }
  .player-progress {
    display: none;
  }
}/*# sourceMappingURL=styles.css.map */