@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ============================================================
   WATCH LATER — COMPLETE STANDALONE STYLESHEET
   Exclusive styling & animations for watch-later.php.
   Self-contained: does not depend on any other project file.
   ============================================================ */

:root {
    --iq-bg: #000000;
    --iq-bg-soft: #101010;
    --iq-bg-card: #171717;
    --iq-bg-hover: #222222;
    --iq-green: #1cf6b5;
    --iq-green-dim: rgba(28, 246, 181, 0.14);
    --iq-green-soft: rgba(28, 246, 181, 0.45);
    --iq-gold: #f7d08a;
    --iq-gold-2: #e8b45c;
    --iq-text: #ffffff;
    --iq-text-2: #a6a6a6;
    --iq-text-3: #6f6f6f;
    --iq-border: #262626;
    --iq-radius: 10px;
    --header-h: 64px;
    --iq-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    --wl-glass: rgba(255, 255, 255, 0.04);
    --wl-border: rgba(255, 255, 255, 0.08);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--iq-bg);
    background-image:
        radial-gradient(900px 500px at 85% -10%, rgba(28, 246, 181, 0.06), transparent 60%),
        radial-gradient(700px 400px at -10% 20%, rgba(247, 208, 138, 0.05), transparent 60%);
    color: var(--iq-text);
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font-family: inherit; }

::selection { background: var(--iq-green); color: #000; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--iq-bg); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--iq-green); }

/* ============================================================
   HEADER (sticky, glassy)
   ============================================================ */
#siteHeader {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    background: rgba(0, 0, 0, 0.45);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: background 0.3s, box-shadow 0.3s;
}
#siteHeader.site-header-scrolled {
    background: rgba(0, 0, 0, 0.92);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
}

.header-inner {
    max-width: 1500px;
    height: 100%;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.header-left { display: flex; align-items: center; gap: 20px; }

.logo {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-size: 1.35rem;
    letter-spacing: 0.2px;
}
.logo i {
    color: var(--iq-green);
    filter: drop-shadow(0 0 10px rgba(28, 246, 181, 0.6));
}
.logo .site-name .iq {
    background: linear-gradient(120deg, #1cf6b5 0%, #6dffe0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    text-transform: uppercase;
}
.logo .site-name .com {
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
}

#mainNav { display: flex; align-items: center; gap: 2px; }
#mainNav a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 6px;
    position: relative;
    transition: color 0.2s, background 0.2s;
}
#mainNav a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
#mainNav a.active { color: var(--iq-green); font-weight: 600; }
#mainNav a.active::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: -2px;
    height: 2px;
    background: var(--iq-green);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--iq-green);
}

.header-right { display: flex; align-items: center; gap: 10px; }

.iq-icon-btn {
    position: relative;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 1.05rem;
    border-radius: 50%;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.iq-icon-btn:hover { background: rgba(255, 255, 255, 0.1); color: var(--iq-green); transform: translateY(-1px); }
.iq-icon-btn .iq-count-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: var(--iq-green);
    color: #000;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    animation: wlBadgePop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.vip-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 18px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    text-decoration: none;
    color: #3a2200;
    background: linear-gradient(120deg, #f9d682 0%, #e9a93b 100%);
    box-shadow: 0 0 14px rgba(249, 214, 130, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}
.vip-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(249, 214, 130, 0.55);
    color: #3a2200;
}

.user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--iq-green-dim);
    border: 2px solid var(--iq-green);
    color: var(--iq-green);
    font-weight: 700;
    font-size: 0.95rem;
    overflow: hidden;
}

.login-button {
    display: inline-flex;
    align-items: center;
    padding: 7px 20px;
    border-radius: 18px;
    background: var(--iq-green);
    color: #003b2a;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 0 14px var(--iq-green-dim);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.login-button:hover {
    background: #54ffca;
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(28, 246, 181, 0.4);
}

/* ============================================================
   PAGE + AMBIENT BACKGROUND
   ============================================================ */
