/*** Variables ***/

:root {
    --spacing: 0.5em;
    --color-accent: #ffb633;
    --color-bg: #121212;
    --transition-duration: 0.15s;
    --color-fg: #eee;

    --color-grey: #222;
    --color-grey-alpha-80: rgb(from var(--color-grey) r g b / 0.8);
    --font-heading: 'IM Fell English SC';
    --nav-main-height: calc(var(--nav-main-item-height) + calc(var(--spacing)*4));
    --nav-main-item-height: 2em;
    --nav-main-width: 70vw;
}

/*** Reset/Normalize ***/

blockquote,
body,
dd,
dl,
h1,
h2,
h3,
h4,
h5,
h6,
fieldset,
figure,
ol,
p,
pre,
ul
{
    margin: 0;
}

button,
dialog,
fieldset,
input,
legend,
ol,
ul
{
    padding: 0;
}

ol,
ul
{
    list-style: none;
}

table
{
    border-collapse: collapse;
}

a
{
    color: inherit;
}

a,
abbr
{
    text-decoration: none;
}

button,
dialog,
input
{
    background: none;
}

input:-webkit-autofill
{
    transition: background;
    transition-delay: 3600000s;
}

button
{
    cursor: pointer;
}

button,
input,
select,
textarea
{
    box-sizing: border-box;
    font: inherit;
}

button,
dialog,
iframe,
input,
img,
fieldset,
progress,
select,
textarea
{
    border: none;
}

button::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="color"]::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner
{
    border: none;
}

input[type="search"],
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration
{
    -webkit-appearance: none;
}

[contenteditable]:focus,
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus
{
    outline: none;
}

input::placeholder,
textarea::placeholder
{
    color: inherit;
}

input:invalid,
select:invalid,
textarea:invalid
{
    box-shadow: none;
}

button[disabled],
input[disabled]
{
    pointer-events: none;
}

audio,
img,
video
{
    max-width: 100%;
}

/*** Animations ***/

