html, body{
  position: relative;
  font-family: "Open Sans", sans-serif;
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  color: #272829;
  overflow-x: hidden;
  background-color: #000;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 0;
  width: 100%;
}

:root{
  --bg-blur: 12px;
  --bg-bright: 0.92;
  --bg-sat: 1.05;
  --cover-float: 18px;
}

.bgfx{
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #000;
  opacity: 0;
  /*transition: opacity 260ms ease;*/
  transition: opacity 900ms ease;
  z-index: -3;
  transform: translateZ(0) scale(1.06);
  backface-visibility: hidden;
  will-change: opacity, transform, background-image, filter;
}

.bgfx.on{ opacity: 1; }

.bgfx.mode1{
  -webkit-filter: none !important;
  filter: none !important;
}

.bgfx.mode2{
  -webkit-filter: blur(var(--bg-blur)) brightness(var(--bg-bright)) saturate(var(--bg-sat)) !important;
  filter: blur(var(--bg-blur)) brightness(var(--bg-bright)) saturate(var(--bg-sat)) !important;
}

@media (max-width: 768px){
  .bgfx.mode2{
    -webkit-filter: blur(6px) brightness(0.96) saturate(1.03) !important;
    filter: blur(6px) brightness(0.96) saturate(1.03) !important;
  }
}

#bgOverlay{
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.bgfx.mode1 ~ #bgOverlay{
  background:
    radial-gradient(ellipse at center,
      rgba(0,0,0,0.01) 0%,
      rgba(0,0,0,0.03) 60%,
      rgba(0,0,0,0.05) 100%);
}

.bgfx.mode2 ~ #bgOverlay{
  background:
    radial-gradient(ellipse at center,
      rgba(0,0,0,0.10) 0%,
      rgba(0,0,0,0.30) 60%,
      rgba(0,0,0,0.55) 100%);
}

@keyframes bgFloat{
  0%   { transform: scale(1.12) translate3d(-2.6%, -1.8%, 0); }
  50%  { transform: scale(1.20) translate3d( 2.6%,  1.8%, 0); }
  100% { transform: scale(1.12) translate3d(-2.6%, -1.8%, 0); }
}

body.bg-anim .bgfx{
  animation: bgFloat 14s ease-in-out infinite;
}

body.bg-anim .bgfx.mode2{
  animation-duration: 18s;
}

@media (prefers-reduced-motion: reduce){
  body.bg-anim .bgfx{ animation: none !important; }
}

#player{
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  margin: 80px auto 0 !important;
  width: 40%;
  height: 50%;
  padding: 20px 0;
  background: transparent !important;
}

@media only screen and (max-width: 768px){
  #player{
    width: 80%;
    height: 45%;
  }
}

.btn-red{
  background: transparent;
  border-radius: 10px;
  color: #fff;
  font-size: 16px;
  font-family: sans-serif;
  padding: 10px 15px;
  width: 200px;
  text-align: left;
  display: inline-block;
  white-space: nowrap;
  margin-bottom: 10px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-red i{ margin-right: 8px; }
.btn-red:hover{ background: rgba(255, 255, 255, 0.2); }

@media (max-width: 768px){
  #menuContainer.offcanvas-start{
    width: 80% !important;
    background-color: rgba(0,0,0,0.7) !important;
  }
}

@media (min-width: 768px){
  #menuContainer.offcanvas-start{
    position: fixed !important;
    top: 0;
    left: 0;
    width: 250px !important;
    min-height: 100vh !important;
    transform: none !important;
    visibility: visible !important;
    background-color: transparent !important;
    border: none;
  }
  #menuContainer .btn-close{ display: none !important; }
}

.offcanvas-body{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  height: 100%;
  padding: 1rem;
  margin-top: 20px;
}

#tvSection{ display: block; }
@media (max-width: 767.98px){
  #tvSection{ display: none; }
}

#copyMenu{
  font-size: 14px;
  color: #fff;
  text-align: center;
}

.offcanvas-body img{
  max-width: 150px;
  margin-bottom: 1rem;
}

#menuBtn{
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}

@media (min-width: 768px){
  #menuBtn{ display: none; }
}

#footerBar{
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
}

#socialIcons{
  display: flex;
  gap: 15px;
  padding: 10px 0;
}

.social-icon{
  width: 60px;
  height: 60px;
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 30px;
  text-decoration: none;
  transition: background 0.2s ease;
  margin-bottom: 10px;
}

.social-icon:hover{ background: rgba(255,255,255,0.2); }

#footerCopy{
  background: rgba(0,0,0,0.8);
  color: #fff;
  text-align: center;
  font-size: 13px;
  width: 100%;
  padding: 8px 0;
}

