/* 🌑 HOME - TEMA DARK NEON */
/* Suscripciones */

.subscription-tiers {
    padding: 60px 20px;
    background: #050505;
    /* Fondo negro profundo para la sección */
    text-align: center;
}

.subscription-tiers h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 50px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

/* Grid */
.tiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 columnas fijas por defecto */
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Responsive Grid */
@media (max-width: 900px) {
    .tiers-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Badges de actualización (Restored) */
.update-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 10px;
    vertical-align: middle;
    line-height: 1.2;
    white-space: nowrap;
    border: 1px solid;
    transition: all 0.3s ease;
    text-shadow: none !important;
    color: #ffffff !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: initial !important;
    box-shadow: none !important;
}

.update-badge.new {
    background: #1e3a8a;
    border-color: #93c5fd;
    color: #eff6ff !important;
}

.update-badge.update {
    background: #064e3b;
    border-color: #6ee7b7;
    color: #ecfdf5 !important;
}

/* 🌸 SECCIÓN PUBLICACIONES Y NOTICIAS - PASTEL */
.recent-updates {
    padding: 40px 0;
    /* Full width approach */
    position: relative;
    overflow: hidden;
    /* Hide horizontal scrollbar of parent */
}

/* Title - Neutral/White */
.recent-updates h2 {
    color: #fafafa !important;
    text-shadow: none !important;
    font-size: 1.5rem;
    /* Reduced from default h2 size */
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    text-align: center;
}

/* CAROUSEL CONTAINER */
.updates-carousel {
    position: relative;
    /* Critical for JS offsetLeft accuracy */
    display: flex;
    /* Horizontal flow */
    overflow-x: auto;
    /* Enable scrolling */
    scroll-snap-type: x mandatory;
    gap: 40px;
    /* Gap between cards */
    /* Width 80% -> Remaining 20% -> Padding 10% per side */
    padding: 40px 10%;
    padding-bottom: 60px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    align-items: center;
    perspective: 1000px;
    scroll-behavior: smooth;
    /* Native smooth scrolling */
}

.updates-carousel::-webkit-scrollbar {
    display: none;
}

/* CAROUSEL CARD - SIMPLE LINK RESET */
.carousel-card {
    text-decoration: none !important;
    color: inherit;
}

/* Force remove underlines from ALL children of carousel-card */
.carousel-card,
.carousel-card:link,
.carousel-card:visited,
.carousel-card:hover,
.carousel-card:active,
.carousel-card * {
    text-decoration: none !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .carousel-card {
        /* Mobile adjustments handled in minimal carousel section */
    }


    .carousel-image {
        width: 100% !important;
        height: 200px !important;
        /* Reduced from 240px to save space */
        flex-shrink: 0;
        /* Removed mask-image (difuminado) as requested */
    }

    .carousel-content {
        padding: 12px 4px !important;
        /* Clean padding */
        width: 100% !important;
        flex: 1;
        justify-content: flex-start;
        /* Remove glassmorphism - transparent clean look */
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        overflow: hidden;
        border-top: none !important;
    }

    .carousel-title {
        font-size: 1.3rem !important;
        /* Smaller title - Requested: "un poco mas pequeno" */
        /* Smaller title */
        margin-bottom: 5px !important;
        /* Tighter */
    }

    .carousel-meta {
        font-size: 0.8rem !important;
        margin-bottom: 5px !important;
        /* Tighter */
    }

    .carousel-synopsis {
        font-size: 0.9rem !important;
        -webkit-line-clamp: 10 !important;
        /* More lines */
        /* Show at least 3 lines */
        margin-top: 8px;
        flex: 1;
        /* Take available space */
    }

    .updates-carousel {
        /* Width 92% -> Remaining 8% -> Padding 4% per side */
        padding: 20px 4% 40px 4%;
        gap: 15px;
        /* Slightly tighter gap */
        scroll-snap-type: none !important;
        /* Disabled completely per user request ("parpadeo raro") */
    }

    /* Mobile Stats Layout - Two Rows */
    .carousel-stats-row {
        gap: 8px !important;
        flex-wrap: wrap !important;
        /* Allow wrapping */
        overflow: visible;
        /* No scroll */
        padding-bottom: 0;
        margin-bottom: 12px !important;
        justify-content: flex-start !important;
    }

    /* Force Metrics to New Line */
    .stats-group {
        width: 100% !important;
        margin-left: 0 !important;
        /* Reset margin */
        margin-top: 5px !important;
        /* Space between rows */
        padding-top: 5px;
        justify-content: flex-start !important;
        /* Align left */
        gap: 8px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        /* Subtle separator */
    }

    .stat-badge {
        padding: 3px 8px !important;
        font-size: 0.7rem !important;
        /* Slightly larger for readability */
        white-space: nowrap;
    }

    .stat-metric {
        padding: 4px 8px !important;
        font-size: 0.7rem !important;
        white-space: nowrap;
        background: rgba(0, 0, 0, 0.5);
        /* Slightly lighter background */
        flex: 1;
        /* Distribute width */
        justify-content: center;
    }

    /* Hide text in metrics on very small screens if needed, keeping icons/numbers?
       No, keep as is for now. */
}

