    /* ─── After Movie v2 — Light Theme ─── */
.aftermovie-section {
    padding: 20px 0 20px;
    background: #f0f4f8;
    position: relative;
    overflow: hidden;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Background decorations */
.am-bg-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(6,79,189,0.06);
    pointer-events: none;
}
.am-bg-circle-1 { width: 500px; height: 500px; top: -150px; right: -100px; animation: amFloat 8s ease-in-out infinite; }
.am-bg-circle-2 { width: 400px; height: 400px; bottom: -100px; left: -80px; animation: amFloat 10s ease-in-out infinite 1s; }
.am-bg-circle-3 { width: 250px; height: 250px; top: 50%; left: 10%; animation: amFloat 6s ease-in-out infinite 0.5s; }
@keyframes amFloat { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-20px) scale(1.02); } }

/* Grid pattern overlay */
.am-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(6,79,189,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6,79,189,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* Floating shapes */
.am-shape {
    position: absolute;
    opacity: 0.06;
    pointer-events: none;
}
.am-shape-1 {
    width: 80px;
    height: 80px;
    border: 3px solid #064fbd;
    border-radius: 16px;
    top: 15%;
    left: 8%;
    animation: amShapeSpin 15s linear infinite;
}
.am-shape-2 {
    width: 60px;
    height: 60px;
    background: #f9d347;
    border-radius: 50%;
    bottom: 20%;
    right: 10%;
    animation: amShapePulse 4s ease-in-out infinite;
}
.am-shape-3 {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 50px solid #064fbd;
    top: 70%;
    left: 15%;
    animation: amShapeSpin 12s linear infinite reverse;
}
.am-shape-4 {
    width: 40px;
    height: 40px;
    border: 2px solid #f9d347;
    border-radius: 8px;
    top: 20%;
    right: 15%;
    animation: amShapeSpin 10s linear infinite;
}
@keyframes amShapeSpin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes amShapePulse { 0%, 100% { transform: scale(1); opacity: 0.06; } 50% { transform: scale(1.2); opacity: 0.1; } }

/* Header */
.am-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
    margin-top: 10px;
}
.am-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(6,79,189,0.08);
    border: 1px solid rgba(6,79,189,0.15);
    color: #064fbd;
    font-size: 10px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 999px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.am-chip .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f9d347;
    animation: amPulse 2s ease-in-out infinite;
}
@keyframes amPulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

