/* ── Base ──────────────────────────────────────────────────────────────── */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(236, 72, 153, 0.2) transparent;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(236, 72, 153, 0.2); border-radius: 3px; }

::selection {
    background: rgba(236, 72, 153, 0.3);
    color: white;
}

/* ── Glow Button ──────────────────────────────────────────────────────── */
.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #EC4899, #7C3AED, #EC4899);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(12px);
}

.btn-glow:hover::before {
    opacity: 0.6;
}

/* ── Video Background Pulse ───────────────────────────────────────────── */
@keyframes subtle-pulse {
    0%, 100% { opacity: 0.12; }
    50% { opacity: 0.18; }
}

.video-bg-pulse {
    animation: subtle-pulse 8s ease-in-out infinite;
}

/* ── Card Shimmer ─────────────────────────────────────────────────────── */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.card-shimmer {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(236, 72, 153, 0.03) 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: shimmer 6s ease-in-out infinite;
}

/* ── Video Player ─────────────────────────────────────────────────────── */
video::-webkit-media-controls-enclosure {
    border-radius: 0;
}

video::-webkit-media-controls-panel {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

/* ── Focus States ─────────────────────────────────────────────────────── */
input:focus, textarea:focus, select:focus {
    outline: none;
}

/* ── Smooth Page Transitions ──────────────────────────────────────────── */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

main {
    animation: fadeIn 0.4s ease-out;
}

/* ── Mobile Touch Optimizations ───────────────────────────────────────── */
@media (max-width: 640px) {
    .btn-glow:hover::before {
        opacity: 0;
    }

    .btn-glow:active::before {
        opacity: 0.6;
    }
}