@keyframes fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-out {
    to {
        opacity: 0;
        transform: translateY(-20vh);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .has-animation-fade-in {
        animation-fill-mode: forwards;
        animation-name: fade-in;
        animation-range-start: entry;
        animation-range-end: cover 50%;
        animation-timeline: view();
        opacity: 0;
        transform: translateY(-20vh);
    }

    .has-animation-fade-out {
        animation-fill-mode: forwards;
        animation-name: fade-out;
        animation-range-start: exit -20vh;
        animation-range-end: cover 100%;
        animation-timeline: view();
        opacity: 1;
        transform: translateY(0);
    }
}

/*** Globals ***/

html {
    @media ( prefers-reduced-motion: no-preference ) {
        scroll-behavior: smooth;
    }
}

body {
    background: var(--color-bg);
    color: var(--color-fg);
    font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, Cantarell, Ubuntu, roboto, noto, helvetica, arial, sans-serif;
    font-size: clamp(1rem, -0.875rem + 3vw, 1.25rem);
    line-height: 1.5;
}

a {
    text-decoration: underline;
    text-underline-offset: 0.25em;
    transition: color var(--transition-duration);

    &:hover {
        color: var(--color-accent);
    }
}

.icon-svg {
    fill: currentColor;
    height: 2em;
    transition: color var(--transition-duration);
    width: 2em;
}

.link-to-top {
    align-items: center;
    background: var(--color-accent);
    border-radius: 50%;
    bottom: 1em;
    color: var(--color-bg);
    display: flex;
    justify-content: center;
    opacity: 0;
    padding: 0.25em;
    position: fixed;
    right: 1em;
    text-decoration: none;
    transform: translateY(100%);
    transition: opacity var(--transition-duration), transform var(--transition-duration);
    visibility: hidden;
    z-index: 999;

    &.is-active {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }

    &:hover .icon-svg {
        color: rgb(from var(--color-bg) r g b / 50%);
    }

    & svg {
        transform: translateY(-0.1em);
    }
}

.separator {
    display: flex;
    justify-content: center;
    margin-block: 3em 2em;

    & svg {
        color: var(--color-accent);
        fill: currentColor;
        font-size: 3em;
        height: 1em;
        opacity: 0.5;
        transform: rotate(90deg);
        width: 1em;
    }
}

.box-anchor {
    transform: translateY(-5em);
}


/*** Layout ***/

.header {
    align-items: center;
    backdrop-filter: blur(0.25em);
    background: rgb(from var(--color-grey) r g b / 70%);
    box-sizing: border-box;
    display: flex;
    gap: 1em;
    justify-content: space-between;
    min-height: var(--nav-main-height);
    overflow-x: clip;
    padding: var(--spacing) 2em;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1;

    & .logo {
        flex-shrink: 1;
        height: 2em;
        max-width: calc(100% - 5em);
        transition: transform var(--transition-duration);

        &:hover {
            transform: translateY(-0.125em);
        }
    }
}

.footer {
    background: var(--color-grey);
    margin-top: 5em;
    padding: 2em 1em;
    text-align: center;

    & .logo {
        height: 1.5em;
    }
}

.footer-meta {
    font-size: 0.75em;
}

.section {
    margin: 0 auto;
    max-width: 60em;
    padding: 2em 1em;

    &.is-centered {
        text-align: center;
    }

    &.has-text-blocks {
        ul,
        ol {
            margin-left: 1.25em;
        }

        ul {
            list-style: disc;
        }

        ol {
            list-style: decimal;
        }
    }
}

/* Margins */

.section p + p,
.section p + h3 {
    margin-top: 1em;
}

/*** Elements ***/

/* Title */

.headline-primary,
.headline-secondary {
    font-family: var(--font-heading), serif;
    font-size: 1em;
    font-weight: 400;
    line-height: 1.125;
    margin-block: 0.5em;
    text-align: center;
}

.headline-primary {
    font-size: 2.5em;
}

.headline-secondary {
    font-size: 1.75em;
}

.headline-tertiary {
    font-size: 1.25em;
}

/* Header */

.logo {
    filter: invert(1);
}

/* Navigations */

.wrapper-nav-main {
    align-items: center;
    display: flex;
}

.nav-main {
    display: flex;
    gap: var(--spacing);

    & a {
        align-items: center;
        color: var(--color-fg);
        display: flex;
        gap: 0.25em;
        padding: var(--spacing);
        text-decoration: none;
        transition: var(--transition-duration);

        &:hover {
            color: var(--color-accent);
        }
    }
}

.button-nav-main {
    display: none;
}

.nav-social {
    display: flex;
    gap: var(--spacing);
    justify-content: center;
    margin-top: var(--spacing);
}

.nav-footer,
.nav-footer-social {
    display: flex;
    gap: 1em;
    justify-content: center;
    margin-block: 1em;
}

.nav-footer-social svg {
    fill: currentColor;
}

/* Hero */

.hero {
    height: 40vh;
    position: relative;
    text-align: center;

    & .nav-social {
        background: rgb(from var(--color-bg) r g b / 80%);
        border-radius: 2em;
        bottom: 1em;
        left: 50%;
        padding: 1em;
        position: absolute;
        transform: translateX(-50%);

        & svg {
            display: block;
            fill: currentColor;
            height: 2em;
            width: 2em;
        }
    }

    & .icon-svg {
        display: block;
    }

    & .wrapper-logo {
        left: 50%;
        max-width: 70vw;
        position: absolute;
        top: 40%;
        transform: translateX(-50%);
        width: 50em;
    }

    & .logo {
        filter: drop-shadow(0px 0px 1.5em var(--color-fg)) drop-shadow(0px 0px 1.5em var(--color-fg)) invert(1);
    }
}

.image-hero {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

/* Members */

.container-members {
    display: grid;
    gap: var(--spacing);
    grid-template-columns: repeat(auto-fit, minmax(10em, 1fr));
    text-align: center;

    & figure {
        & img {
            border-radius: 0.25em;
            width: 100%;
        }

        & a {
            display: block;
        }
    }
}

/* Releases */

.container-releases {
    display: grid;
    gap: 3em;
    max-width: 40em;
    margin-inline: auto;
}

.box-release {
    display: grid;
    gap: 1em 2em;
    grid-template-areas: 'figure info';

    & figcaption {
        font-size: 1.5em;
        text-align: center;
    }

    & strong {
        margin-bottom: 0.5em;
    }

    & ol {
        list-style: decimal;
        margin-left: 1.125em;
    }

    & p {
        font-size: 0.875em;
        margin-top: 1em;
    }
}

/* Media */

.container-audio {
    aspect-ratio: 5/2;
    display: flex;
    justify-content: center;
}

.container-video {
    aspect-ratio: 16/9;
    display: grid;
    gap: var(--spacing);
    grid-template-columns: repeat(auto-fit, minmax(12em, 1fr));
}

/*** Media queries ***/

@media (max-width: 40em) {
    .container-audio {
        aspect-ratio: 1/1;
    }
}

@media (max-width: 64em) {
    .header {
        padding-right: 1em;
    }

    .nav-main {
        align-items: flex-end;
        background: var(--color-grey);
        box-sizing: border-box;
        flex-direction: column;
        font-size: 1.25em;
        font-weight: 600;
        height: 100vh;
        justify-content: flex-start;
        min-width: var(--nav-main-width);
        padding: 4em 2em 2em;
        position: fixed;
        right: 0;
        top: 0;
        transform: translateX(100%);
        transition: var(--transition-duration);

        & a {
            text-align: right;
            width: 100%;
        }
    }

    .wrapper-nav-main.is-active {
        & .nav-main {
            box-shadow: calc(-1*var(--nav-main-width)) 0 0 var(--color-grey-alpha-80);
            transform: translateX(0);
        }

        & .icon-close {
            display: block;
        }

        & .icon-menu {
            display: none;
        }
    }

    .button-nav-main {
        background: none;
        border: none;
        color: var(--color-fg);
        display: flex;
        padding: var(--spacing);
        z-index: 10;

        &:hover .icon-svg {
            color: var(--color-accent);
        }

        & .icon-close {
            display: none;
        }
    }
}

@media (min-width: 64em) {
    .hero {
        height: calc(100vh - var(--nav-main-height) - 10em);
    }

    .container-releases {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- ESTILOS DE LA SECCIÓN DE ARTÍCULOS Y BLOG --- */

/* Barra superior de filtro ("Mostrando entradas...") */
.blog-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #2a2c3d;
  background-color: #0e0f19;
  padding: 12px 20px;
  margin-bottom: 25px;
}

.blog-header-bar h2 {
  font-size: 0.95rem;
  color: #cccccc;
  margin: 0;
  font-weight: normal;
}

.blog-header-bar h2 span {
  color: #ffffff;
  font-weight: bold;
}

.btn-show-all {
  border: 1px solid #444863;
  color: #ffffff;
  text-decoration: none;
  padding: 4px 12px;
  font-size: 0.85rem;
  transition: background 0.2s;
}

.btn-show-all:hover {
  background-color: #2a2c3d;
}

/* Contenedor principal de posts */
.posts-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Tarjeta individual de artículo (Flexbox Horizontal) */
.post-card {
  display: flex;
  flex-direction: row;
  background-color: #090a12;
  border: 1px solid #1a1c2b;
  overflow: hidden;
  transition: border-color 0.3s;
}


.post-card:hover {
  border-color: #3b4166;
}

/* Imagen en miniatura */
.post-thumb-link {
  flex: 0 0 280px; /* Ancho fijo para la imagen */
  max-height: 180px;
  overflow: hidden;
  display: block;
}

.post-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.post-card:hover .post-thumb {
  transform: scale(1.03); /* Efecto de zoom leve al pasar el mouse */
}

/* Columna derecha: Texto y Metadatos */
.post-content {
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.post-title {
  margin: 0 0 8px 0;
  font-size: 1.25rem;
  line-height: 1.3;
}

.post-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s;
}

.post-title a:hover {
  color: #0088ff;
}

/* Metadatos (Autor y Fecha) */
.post-meta {
  font-size: 0.85rem;
  color: #888899;
  margin-bottom: 12px;
  display: flex;
  gap: 15px;
}

.post-meta strong {
  color: #bbbbcc;
}

/* Extracto de texto */
.post-excerpt {
  color: #aaaaaa;
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}

/* Adaptación para pantallas pequeñas (Móviles) */
@media (max-width: 650px) {
  .post-card {
    flex-direction: column;
  }
  
  .post-thumb-link {
    flex: none;
    width: 100%;
    height: 200px;
  }
}

/* Navigation */
.nav-main .has-dropdown {
  position: relative;
  display: inline-block;
}

/* Ajuste del enlace principal con flecha */
.nav-main .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  padding: 10px 15px;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

/* Submenú oculto por defecto en todos lados */
.nav-main .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background-color: #0d0e1b;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.4);
  z-index: 1000;
}

/* Estilos de las opciones del submenú */
.nav-main .dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #cccccc;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
}

.nav-main .dropdown-menu li a:hover {
  background-color: #1a1c2e;
  color: #ffffff;
}

/* --- COMPUTADORAS (Escritorio): Mantiene el hover tradicional --- */
@media (min-width: 769px) {
  .nav-main .has-dropdown:hover .dropdown-toggle {
    background-color: #0088ff;
    color: #ffffff;
  }
  .nav-main .has-dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* --- MÓVILES Y CELULARES --- */
@media (max-width: 768px) {
  .nav-main .has-dropdown {
    display: block;
    width: 100%;
  }

  .nav-main .dropdown-toggle {
    width: 100%;
    justify-content: space-between; /* Pone la flecha a la derecha para que sea fácil de tocar */
  }

  /* El submenú en móvil se convierte en bloque estático para no flotar ni tapar nada */
  .nav-main .dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.03);
    border-left: 2px solid #0088ff;
    padding-left: 10px;
  }

  /* Se abre al recibir la clase .is-open desde JavaScript al tocarlo */
  .nav-main .has-dropdown.is-open .dropdown-menu {
    display: block;
  }
  
  .nav-main .has-dropdown.is-open .dropdown-toggle {
    background-color: #0088ff;
  }
}



