/* custom.css - bloghelper Design System & Visual FX */

:root {
    --accent-primary: #00ff87;
    --accent-secondary: #60efff;
    --bg-dark-950: #070913;
    --bg-dark-900: #0b0f19;
    --bg-dark-800: #141b2d;
    --font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark-950);
    font-family: var(--font-family);
    -webkit-font-smoothing: antialiased;
}

/* Glassmorphism Panels */
.glass-panel {
    background: rgba(11, 15, 25, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.glass-card {
    background: rgba(20, 27, 45, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* Glowing decorative blobs */
.glow-ring {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
    transition: all 0.8s ease;
}

.pulse-glow-bg {
    animation: pulse-glow 8s infinite alternate ease-in-out;
}

@keyframes pulse-glow {
    0% {
        transform: scale(1) translate(0px, 0px);
        opacity: 0.12;
    }
    50% {
        transform: scale(1.15) translate(20px, -20px);
        opacity: 0.18;
    }
    100% {
        transform: scale(0.9) translate(-10px, 30px);
        opacity: 0.12;
    }
}

/* Floating animation for TVs or Smart Devices */
.animate-float {
    animation: float 4s infinite alternate ease-in-out;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    100% {
        transform: translateY(-12px) rotate(0.5deg);
    }
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    transition: background 0.3s;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* Neon Glow borders */
.neon-border-green {
    box-shadow: 0 0 15px rgba(0, 255, 135, 0.1);
    border-color: rgba(0, 255, 135, 0.3) !important;
}

.neon-border-green:hover {
    box-shadow: 0 0 25px rgba(0, 255, 135, 0.25);
    border-color: rgba(0, 255, 135, 0.5) !important;
}

/* Text glow FX */
.glow-text {
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
}

/* Reveal effects on scroll */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Chat transitions */
.chat-window {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}
.chat-closed {
    transform: scale(0.9) translateY(40px);
    opacity: 0;
    pointer-events: none;
}
.chat-opened {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* ------------------------------------------------------------- */
/* NETFLIX CLONE STYLING & FX */
/* ------------------------------------------------------------- */

/* Custom scroll row for Netflix list layout */
.netflix-row-container {
    position: relative;
}

.netflix-row {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 16px;
    padding: 16px 0;
}

.netflix-row::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari and Opera */
}
.netflix-row {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Netflix movie card zoom effect */
.netflix-movie-card {
    position: relative;
    flex: 0 0 auto;
    width: 175px;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.netflix-movie-card:hover {
    transform: scale(1.18);
    z-index: 30;
    border-color: rgba(229, 9, 20, 0.5); /* Vermelho Netflix */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.9);
}

.netflix-movie-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease;
}

/* Hover Details Box Overlay */
.netflix-movie-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 9, 19, 0.95) 45%, rgba(7, 9, 19, 0.7) 70%, rgba(7, 9, 19, 0) 100%);
    display: flex;
    flex-col: column;
    justify-content: flex-end;
    padding: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.netflix-movie-card:hover .netflix-movie-overlay {
    opacity: 1;
    pointer-events: auto;
}

/* Netflix Billboard / Hero Section */
.netflix-billboard {
    position: relative;
    width: 100%;
    min-height: 70vh;
    background-size: cover;
    background-position: center 25%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.netflix-billboard-overlay {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(to right, rgba(7, 9, 19, 0.95) 25%, rgba(7, 9, 19, 0.4) 60%, rgba(7, 9, 19, 0) 100%),
        linear-gradient(to top, rgba(7, 9, 19, 1) 4%, rgba(7, 9, 19, 0) 25%);
    z-index: 1;
}

/* Carousel Control Arrows */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(7, 9, 19, 0.5);
    backdrop-filter: blur(4px);
    border: 0;
    color: white;
    cursor: pointer;
    z-index: 35;
    opacity: 0;
    transition: opacity 0.3s, background-color 0.3s;
}

.netflix-row-container:hover .carousel-btn {
    opacity: 1;
}

.carousel-btn:hover {
    background: rgba(229, 9, 20, 0.8); /* Vermelho Netflix hover */
}

.carousel-btn.left {
    left: 0;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.carousel-btn.right {
    right: 0;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