/* CARD INTERNAL LAYOUT */
.carousel-image {
    width: 300px;
    /* Fixed width to prevent cropping on wide screens */
    flex: 0 0 300px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    /* Removed mask-image to ensure no shading */
    mask-image: none;
    -webkit-mask-image: none;
}

/* Remove mask on active card for full visibility */
.carousel-card.active .carousel-image img {
    mask-image: none;
    -webkit-mask-image: none;
}

.carousel-card:hover .carousel-image img {
    transform: scale(1.08);
    /* Slow zoom on hover */
}

.carousel-content {
    flex: 1;
    /* Take remaining space */
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.carousel-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    /* Solid White */
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    /* Clean shadow */
    line-height: 1.1;
    letter-spacing: -0.5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    background: none;
    /* Remove gradient */
    -webkit-text-fill-color: initial;
    /* Restore solid fill */
}

.carousel-meta {
    margin-bottom: 20px;
}

.carousel-synopsis {
    color: #e9d5ff;
    /* Pastel Lavender */
    font-family: 'Courier New', Courier, monospace;
    /* RETRO FONT */
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 600;
    /* Slightly bolder for Courier */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
    /* Legibility */
    letter-spacing: -0.5px;
}

/* Navigation Arrows (Optional visual indicators, functionality via JS keys) */
.nav-hint {
    text-align: center;
    color: #f472b6;
    /* Pastel Pink */
    font-size: 0.9rem;
    margin-top: 20px;
    opacity: 0.8;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Courier New', monospace;
    /* Match synopsis */
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

/* 3D ANIMATED KEYS */
.nav-keys-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    perspective: 300px;
}

.key {
    width: 50px;
    height: 50px;
    background: #1e1b2e;
    border-radius: 8px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.1s;
    box-shadow:
        0 6px 0 #0f0d1a,
        0 12px 10px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1.2rem;
    cursor: pointer;
}

.key:active {
    transform: translateY(6px);
    box-shadow:
        0 0 0 #0f0d1a,
        0 0 0 rgba(0, 0, 0, 0.5);
}

.key-arrow-right {
    color: #f472b6;
    /* Pink arrow */
    animation: pressKey 2s infinite ease-in-out;
}

/* Dragging state for mouse drag */
.updates-carousel.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    /* Disable smooth during drag */
}

.updates-carousel {
    cursor: grab;
}

/* Animation to simulate pressing/glowing */
@keyframes pressKey {

    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 6px 0 #0f0d1a, 0 12px 10px rgba(0, 0, 0, 0.5);
        color: #f472b6;
        border: 1px solid transparent;
    }

    50% {
        transform: translateY(3px);
        /* Half press */
        box-shadow: 0 3px 0 #0f0d1a, 0 6px 5px rgba(0, 0, 0, 0.5);
        color: var(--text-primary);
        /* Flash white */
        text-shadow: 0 0 10px #f472b6;
        border: 1px solid #f472b6;
    }
}

