/* Explain: App-specific component classes for buttons, nav, indicators, player, cards, schedule, forms, social, and video modal. */
/* ---------- Buttons ---------- */
.btn-lpi {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border-radius: 9999px;
    border: 1px solid transparent;
    padding: 0.8rem 1.45rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-lpi-primary {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: var(--shadow-glow);
}

.btn-lpi-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-lpi-ghost {
    background: var(--surface-color);
    color: var(--text-color);
    border-color: var(--border-color);
}

.btn-lpi-ghost:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-lpi-red {
    background: var(--danger-color);
    color: #ffffff;
    box-shadow: 0 20px 60px -24px rgba(225, 29, 47, 0.8);
}

.btn-lpi-red:hover {
    background: var(--danger-hover);
    transform: translateY(-2px);
}

.btn-lpi-icon {
    width: 3rem;
    height: 3rem;
    padding: 0;
    justify-content: center;
}

/* ---------- Navigation ---------- */
.nav-link {
    display: inline-block;
    padding: 0.5rem 0.7rem;
    border-radius: 0.7rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.25s ease, background-color 0.25s ease;
}

.nav-link:hover {
    color: var(--text-color);
    background: var(--surface-color);
}

.nav-link-mobile {
    display: block;
    padding: 0.7rem 0.9rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
}

.nav-link-mobile:hover {
    background: var(--surface-color);
}

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.8rem;
    border: 1px solid var(--border-color);
    background: var(--surface-color);
    color: var(--text-color);
    cursor: pointer;
    transition: border-color 0.25s ease, color 0.25s ease;
}

.nav-toggle:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.mobile-nav {
    display: none;
}

.mobile-nav.is-open {
    display: block;
}

@media (min-width: 1024px) {
    .mobile-nav {
        display: none !important;
    }
}

/* ---------- Live indicators ---------- */
.live-dot {
    position: relative;
    display: inline-block;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 9999px;
    background: var(--primary-color);
}

.live-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 9999px;
    border: 2px solid var(--primary-color);
    animation: lpi-pulse 1.9s ease-out infinite;
}

@keyframes lpi-pulse {
    0% { transform: scale(0.6); opacity: 0.85; }
    100% { transform: scale(1.7); opacity: 0; }
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 9999px;
    background: rgba(255, 61, 113, 0.95);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 0.35rem 0.7rem;
}

.equalizer {
    display: inline-flex;
    align-items: flex-end;
    gap: 3px;
    height: 1.6rem;
}

.equalizer span {
    display: block;
    width: 3px;
    border-radius: 9999px;
    background: var(--accent-color);
    transform-origin: bottom;
    animation: lpi-bounce 1s ease-in-out infinite;
    animation-play-state: paused;
}

.equalizer span:nth-child(1) { height: 45%; animation-delay: 0s; }
.equalizer span:nth-child(2) { height: 80%; animation-delay: 0.12s; }
.equalizer span:nth-child(3) { height: 55%; animation-delay: 0.24s; }
.equalizer span:nth-child(4) { height: 95%; animation-delay: 0.36s; }
.equalizer span:nth-child(5) { height: 60%; animation-delay: 0.48s; }

@keyframes lpi-bounce {
    0%, 100% { transform: scaleY(0.35); }
    50% { transform: scaleY(1); }
}

body.is-playing .equalizer span {
    animation-play-state: running;
}

/* ---------- Player ---------- */
.player-bar {
    border-top: 1px solid var(--border-color);
    background: rgba(30, 21, 48, 0.94);
    backdrop-filter: blur(14px);
}

.player-disc {
    animation: lpi-spin 9s linear infinite;
    animation-play-state: paused;
}

body.is-playing .player-disc {
    animation-play-state: running;
}

@keyframes lpi-spin {
    to { transform: rotate(360deg); }
}

/* ---------- Cards ---------- */
.card-lpi {
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    background: var(--surface-color);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card-lpi:hover {
    border-color: rgba(255, 61, 113, 0.55);
    transform: translateY(-3px);
    box-shadow: 0 26px 55px -34px rgba(255, 61, 113, 0.95);
}

.hero-glow {
    position: relative;
}

.hero-glow::before {
    content: '';
    position: absolute;
    inset: -25% -10% auto -10%;
    height: 75%;
    background:
        radial-gradient(38% 58% at 14% 22%, rgba(255, 61, 113, 0.28), transparent 70%),
        radial-gradient(44% 58% at 86% 12%, rgba(124, 92, 255, 0.3), transparent 70%),
        radial-gradient(38% 48% at 58% 62%, rgba(0, 224, 208, 0.16), transparent 70%);
    filter: blur(8px);
    pointer-events: none;
}

.hero-glow > * {
    position: relative;
}

/* ---------- Schedule ---------- */
.schedule-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    border-radius: 0.9rem;
    border: 1px solid transparent;
    padding: 0.6rem 0.7rem;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.schedule-row:hover {
    background: var(--surface-2-color);
}

.schedule-row.is-live {
    border-color: rgba(255, 61, 113, 0.6);
    background: rgba(255, 61, 113, 0.12);
}

.schedule-time {
    flex-shrink: 0;
    width: 5.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--accent-color);
}

.schedule-kind {
    flex-shrink: 0;
    border-radius: 9999px;
    background: var(--surface-2-color);
    padding: 0.2rem 0.6rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

/* ---------- Forms ---------- */
.field-lpi {
    display: block;
}

.field-lpi > span {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
}

.field-lpi em {
    font-style: normal;
    opacity: 0.7;
}

.input-lpi {
    width: 100%;
    border-radius: 0.9rem;
    border: 1px solid var(--border-color);
    background: var(--background-color);
    color: var(--text-color);
    padding: 0.75rem 0.9rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.input-lpi:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 61, 113, 0.22);
}

.input-lpi::placeholder {
    color: var(--text-muted);
    opacity: 0.75;
}

.form-status {
    display: none;
}

.form-status.is-visible {
    display: block;
}

.form-status.is-error {
    color: var(--primary-color);
}

.form-status.is-success {
    color: var(--accent-color);
}

/* ---------- Footer ---------- */
.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.8rem;
    border: 1px solid var(--border-color);
    background: var(--background-color);
    color: var(--text-muted);
    transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.social-btn:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.footer-link {
    color: var(--text-muted);
    transition: color 0.25s ease;
}

.footer-link:hover {
    color: var(--primary-color);
}

/* ---------- Mini video player (floating on the page) ---------- */
.video-modal {
    display: none;
    position: fixed;
    right: 0.75rem;
    bottom: 5.5rem;
    z-index: 70;
    width: min(21rem, 64vw);
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    background: rgba(18, 12, 28, 0.97);
    box-shadow: 0 30px 70px -28px rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.video-modal.is-open {
    display: block;
    animation: lpi-mini-in 0.28s ease-out;
}

@keyframes lpi-mini-in {
    from { transform: translateY(12px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.video-modal-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.video-modal-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.video-modal-frame-file {
    width: 100%;
    background: #000000;
}

.video-modal-frame-file video {
    display: block;
    width: 100%;
    max-height: 68vh;
    margin: 0 auto;
    background: #000000;
}

.video-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    border-radius: 0.6rem;
    border: 1px solid var(--border-color);
    background: var(--background-color);
    color: var(--text-color);
    cursor: pointer;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.video-modal-close:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}