/* =========================================
   CINEMATIC FUN FACT STYLES
   ========================================= */

:root {
    --ff-gold: #e7b65c;
    --ff-black: #050505;
    --ff-card-bg: #111111;
    --ff-border: rgba(255, 255, 255, 0.08);
    --ff-text-muted: #b0b0b0;
    --ease-out-back: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Section Wrapper */
.cine-funfact-section {
    position: relative;
    padding: 100px 0;
    background-color: var(--ff-black);
    overflow: hidden;
    font-family: 'Manrope', sans-serif;
    color: #fff;
    margin-top: 0 !important; /* Forces reset of negative margins */
}

.relative-z { position: relative; z-index: 5; }

/* Background Effects */
.ff-bg-pattern {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.03;
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 1;
}

.ff-glow-spot {
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(231, 182, 92, 0.08) 0%, transparent 70%);
    top: -100px; right: -100px;
    z-index: 0;
}

/* Left Content Styles */
.ff-subtitle {
    font-family: 'Outfit', sans-serif;
    color: var(--ff-gold);
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.ff-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 20px;
}

.ff-gold-line {
    width: 80px;
    height: 3px;
    background: var(--ff-gold);
    margin-bottom: 25px;
}

.ff-desc {
    color: var(--ff-text-muted);
    font-size: 1.15rem;
    line-height: 1.5;
    margin-bottom: 30px;
    max-width: 90%;
}

.ff-quote {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    font-style: italic;
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
}

.ff-quote i {
    color: var(--ff-gold);
    font-size: 1.5rem;
}

/* Right Side Grid */
.ff-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Stat Card */
.stat-card {
    background: var(--ff-card-bg);
    border: 1px solid var(--ff-border);
    padding: 40px 30px;
    border-radius: 16px;
    position: relative;
    transition: all 0.4s var(--ease-out-back);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
}

/* Hover Effect */
.stat-card:hover {
    transform: translateY(-10px);
    border-color: rgba(231, 182, 92, 0.4);
    box-shadow: 0 15px 40px -10px rgba(231, 182, 92, 0.15);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: var(--ff-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

/* Icons */
.stat-icon {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.1); /* Subtle inactive color */
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.stat-card:hover .stat-icon {
    color: var(--ff-gold);
    transform: scale(1.1);
}

/* Numbers */
.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1;
    color: #fff;
    /* Gradient Text */
    background: linear-gradient(135deg, #fff 40%, var(--ff-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1rem;
    color: var(--ff-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    margin-bottom: 0;
    font-weight: 600;
}

/* Reveal Animation Class */
.reveal-ff {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Responsive */
@media (max-width: 991px) {
    .ff-title { font-size: 2.5rem; }
    .ff-desc { max-width: 100%; }
    .ff-stats-grid { gap: 20px; }
}

@media (max-width: 576px) {
    .ff-stats-grid { grid-template-columns: 1fr; } /* Stack cards on mobile */
    .stat-card { flex-direction: row; align-items: center; gap: 20px; padding: 25px; }
    .stat-icon { margin-bottom: 0; font-size: 2rem; }
    .stat-number { font-size: 2.5rem; }
    .stat-info { text-align: left; }
}