/* =========================
   PODCASTS
   Neo Anime Radio
========================= */

.nav-menu a.active {
    color: #22d3ee;
    text-shadow: 0 0 18px rgba(34, 211, 238, .65);
}

/* =========================
   HERO PODCASTS
========================= */

.podcast-hero {
    width: min(1200px, calc(100% - 30px));
    margin: 70px auto 40px;
    min-height: 410px;
    padding: 55px;
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(0, 12, 30, 0.94), rgba(40, 0, 55, 0.75)),
        url("https://i.imgur.com/AafKwKg.png");
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(0, 195, 255, 0.18);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    display: grid;
    grid-template-columns: 1fr 310px;
    gap: 30px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.podcast-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.25), rgba(0, 195, 255, 0.08)),
        radial-gradient(circle at right, rgba(255, 0, 180, 0.20), transparent 40%);
    pointer-events: none;
}

.podcast-hero-content,
.podcast-status-card {
    position: relative;
    z-index: 2;
}

.podcast-hero h2 {
    font-family: "Orbitron", sans-serif;
    font-size: clamp(38px, 5.5vw, 72px);
    max-width: 850px;
    line-height: 1.02;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 18px 0 20px;
    background: linear-gradient(90deg, #00c3ff, #ffffff, #ff4fd8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.podcast-hero p {
    max-width: 720px;
    color: #d4f7ff;
    line-height: 1.7;
    font-size: 17px;
}

.podcast-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.podcast-status-card {
    min-height: 210px;
    border-radius: 28px;
    background:
        radial-gradient(circle at center, rgba(0, 217, 255, 0.18), transparent 55%),
        rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(0, 217, 255, 0.22);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 30px rgba(0, 217, 255, 0.08);
    text-align: center;
}

.podcast-status-card span {
    color: #00d9ff;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.podcast-status-card strong {
    font-family: "Orbitron", sans-serif;
    font-size: 30px;
    margin: 10px 0;
    color: #ffffff;
}

.podcast-status-card small {
    color: #9bdff0;
    line-height: 1.6;
}

/* =========================
   SECCIONES
========================= */

.podcast-section,
.podcast-featured-section {
    width: min(1200px, calc(100% - 30px));
    margin: 40px auto 80px;
}

.section-heading {
    text-align: center;
    margin-bottom: 34px;
}

.section-heading span {
    display: inline-flex;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(0, 217, 255, 0.08);
    border: 1px solid rgba(0, 217, 255, 0.20);
    color: #00d9ff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 14px;
}

.section-heading h2 {
    color: #ffffff;
    font-family: "Orbitron", sans-serif;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.1;
}

/* =========================
   FILTROS
========================= */

.podcast-filters {
    margin: 0 auto 30px;
    padding: 22px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(0, 217, 255, .10), transparent 35%),
        linear-gradient(145deg, rgba(0, 20, 45, .92), rgba(0, 8, 20, .96));
    border: 1px solid rgba(0, 195, 255, .16);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .28);
    display: grid;
    grid-template-columns: 1fr 260px auto auto;
    gap: 14px;
    align-items: end;
}

.filter-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-field label {
    color: #dff9ff;
    font-weight: 800;
    font-size: 14px;
}

.filter-field input,
.filter-field select {
    width: 100%;
    border: 1px solid rgba(0, 217, 255, 0.18);
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.34);
    color: #ffffff;
    padding: 14px 16px;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    outline: none;
    transition: .25s ease;
}

.filter-field input::placeholder {
    color: rgba(210, 245, 255, 0.45);
}

.filter-field input:focus,
.filter-field select:focus {
    border-color: rgba(0, 217, 255, 0.58);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.12);
}

/* =========================
   GRID / CARDS
========================= */

.podcast-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.podcast-card {
    min-height: 310px;
    padding: 26px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(255, 0, 180, 0.10), transparent 35%),
        linear-gradient(145deg, rgba(0, 20, 45, 0.92), rgba(0, 8, 20, 0.94));
    border: 1px solid rgba(0, 195, 255, 0.14);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 22px;
    align-items: center;
    transition: 0.3s ease;
    position: relative;
    overflow: hidden;
}

.podcast-card.featured {
    grid-column: span 2;
    min-height: 340px;
    grid-template-columns: 260px 1fr;
    background:
        radial-gradient(circle at top right, rgba(0, 217, 255, 0.13), transparent 35%),
        radial-gradient(circle at bottom left, rgba(255, 0, 180, 0.12), transparent 35%),
        linear-gradient(145deg, rgba(0, 28, 55, 0.95), rgba(0, 8, 20, 0.95));
}

.podcast-card.main-featured {
    width: 100%;
    grid-column: auto;
}

.podcast-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(0, 217, 255, 0.12), transparent 38%),
        radial-gradient(circle at bottom left, rgba(255, 0, 180, 0.10), transparent 38%);
    opacity: 0;
    transition: 0.3s ease;
    pointer-events: none;
}