.page {
    position: relative;
    max-width: 1500px;
    margin: 0 auto;
    padding: 40px 32px 80px;
    overflow: hidden;
}
.page::before,
.page::after {
    content: '';
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}
.page::before {
    width: 480px;
    height: 480px;
    top: -120px;
    left: -120px;
    background: radial-gradient(circle, rgba(28, 246, 181, 0.16), transparent 65%);
    animation: wlDrift 14s ease-in-out infinite alternate;
}
.page::after {
    width: 420px;
    height: 420px;
    top: 220px;
    right: -140px;
    background: radial-gradient(circle, rgba(247, 208, 138, 0.10), transparent 65%);
    animation: wlDrift 18s ease-in-out infinite alternate-reverse;
}
.page > * { position: relative; z-index: 1; }

/* ============================================================
   HERO
   ============================================================ */
.wl-hero {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 26px 32px;
    margin-bottom: 32px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
    border: 1px solid var(--wl-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
    animation: wlFadeDown 0.7s ease both;
}
.wl-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at 12% 0%, rgba(28, 246, 181, 0.12), transparent 45%);
    pointer-events: none;
}
.wl-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(28, 246, 181, 0.6), transparent);
    animation: wlShimmerLine 3.5s ease-in-out infinite;
}

.wl-icon {
    position: relative;
    flex: 0 0 auto;
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: #003b2a;
    font-size: 1.4rem;
    background: linear-gradient(135deg, #1cf6b5, #0fb98a);
    box-shadow: 0 8px 28px rgba(28, 246, 181, 0.4);
    animation: wlIconBob 3.2s ease-in-out infinite;
}
.wl-icon::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 22px;
    border: 1px solid rgba(28, 246, 181, 0.45);
    animation: wlPulseRing 2.6s ease-out infinite;
}
.wl-icon i { position: relative; z-index: 1; }