/* --- NEW METADATA STYLES --- */

/* Secondary Title (Other Names) */
.carousel-meta {
    color: #94a3b8;
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 12px;
    line-height: 1.4;
    font-family: 'Segoe UI', sans-serif;
    /* Cleaner font for subtitle */
}

/* Stats Row Container */
.carousel-stats-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

/* Base Badge Style */
.stat-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    line-height: 1;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border: none;
}

/* Badge Variants - Inverted High Contrast */
.stat-badge.new {
    background: #000000;
    color: #3b82f6;
    /* Bright Blue */
    border: 1px solid #3b82f6;
    box-shadow: 0 0 5px rgba(59, 130, 246, 0.2);
}

.stat-badge.update {
    background: #000000;
    color: #ef4444;
    /* Bright Red */
    border: 1px solid #ef4444;
    box-shadow: 0 0 5px rgba(239, 68, 68, 0.2);
}

.stat-badge.completed {
    background: #000000;
    color: #10b981;
    /* Bright Emerald */
    border: 1px solid #10b981;
    box-shadow: 0 0 5px rgba(16, 185, 129, 0.2);
}

.stat-badge.ongoing {
    background: #000000;
    color: #f97316;
    /* Bright Orange */
    border: 1px solid #f97316;
    text-shadow: none;
    box-shadow: 0 0 5px rgba(249, 115, 22, 0.2);
}

/* Stats Group Container (Desktop Default) */
.stats-group {
    display: flex;
    gap: 15px;
    margin-left: auto;
    /* Push to right on desktop */
    align-items: center;
}

/* Individual Metric Pills */
.stat-metric {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #cbd5e0;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none !important;
    /* Ensure no underlines on wrapper */
}

/* Aggressively prevent any child from having an underline */
.carousel-card *,
.carousel-card a,
.carousel-card p,
.carousel-card h3,
.carousel-card h4,
.carousel-card span {
    text-decoration: none !important;
    border-bottom: none !important;
}

.stat-metric.views i {
    color: #22d3ee;
}

/* Cyan */
.stat-metric.likes i {
    color: #f472b6;
}

/* Pink */
.stat-metric.bookmarks i {
    color: #60a5fa;
}

/* Blue */

/* Publication Date */
.carousel-date {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 10px;
    font-style: italic;
    text-align: right;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 8px;
}

/* --- SHARED CAROUSEL NAVIGATION --- */
.scroll-wrapper {
    position: relative;
    width: 100%;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.scroll-wrapper:hover .nav-btn,
.nav-btn.visible-mobile {
    opacity: 1;
    pointer-events: auto;
}

.nav-btn:hover {
    background: #06b6d4;
    /* Color Cyan for Continue Listening */
    border-color: #06b6d4;
    transform: translateY(-50%) scale(1.1);
}

.nav-btn.prev {
    left: 10px;
}

.nav-btn.next {
    right: 10px;
}

@media (max-width: 1024px) {
    .nav-btn {
        opacity: 1;
        pointer-events: auto;
        background: rgba(0, 0, 0, 0.8);
    }
}

/* --- Header Navigation Keys --- */
.header-key {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    width: 44px;
    /* Larger click area */
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    outline: none;
    font-size: 18px;
    /* Slightly larger icon */
}

.header-key:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: white;
}

.header-key:active {
    transform: scale(0.95);
}

/* Hide carousel navigation arrows on mobile - use touch scroll instead */
@media (max-width: 768px) {

    .header-nav-keys,
    .updates-nav-keys {
        display: none !important;
    }

    /* Improve section title for mobile */
    .section-title-pastel {
        font-size: 1.4rem !important;
    }

    /* Better section header spacing */
    .section-header-wrapper {
        padding: 0 4px !important;
        margin-bottom: 12px !important;
    }
}

