/* ==========================================
   assets/css/index.css
   Estilos exclusivos para la portada (index.css)
   ========================================== */



/* .home-topbar, .home-logo-link, .home-logo, .home-topbar-btn
   → Reemplazados por .site-topbar en components.css */


.hero-card {
    position: relative;
    border-radius: var(--radius-xl, 20px);
    overflow: hidden;
    margin-bottom: var(--space-10);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.hero-card--full {
    width: 100%;
}

.hero-card--narrow {
    width: 100%;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.hero-card--compact .hero-card__content {
    padding: 42px 20px 38px;
}

.hero-card--compact .hero-card__title {
    margin-bottom: var(--space-4);
}

.hero-card--compact .hero-card__copy {
    margin-bottom: 22px;
}

.hero-card__bg,
.hero-card__texture,
.hero-card__overlay {
    position: absolute;
    inset: 0;
}

.hero-card__bg {
    z-index: 1;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.hero-card__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.9s ease;
    pointer-events: none;
    background: #050505;
}

.hero-card__video.is-visible {
    opacity: 1;
}

.hero-card__texture {
    z-index: 2;
    pointer-events: none;
    opacity: 0.26;
    background-image: radial-gradient(circle, rgba(0,0,0,0.82) 1.15px, transparent 1.3px);
    background-size: 5px 5px;
}

.hero-card__bg--main {
    background-image: url('/assets/img/hero-index-girls-bar.png');
}

.hero-card__bg--pro {
    background-image: url('/assets/img/dj_premium_banner.png');
}

.hero-card__bg--why {
    background-image: url('/assets/img/why-choose-us-bg.png');
}

.hero-card__overlay {
    z-index: 3;
}

.hero-card__overlay--soft {
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.85) 100%);
}

.hero-card__overlay--dark {
    background: linear-gradient(to bottom, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.9) 100%);
}

.hero-card__content {
    position: relative;
    z-index: 4;
    padding: 60px var(--space-5);
    text-align: center;
}

.hero-card__title {
    color: white;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    max-width: 650px;
    margin: 0 auto var(--space-5);
    font-family: 'Outfit', sans-serif;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-card__title--pro {
    font-size: 2rem;
}

.hero-card__copy {
    color: rgba(255,255,255,0.9);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 30px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

.intro-copy__highlight {
    display: inline-block;
    font-size: 1.2em;
    font-weight: 800;
    color: #ffffff;
}

.hero-card__copy--wide {
    max-width: 600px;
}

.hero-benefits {
    list-style: none;
    margin: 0 auto 12px;
    padding: 0;
    max-width: 640px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-5);
}

.hero-benefits__item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 2px 0;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-benefits__item::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.hero-card__actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.hero-card__cta {
    text-decoration: none;
    padding: 18px 45px;
    box-shadow: 0 10px 25px rgba(212,175,55,0.3);
    animation: pulse 2s infinite;
    white-space: normal;
    display: inline-block;
    width: auto;
    max-width: 100%;
    font-weight: 700;
    border-radius: var(--radius-lg, 14px);
}

.hero-card__cta--pro {
    padding: 12px 35px;
    border-radius: var(--radius-md, 12px);
    box-shadow: 0 4px 15px rgba(212,175,55,0.4);
}

.hero-card__cta--singleline {
    white-space: nowrap;
}

.intro-block {
    text-align: center;
    padding: 0 10px;
    margin-bottom: 45px;
}

.intro-copy {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 15px;
}

.intro-copy--wide {
    font-size: 0.9rem;
    max-width: 720px;
    margin-bottom: 0;
}

.persona-grid {
    width: 100%;
    max-width: 860px;
    margin: 0 auto 34px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-3);
}

.persona-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: 18px;
    text-decoration: none;
    color: inherit;
    border-radius: var(--radius-xl, 20px);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)),
        radial-gradient(circle at top right, rgba(212,175,55,0.12), transparent 40%);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 12px 28px rgba(0,0,0,0.2);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.persona-card:hover {
    transform: translateY(-3px);
    border-color: rgba(212,175,55,0.35);
    box-shadow: 0 18px 36px rgba(0,0,0,0.32);
}

.persona-card__eyebrow {
    color: var(--accent-gold);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-weight: 700;
}

.persona-card__title {
    color: #fff;
    font-size: 1rem;
    line-height: 1.35;
    font-family: 'Outfit', sans-serif;
}

.persona-card__copy {
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.55;
}

.inline-gold-link {
    color: var(--accent-gold);
    text-decoration: none;
}

.how-it-works {
    padding: 10px 10px 20px;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
}

.how-it-works__title {
    text-align: center;
    color: var(--accent-gold);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.how-it-works__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
    margin: 0 auto 40px;
}

.how-step {
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    height: 130px;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-position: center;
    background-size: cover;
}

.how-step--create {
    background-image: url('/assets/img/how_it_works_step1_create_1772983214345.png');
}

.how-step--share {
    background-image: url('/assets/img/how_it_works_step2_share_1772983237815.png');
}

.how-step--vote {
    background-image: url('/assets/img/how_it_works_step3_vote_1772983256976.png');
}