.wl-heading h1 {
    margin: 0;
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    background: linear-gradient(120deg, #fff 10%, #1cf6b5 60%, #6dffe0 90%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: wlGradientShift 5s ease-in-out infinite;
}
.wl-heading p {
    margin: 4px 0 0;
    color: #a6a6a6;
    font-size: 0.92rem;
}

.wl-count-pill {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(28, 246, 181, 0.1);
    border: 1px solid rgba(28, 246, 181, 0.35);
    color: #1cf6b5;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    animation: wlPillPulse 2.4s ease-in-out infinite;
}

/* ============================================================
   LOGIN PROMPT / EMPTY STATE
   ============================================================ */
.login-prompt,
.empty-state {
    position: relative;
    max-width: 460px;
    margin: 60px auto;
    padding: 46px 32px;
    text-align: center;
    border-radius: 22px;
    background: var(--wl-glass);
    border: 1px dashed rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    animation: wlFadeUp 0.7s ease both;
}
.login-prompt > i,
.empty-state > i {
    display: inline-block;
    font-size: 2.6rem;
    color: var(--iq-green);
    text-shadow: 0 0 24px rgba(28, 246, 181, 0.6);
    animation: wlIconBob 3.2s ease-in-out infinite;
}
.login-prompt h2,
.empty-state h3 {
    margin: 16px 0 6px;
    color: #fff;
    font-weight: 700;
}
.login-prompt p,
.empty-state p {
    margin: 0 0 22px;
    color: #a6a6a6;
    font-size: 0.9rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 26px;
    border-radius: 999px;
    background: linear-gradient(120deg, #1cf6b5, #0fb98a);
    color: #003b2a;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 26px rgba(28, 246, 181, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}
.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 34px rgba(28, 246, 181, 0.5);
}

/* ============================================================
   STATS
   ============================================================ */
.wl-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 30px;
}
.wl-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    border-radius: 18px;
    background: var(--wl-glass);
    border: 1px solid var(--wl-border);
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.wl-stat:nth-child(1) { animation: wlFadeUp 0.6s 0.05s ease both; }
.wl-stat:nth-child(2) { animation: wlFadeUp 0.6s 0.15s ease both; }
.wl-stat:nth-child(3) { animation: wlFadeUp 0.6s 0.25s ease both; }
.wl-stat:hover {
    transform: translateY(-4px);
    border-color: rgba(28, 246, 181, 0.5);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45), 0 0 22px rgba(28, 246, 181, 0.12);
}
.wl-stat .stat-icon {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: rgba(28, 246, 181, 0.12);
    color: var(--iq-green);
    font-size: 1.1rem;
}
.wl-stat:nth-child(2) .stat-icon { background: rgba(255, 255, 255, 0.08); color: #fff; }
.wl-stat:nth-child(3) .stat-icon { background: rgba(247, 208, 138, 0.12); color: var(--iq-gold); }
.wl-stat .stat-val {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(120deg, #fff, #1cf6b5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.wl-stat .stat-lbl {
    color: #a6a6a6;
    font-size: 0.78rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* ============================================================
   TOOLBAR (search / chips / sort)
   ============================================================ */
.wl-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 22px;
}

.wl-search {
    position: relative;
    flex: 1 1 260px;
    display: flex;
    align-items: center;
}
.wl-search > i {
    position: absolute;
    left: 16px;
    color: #6f6f6f;
    font-size: 0.9rem;
    pointer-events: none;
    transition: color 0.25s;
}
.wl-search input {
    width: 100%;
    padding: 12px 44px 12px 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--wl-border);
    color: #fff;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.wl-search input::placeholder { color: #6f6f6f; }
.wl-search:focus-within > i { color: var(--iq-green); }
.wl-search:focus-within input {
    border-color: var(--iq-green);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 0 4px rgba(28, 246, 181, 0.12), 0 0 24px rgba(28, 246, 181, 0.1);
}

.clear-search {
    position: absolute;
    right: 12px;
    width: 26px;
    height: 26px;
    display: none;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #a6a6a6;
    cursor: pointer;
    font-size: 0.7rem;
    transition: background 0.2s, color 0.2s;
}
.clear-search:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }

.wl-chips {
    display: inline-flex;
    gap: 4px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--wl-border);
    border-radius: 999px;
}
.wl-chips .chip {
    border: none;
    background: transparent;
    color: #a6a6a6;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 999px;
    cursor: pointer;
    transition: color 0.2s, background 0.25s, box-shadow 0.25s, transform 0.2s;
}
.wl-chips .chip:hover { color: #fff; }
.wl-chips .chip.active {
    color: #003b2a;
    background: linear-gradient(120deg, #1cf6b5, #0fb98a);
    box-shadow: 0 4px 16px rgba(28, 246, 181, 0.4);
    transform: scale(1.04);
}

.wl-select {
    padding: 12px 38px 12px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--wl-border);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #1cf6b5 50%),
        linear-gradient(135deg, #1cf6b5 50%, transparent 50%);
    background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
    background-size: 6px 6px;
    background-repeat: no-repeat;
    transition: border-color 0.25s, box-shadow 0.25s;
}
.wl-select:hover { border-color: rgba(28, 246, 181, 0.4); }
.wl-select:focus {
    outline: none;
    border-color: var(--iq-green);
    box-shadow: 0 0 0 4px rgba(28, 246, 181, 0.12);
}
.wl-select option { background: #171717; color: #fff; }

.wl-results {
    margin: 2px 0 14px;
    color: #a6a6a6;
    font-size: 0.85rem;
    animation: wlFadeUp 0.4s ease both;
}
.wl-results b { color: var(--iq-green); }

/* ============================================================
   MOVIES GRID & CARDS
   ============================================================ */
.movies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px 14px;
}
#wlGrid { margin-top: 6px; }
#wlGrid .movie-card {
    animation: wlCardIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
    will-change: transform, opacity;
}
#wlGrid.no-anim .movie-card { animation: none !important; }
#wlGrid .movie-card:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
#wlGrid .movie-card.card-removing {
    animation: wlCardOut 0.35s ease forwards !important;
}

.movie-card {
    border-radius: var(--iq-radius);
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.movie-card:hover { transform: translateY(-4px); }

.movie-poster-container {
    position: relative;
    border-radius: var(--iq-radius);
    overflow: hidden;
    aspect-ratio: 2 / 3;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
    transition: box-shadow 0.3s;
}
.movie-card:hover .movie-poster-container {
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5), 0 0 20px rgba(28, 246, 181, 0.12);
}

.movie-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--iq-radius);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.movie-card:hover .movie-poster { transform: scale(1.06); }

.badge-content {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 6;
}

.poster-gradient-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 70%;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.85) 100%);
    pointer-events: none;
}

