/* ==========================================
   MOVIEHUBBD - CUSTOM THEME
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
    --color-primary: #00d9ff;
    --color-secondary: #ff1744;
    --bg-main: #060b1f;
    --bg-card: #0f172a;
    --bg-header: rgba(6, 11, 31, 0.85);
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

/* Custom Utilities */
.text-cyan {
    color: var(--color-primary);
}

.bg-cyan {
    background-color: var(--color-primary);
}

.border-cyan {
    border-color: var(--color-primary);
}

.shadow-cyan {
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.3);
}

/* Movie Card */
.movie-card-badge {
    background: var(--color-primary);
    color: #000;
    font-weight: 800;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
}

.movie-card-rating {
    background: #00d9ff;
    color: #000;
    font-weight: bold;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Download Block */
.download-block {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.download-block:hover {
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.1);
}

.download-btn-outline {
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    border-radius: 9999px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.download-btn-outline:hover {
    background: var(--color-primary);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.4);
}

/* Server Button */
.server-btn {
    background: #1e293b;
    color: #94a3b8;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.2s;
}

.server-btn:hover,
.server-btn.active {
    background: var(--color-primary);
    color: #000;
}

/* Play Overlay */
.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.group:hover .play-overlay {
    opacity: 1;
}

.play-overlay i {
    color: white;
    font-size: 3rem;
    filter: drop-shadow(0 4px 10px rgba(229, 9, 20, 0.5));
}

/* Player Border */
.player-wrapper {
    border: 4px solid #e50914 !important;
    border-radius: 8px !important;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(229, 9, 20, 0.5) !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #020617;
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #334155;
}