/* ══════════════════════════════════════════
   HERO CARD — The first thing users see
   ══════════════════════════════════════════ */

/* ── Hero Section ── */
.hero-section {
    padding: 0 0 8px;
    position: relative;
}

.hero-card {
    position: relative;
    border-radius: 20px;
    padding: 28px 24px 22px;
    overflow: hidden;
    background: linear-gradient(135deg,
        rgba(124, 58, 237, 0.15) 0%,
        rgba(245, 158, 11, 0.08) 50%,
        rgba(124, 58, 237, 0.1) 100%);
    border: 1px solid rgba(124, 58, 237, 0.25);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.hero-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.2);
}

/* Background glow effect */
.hero-bg-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 80%,
        rgba(124, 58, 237, 0.12) 0%,
        transparent 50%);
    pointer-events: none;
    animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* ── Soundwave Animation ── */
.hero-soundwave {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 32px;
    margin-bottom: 4px;
}

.wave-bar {
    width: 3px;
    height: 8px;
    background: linear-gradient(180deg, #7c3aed, #a78bfa);
    border-radius: 4px;
    animation: wave-bounce 1.2s ease-in-out infinite;
}

.wave-bar:nth-child(1) { animation-delay: 0s; height: 12px; }
.wave-bar:nth-child(2) { animation-delay: 0.1s; height: 20px; }
.wave-bar:nth-child(3) { animation-delay: 0.2s; height: 16px; }
.wave-bar:nth-child(4) { animation-delay: 0.3s; height: 28px; }
.wave-bar:nth-child(5) { animation-delay: 0.15s; height: 22px; }
.wave-bar:nth-child(6) { animation-delay: 0.25s; height: 32px; }
.wave-bar:nth-child(7) { animation-delay: 0.35s; height: 18px; }
.wave-bar:nth-child(8) { animation-delay: 0.1s; height: 26px; }
.wave-bar:nth-child(9) { animation-delay: 0.2s; height: 14px; }
.wave-bar:nth-child(10) { animation-delay: 0.3s; height: 22px; }
.wave-bar:nth-child(11) { animation-delay: 0.05s; height: 10px; }
.wave-bar:nth-child(12) { animation-delay: 0.15s; height: 16px; }

@keyframes wave-bounce {
    0%, 100% { transform: scaleY(0.4); opacity: 0.5; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* ── Character Avatars ── */
.hero-characters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: -4px;
    margin: 4px 0;
}

.hero-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2.5px solid rgba(124, 58, 237, 0.6);
    overflow: hidden;
    background: #1a1a2e;
    margin-left: -8px;
    position: relative;
    transition: transform 0.2s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-avatar:first-child { margin-left: 0; }

.hero-avatar.speaking {
    border-color: #f59e0b;
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.5);
    animation: avatar-speak 1.5s ease-in-out infinite;
}

@keyframes avatar-speak {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

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

.hero-avatar-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #a78bfa;
    background: linear-gradient(135deg, #1a1a2e, #2d1b69);
}

/* ── Badge ── */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f59e0b;
}

.hero-pulse {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: hero-pulse-anim 1.5s ease-in-out infinite;
}

@keyframes hero-pulse-anim {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
}

/* ── Title ── */
.hero-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f0f0f0;
    line-height: 1.4;
    margin: 0;
    max-width: 85%;
}

/* ── Actions ── */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 4px;
}

.hero-listen-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
}

.hero-listen-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(124, 58, 237, 0.5);
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.hero-listen-btn:active {
    transform: translateY(0);
}