.poster-title {
    position: absolute;
    bottom: 8px;
    left: 12px;
    right: 12px;
    z-index: 4;
}
.poster-title h3 {
    margin: 0 0 2px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.poster-title span { color: var(--iq-text-2); font-size: 0.72rem; }
.poster-title span .rating { color: var(--iq-green); }

.poster-hover-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.25s;
}
.movie-card:hover .poster-hover-overlay { opacity: 1; }
.poster-hover-overlay .play-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--iq-green);
    color: #003b2a;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.05rem;
    box-shadow: 0 6px 24px rgba(28, 246, 181, 0.45);
    transition: background 0.2s, transform 0.2s;
}
.poster-hover-overlay .play-icon:hover { background: #54ffca; transform: scale(1.08); }

.wl-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 6;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s, background 0.2s, color 0.2s;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.movie-card:hover .wl-btn { opacity: 1; }
.wl-btn:hover { background: var(--iq-green); color: #000; }
.wl-btn.saved {
    opacity: 1;
    background: var(--iq-green);
    color: #000;
    animation: wlBtnPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.wl-btn.loading { opacity: 0.6; pointer-events: none; }

.movie-info { padding: 10px 4px 0; }
.movie-meta { color: var(--iq-text-2); font-size: 0.78rem; }
.movie-meta .rating { color: var(--iq-green); }
.movie-buttons { gap: 8px; margin-top: 8px; }

.watch-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(28, 246, 181, 0.1);
    color: var(--iq-green);
    border: 1px solid var(--iq-green);
    border-radius: 16px;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 14px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.watch-btn:hover {
    background: var(--iq-green);
    color: #003b2a;
    box-shadow: 0 0 16px rgba(28, 246, 181, 0.4);
}

/* ============================================================
   TOASTS
   ============================================================ */
.toast-wrap {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 240px;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(23, 23, 23, 0.92);
    border: 1px solid rgba(28, 246, 181, 0.4);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 500;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55), 0 0 18px rgba(28, 246, 181, 0.15);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    animation: wlToastIn 0.4s cubic-bezier(0.21, 1.02, 0.73, 1) both;
}
.toast i {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--iq-green);
    color: #003b2a;
    font-size: 0.75rem;
}
.toast.toast-remove { border-color: rgba(255, 107, 107, 0.45); }
.toast.toast-remove i { background: #ff6b6b; color: #fff; }
.toast.out { animation: wlToastOut 0.3s ease both; }

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes wlDrift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(40px, 30px, 0) scale(1.15); }
}
@keyframes wlFadeDown {
    from { opacity: 0; transform: translateY(-18px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes wlFadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes wlShimmerLine {
    0%, 100% { opacity: 0.35; }
    50%      { opacity: 1; }
}
@keyframes wlIconBob {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50%      { transform: translateY(-5px) rotate(2deg); }
}
@keyframes wlPulseRing {
    0%   { transform: scale(0.9); opacity: 0.9; }
    70%  { transform: scale(1.45); opacity: 0; }
    100% { opacity: 0; }
}
@keyframes wlGradientShift {
    0%, 100% { background-position: 0% center; }
    50%      { background-position: 100% center; }
}
@keyframes wlPillPulse {
    0%, 100% { box-shadow: 0 0 12px rgba(28, 246, 181, 0.12); }
    50%      { box-shadow: 0 0 24px rgba(28, 246, 181, 0.35); }
}
@keyframes wlCardIn {
    from { opacity: 0; transform: translateY(22px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes wlCardOut {
    to { opacity: 0; transform: translateY(10px) scale(0.94); }
}
@keyframes wlBtnPop {
    0%   { transform: scale(0.5); }
    60%  { transform: scale(1.25); }
    100% { transform: scale(1); }
}
@keyframes wlBadgePop {
    from { transform: scale(0.5); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
@keyframes wlToastIn {
    from { opacity: 0; transform: translateX(60px) scale(0.9); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes wlToastOut {
    to { opacity: 0; transform: translateX(60px) scale(0.9); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .header-inner { padding: 0 16px; }
    .page { padding: 24px 16px 64px; }
    .wl-hero { flex-wrap: wrap; padding: 22px; }
    .wl-count-pill { margin-left: 0; }
    .wl-heading h1 { font-size: 1.6rem; }
    .wl-stats { grid-template-columns: 1fr; gap: 12px; }
    .wl-toolbar { flex-direction: column; align-items: stretch; }
    .wl-chips { justify-content: center; }
    .movies-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px 10px; }
    .toast-wrap { left: 16px; right: 16px; }
    .toast { min-width: 0; }
}
