/* ================================
   🎨 Variables Globales
   ================================ */
:root {
  --glass-bg: rgba(255, 255, 255, 0.25);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: rgba(0, 0, 0, 0.2);
  --glass-blur: 12px;

  --color-text: #111;
  --color-text-light: #fff;
   --color-text-dark: #090808;

  --font-primary: 'Segoe UI', sans-serif;

  --radius-lg: 1.5rem;
  --radius-md: 1rem;
  --radius-sm: 0.5rem;
}

/* ================================
   🌐 Base
   ================================ */
body {
  margin: 0;
  font-family: var(--font-primary);
  color: var(--color-text);
  background: url("../images/4.jpg") no-repeat center center fixed;
  background-size: cover;
  font-weight: 300;
}

/* ================================
   🪟 Glass Effect Base
   ================================ */
/* LIQUID GLASS STYLES */


.container {
  width: 100vw;
  height: 100vh;
  margin: 0;
  background: var(--glass-bg);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px 0 var(--glass-shadow);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.header {
  width: 100%;
  max-width: 600px;
  padding: 2rem 1rem 1rem 1rem;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

.header-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text-light);
  letter-spacing: 1px;
  margin: 0;
  text-align: center;
}

.wrapper {
  flex: 1;
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin: 0 auto;
}

/* Primera fila: icono y número de visualizaciones */
.views-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}


.likes-row{
width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;

}


.share-row{
 width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;

}

.views-icon {
  font-size: 2rem;
  color: var(--color-text-light);
  opacity: 0.8;
}

.views-count {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text-light);
}



/* Fila de botón y contador */
.button-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.button-counter {
  font-size: 1.2rem;
  color: var(--color-text-light);
  font-weight: 500;
  background: var(--glass-bg);
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  box-shadow: 0 2px 8px 0 var(--glass-shadow);
}

.footer {
  width: 100%;
  max-width: 600px;
  padding: 1rem 1rem 2rem 1rem;
  border-top: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 0 auto;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text-light);
  margin: 0;
  text-align: center;
}

.footer-desc {
  font-size: 1rem;
  color: var(--color-text-light);
  opacity: 0.8;
  text-align: center;
  margin: 0;
}

.footer-qr {
  width: 120px;
  height: 120px;
  background: var(--glass-bg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px 0 var(--glass-shadow);
  margin-top: 0.5rem;
}

@media (max-width: 700px) {
  .container,
  .header,
  .wrapper,
  .footer {
    max-width: 98vw;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .header-title {
    font-size: 2rem;
  }
  .wrapper {
    gap: 1rem;
    flex-direction: column;
  }
  .footer-title {
    font-size: 1.2rem;
  }
  .footer-qr {
    width: 80px;
    height: 80px;
  }
}














.lg-btn{
  width: 50vmin;
  height: 10vmin;
  border-radius: 10.2vmin 9.8vmin 10.2vmin 9.8vmin;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  box-shadow: inset 2px 2px 1px 0 rgba(255, 255, 255, 0.3),
    inset -2px -2px 2px 1px rgba(255, 255, 255, 0.3), 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.2);;
  color: rgba(255, 255, 255, 0.8);
  font-size: 5vmin;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.5);
  cursor: pointer;
}

.gl{
  
  backdrop-filter: url(#filter);
  -webkit-backdrop-filter: blur(3px);
}


.lg-btn:hover{
  transform: scale(1.05);
  border-radius: 9.8vmin 10.2vmin 9.8vmin 10.2vmin;
}

.lg-btn:select{
  transform: scale(0.95);
}



    @keyframes drift {
      0% {
        background-position: 50% 50%;
      }
      25% {
        background-position: 60% 40%;
      }
      50% {
        background-position: 40% 60%;
      }
      75% {
        background-position: 55% 45%;
      }
      100% {
        background-position: 50% 50%;
      }
    }


/* reset */
button{
  display: inline-block;
  border: none;
  margin: 0;
  text-decoration: none;
  padding: 0;
  background: none;
  border-radius: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  overflow: hidden;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

button:focus {
  outline: none;
}




/* Annotations */


.hotspot {
  background: rgb(243, 242, 242);
  border: none;
  border-radius: 60%;
  width: 13px;
  height: 12px;

}









.annotation_background {

    position: fixed;
    width: max-content;
    height: 90%;
    top:0px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding : 5px;
    
}