.podcast-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 3px;
    background: linear-gradient(90deg, #00c3ff, #ff4fd8);
    opacity: 0;
    transition: 0.3s ease;
}

.podcast-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 217, 255, 0.38);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.35),
        0 0 28px rgba(0, 195, 255, 0.12);
}

.podcast-card:hover::before,
.podcast-card:hover::after {
    opacity: 1;
}

/* =========================
   PORTADAS
========================= */

.podcast-cover {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 26px;
    background:
        radial-gradient(circle at center, rgba(0, 217, 255, 0.22), transparent 55%),
        linear-gradient(135deg, rgba(0, 195, 255, 0.22), rgba(255, 0, 180, 0.18));
    border: 1px solid rgba(0, 217, 255, 0.22);
    display: grid;
    place-items: center;
    box-shadow: 0 0 35px rgba(0, 195, 255, 0.14);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.podcast-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.podcast-cover span {
    font-size: 58px;
    filter: drop-shadow(0 0 16px rgba(0, 217, 255, 0.45));
}

.podcast-cover.small span {
    font-size: 42px;
}

/* =========================
   CONTENIDO
========================= */

.podcast-content {
    position: relative;
    z-index: 2;
}

.podcast-label {
    display: inline-flex;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 217, 255, 0.08);
    border: 1px solid rgba(0, 217, 255, 0.2);
    color: #00d9ff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 14px;
}

.podcast-content h3 {
    font-family: "Orbitron", sans-serif;
    color: #ffffff;
    font-size: clamp(24px, 3vw, 32px);
    margin-bottom: 12px;
}

.podcast-content p {
    color: #c9eef7;
    line-height: 1.65;
    font-size: 15px;
}

.podcast-info-line {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
}

.podcast-info-line span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 10px;
    border-radius: 999px;
    color: #dff9ff;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: .83rem;
    font-weight: 800;
}

.podcast-info-line .status.published {
    color: #bbf7d0;
    background: rgba(34, 197, 94, .14);
    border-color: rgba(34, 197, 94, .35);
}

.podcast-info-line .status.coming {
    color: #fef3c7;
    background: rgba(250, 204, 21, .12);
    border-color: rgba(250, 204, 21, .32);
}

.podcast-info-line .status.draft {
    color: #e5e7eb;
    background: rgba(148, 163, 184, .12);
    border-color: rgba(148, 163, 184, .28);
}

.podcast-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.podcast-meta span {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #dff9ff;
    font-size: 12px;
    font-weight: 700;
}

/* =========================
   PLAYER / ACCIONES
========================= */

.podcast-player {
    margin-top: 18px;
    padding: 14px;
    border-radius: 20px;
    background: rgba(2, 6, 23, .48);
    border: 1px solid rgba(148, 163, 184, .16);
}

.podcast-player audio {
    width: 100%;
    display: block;
}

.podcast-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.podcast-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: none;
    border-radius: 999px;
    color: #00111f;
    background: linear-gradient(135deg, #00c3ff, #ffffff);
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 0 24px rgba(0, 195, 255, .25);
    transition: .25s ease;
    margin-top: 20px;
}

.podcast-actions .podcast-button {
    margin-top: 0;
}

.podcast-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 34px rgba(0, 195, 255, .42);
}

.podcast-button:disabled,
button.podcast-button[disabled] {
    opacity: .55;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* =========================
   EMPTY STATE
========================= */

.podcast-empty {
    text-align: center;
    padding: 42px 24px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(255, 0, 180, 0.10), transparent 35%),
        linear-gradient(145deg, rgba(0, 20, 45, 0.92), rgba(0, 8, 20, 0.94));
    border: 1px solid rgba(0, 195, 255, 0.16);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
}

.podcast-empty span {
    display: block;
    font-size: 3rem;
    margin-bottom: 12px;
}

.podcast-empty h3 {
    color: #f8fafc;
    font-family: "Orbitron", sans-serif;
    margin-bottom: 10px;
}

.podcast-empty p {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 22px;
}

/* =========================
   CALLOUT FINAL
========================= */

.podcast-callout {
    width: min(1200px, calc(100% - 30px));
    margin: 40px auto 80px;
    padding: 40px;
    border-radius: 34px;
    background:
        radial-gradient(circle at right, rgba(255, 0, 180, 0.14), transparent 35%),
        radial-gradient(circle at bottom left, rgba(0, 217, 255, .12), transparent 38%),
        linear-gradient(145deg, rgba(0, 20, 45, 0.9), rgba(0, 8, 20, 0.94));
    border: 1px solid rgba(0, 195, 255, 0.16);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
}

.podcast-callout h2 {
    font-family: "Orbitron", sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    margin: 14px 0;
    color: #ffffff;
}

.podcast-callout p {
    color: #c9eef7;
    line-height: 1.7;
    max-width: 740px;
}

/* =========================
   PANEL PRIVADO PODCASTS
========================= */

.admin-hero {
    margin-top: 40px;
}

