body {
    margin: 0;
    font-family: 'Prompt', sans-serif;
    background: linear-gradient(135deg, #ffd6e8, #ffe8f3);
    overflow-x: hidden;
}

/* ===== LOADING ===== */

#loading-screen {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #ffc6de, #ffe3f3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 1s ease;
}

.loading-gif {
    width: 180px;
    filter: drop-shadow(0 0 10px rgba(255,0,90,0.3));
}

.loading-text {
    margin-top: 15px;
    font-size: 22px;
    color: #d63384;
    animation: softFloat 2.2s ease-in-out infinite;
}

/* ===== HIDDEN UTILITY ===== */
.hidden {
    display: none;
}

/* ===== EPISODE LIST TITLE ===== */
.title {
    text-align: center;
    color: #d63384;
    margin-top: 25px;
    animation: fadeInUp 0.8s ease-out;
}

/* ===== CARD LIST ===== */
.episode-list {
    width: 90%;
    max-width: 430px;
    margin: 25px auto;
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: relative;
}

/* ===== LIQUID GLASS CARD ===== */
.episode-card {
    background: rgba(255, 255, 255, 0.45);
    border-radius: 22px;
    overflow: hidden;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 10px 35px rgba(255, 90, 150, 0.12);
    cursor: pointer;
    transition: 0.25s;
    animation: fadeInUp 0.7s ease;
}

.episode-card:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 45px rgba(255, 60, 140, 0.22);
}

.thumb {
    width: 100%;
    height: auto;
}

.ep-title {
    padding: 15px;
    text-align: center;
    color: #d63384;
    font-size: 18px;
    font-weight: bold;
    animation: softPulse 3s ease infinite;
}

/* ===== VIDEO PLAYER SCREEN ===== */
#player-screen {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    animation: fadeIn 0.6s ease;
}

.back-btn {
    background: linear-gradient(145deg, #ff4fa8, #ff6fc0);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(255,0,90,0.25);
    transition: 0.25s;
}

.back-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(255,0,90,0.35);
}

.video-box {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    animation: fadeInUp 0.7s ease;
}

#video-player {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    border: none;
}

/* ===== BUBBLE ANIMATION BACKGROUND ===== */

body::before,
body::after {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
    animation: bubbles 14s infinite linear;
    opacity: 0.5;
    z-index: -1;
}

body::after {
    animation-duration: 18s;
    opacity: 0.35;
}

/* ===== ANIMATIONS ===== */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes softFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

@keyframes softPulse {
    0% { opacity: 1; }
    50% { opacity: 0.75; }
    100% { opacity: 1; }
}

@keyframes bubbles {
    0% { background-position: 0 100%; }
    100% { background-position: 0 -200%; }
}