/* Electro frame YouTube section */
.yt-card-container {
  position: absolute;
  left: 60%;
  bottom: 240px;
  transform: translateX(-50%);
  z-index: 13;
  width: 330px;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.yt-inner-container {
  position: relative;
  width: 100%;
  height: 100%;
}
.yt-border-outer {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  border: 2.5px solid #b6eaff;
  box-shadow: 0 0 18px 2px #b6eaff88, 0 0 32px 0px #00f0ff33;
  background: rgba(0, 20, 40, 0.18);
  filter: url(#card-turbulence);
  position: absolute;
  top: 0;
  left: 0;
}
.yt-main-card {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(0,40,80,0.22) 0%, rgba(0,0,0,0.18) 100%);
  box-shadow: 0 0 18px 2px #b6eaff44;
}
.yt-glow-layer-1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  box-shadow: 0 0 32px 8px #00f0ff22, 0 0 18px 2px #b6eaff44;
  pointer-events: none;
}
.yt-overlay-1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  background: linear-gradient(90deg, rgba(0,255,255,0.08) 0%, rgba(0,0,0,0.08) 100%);
  pointer-events: none;
}
.yt-background-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180px;
  height: 80px;
  border-radius: 50px;
  background: radial-gradient(circle, #00f0ff33 0%, transparent 80%);
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
}
/* Projector animation and positioning */
.yt-anim-container {
  position: absolute;
  left: 45%;
  bottom: 55px;
  transform: translateX(-50%);
  z-index: 12;
  opacity: 0;
  transition: opacity 0.7s;
  pointer-events: none;
}
.yt-img {
  width: 180px;
  max-width: 80vw;
  filter: drop-shadow(0 0 18px rgba(0,0,0,0.18));
  transform: scale(0.7);
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
  display: block;
}
body, html {
  margin: 0;
  padding: 0;
  min-height: 100svh;
  overflow-y: auto;
}
.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  min-height: 100svh;
  overflow-y: auto;
  z-index: 0;
  background: #000 url('assets/3page_back.png') no-repeat 0% center;
  background-size: 300% 100%;
  transition: background-position 0.6s cubic-bezier(.14,-0.08,.74,1.4);
  background-position: 50% center;
}
.background-left {
  background-position: 0% center !important;
}
.background-center {
  background-position: 50% center !important;
}
.background-right {
  background-position: 100% center !important;
}
.main-content {
  position: relative;
  z-index: 1;
  background: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  overflow-y: auto;
  width: 100vw;
}
.phone-footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: none !important;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  border-radius: 0 !important;
  box-shadow: none;
  min-width: 280px;
  max-width: 100vw;
}
.phone {
  width: 100vw;
  max-width: 400px;
  min-width: 280px;
  height: 260px;
  margin: auto;
  display: flex;
  align-items: flex-end;
  position: relative;
  justify-content: center;
}
@media (max-width: 400px) {
  .phone {
    max-width: 100vw;
    min-width: 0;
    height: 200px;
  }
  .phone-footer {
    min-width: 0;
    padding-bottom: 0;
  }
  label > img {
    width: 20px;
  }
  .circle {
    width: 40px;
    height: 40px;
    top: 120px;
  }
  .indicator {
    width: 50px;
    height: 50px;
    top: -30px;
  }
}