.how-step__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.8) 100%);
}

.how-step__content {
    position: relative;
    z-index: 1;
}

.how-step__number {
    color: var(--accent-gold);
    font-size: 2.3rem;
    font-weight: 800;
    font-family: 'Inter', 'Poppins', sans-serif;
    line-height: 1;
    margin-bottom: 2px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.how-step__title {
    font-size: 0.8rem;
    color: white;
    font-weight: 700;
    margin-bottom: 2px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.how-step__copy {
    font-size: 0.65rem;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.2;
}

.trend-divider {
    margin-top: 10px;
    margin-bottom: 25px;
}

.trend-divider__inner {
    color: var(--accent-gold);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    text-align: center;
}

.trend-divider__label {
    text-align: center;
    line-height: 1.4;
    max-width: 60%;
}

.equalizer--left {
    margin-right: 10px;
}

.equalizer--right {
    margin-left: 10px;
}

.ranking-shell {
    max-width: 860px;
    margin: 0 auto var(--space-10);
}

.ranking-panel {
    padding-top: 15px;
    margin-bottom: var(--space-10);
    border-top: 1px solid rgba(212,175,55,0.2);
}

.seo-section {
    max-width: 900px;
    padding: 0 20px;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1rem;
    margin: 0 auto;
}

.seo-lead {
    border-left: 3px solid var(--accent-gold);
    padding-left: 20px;
    margin-bottom: var(--space-10);
}

.seo-lead__title {
    color: white;
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-family: 'Outfit', sans-serif;
}

.seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: var(--space-10);
}

.seo-subtitle {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.why-card {
    position: relative;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(212,175,55,0.3);
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: var(--space-10);
}

.why-card__content {
    position: relative;
    z-index: 3;
}

.why-card__title {
    color: var(--accent-gold);
    margin-top: 0;
    font-size: 1.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.why-card__copy {
    color: var(--text-light);
    opacity: 0.9;
}

.faq-block {
    margin-bottom: var(--space-10);
}

.faq-block__title {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 18px;
    font-family: 'Outfit', sans-serif;
}

.faq-list {
    display: grid;
    gap: 18px;
}

.faq-item__question {
    color: var(--accent-gold);
    margin: 0 0 8px;
    font-size: 1rem;
}

.faq-item__answer {
    margin: 0;
}

.ranking-list {
    gap: 0;
    margin: 0;
    padding: 0;
}

.ranking-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 15px;
}

.ranking-pos {
    color: var(--text-muted);
    min-width: 20px;
    flex: 0 0 20px;
    font-size: 1.1rem;
    display: inline-block;
    text-align: center;
    font-weight: 600;
    margin-right: 2px;
}

.track-artist-inline {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.75rem;
}

.ranking-track-inline-separator {
    display: inline-block;
    margin: 0 6px;
    color: var(--accent-gold);
    font-size: 0.7rem;
    vertical-align: middle;
}

.ranking-track-info {
    overflow: hidden;
    flex-grow: 1;
    margin-right: 10px;
}

.ranking-track-info--marquee {
    -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, black 85%, transparent 100%);
}

.ranking-marquee-inner {
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 100%;
    white-space: nowrap;
}

.ranking-marquee-text,
.ranking-track-title {
    font-weight: 600;
    color: white;
    font-size: 0.85rem;
}

.ranking-marquee-text {
    display: inline-block;
    width: max-content;
    min-width: max-content;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    animation: ranking-track-marquee 14s linear infinite;
}

.ranking-track-info--marquee:hover .ranking-marquee-text {
    animation-play-state: running;
}

.ranking-track-title {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ranking-marquee-sep-icon {
    color: var(--accent-gold);
    font-size: 0.6rem;
}

.play-overlay--disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.homepage-track .play-overlay {
    opacity: 1;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.homepage-track .play-overlay i {
    color: rgba(255, 255, 255, 0.62);
    font-size: 1rem;
    transform: none;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
    transition: color 0.25s ease, transform 0.25s ease, filter 0.25s ease;
}

.homepage-track .play-overlay:hover i,
.homepage-track .play-overlay.is-playing i {
    color: rgba(255, 255, 255, 0.98);
    transform: scale(1.04);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.38));
}

.homepage-track .play-overlay--disabled i {
    color: rgba(255, 255, 255, 0.28);
    filter: none;
}

.homepage-track .play-overlay--disabled:hover i {
    color: rgba(255, 255, 255, 0.28);
    transform: none;
    filter: none;
}

.icon-no-pointer {
    pointer-events: none;
}

.ranking-track-actions {
    margin-left: auto;
}

.ranking-votes {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.ranking-votes i {
    color: var(--accent-gold);
}

.tabs-container {
    display: flex;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 30px;
    padding: 6px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 10px 0;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.tab-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    background: linear-gradient(135deg, #d4af37 0%, #b58e23 100%);
    color: var(--bg-dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transform: scale(1.02);
}

.ranking-tab {
    display: none;
}

.ranking-tab.active {
    display: block;
    animation: tabFadeIn 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Animación del Ecualizador */
.equalizer {
    display: inline-flex;
    align-items: flex-end;
    height: 14px;
    gap: 3px;
    margin-right: 10px;
}

.eq-bar {
    width: 3px;
    background-color: var(--accent-gold);
    border-radius: 3px;
    animation: bounce 1.2s infinite ease-in-out alternate;
    box-shadow: 0 0 5px var(--accent-gold-glow);
}

.eq-bar:nth-child(1) {
    animation-delay: 0.1s;
    height: 60%;
}

.eq-bar:nth-child(2) {
    animation-delay: 0.4s;
    height: 100%;
}

.eq-bar:nth-child(3) {
    animation-delay: 0.2s;
    height: 40%;
}

.eq-bar:nth-child(4) {
    animation-delay: 0.5s;
    height: 80%;
}

@keyframes bounce {
    0% {
        transform: scaleY(0.4);
        opacity: 0.5;
    }

    50% {
        transform: scaleY(1);
        opacity: 1;
    }

    100% {
        transform: scaleY(0.3);
        opacity: 0.5;
    }
}

/* Animación de fuego parpadeante Premium */
@keyframes flicker {
    0% {
        transform: scale(1) rotate(-2deg);
        color: #ff9a00;
        filter: drop-shadow(0 0 4px rgba(255, 154, 0, 0.5));
    }

    25% {
        transform: scale(1.15) rotate(3deg);
        color: #ff4500;
        filter: drop-shadow(0 0 8px rgba(255, 69, 0, 0.6));
    }

    50% {
        transform: scale(0.95) rotate(-3deg);
        color: #ffb300;
        filter: drop-shadow(0 0 4px rgba(255, 179, 0, 0.5));
    }

    75% {
        transform: scale(1.1) rotate(2deg);
        color: #ff5e00;
        filter: drop-shadow(0 0 6px rgba(255, 94, 0, 0.5));
    }

    100% {
        transform: scale(1) rotate(0deg);
        color: #ffca28;
        filter: drop-shadow(0 0 4px rgba(255, 202, 40, 0.5));
    }
}

.fire-anim {
    display: inline-block;
    animation: flicker 1.5s infinite alternate ease-in-out;
    margin-right: 8px;
}

/* Modificaciones específicas para las canciones del Top en portada */
.homepage-track {
    margin-bottom: 8px;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    background: rgba(255, 255, 255, 0.02) !important;
    padding: 12px 15px !important;
    transition: background 0.3s ease !important;
}

.homepage-track:hover {
    transform: none !important; /* Elimina el movimiento de la caja al pasar el ratón */
    box-shadow: none !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(212, 175, 55, 0.3) !important;
}

/* Marquesina de tipos de eventos */
.event-marquee-title {
    color: white;
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.event-marquee {
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
    padding: 8px 0;
    width: 100%;
}

.event-marquee::before,
.event-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 72px;
    pointer-events: none;
    z-index: 2;
}

.event-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark) 0%, rgba(7, 9, 15, 0) 100%);
}

.event-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark) 0%, rgba(7, 9, 15, 0) 100%);
}