/* --- COLECCIONES CAROUSEL (MINIMAL) --- */

/* Updates Carousel Container */
.updates-carousel {
    display: flex;
    gap: 32px;
    padding: 16px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* FIX: Alinear todo arriba para que textos largos no muevan la imagen */
    align-items: flex-start;
}

.updates-carousel::-webkit-scrollbar {
    display: none;
}

/* Card - Clean, No Container */
.carousel-card {
    flex-shrink: 0;
    width: 160px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    scroll-snap-align: start;
}

/* Image - FORCED SQUARE by Padding Hack (Standard Clean CSS) */
.carousel-image,
.carousel-image-squared {
    width: 100%;
    /* Truco para mantener aspect ratio 1:1 */
    padding-bottom: 100%;
    height: 0;

    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 10px;
    position: relative;
    box-sizing: border-box !important;
    /* Asegurar que el borde no sume al ancho */

    /* Eliminar sombras y fondos oscuros */
    background: transparent !important;
    box-shadow: none !important;

    /* Borde sutil like post cover */
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.carousel-image img,
.carousel-image-squared img {
    /* La imagen se posiciona sobre el cuadrado */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    /* Eliminar máscaras y filtros */
    mask-image: none !important;
    -webkit-mask-image: none !important;
    filter: none !important;
    transition: none;
    /* Quitar efecto al hover en la imagen misma */
}

/* Sin efecto de hover */

/* Badge on Image */
.img-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
    letter-spacing: 0.5px;
}

.img-badge.new {
    background: #000;
    color: #fff;
}

.img-badge.update {
    background: #fff;
    color: #000;
}

/* Popularity Badge (Popular This Month) */
.popularity-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.pop-likes,
.pop-bookmarks {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.pop-likes {
    background: rgba(239, 68, 68, 0.9);
    color: #fff;
}

.pop-bookmarks {
    background: rgba(168, 85, 247, 0.9);
    color: #fff;
}

.pop-likes i,
.pop-bookmarks i {
    font-size: 0.6rem;
}

/* Text Content - Clean, Patreon Style */
.carousel-content {
    padding: 0;
}

.carousel-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fafafa;
    margin: 0 0 3px 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.01em;
}