@media (max-width: 340px) {
  .phone {
    height: 160px;
  }
  label > img {
    width: 16px;
  }
  .circle {
    width: 30px;
    height: 30px;
    top: 90px;
  }
  .indicator {
    width: 35px;
    height: 35px;
    top: -20px;
  }
}
.phone-footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: transparent;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  border-radius: 0 !important;
  box-shadow: none;
}
.phone {
  width: 100vw;
  max-width: 400px;
  min-width: 280px;
  height: 260px;
  margin: auto;
  display: flex;
  align-items: flex-end;
  position: relative;
  justify-content: center;
}
.phone::before{
  content: '';
  position: absolute;
  width: 84%;
  height: 0px;
  bottom: -10px;
  box-shadow: 0 0 25px 9px rgba(255,255,255,0.18), 50px 10px 25px 8px rgba(18, 255, 0, 0.18), -40px 8px 25px 9px rgba(0, 255, 255, 0.18);
  left: 0;
  right: 0;
  margin: auto;
}
.phone_content{
  filter: contrast(20);
  width: 100%;
  background-color: transparent !important;
  overflow: hidden;
  position: absolute;
}
.phone_bottom{
  width: 100%;
  height: 66px;
  background: black;
  display: flex;
  justify-content: center;
  filter: blur(10px);
}
input{
  display: none;
}
label{
  cursor: pointer;
  display: flex;
  width: 33%;
  height: 66px;
  position: relative;
  z-index: 2;
  align-items: center;
  justify-content: center;
}
label > img{
  width: 25px;
  top: 0;
  bottom: 0;
  margin: auto;
  position: absolute;
  z-index: 3;
  transition: 200ms 100ms cubic-bezier(.14,-0.08,.74,1.4);
}
.circle{
  width: 60px;
  height: 60px;
  background: black;
  position: absolute;
  top: 152px;
  z-index: 1;
  border-radius: 50%;
  left: 0;
  right: 0;
  margin: auto;
  transition: 200ms cubic-bezier(.14,-0.08,.74,1.4);
          box-shadow:
              0 0 40px 18px rgba(255,255,255,0.33),
              0 0 160px 60px rgba(0,255,255,0.18);
}
.indicator{
  width: 70px;
  height: 70px;
          background-image:
              radial-gradient(circle, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.05) 80%),
              linear-gradient(0deg, rgb(247, 176, 176), rgba(183, 255, 154, 0)),
              linear-gradient(0deg, rgba(158, 255, 151, 0.75), rgba(183, 255, 154, 0)),
              linear-gradient(0deg, rgb(180, 255, 251), rgba(183, 255, 154, 0));
  background-size: cover;
  background-position: 0 10px;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: -42px;
  right: 0;
  margin: auto;
  transition: 200ms cubic-bezier(.14,-0.08,.74,1.4);
}
#s1:checked ~ label[for="s1"] > img{
  top: -85px;
}
#s1:checked ~ .circle,
#s1:checked ~ .phone_content .phone_bottom .indicator{
  left: -66%;
}
#s2:checked ~ label[for="s2"] > img{
  top: -85px;
}
#s2:checked ~ .circle,
#s2:checked ~ .phone_content .phone_bottom .indicator{
  left: 0;
}
#s3:checked ~ label[for="s3"] > img{
  top: -85px;
}
#s3:checked ~ .circle,
#s3:checked ~ .phone_content .phone_bottom .indicator{
  left: 66%;
}
/* Kim Martini header bovenaan */
.kim-header {
  width: 100vw;
  min-height: 120px;
  background: transparent;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  box-shadow: 0 2px 24px 0 #000a;
}
.kim-svg {
  width: 100vw;
  height: 120px;
  display: block;
  pointer-events: none;
}
@font-face {
  font-family: 'Seven Moon';
  src: url('assets/font/Seven Moon.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
.kim-header text {
  font-family: 'Seven Moon', sans-serif;
  font-weight: normal;
  letter-spacing: 2px;
  stroke: #43e7e7;
  stroke-width: 1.2;
  filter: drop-shadow(0 2px 8px #000);
}
body {
  padding-top: 120px !important;
}
/* Hide sections by default */
.sc-player-hidden {
  opacity: 0;
  transition: opacity 0.6s;
}
.sc-player-show {
  opacity: 1;
  transition: opacity 0.6s;
}
#mix-cover {
  opacity: 0;
  transition: opacity 0.6s;
}
#sc-player {
  opacity: 0;
  transition: opacity 0.6s;
}
#sc-song-menu {
  opacity: 0;
  transition: opacity 0.6s;
}
.custom-dropdown {
  opacity: 0;
  transition: opacity 0.6s;
}
.custom-dropdown.show,
.custom-dropdown.active {
  opacity: 1;
}
.yt-anim-container {
  display: none;
}
.yt-anim-container.active {
  display: block;
}
.web-anim-container {
  display: none;
  flex-direction: column;
  align-items: center;
}
.web-anim-container.active {
  display: flex;
}
.web-img {
  display: block;
  margin-top: 60px;
  margin-bottom: 24px;
  max-width: 180px;
}
.web-card {
  margin-bottom: 0;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.web-btn {
  margin-top: 80px;
  margin-left: 8px;
}
.yt-feed-iframe {
  position: absolute;
  left: 60%;
  bottom: 240px;
  transform: translateX(-50%);
  z-index: 15;
  box-shadow: 0 4px 32px #0008;
  border-radius: 22px;
  width: 320px;
  height: 180px;
}
.svg-container {
  position: absolute;
}
#sc-volume {
  width: 120px;
  margin: 10px 0;
  display: block;
  position: absolute;
  left: 50%;
  top: 230px;
  transform: translateX(-50%);
  z-index: 2;
  background: linear-gradient(90deg, #a259c3, #f857a6 20%, #43e7e7 40%, #ffffff 60%, #7ec8e3 80%, #a259c3 100%);
  border-radius: 8px;
  height: 6px;
  outline: none;
}
#sc-volume::-webkit-slider-thumb {
  background: #43e7e7;
  border: 2px solid #a259c3;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: 0 0 8px #43e7e7, 0 0 2px #fff;
  cursor: pointer;
  transition: background 0.3s;
}
#sc-volume::-moz-range-thumb {
  background: #43e7e7;
  border: 2px solid #a259c3;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: 0 0 8px #43e7e7, 0 0 2px #fff;
  cursor: pointer;
  transition: background 0.3s;
}
#sc-volume::-ms-thumb {
  background: #43e7e7;
  border: 2px solid #a259c3;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: 0 0 8px #43e7e7, 0 0 2px #fff;
  cursor: pointer;
  transition: background 0.3s;
}
#sc-volume:focus {
  outline: none;
  box-shadow: 0 0 0 2px #43e7e744;
}
#sc-player-wrapper {
  position: relative;
}
.custom-dropdown {
  position: relative;
  z-index: 3;
}
.card-container {
  height: 140px;
}
/* Overlay for YouTube section */
.youtube-overlay {
  position: fixed;
  bottom: 230px; /* Increased height by an additional 20px */
  left: 20px; /* Shifted slightly to the right */
  width: 100%;
  height: auto;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 20; /* Higher than the YouTube container */
  padding: 20px 0;
}

.sand-timer {
  width: 100px;
  height: 100px;
  animation: spin 2s linear infinite;
}

.coming-soon {
  font-family: 'Seven Moon', sans-serif;
  font-size: 24px;
  color: #43e7e7;
  text-shadow: 0 2px 8px #000;
  margin-top: 10px;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