.hero-listeners {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Hero empty state */
.hero-card.empty {
    justify-content: center;
    min-height: 160px;
}

.hero-card.empty .hero-soundwave { display: none; }
.hero-card.empty .hero-badge { display: none; }
.hero-card.empty .hero-listeners { display: none; }

.hero-empty-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.hero-empty-sub {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ═══════════════════════════════════════════
   QUICK CREATE — Inline show creator
   ═══════════════════════════════════════════ */

.quick-create-section {
    padding: 8px 0;
}

.quick-create-card {
    border-radius: 16px;
    padding: 18px 20px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.quick-create-header {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-create-header i {
    color: #f59e0b;
}

.quick-create-input-wrap {
    display: flex;
    gap: 8px;
    align-items: center;
}

.quick-create-input-wrap input {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 16px;
    color: #f0f0f0;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: 'Inter', sans-serif;
}

.quick-create-input-wrap input:focus {
    border-color: rgba(124, 58, 237, 0.5);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.quick-create-input-wrap input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.quick-create-go {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: white;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 12px rgba(124, 58, 237, 0.3);
}

.quick-create-go:hover {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    transform: scale(1.05);
}

/* Topic suggestion chips */
.quick-topics {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
}

.quick-topics::-webkit-scrollbar { display: none; }

.topic-chip {
    white-space: nowrap;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.topic-chip:hover {
    background: rgba(124, 58, 237, 0.15);
    border-color: rgba(124, 58, 237, 0.3);
    color: #c4b5fd;
}

/* ═══════════════════════════════════════════
   SHOW SECTIONS — Horizontal scroll lists
   ═══════════════════════════════════════════ */

.show-section {
    padding: 6px 0 12px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 0 2px;
}

.section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #f0f0f0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.section-more {
    font-size: 0.78rem;
    color: rgba(124, 58, 237, 0.8);
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s;
}

.section-more:hover { color: #a78bfa; }

/* Horizontal Scroll Container */
.show-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 2px 8px;
    -webkit-overflow-scrolling: touch;
}

.show-scroll::-webkit-scrollbar { display: none; }

/* ── Show Card (Horizontal) ── */
.show-card {
    flex: 0 0 160px;
    scroll-snap-align: start;
    cursor: pointer;
    transition: transform 0.2s ease;
    border-radius: 12px;
    overflow: hidden;
}

.show-card:hover {
    transform: translateY(-3px);
}

.show-card-cover {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 12px;
    background: #1a1a1a;
}

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

.show-card:hover .show-card-cover img {
    transform: scale(1.05);
}

/* Gradient placeholder for shows without a poster */
.show-card-cover .cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: linear-gradient(135deg,
        hsl(265, 50%, 12%) 0%,
        hsl(260, 40%, 18%) 40%,
        hsl(255, 30%, 10%) 100%);
}

.show-card-cover .cover-placeholder span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* LIVE badge on show card */
.show-card-cover .cover-live-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: #e53e3e;
    color: white;
    font-size: 0.55rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 3px;
    letter-spacing: 0.06em;
    box-shadow: 0 2px 8px rgba(229, 62, 62, 0.5);
}

.show-card-cover .cover-duration {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 1px 5px;
    border-radius: 3px;
}

/* Show card body */
.show-card-body {
    padding: 8px 2px 0;
}

.show-card-body h3 {
    font-size: 0.8rem;
    font-weight: 600;
    color: #e0e0e0;
    line-height: 1.3;
    margin: 0 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.show-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
}

.show-card-meta .mini-avatars {
    display: flex;
    align-items: center;
}

.show-card-meta .mini-avatar {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid #111;
    margin-left: -5px;
    overflow: hidden;
    background: #333;
}

.show-card-meta .mini-avatar:first-child { margin-left: 0; }

.show-card-meta .mini-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.show-card-meta .play-count {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    gap: 3px;
}

.show-card-meta .play-count i {
    font-size: 0.58rem;
}

/* ── Empty section state ── */
.show-scroll-empty {
    width: 100%;
    text-align: center;
    padding: 24px;
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.85rem;
}

/* ═══════════════════════════════════════════
   RESPONSIVE — Mobile optimizations
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
    .hero-card {
        padding: 22px 18px 18px;
        border-radius: 16px;
    }

    .hero-title {
        font-size: 1.1rem;
        max-width: 95%;
    }

    .hero-avatar {
        width: 40px;
        height: 40px;
    }

    .show-card {
        flex: 0 0 140px;
    }

    .quick-create-card {
        padding: 14px 16px 12px;
    }
}

@media (min-width: 769px) {
    .hero-card {
        padding: 36px 32px 28px;
        max-width: 640px;
        margin: 0 auto;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .hero-avatar {
        width: 56px;
        height: 56px;
    }

    .show-card {
        flex: 0 0 200px;
    }

    .quick-create-card {
        max-width: 640px;
        margin: 0 auto;
    }
}
