/* ==========================================================================
   NANOTECH BOLIVIA - STYLES WITH #272727 SECTION BACKGROUNDS
   ========================================================================== */

@layer base {
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #272727;
    color: #e5e1e8;
    font-size: 1.15rem; /* Aumento general de fuentes +20% */
    line-height: 1.6;
  }
  .pb-safe {
    padding-bottom: env(safe-area-inset-bottom);
  }
  .pt-safe {
    padding-top: env(safe-area-inset-top);
  }

  p {
    font-size: 1.15rem !important; /* +20% de tamaño de fuente para párrafos */
    line-height: 1.65 !important;
  }

  .text-xs { font-size: 0.9rem !important; }
  .text-sm { font-size: 1.05rem !important; }
  .text-base { font-size: 1.2rem !important; }
  .text-lg { font-size: 1.35rem !important; }
  .text-xl { font-size: 1.5rem !important; }
  .text-2xl { font-size: 1.8rem !important; }
  .text-3xl { font-size: 2.2rem !important; }
  .text-4xl { font-size: 2.8rem !important; }
  .text-5xl { font-size: 3.4rem !important; }
}

/* Hero H1 Headline gigante y prominente */
.hero-h1-large {
  font-size: 2.4rem !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
}

@media (min-width: 768px) {
  .hero-h1-large {
    font-size: 3.5rem !important;
    line-height: 1.12 !important;
  }
}

@media (min-width: 1024px) {
  .hero-h1-large {
    font-size: 4.2rem !important;
    line-height: 1.1 !important;
  }
}

/* Titulares H2 de Secciones: EXACTAMENTE 32px en Celular y 48px en PC */
.section-h2-title {
  font-size: 32px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  color: #e5e1e8 !important;
}

@media (min-width: 768px) {
  .section-h2-title {
    font-size: 40px !important;
    line-height: 1.18 !important;
  }
}

@media (min-width: 1024px) {
  .section-h2-title {
    font-size: 48px !important;
    line-height: 1.15 !important;
  }
}

/* Limitar el ancho del contenido de texto en pantallas grandes (PC/Desktop) al 60% */
@media (min-width: 1024px) {
  .max-w-container-max {
    max-width: 60vw !important;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Hide scrollbar for Chrome, Safari and Opera */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.hide-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Glassmorphism helpers */
.glass-panel {
  background: rgba(39, 39, 39, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(78, 69, 56, 0.3);
}

.gold-glow {
  box-shadow: 0 0 30px rgba(237, 191, 115, 0.2);
}

.gold-glow-hover:hover {
  box-shadow: 0 0 25px rgba(237, 191, 115, 0.35);
}

/* ========================================
   CÍRCULO SUPERIOR FLOTANTE CON FLECHA
   ======================================== */
.media-prompt__scroll-cue {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.5rem auto;
}

.media-prompt__scroll-icon {
    width: 48px;
    height: 48px;
    stroke: #edbf73;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: scroll-cue-bounce 2s ease-in-out infinite;
}

.media-prompt__scroll-icon circle {
    stroke: rgba(237, 191, 115, 0.4);
    fill: rgba(39, 39, 39, 0.6);
}

@keyframes scroll-cue-bounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.8;
    }
    50% {
        transform: translateY(8px);
        opacity: 1;
    }
}

/* ========================================
   VIDEO CARD & PLAY BUTTON ANIMATIONS
   ======================================== */
.video-section {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.video-card {
    position: relative;
    width: 100%;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    background: #1f1f1f;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(237, 191, 115, 0.3);
}

.video-card__trigger {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    display: block;
    border: 0;
    background: transparent;
    cursor: pointer;
    overflow: hidden;
    appearance: none;
    -webkit-appearance: none;
}

.video-card__picture {
    width: 100%;
    display: block;
}

.video-card__thumbnail {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.video-card__trigger:hover .video-card__thumbnail {
    transform: scale(1.02);
    filter: brightness(1.05);
}

.video-card__player {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #000;
}

.video-card__player iframe,
.video-card__iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    display: block;
}

.video-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.video-card__play::before {
    content: "";
    position: absolute;
    width: 116px;
    height: 116px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(237, 191, 115, 0.25) 0%, rgba(237, 191, 115, 0.08) 46%, rgba(237, 191, 115, 0) 72%);
    animation: play-halo-pulse 1.8s ease-in-out infinite;
}

.video-card__play::after {
    content: "";
    position: absolute;
    width: 132px;
    height: 132px;
    border-radius: 999px;
    border: 1.5px solid rgba(237, 191, 115, 0.4);
    box-shadow: 0 0 24px rgba(237, 191, 115, 0.2);
    animation: play-ring-expand 1.8s ease-out infinite;
}

.video-card__play-icon {
    position: relative;
    z-index: 2;
    width: 84px;
    height: 84px;
    transition: transform 0.25s ease, filter 0.25s ease;
    filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.4));
    animation: play-button-breathe 1.8s ease-in-out infinite;
}

.video-card__play-icon circle {
    fill: rgba(20, 19, 24, 0.92);
    stroke: #edbf73;
    stroke-width: 3.2;
}

.video-card__play-icon polygon {
    fill: #edbf73;
}

.video-card__trigger:hover .video-card__play-icon {
    transform: scale(1.08);
    filter: drop-shadow(0 16px 32px rgba(237, 191, 115, 0.4));
}

.video-card.is-playing .video-card__trigger {
    display: none;
}

.video-card__player:fullscreen,
.video-card__player:-webkit-full-screen {
    width: 100vw;
    height: 100vh;
    background: #000;
}

.video-card__player:fullscreen iframe,
.video-card__player:-webkit-full-screen iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
}

@keyframes play-halo-pulse {
    0%, 100% {
        transform: scale(0.92);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.08);
        opacity: 0.85;
    }
}

@keyframes play-ring-expand {
    0% {
        transform: scale(0.85);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.25);
        opacity: 0;
    }
}

@keyframes play-button-breathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.04);
    }
}

/* ========================================
   BOTÓN FLOTANTE INFERIOR CON HALO PULSANTE SUTIL
   ======================================== */
.sticky-wa-btn {
    position: relative;
    z-index: 10;
}

.sticky-wa-btn::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 999px;
    background: rgba(237, 191, 115, 0.35);
    z-index: -1;
    animation: sticky-halo-pulse 2.2s ease-in-out infinite;
}

@keyframes sticky-halo-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.35;
    }
    50% {
        transform: scale(1.06);
        opacity: 0.75;
    }
}

/* ========================================
   MÓVIL: IMÁGENES AL 100% Y SIN SOMBRAS
   ======================================== */
@media (max-width: 767px) {
    img {
        width: 100% !important;
        max-width: 100% !important;
        box-shadow: none !important;
        filter: none !important;
        drop-shadow: none !important;
        -webkit-filter: none !important;
    }

    .video-card {
        box-shadow: none !important;
    }
}