/* --- BOTÓN Y MODAL DE BÚSQUEDA --- */
.btn-search-trigger {
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding: 8px;
  transition: color 0.2s;
}

.btn-search-trigger:hover {
  color: #0088ff;
}

/* Fondo oscuro transparente */
.search-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
}

.search-modal.active {
  display: block;
}

.search-modal-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}

/* Caja principal del buscador */
.search-modal-container {
  position: relative;
  max-width: 650px;
  margin: 80px auto 0 auto;
  background: #0d0e1b;
  border: 1px solid #2a2c3d;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  width: 90%;
}

.search-header {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #2a2c3d;
  padding: 10px 15px;
}

.search-header input {
  width: 100%;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.1rem;
  outline: none;
  padding: 8px;
}

.search-header button {
  background: transparent;
  border: none;
  color: #aaaaaa;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 5px 10px;
}

.search-header button:hover {
  color: #ffffff;
}

/* Lista de resultados */
.search-results-list {
  max-height: 400px;
  overflow-y: auto;
  padding: 15px;
}

.search-placeholder {
  color: #777788;
  text-align: center;
  font-size: 0.95rem;
  margin: 20px 0;
}

.search-item {
  display: block;
  padding: 12px;
  border-bottom: 1px solid #1a1c2b;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s;
}