.am-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: #1a2332;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}
.am-title span {
    background: linear-gradient(135deg, #f9d347, #f5a623);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.am-subtitle {
    font-size: 14px;
    color: #5a6a7a;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Player Frame */
.am-player-frame {
    position: relative;
    width: 80%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 20px 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.85), rgba(255,255,255,0.6));
    border-radius: 24px;
    border: 1px solid rgba(6,79,189,0.1);
    box-shadow:
        0 4px 6px rgba(0,0,0,0.02),
        0 25px 70px rgba(6,79,189,0.1),
        inset 0 1px 0 rgba(255,255,255,0.8);
    backdrop-filter: blur(20px);
}
.am-player-frame::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 25px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(249,211,71,0.3), rgba(6,79,189,0.2), rgba(249,211,71,0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Top bar (window controls) */
.am-topbar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 0 4px;
}
.am-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.am-dot-red { background: #ef4444; }
.am-dot-yellow { background: #f9d347; }
.am-dot-green { background: #22c55e; }
.am-topbar-title {
    flex: 1;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #7a8a9a;
    letter-spacing: 0.05em;
}

/* Video container */
.am-video-container {
    position: relative;
    aspect-ratio: 16/10;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8edf2, #d1d9e6);
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
}
.am-video-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(6,79,189,0.08), transparent 60%),
        radial-gradient(ellipse at 70% 60%, rgba(249,211,71,0.06), transparent 50%),
        linear-gradient(135deg, #e8edf2, #dce3eb);
}

/* Play button */
.am-play-btn {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #064fbd, #003a8c);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 35px rgba(6,79,189,0.35);
}
.am-play-btn::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(6,79,189,0.2);
    animation: amPlayRing 2s ease-in-out infinite;
}
.am-play-btn::after {
    content: '';
    position: absolute;
    inset: -16px;
    border-radius: 50%;
    border: 1px solid rgba(6,79,189,0.1);
    animation: amPlayRing 2s ease-in-out infinite 0.3s;
}
@keyframes amPlayRing { 0%, 100% { opacity: 0.3; transform: scale(1); } 50% { opacity: 0.6; transform: scale(1.05); } }
.am-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(6,79,189,0.4);
}
.am-play-triangle {
    width: 0;
    height: 0;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-left: 24px solid #fff;
    margin-left: 4px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Video label */
.am-video-label {
    margin-top: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #5a6a7a;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Bottom controls bar */
.am-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding: 10px 16px;
    background: rgba(255,255,255,0.6);
    border-radius: 10px;
    border: 1px solid rgba(6,79,189,0.06);
}
.am-controls-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.am-ctrl-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(6,79,189,0.06);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #064fbd;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.am-ctrl-btn:hover {
    background: rgba(6,79,189,0.12);
}
.am-progress-wrap {
    flex: 1;
    height: 4px;
    background: rgba(6,79,189,0.1);
    border-radius: 2px;
    overflow: hidden;
}
.am-progress-fill {
    width: 35%;
    height: 100%;
    background: linear-gradient(90deg, #064fbd, #f9d347);
    border-radius: 2px;
    animation: amProgress 8s ease-in-out infinite;
}
@keyframes amProgress { 0% { width: 0%; } 100% { width: 100%; } }
.am-time {
    font-size: 11px;
    font-weight: 600;
    color: #7a8a9a;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .aftermovie-section {
        padding: 10px 0 10px !important;
        min-height: auto !important;
    }
    .am-header {
        margin-bottom: 8px !important;
        margin-top: 0 !important;
    }
    .am-title {
        font-size: 22px !important;
        margin-bottom: 4px !important;
    }
    .am-subtitle {
        font-size: 11px !important;
        line-height: 1.3 !important;
        margin-bottom: 0 !important;
    }
    .am-chip {
        margin-bottom: 6px !important;
        padding: 3px 10px !important;
        font-size: 9px !important;
    }
    .am-player-frame { padding: 10px; width: 95%; }
    .am-play-btn { width: 50px; height: 50px; }
    .am-play-triangle { border-top-width: 8px; border-bottom-width: 8px; border-left-width: 14px; }
    .am-shape { display: none; }
    .am-bg-circle { display: none; }

    /* Yellow Bubbles */
    .am-bubbles {
        position: relative;
        width: 100%;
        height: 60px;
        z-index: 1;
        pointer-events: none;
        overflow: hidden;
    }
    .am-bubble {
        position: absolute;
        border-radius: 50%;
        background: radial-gradient(circle at 30% 30%, rgba(249,211,71,0.4), rgba(249,211,71,0.15));
        filter: blur(2px);
        animation: bubbleFloat 12s ease-in-out infinite;
    }
    .am-bubble:nth-child(1) { width: 50px; height: 50px; left: 10%; top: 10%; animation-delay: 0s; animation-duration: 14s; }
    .am-bubble:nth-child(2) { width: 35px; height: 35px; left: 30%; top: 50%; animation-delay: 2s; animation-duration: 11s; }
    .am-bubble:nth-child(3) { width: 65px; height: 65px; left: 55%; top: 20%; animation-delay: 4s; animation-duration: 16s; }
    .am-bubble:nth-child(4) { width: 25px; height: 25px; left: 75%; top: 60%; animation-delay: 1s; animation-duration: 10s; }
    .am-bubble:nth-child(5) { width: 45px; height: 45px; left: 90%; top: 30%; animation-delay: 3s; animation-duration: 13s; }
}

/* Hide bubbles on desktop */
.am-bubbles { display: none; }