.admin-message {
    max-width: 1200px;
    margin: 24px auto;
    padding: 16px 18px;
    border-radius: 18px;
    font-weight: 700;
    backdrop-filter: blur(16px);
}

.admin-message.error {
    color: #fecaca;
    border: 1px solid rgba(248, 113, 113, .45);
    background: rgba(127, 29, 29, .35);
    box-shadow: 0 0 30px rgba(248, 113, 113, .15);
}

.admin-message.success {
    color: #bbf7d0;
    border: 1px solid rgba(34, 197, 94, .45);
    background: rgba(20, 83, 45, .35);
    box-shadow: 0 0 30px rgba(34, 197, 94, .15);
}

.admin-panel-section {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.admin-form {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, .92), rgba(2, 6, 23, .98)),
        radial-gradient(circle at top left, rgba(236, 72, 153, .18), transparent 38%),
        radial-gradient(circle at bottom right, rgba(34, 211, 238, .14), transparent 42%);
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 28px;
    padding: 26px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .35);
}

.login-form {
    max-width: 460px;
    margin-top: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.form-field label {
    color: #e0f2fe;
    font-weight: 700;
    font-size: .95rem;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, .25);
    border-radius: 16px;
    background: rgba(2, 6, 23, .72);
    color: #f8fafc;
    padding: 13px 15px;
    outline: none;
    font-family: "Poppins", sans-serif;
    transition: .25s ease;
}

.form-field textarea {
    resize: vertical;
    min-height: 130px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: rgba(34, 211, 238, .75);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, .12);
}

.form-field small {
    color: #94a3b8;
    word-break: break-word;
}

.check-line {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e2e8f0;
    font-weight: 700;
    margin: 12px 0 22px;
}

.check-line input {
    width: 18px;
    height: 18px;
    accent-color: #22d3ee;
}

.admin-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.admin-podcast-list {
    display: grid;
    gap: 18px;
}

.admin-podcast-item {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 20px;
    padding: 20px;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, .90), rgba(2, 6, 23, .96));
    border: 1px solid rgba(148, 163, 184, .18);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .30);
}

.admin-podcast-cover {
    min-height: 160px;
    border-radius: 22px;
    background:
        radial-gradient(circle at top, rgba(34, 211, 238, .25), transparent 45%),
        linear-gradient(135deg, rgba(236, 72, 153, .20), rgba(15, 23, 42, .9));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.admin-podcast-cover span {
    font-size: 3rem;
}

.admin-podcast-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-podcast-info h3 {
    color: #f8fafc;
    margin: 10px 0;
    font-family: "Orbitron", sans-serif;
}

.admin-podcast-info p {
    color: #cbd5e1;
    line-height: 1.7;
}

.admin-podcast-top {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.featured-status {
    color: #fde68a;
    background: rgba(245, 158, 11, .14);
    border: 1px solid rgba(245, 158, 11, .4);
}

.admin-row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.admin-row-actions form {
    margin: 0;
}

.mini-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(34, 211, 238, .35);
    background: rgba(34, 211, 238, .10);
    color: #cffafe;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    font-family: "Poppins", sans-serif;
    transition: .25s ease;
}

.mini-btn:hover {
    transform: translateY(-2px);
    background: rgba(34, 211, 238, .20);
    box-shadow: 0 0 24px rgba(34, 211, 238, .18);
}

.mini-btn.danger {
    color: #fecaca;
    border-color: rgba(248, 113, 113, .35);
    background: rgba(248, 113, 113, .10);
}

.mini-btn.danger:hover {
    background: rgba(248, 113, 113, .20);
    box-shadow: 0 0 24px rgba(248, 113, 113, .18);
}

.admin-podcast-info audio {
    width: 100%;
    margin-top: 14px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1050px) {
    .podcast-filters {
        grid-template-columns: 1fr 1fr;
    }

    .podcast-filters .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 950px) {
    .podcast-hero {
        grid-template-columns: 1fr;
        padding: 35px 25px;
    }

    .podcast-status-card {
        min-height: 160px;
    }

    .podcast-grid {
        grid-template-columns: 1fr;
    }

    .podcast-card,
    .podcast-card.featured {
        grid-column: auto;
        grid-template-columns: 180px 1fr;
    }

    .podcast-callout {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
    }

    .podcast-callout .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 850px) {
    .form-grid,
    .admin-podcast-item {
        grid-template-columns: 1fr;
    }

    .admin-podcast-cover {
        min-height: 220px;
    }
}

@media (max-width: 650px) {
    .podcast-filters {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .podcast-hero {
        margin-top: 35px;
        border-radius: 26px;
    }

    .podcast-hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .podcast-card,
    .podcast-card.featured {
        grid-template-columns: 1fr;
        min-height: auto;
        border-radius: 26px;
    }

    .podcast-cover {
        max-width: 240px;
    }

    .podcast-callout {
        border-radius: 26px;
        padding: 24px;
    }

    .podcast-callout .btn {
        width: 100%;
    }
}