.search-item:hover {
  background: #151728;
}

.search-item-category {
  display: inline-block;
  font-size: 0.75rem;
  background: #0088ff;
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 3px;
  margin-bottom: 6px;
  text-transform: uppercase;
  font-weight: bold;
}

.search-item-title {
  color: #ffffff;
  font-size: 1.05rem;
  margin: 0 0 5px 0;
}

.search-item-excerpt {
  color: #aaaaaa;
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.4;
}

                                  /* //styles estreno */

:root {
  --red: #e50914;
  --dark: #0b0b0b;
  --gray: #1a1a1a;
  --text: #ffffff;
}

* {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  margin: 0;
  padding-top: 70px; /* Espacio para que el contador flotante no tape el título */
  background-color: var(--dark);
  color: var(--text);
  text-align: center;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== CONTADOR FLOTANTE (STICKY BAR) ===== */
.floating-countdown-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(11, 11, 11, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(229, 9, 20, 0.4);
  padding: 10px 15px;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

#countdown {
  font-size: 1.1rem;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0;
  animation: pulse 2s infinite;
}

/* ===== LAYOUT PRINCIPAL ===== */
.container {
  max-width: 900px;
  margin: auto;
  padding: 20px 20px 60px;
  animation: fadeIn 1.2s ease;
}

h1 {
  font-size: 2.3rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-shadow: 0 0 20px rgba(229,9,20,.4);
}
                                                            /* Titulos post */
h2 {
  margin: 35px 0 15px;
  font-weight: 500;
  color: #ff0000fd;   
  font-size: 1.4rem;
}

p {
  opacity: .85;
  
    color: #fdf7f7; 
}

/* ===== VIDEO RESPONSIVE ===== */
.video-wrapper {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  border-radius: 18px;
  filter: drop-shadow(0 0 10px rgba(229,9,20,.45));
}

/* ===== BOTONES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  margin: 8px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  background: linear-gradient(135deg, #ff1a1a, #b30000);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(229,9,20,.4);
  transition: all .3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 35px rgba(229,9,20,.7);
}

.btn.secondary {
  background: transparent;
  border: 1px solid var(--red);
  box-shadow: none;
  color: #ffffff;
}

.btn.secondary:hover {
  background: var(--red);
}

/* BARRA DE ACCIÓN SIEMPRE VISIBLE (DONAR + COMPARTIR) */
.action-bar-always {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 25px 0;
  background: rgba(255, 255, 255, 0.03);
  padding: 15px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* FORMULARIO DONAR ALINEADO */
.donate-form-inline {
  display: inline-block;
  margin: 0;
}

/* ===== SECTIONS ===== */
.section {
  margin-top: 40px;
  animation: reveal .8s ease forwards;
}

.hidden {
  display: none !important;
}

.bandcamp-box {
  background: linear-gradient(180deg, #120003, #000);
  padding: 15px;
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(229,9,20,.25);
  margin: 20px auto;
  max-width: 700px;
}

/* ===== ANIMACIONES ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { opacity: .7; }
  50% { opacity: 1; filter: drop-shadow(0 0 8px rgba(229,9,20,0.8)); }
  100% { opacity: .7; }
}

@media(max-width: 600px) {
  body { padding-top: 65px; }
  h1 { font-size: 1.8rem; }
  #countdown { font-size: 0.95rem; }
}



                                                                               /* CONTADOR */
                                                                               .community-counter-wrap {
  margin-top: 1px;
  font-family: system-ui, sans-serif;
}

#communityCount {
  
  font-size: 1.4rem;
  font-weight: 200;
  color: #ffffff;
}

.plus-sign {
  color: var(--red);
  font-weight: 700;
  font-size: 1.2rem;
}

.community-subtitle {
  font-size: 0.75rem;
  opacity: 0.6;
  margin: 1px 0 0 0;
  letter-spacing: 1px;
  text-transform: uppercase;
}


                         /*                Contador individual */
                         /* Contenedor relativo para posicionar el número */
.social-tooltip {
  position: relative;
  display: inline-block;
}

.social-tooltip a {
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.social-tooltip a:hover {
  color: var(--red); /* Se ilumina con tu color rojo corporativo */
}

/* El número oculto por defecto */
.tooltip-text {
  visibility: hidden;
  opacity: 0;
  background-color: #0b0b0b;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(229, 9, 20, 0.4);
  position: absolute;
  z-index: 10;
  bottom: 125%; /* Aparece justo arriba del ícono */
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

/* Al pasar el mouse, se muestra y se desliza suavemente hacia arriba */
.social-tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}




                              /* embed lateral comunidad */
                              /* ===== ESPACIO LATERAL / CURADURÍA ===== */
.community-curator-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 30px auto;
  align-items: center;
}

.curator-wrapper-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(229, 9, 20, 0.2);
  border-radius: 16px;
  padding: 16px;
  text-align: left;
}

.curator-badge {
  display: inline-block;
  font-size: 0.7rem;
  background: rgba(229, 9, 20, 0.15);
  color: #e50914;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
}

@media (max-width: 768px) {
  .community-curator-section {
    grid-template-columns: 1fr; /* En celular se acomoda uno abajo del otro */
  }
}
/* ===== TARJETA FLOTANTE DE CURADURÍA ===== */
.curator-floating-card {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 320px;
  background: rgba(15, 15, 20, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(229, 9, 20, 0.3);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
  z-index: 9998; /* Justo debajo del lightbox */
  transition: transform 0.3s ease, opacity 0.3s ease;
  animation: slideUpWidget 0.6s ease forwards;
}

.curator-floating-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.curator-badge {
  font-size: 0.65rem;
  background: rgba(229, 9, 20, 0.2);
  color: #e50914;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.curator-close-btn {
  background: transparent;
  border: none;
  color: #a8a8b3;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

.curator-close-btn:hover {
  color: #ffffff;
}

.curator-title {
  margin: 0 0 10px 0;
  font-size: 0.85rem;
  color: #ffffff;
  font-weight: 600;
  text-align: left;
}

.curator-embed-container {
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}

@keyframes slideUpWidget {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVO PARA MÓVILES */

@media (max-width: 600px) {
  .curator-floating-card {
    left: 15px;
    right: 15px;
    width: auto; /* Se ajusta al ancho del celular */
    bottom: 15px;
    padding: 10px;
  }
  
  .curator-title {
    font-size: 0.8rem;
    margin-bottom: 6px;
  }
}

/*                                                             POP promotion */

#popup-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.popup-nord {
  position: absolute;
  right: 0;
  color: white;
  padding: 15px 15px 15px 60px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  width: 280px;
  font-family: sans-serif;
  background-color: rgba(27,27,27,0.85); /* transparencia */
  background-size: 40px 40px;
  background-repeat: no-repeat;
  background-position: 10px center;
  opacity: 0;
  transform: translateX(120%);
  transition: all 0.4s ease;
  cursor: pointer; /* toda el área es clickeable */
}

.popup-nord.show {
  opacity: 1;
  transform: translateX(0);
}

.popup-nord.hide {
  opacity: 0;
  transform: translateX(120%);
}

.popup-nord button {
  background: transparent;
  color: white;
  border: none;
  font-size: 28px;
  position: absolute;
  top: 5px;
  right: 10px;
  cursor: pointer;
}

.popup-nord small {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  color: #ddd;
}

                                                        /* Previene la selección de texto molesta en elementos interactivos del menú móvil */
.nav-mobile, .dropdown-container, .nav-links a {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

/* Contenedor del menú desplegable en móvil */
.dropdown-container {
  position: relative; /* Cambia absolute por relative en móviles para que empuje el contenido hacia abajo ordenadamente */
  width: 100%;
}

/* El submenú desplegado */
.dropdown-menu {
  position: relative; /* Evita que flote sobre otros textos como 'Radio' o 'Contacto' */
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 15, 20, 0.98);
  border: 1px solid rgba(229, 9, 20, 0.3);
  border-radius: 8px;
  margin-top: 8px;
  padding: 8px 0;
  box-shadow: none;
  display: none; /* Se controla con tu JS actual al dar clic */
}

/* Clase que activa el menú al tocarlo en JS */
.dropdown-menu.active {
  display: block;
}