.carousel-desc {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.75rem;
    color: #a1a1aa;
    margin: 0 0 4px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.carousel-count {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.7rem;
    color: #71717a;
    margin: 0;
}

/* Desktop: 5 items, locked scroll */
@media (min-width: 1024px) {
    .updates-carousel {
        overflow-x: hidden;
        gap: 20px;
        padding-right: 0;
        /* Evitar padding extra que desajuste el cálculo */
    }

    .carousel-card {
        /* 5 items: (100% - 4 gaps de 20px) / 5 items */
        /* Total gaps = 80px */
        width: calc((100% - 80px) / 5);
        min-width: calc((100% - 80px) / 5);
        max-width: calc((100% - 80px) / 5);
        flex: 0 0 calc((100% - 80px) / 5);
        /* Forzar flex-basis rígido */
        box-sizing: border-box;
    }
}



/* --- CONTINUE LISTENING (MINIMAL) --- */

.continue-card {
    text-decoration: none;
    width: 270px;
    min-width: 270px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    background: transparent;
    border: none;
    scroll-snap-align: start;
}

.continue-card:hover .continue-visual {
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 0 25px rgba(145, 63, 226, 0.2);
    transform: translateY(-2px);
}

.continue-card:hover {
    transform: none;
    border-color: transparent;
}

.continue-visual {
    width: 100%;
    margin: 0 auto;
    height: 125px;
    background: rgba(18, 17, 28, 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Central Mini Cover */
.visual-cover {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    z-index: 2;
    margin: 0 12px;
}

.visual-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Visualization Waves - Subtle */
.visual-waves {
    display: flex;
    gap: 3px;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 32px;
    opacity: 0.25;
}

.visual-waves span {
    width: 3px;
    background: var(--text-muted);
    border-radius: 4px;
}

/* Play Button */
.visual-play {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    background: var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-app);
    transition: transform 0.2s;
}

.continue-card:hover .visual-play {
    transform: scale(1.05);
}

.visual-play i {
    font-size: 12px;
    margin-left: 1px;
}

/* Details */
.continue-details {
    padding: 0 4px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.continue-title {
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 2px;
}

.time-pill {
    display: inline-block;
    background: rgba(43, 43, 43, 0.9);
    color: #e4e4e7;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
    width: fit-content;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
}

/* Mobile */


.continue-meta {
    font-size: var(--text-xs);
    color: var(--text-muted);
    /* Grey text */
    margin: 0;
    font-weight: 500;
}

.continue-meta .separator {
    margin: 0 6px;
    opacity: 0.3;
}

/* Mobile Adjustments - Continue Listening */
@media (max-width: 768px) {
    .continue-card {
        width: 180px;
        min-width: 180px;
        padding: 8px;
    }

    .continue-visual {
        height: 100px;
        border-radius: 12px;
        padding: 0 12px;
    }

    .visual-cover {
        width: 50px;
        height: 50px;
        margin: 0 8px;
    }

    .continue-title {
        font-size: 0.8rem !important;
        -webkit-line-clamp: 2;
        line-height: 1.3;
    }

    .time-pill {
        font-size: 9px;
        padding: 2px 6px;
    }

    .visual-play {
        width: 24px;
        height: 24px;
        bottom: 8px;
        right: 8px;
    }

    .visual-play i {
        font-size: 10px;
    }

    .visual-waves {
        height: 24px;
    }

    .visual-waves span {
        width: 2px;
    }

    .continue-carousel-container {
        gap: 12px;
        padding: 8px 0 16px 0;
    }
}

/* Placeholder Cards for Continue Listening */
.placeholder-card {
    opacity: 0.5;
}

.placeholder-cover {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    background: #18181b;
    position: relative;
}

.placeholder-gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            #1e1e22 0%,
            #252529 25%,
            #1e1e22 50%,
            #252529 75%,
            #1e1e22 100%);
    background-size: 200% 200%;
}

.placeholder-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #3f3f46;
    font-size: 2.5rem;
}

.placeholder-title {
    color: #52525b !important;
    font-style: normal !important;
    font-size: 0.85rem;
}

.placeholder-subtitle {
    color: #3f3f46;
    font-size: 0.75rem;
    margin: 0;
}

/* Helper utilities for Tailwind-like classes used in the header reuse */
.mb-10 {
    margin-bottom: 40px;
}

.mb-5 {
    margin-bottom: 20px;
}

.px-1 {
    padding-left: 4px;
    padding-right: 4px;
}

.px-2 {
    padding-left: 8px;
    padding-right: 8px;
}

.flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

.gap-3 {
    gap: 12px;
}

.gap-2 {
    gap: 8px;
}

.cursor-pointer {
    cursor: pointer;
}

.opacity-70 {
    opacity: 0.7;
}

.text-sm {
    font-size: 0.875rem;
}

.text-xs {
    font-size: 0.75rem;
}

/* --- CONTINUE LISTENING CONTAINER --- */
.continue-carousel-container {
    display: flex;
    gap: 20px;
    padding: 10px 0 20px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    align-items: flex-start;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.continue-carousel-container::-webkit-scrollbar {
    display: none;
}

@media (min-width: 900px) {
    .continue-carousel-container {
        overflow-x: hidden;
        /* Use buttons for navigation on desktop */
    }

    .continue-card {
        /* Reverting to default 300px for consistency - Fixed width */
    }
}

/* --- HOME BANNER (PROFILE STYLE) --- */
.home-intro-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
    max-width: 1100px;
    margin: 0 auto 40px auto;
}

.baner-container {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    border-radius: 16px;
    /* "colocale bordes a la imagen de baner" - Border on container */
    border: 3px solid rgba(255, 255, 255, 0.15);
    background: #1e1b2e;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

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

.home-avatar-container {
    width: 120px;
    height: 120px;
    margin: -60px auto 15px;
    /* Overlap banner by 60px */
    position: relative;
    z-index: 5;
}

.home-avatar {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    /* Rounded square */
    object-fit: cover;
    border: 5px solid #000000;
    /* Cutout effect */
    background: #000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.home-intro-text h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.home-intro-text p {
    color: #a1a1aa;
    font-size: 1rem;
    margin: 0 0 15px 0;
    font-weight: 500;
}

.intro-badge {
    display: inline-block;
    background: #18181b;
    color: #d4d4d8;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .baner-container {
        height: 160px;
    }

    .home-avatar-container {
        width: 100px;
        height: 100px;
        margin-top: -50px;
    }
}

/* ================================================
   HERO CTA SECTION - Botones Súmate Gratis / Suscripción
   ================================================ */
.hero-cta-section {
    max-width: 1100px;
    margin: 40px auto;
    padding: 40px 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(30, 30, 35, 0.8), rgba(20, 20, 25, 0.9));
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.hero-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #22d3ee, transparent);
}