@media (min-width: 768px){
  #footerBar{
    bottom: 15px;
    right: 15px;
    width: auto;
    left: auto;
    flex-direction: row;
    background: none;
  }
  #footerCopy{ display: none !important; }
}

@media (max-width: 767.98px){
  .social-icon{
    width: 30px;
    height: 30px;
    font-size: 15px;
    line-height: 26px;
  }
}

@font-face{
  font-family: 'DS-DIGIB';
  src: url('../font/DS-DIGIB.TTF') format('truetype');
  font-weight: normal;
  font-style: normal;
}

#clockContainer{
  font-family: 'DS-DIGIB', sans-serif;
  font-size: 28px;
  color: #fff;
  background: transparent;
  border: 1px solid #fff;
  border-radius: 10px;
  padding: 0px 15px;
  width: 190px;
  text-align: center;
}

@media (min-width: 768px){
  #clockContainer{
    position: fixed;
    top: 30px;
    right: 20px;
    margin: 0;
  }
}

@media (max-width: 767.98px){
  #clockContainer{
    position: absolute;
    font-size: 24px;
    left: 50%;
    transform: translateX(-50%);
    top: 80px;
    margin-bottom: 50px;
    z-index: 2;
    text-align: center;
  }
}

.btn-instalar{
  background: transparent;
  border: 1px solid #fff;
  border-radius: 10px;
  color: #fff;
  font-size: 16px;
  font-family: sans-serif;
  padding: 10px 15px;
  width: 135px;
  display: block;
  text-align: center;
  white-space: nowrap;
  margin: 10px auto;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-instalar:hover{ background: rgba(255, 255, 255, 0.2); }

#install-button-container-footer{ display: block; }
@media (min-width: 768px){
  #install-button-container-footer{ display: none; }
}

@keyframes lunaCoverFloat{
  0%   { transform: translate3d(0, 0, 0) rotate(-0.6deg); }
  50%  { transform: translate3d(0, calc(var(--cover-float) * -1), 0) rotate(0.6deg); }
  100% { transform: translate3d(0, 0, 0) rotate(-0.6deg); }
}

@keyframes lunaCoverGlow{
  0%   { filter: drop-shadow(0 10px 20px rgba(0,0,0,.35)); }
  50%  { filter: drop-shadow(0 16px 30px rgba(0,0,0,.55)); }
  100% { filter: drop-shadow(0 10px 20px rgba(0,0,0,.35)); }
}

body.bg-anim #playercoverwrapper{
  animation: lunaCoverFloat 4.8s ease-in-out infinite, lunaCoverGlow 4.8s ease-in-out infinite;
  will-change: transform, filter;
  transform-origin: 50% 50%;
}

body.bg-anim #playercoverwrapper1,
body.bg-anim #playercoverwrapper2{
  will-change: opacity;
}

body.bg-anim #playersmallcoverwrapper{
  animation: lunaCoverFloat 4.8s ease-in-out infinite, lunaCoverGlow 4.8s ease-in-out infinite;
  will-change: transform, filter;
  transform-origin: 50% 50%;
}

@media (prefers-reduced-motion: reduce){
  body.bg-anim #playercoverwrapper,
  body.bg-anim #playersmallcoverwrapper{
    animation: none !important;
  }
}

#playercoverwrapper{ transform: scale(1.16); }
@media (max-width: 768px){
  #playercoverwrapper{ transform: scale(1.22); }
}

@media (max-width: 768px){
  #playercoverwrapper,
  #playercoverwrapper *{
    overflow: visible !important;
  }
}

.playertexttitle,
.playersmalltexttitle{
  overflow: hidden !important;
  box-sizing: border-box !important;
}

@media (max-width: 768px){
  .playertexttitle,
  .playersmalltexttitle{
    left: 0 !important;
    width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

#playertexttitle, #playersmalltexttitle{
  overflow: hidden !important;
  box-sizing: border-box !important;
}

@media (max-width: 768px){
  #playertexttitle, #playersmalltexttitle{
    left: 0 !important;
    width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

@media (max-width: 768px){
  #player{
    overflow: visible !important;
  }

  #playerbg,
  #playerwrapper,
  #playerwrap,
  #playercontainer,
  .playerbg,
  .playerwrapper,
  .playerwrap,
  .playercontainer{
    overflow: visible !important;
  }

  #playercoverwrapper,
  #playercoverwrapper *{
    overflow: visible !important;
  }

  .playertexttitle,
  .playersmalltexttitle,
  #playertexttitle,
  #playersmalltexttitle{
    overflow: hidden !important;
  }
}

@media (max-width: 768px){
  :root{
    --cover-float: 20px;
  }

  #player{
    padding-top: 34px !important;
    height: 52% !important;
    min-height: 420px;
  }

  #playercoverwrapper{
    margin-top: 6px;
  }
}