.event-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    min-width: 100%;
    white-space: nowrap;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    animation: event-types-marquee 28s linear infinite;
}

.event-marquee-group {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.event-marquee-word {
    color: #dbe6f7;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.event-marquee-separator {
    color: var(--accent-gold);
    margin: 0 16px;
    opacity: 0.65;
}

@keyframes event-types-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes ranking-track-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ranking-marquee-text {
        animation: ranking-track-marquee 14s linear infinite !important;
        animation-play-state: running !important;
    }
}

@media (max-width: 768px) {
    .home-screen {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-card--narrow,
    .how-it-works,
    .ranking-shell {
        width: 100%;
        max-width: none;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box;
    }

    .seo-section,
    .app-description-seo {
        width: 100%;
        max-width: none;
        margin-left: auto;
        margin-right: auto;
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box;
    }

    .intro-block,
    .trend-divider__inner {
        padding-left: 0;
        padding-right: 0;
    }

    .persona-grid {
        grid-template-columns: 1fr;
        margin-bottom: 28px;
    }

    .seo-lead {
        padding-left: 14px;
    }

    .why-card {
        padding-left: 20px;
        padding-right: 20px;
    }

    .event-marquee::before,
    .event-marquee::after {
        width: 40px;
    }

    .event-marquee-track {
        animation-duration: 22s;
    }

    .event-marquee-word {
        font-size: 0.92rem;
    }

    .event-marquee-separator {
        margin: 0 12px;
    }

    .app-description-seo {
        overflow: hidden;
    }

    .seo-grid {
        grid-template-columns: 1fr !important;
    }

    .hero-benefits {
        gap: 8px;
        margin-bottom: 16px;
    }

    .hero-benefits__item {
        font-size: 0.76rem;
        padding: 6px 10px;
    }

    .hero-card__cta {
        padding: 14px 18px;
        font-size: 0.9rem;
    }

    .hero-card__cta--singleline {
        white-space: normal;
        line-height: 1.25;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .event-marquee {
        margin-left: 0;
        margin-right: 0;
    }
}