.hero-cta-content {
    position: relative;
    z-index: 1;
}

.hero-cta-title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 0 30px rgba(34, 211, 238, 0.3);
}

.hero-cta-subtitle {
    color: #94a3b8;
    font-size: 1rem;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid transparent;
}

.hero-btn i {
    font-size: 1.1rem;
}

/* Primary Button - Súmate gratis */
.hero-btn-primary {
    background: linear-gradient(135deg, #22d3ee, #06b6d4);
    color: #0a0f14;
    box-shadow: 0 8px 25px rgba(34, 211, 238, 0.35);
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(34, 211, 238, 0.5);
}

/* Secondary Button - Ver opciones */
.hero-btn-secondary {
    background: transparent;
    color: #f1f5f9;
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.hero-btn-secondary:hover {
    border-color: #a855f7;
    color: #a855f7;
    background: rgba(168, 85, 247, 0.1);
    transform: translateY(-3px);
}

@media (max-width: 500px) {
    .hero-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-btn {
        justify-content: center;
    }
}

/* ================================================
   SUBSCRIPTION MODAL - Popup de suscripciones
   ================================================ */


/* --- NEW COMMUNITY & UPDATES SECTION --- */
.news-partners-section {
    max-width: 1100px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
}

.news-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

/* Responsiveness */
/* Responsiveness - Mobile Horizontal Scroll */
@media (max-width: 900px) {
    .news-grid {
        grid-template-columns: 1fr;
        /* Stack vertically */
        gap: 30px;
        display: grid;
        /* Reset display */
        overflow-x: visible;
        /* Remove scroll */
        padding-bottom: 0;
    }

    .news-column,
    .partners-column {
        min-width: auto;
        width: 100%;
    }

    /* Reset spacing helpers */
    .news-grid::after {
        display: none;
    }
}

/* Unified Section Title - DEFINED IN global-styles.css */

.section-subtitle {
    color: #a1a1aa;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-subtitle i {
    color: #a855f7;
    /* Accent Purple */
}

/* --- COLUMN 1: NEWS --- */

/* Base Card */
.news-card {
    display: block;
    text-decoration: none;
    background: linear-gradient(145deg, #18181b, #09090b);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.2s;
    overflow: visible;
}

.news-card:hover {
    transform: translateY(-2px);
    border-color: rgba(168, 85, 247, 0.4);
}

/* Pinned Card */
.news-card.pinned {
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.news-card.pinned:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 158, 11, 0.5);
}

/* Badge FIJADO */
.news-partners-section .pinned-badge {
    position: absolute;
    top: -10px;
    left: 20px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
}

.news-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.news-excerpt {
    color: #d4d4d8;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.news-date {
    font-size: 0.8rem;
    color: #71717a;
    font-style: italic;
    text-align: right;
}

/* News List */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s;
    border-radius: 8px;
}

.news-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.news-item-date {
    font-size: 0.8rem;
    font-weight: 700;
    color: #52525b;
    background: #18181b;
    padding: 4px 8px;
    border-radius: 6px;
    min-width: 60px;
    text-align: center;
}

.news-item-text {
    color: #a1a1aa;
    font-size: 0.9rem;
}

/* --- SIMPLIFIED NEWS (Homepage) --- */
.news-container-simple {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.home-news-item {
    background: linear-gradient(145deg, #18181b, #09090b);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    position: relative;
}

.home-news-item.pinned {
    border-color: rgba(245, 158, 11, 0.3);
}

.home-news-item .pinned-badge {
    position: absolute;
    top: -10px;
    left: 20px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
}

.home-news-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.home-news-content {
    color: #d4d4d8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.home-news-date {
    font-size: 0.8rem;
    color: #71717a;
    font-style: italic;
}

/* Non-pinned news items - Compact style */
.home-news-item:not(.pinned) {
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(24, 24, 27, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.home-news-item:not(.pinned) .home-news-title {
    font-size: 0.85rem;
    margin-bottom: 4px;
    font-weight: 600;
}

.home-news-item:not(.pinned) .home-news-content {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #71717a;
}

.home-news-item:not(.pinned) .home-news-date {
    font-size: 0.7rem;
    color: #52525b;
}

.view-more-link {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    color: #a855f7;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 0;
}

.view-more-link:hover {
    color: #c084fc;
}

/* --- COLUMN 2: PARTNERS --- */

.partner-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Glass border */
    border-radius: 16px;
    padding: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.partner-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
}

.partner-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.partner-icon.free {
    background: rgba(45, 212, 191, 0.1);
    color: #2dd4bf;
    /* Teal for Free */
    box-shadow: 0 0 15px rgba(45, 212, 191, 0.1);
}

.partner-info h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.partner-info p {
    color: #71717a;
    font-size: 0.85rem;
    margin: 0;
}

.partner-arrow {
    margin-left: auto;
    color: #52525b;
    transition: transform 0.2s;
}

.partner-card:hover .partner-arrow {
    color: #fff;
    transform: translateX(2px) translateY(-2px);
}

.simple-links-row {
    display: flex;
    gap: 12px;
}

.simple-link {
    flex: 1;
    background: #18181b;
    color: #a1a1aa;
    text-decoration: none;
    padding: 12px;
    border-radius: 12px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.simple-link:hover {
    color: #fff;
    background: #27272a;
}

.simple-link.discord:hover {
    background: #5865F2;
    border-color: #5865F2;
}

.simple-link.telegram:hover {
    background: #26A5E4;
    border-color: #26A5E4;
}

/* --- NEWS SCROLLABLE & PARTNERS UPDATE --- */
/* Override to ensure horizontal news scroll works */
.news-column-scroll {
    overflow: hidden;
}

.news-scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 20px;
    /* Hide scrollbar cleanly */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.news-scroll-container::-webkit-scrollbar {
    display: none;
}

/* --- NEWS VIEW MORE --- */
.news-view-more {
    margin-top: 10px;
    text-align: right;
}

.view-more-link {
    color: #a1a1aa;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.view-more-link:hover {
    color: #fff;
    text-decoration: none;
}

.view-more-link i {
    font-size: 0.75rem;
    transition: transform 0.2s;
}

.view-more-link:hover i {
    transform: translateX(3px);
}

/* Partner Card Updates */
.partner-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(0.6);
}

.partner-icon.uranium {
    background: rgba(6, 182, 212, 0.1);
    color: #06b6d4;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.1);
}

.partner-icon.pastel {
    background: rgba(217, 70, 239, 0.1);
    color: #d946ef;
    box-shadow: 0 0 15px rgba(217, 70, 239, 0.1);
}