/**
 * FALF TV - Main Stylesheet
 * Custom African Luxury Theme
 * Professional Video Streaming Platform
 */

/* ============================================
   GOOGLE FONTS IMPORT
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@400;500;600;700;800&display=swap');

/* ============================================
   CSS VARIABLES - FALF TV COLOR SYSTEM
   ============================================ */
:root {
    /* FALF TV Brand Colors */
    --falf-green-primary: #1a5f3a;
    --falf-green-light: #2d8659;
    --falf-green-dark: #0d3d23;
    --falf-gold-primary: #d4af37;
    --falf-gold-light: #f4c430;
    --falf-gold-accent: #ffd700;
    
    /* Background Colors - Luxury Theme */
    --bg-primary: #faf8f3;           /* Warm cream */
    --bg-secondary: #ffffff;          /* Pure white */
    --bg-dark: #0a0e0d;              /* Very dark green-black */
    --bg-dark-secondary: #1a2e25;    /* Deep forest green */
    --bg-card: #ffffff;               /* Card background */
    --bg-hover: #f0ede5;             /* Hover state */
    
    /* Text Colors */
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #6b7280;
    --text-light: #ffffff;
    
    /* Accent Colors */
    --success: #2d8659;
    --error: #dc2626;
    --warning: #f59e0b;
    --info: #3b82f6;
    
    /* Shadows & Effects */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.16);
    --shadow-xl: 0 12px 32px rgba(0,0,0,0.2);
    --glow-gold: 0 0 30px rgba(212, 175, 55, 0.4);
    --glow-green: 0 0 20px rgba(26, 95, 58, 0.3);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
}

a:hover {
    color: var(--falf-gold-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-md);
}

.text-muted {
    color: var(--text-muted);
}

.text-gold {
    color: var(--falf-gold-primary);
}

.text-green {
    color: var(--falf-green-primary);
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section {
    padding: var(--spacing-3xl) 0;
}

.section-sm {
    padding: var(--spacing-2xl) 0;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */
.navbar {
    background: var(--bg-dark);
    padding: var(--spacing-md) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    border-bottom: 3px solid var(--falf-gold-primary);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.navbar-brand img {
    height: 50px;
    width: auto;
}

.navbar-brand span {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.navbar-menu {
    display: flex;
    gap: var(--spacing-xl);
    list-style: none;
}

.navbar-menu a {
    color: var(--text-light);
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    position: relative;
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--falf-gold-light);
}

.navbar-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--falf-gold-primary);
}

.navbar-actions {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--falf-green-primary), var(--falf-green-light));
    color: var(--text-light);
    border-color: var(--falf-gold-primary);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--falf-gold-primary), var(--falf-gold-light));
    color: var(--text-primary);
    box-shadow: var(--glow-gold);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--falf-gold-primary);
    border-color: var(--falf-gold-primary);
}

.btn-secondary:hover {
    background: var(--falf-gold-primary);
    color: var(--text-primary);
}

.btn-gold {
    background: var(--falf-gold-primary);
    color: var(--text-primary);
    font-weight: 700;
}

.btn-gold:hover {
    background: var(--falf-gold-light);
    box-shadow: var(--glow-gold);
    transform: scale(1.05);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--falf-green-dark) 0%, var(--bg-dark) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/hero-pattern.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--falf-gold-light);
    margin-bottom: var(--spacing-xl);
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
}

/* ============================================
   CARD COMPONENT
   ============================================ */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* ============================================
   VIDEO CARDS
   ============================================ */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.video-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 3px solid transparent;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-8px);
    border-color: var(--falf-gold-primary);
    box-shadow: var(--shadow-xl), var(--glow-gold);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-bottom: 2px solid var(--falf-gold-primary);
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.8);
    color: var(--text-light);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
}

.video-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--falf-gold-primary);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.video-info {
    padding: var(--spacing-md);
}

.video-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    gap: var(--spacing-md);
    font-size: 14px;
    color: var(--text-muted);
    margin-top: var(--spacing-sm);
}

.video-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.video-category {
    display: inline-block;
    background: var(--falf-green-primary);
    color: var(--text-light);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    margin-top: var(--spacing-sm);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-2xl);
    border-left: 5px solid var(--falf-gold-primary);
    padding-left: var(--spacing-lg);
}

.section-title {
    font-size: 2rem;
    color: var(--falf-green-primary);
    font-weight: 700;
    margin: 0;
}

.view-all {
    color: var(--falf-gold-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: all var(--transition-base);
}

.view-all:hover {
    gap: var(--spacing-md);
    color: var(--falf-gold-light);
}

/* ============================================
   LIVE STREAM SECTION
   ============================================ */
.live-stream-container {
    background: var(--bg-dark);
    padding: var(--spacing-2xl) 0;
    margin: var(--spacing-3xl) 0;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: #dc2626;
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: var(--radius-lg);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    animation: pulse 2s infinite;
}

.live-badge::before {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--text-light);
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.video-player-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl), var(--glow-gold);
    border: 3px solid var(--falf-gold-primary);
}

/* ============================================
   CATEGORY GRID
   ============================================ */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

.category-card {
    background: linear-gradient(135deg, var(--falf-green-primary), var(--falf-green-light));
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-base);
    border: 2px solid var(--falf-gold-primary);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--glow-gold);
    background: linear-gradient(135deg, var(--falf-gold-primary), var(--falf-gold-light));
}

.category-icon {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.category-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 0;
}

.category-count {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin-top: var(--spacing-sm);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
    border-top: 3px solid var(--falf-gold-primary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-section h4 {
    color: var(--falf-gold-primary);
    margin-bottom: var(--spacing-lg);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    transition: all var(--transition-base);
}

.footer-links a:hover {
    color: var(--falf-gold-light);
    padding-left: var(--spacing-sm);
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--falf-gold-primary);
    color: var(--text-primary);
    border-radius: 50%;
    font-size: 18px;
    transition: all var(--transition-base);
}

.social-icon:hover {
    background: var(--falf-gold-light);
    transform: scale(1.1);
    box-shadow: var(--glow-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   LOADING SPINNER
   ============================================ */
.spinner {
    border: 4px solid rgba(212, 175, 55, 0.2);
    border-top: 4px solid var(--falf-gold-primary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: var(--spacing-2xl) auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }

.hidden { display: none; }
.visible { display: block; }

/* Button Size Modifiers */
.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Secondary button for dark backgrounds (like hero) */
.hero .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.hero .btn-secondary:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--falf-gold-primary);
    color: var(--falf-gold-light);
}
/* EMERGENCY CSS FIX - Add this to style.css */

/* Ensure body has proper styling */
body {
    background: #faf8f3 !important;
    color: #1a1a1a !important;
    min-height: 100vh !important;
}

/* Ensure container is visible */
.container {
    width: 90% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* Hero section must be visible */
.hero {
    background: linear-gradient(135deg, #0d3d23 0%, #0a0e0d 100%) !important;
    min-height: 600px !important;
    display: flex !important;
    align-items: center !important;
    padding: 80px 0 !important;
}

.hero-content {
    position: relative !important;
    z-index: 10 !important;
    max-width: 700px !important;
}

.hero-title {
    color: #ffffff !important;
    font-size: 3.5rem !important;
    margin-bottom: 20px !important;
    font-weight: 700 !important;
}

.hero-subtitle {
    color: #f4c430 !important;
    font-size: 1.5rem !important;
    margin-bottom: 20px !important;
}

.hero-description {
    color: rgba(255,255,255,0.95) !important;
    font-size: 1.1rem !important;
    line-height: 1.8 !important;
    margin-bottom: 30px !important;
}

/* Buttons must be visible */
.hero-actions {
    display: flex !important;
    gap: 15px !important;
    flex-wrap: wrap !important;
    margin-top: 20px !important;
}

.btn {
    display: inline-block !important;
    padding: 15px 30px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    border: 2px solid transparent !important;
}

.btn-primary {
    background: linear-gradient(135deg, #1a5f3a, #2d8659) !important;
    color: #ffffff !important;
    border-color: #d4af37 !important;
}

.btn-secondary {
    background: rgba(255,255,255,0.1) !important;
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.5) !important;
}

.btn-lg {
    padding: 16px 36px !important;
    font-size: 1.1rem !important;
}

/* Card styling */
.card {
    background: #ffffff !important;
    padding: 40px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
    margin: 40px 0 !important;
}

/* Section spacing */
.section {
    padding: 80px 0 !important;
}

/* Video cards must be visible */
.video-card {
    background: #ffffff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

.video-info {
    padding: 15px !important;
}

.video-title {
    color: #1a1a1a !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
}

/* ============================================
   MODALS
   ============================================ */

/* Search Modal */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.search-modal.active {
    display: flex;
}

.search-modal-content {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    position: relative;
}

.search-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s;
}

.search-close:hover {
    color: var(--falf-gold-primary);
    transform: rotate(90deg);
}

.search-form {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid var(--falf-green-primary);
    border-radius: 10px;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: var(--falf-gold-primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.search-suggestions {
    margin-top: 20px;
    max-height: 300px;
    overflow-y: auto;
}

/* Login Modal */
.login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-modal.active {
    display: flex;
}

.login-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 450px;
    width: 100%;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
    line-height: 1;
    padding: 5px;
}

.login-modal-close:hover {
    color: var(--falf-gold-primary);
    transform: rotate(90deg);
}

.login-modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-modal-header h2 {
    color: var(--falf-green-primary);
    font-size: 2rem;
    margin-bottom: 10px;
}

.login-modal-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--falf-green-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.login-form input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

.login-form input:focus {
    outline: none;
    border-color: var(--falf-gold-primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.login-form button[type="submit"] {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--falf-green-primary), var(--falf-green-light));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.login-form button[type="submit"]:hover {
    background: linear-gradient(135deg, var(--falf-gold-primary), var(--falf-gold-light));
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.login-modal-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.login-modal-footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

.contact-hero {
    position: relative;
    background: linear-gradient(135deg, #1a5f3a 0%, #0d2818 100%);
    padding: 100px 0 60px;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://falfpullzone.b-cdn.net/FALA/assets/FALF-TV-PAGE-1.jpg') center/cover;
    opacity: 0.08;
}

.contact-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-form-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

.form-header {
    margin-bottom: 30px;
}

.form-header h2 {
    color: var(--falf-green-primary);
    font-size: 2rem;
    margin-bottom: 10px;
}

.form-header p {
    color: var(--text-secondary);
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
    border-left: 4px solid var(--falf-gold-primary);
    transition: all 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.info-card .icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--falf-green-primary), var(--falf-green-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.info-card h3 {
    color: var(--falf-green-primary);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.info-card a {
    color: var(--falf-gold-primary);
    text-decoration: none;
    font-weight: 600;
}

.info-card a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--falf-green-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--falf-gold-primary);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

/* ============================================
   CATEGORIES PAGE
   ============================================ */

.categories-hero {
    position: relative;
    background: linear-gradient(135deg, var(--falf-green-dark) 0%, var(--bg-dark) 100%);
    padding: 100px 0 80px;
    text-align: center;
    overflow: hidden;
}

.categories-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://falfpullzone.b-cdn.net/FALA/assets/pattern.png');
    background-size: cover;
    opacity: 0.05;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 60px 0;
}

.category-card-large {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    height: 400px;
}

.category-card-large:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.category-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.category-card-large:hover .category-image img {
    transform: scale(1.1);
}

.category-image-with-icon {
    background: linear-gradient(135deg, var(--falf-green-primary), var(--falf-green-light));
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon-large {
    font-size: 6rem;
    color: rgba(255,255,255,0.9);
}

.category-content {
    padding: 25px;
}

.category-name-large {
    font-size: 1.8rem;
    color: var(--falf-green-primary);
    font-weight: 700;
    margin-bottom: 12px;
}

.category-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.category-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.category-stats i {
    color: var(--falf-gold-primary);
}

.browse-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--falf-green-primary), var(--falf-green-light));
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.browse-btn:hover {
    background: linear-gradient(135deg, var(--falf-gold-primary), var(--falf-gold-light));
    color: var(--text-primary);
    transform: translateX(5px);
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.about-hero {
    position: relative;
    background: linear-gradient(135deg, var(--falf-green-dark) 0%, var(--bg-dark) 100%);
    padding: 120px 0 80px;
    text-align: center;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://falfpullzone.b-cdn.net/FALA/assets/FALF-TV-PAGE-1.jpg') center/cover;
    opacity: 0.1;
}

.stats-section {
    background: var(--bg-card);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 30px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--falf-green-primary), var(--falf-gold-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 600;
}

.story-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.story-content h2 {
    font-size: 2.5rem;
    color: var(--falf-green-primary);
    margin-bottom: 20px;
}

.story-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.features-section {
    padding: 100px 0;
    background: var(--bg-card);
}

.section-title-center {
    text-align: center;
    font-size: 3rem;
    color: var(--falf-green-primary);
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--falf-green-primary), var(--falf-green-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--falf-green-primary);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.vision-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--falf-green-dark) 0%, var(--bg-dark) 100%);
    color: white;
    text-align: center;
}

.vision-content {
    max-width: 800px;
    margin: 0 auto;
}

.vision-content h2 {
    font-size: 3rem;
    color: var(--falf-gold-primary);
    margin-bottom: 25px;
}

.vision-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
}

.cta-section {
    padding: 100px 0;
    text-align: center;
    background: var(--bg-primary);
}

.cta-content h2 {
    font-size: 3rem;
    color: var(--falf-green-primary);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .story-grid,
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .category-card-large {
        height: auto;
    }
}
/* ============================================
   PREMIUM ENHANCEMENTS - SUPERIOR QUALITY
   ============================================ */

/* Premium Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Premium Typography */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Premium Category Cards with Advanced Effects */
.category-card-large {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.category-card-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
    z-index: 1;
}

.category-card-large:hover::before {
    left: 100%;
}

.category-card-large::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

.category-card-large:hover::after {
    opacity: 1;
}

/* Premium Button Effects */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Premium Feature Cards */
.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--falf-gold-primary), var(--falf-green-primary), var(--falf-gold-primary));
    background-size: 400%;
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
    border-radius: 15px;
    animation: shimmer 3s linear infinite;
}

.feature-card:hover::before {
    opacity: 0.3;
}

/* Glassmorphism Effects */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* Premium Hover Lift Effect */
.lift-on-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lift-on-hover:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 70px rgba(0,0,0,0.25);
}

/* Premium Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

/* Premium Section Dividers */
.section-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--falf-gold-primary), var(--falf-green-primary));
    margin: 40px auto;
    border-radius: 2px;
    position: relative;
}

.section-divider::before,
.section-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    background: var(--falf-gold-primary);
    border-radius: 50%;
    transform: translateY(-50%);
}

.section-divider::before {
    left: -20px;
}

.section-divider::after {
    right: -20px;
}

/* Premium Image Overlay */
.image-overlay-gradient {
    position: relative;
}

.image-overlay-gradient::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    pointer-events: none;
}

/* Premium Stats Animation */
.stat-number {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.stat-item:nth-child(1) .stat-number { animation-delay: 0.1s; }
.stat-item:nth-child(2) .stat-number { animation-delay: 0.2s; }
.stat-item:nth-child(3) .stat-number { animation-delay: 0.3s; }
.stat-item:nth-child(4) .stat-number { animation-delay: 0.4s; }

/* Premium Text Gradient */
.text-gradient-gold {
    background: linear-gradient(135deg, #d4af37, #f4e5b0, #d4af37);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

.text-gradient-green {
    background: linear-gradient(135deg, #1a5f3a, #2d8659, #1a5f3a);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Premium Focus States */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--falf-gold-primary);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1),
                0 0 20px rgba(212, 175, 55, 0.2);
}

/* Premium Scroll Indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--falf-gold-primary), var(--falf-green-primary));
    z-index: 9999;
    transform-origin: left;
}

/* Premium Video Card Enhancement */
.video-card {
    position: relative;
}

.video-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(212, 175, 55, 0.1));
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: inherit;
}

.video-card:hover::before {
    opacity: 1;
}

/* Premium Badge Styles */
.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--falf-gold-primary), var(--falf-gold-light));
    color: var(--falf-green-dark);
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* Premium Tooltip */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    padding: 8px 12px;
    background: rgba(0,0,0,0.9);
    color: white;
    font-size: 0.85rem;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
}

[data-tooltip]:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

/* Premium Navigation Enhancement */
.navbar {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--falf-gold-primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
    width: 100%;
}

/* Premium Form Enhancement */
.form-control {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-control:focus {
    transform: translateY(-2px);
}

/* Premium Success/Error States */
.alert {
    animation: fadeInUp 0.5s ease;
    border-left-width: 6px;
}

/* Premium Loading State */
.btn.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Premium Parallax Effect */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Premium Shadow System */
.shadow-sm { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.shadow-md { box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
.shadow-lg { box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.shadow-xl { box-shadow: 0 12px 40px rgba(0,0,0,0.2); }
.shadow-2xl { box-shadow: 0 20px 60px rgba(0,0,0,0.25); }

/* Premium Transitions */
.transition-all { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.transition-smooth { transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.transition-bounce { transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); }

/* Premium Spacing System */
.section-spacing { padding: 120px 0; }
.section-spacing-sm { padding: 80px 0; }
.section-spacing-lg { padding: 160px 0; }

/* Premium Responsive Enhancements */
@media (max-width: 768px) {
    .section-spacing { padding: 60px 0; }
    .section-spacing-sm { padding: 40px 0; }
    .section-spacing-lg { padding: 80px 0; }
}

/* Premium Dark Mode Support (Future) */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #0a0e0d;
        --bg-card: #1a2e25;
        --text-primary: #f0f0f0;
    }
}

/* Premium Print Styles */
@media print {
    .navbar,
    .footer,
    .btn,
    .modal { display: none !important; }
    
    body { 
        color: black;
        background: white;
    }
}

/* ============================================
   TV PAGE / LIVE STREAM
   ============================================ */

.tv-hero {
    position: relative;
    background: linear-gradient(135deg, var(--falf-green-dark) 0%, var(--bg-dark) 100%);
    padding: 80px 0 40px;
    text-align: center;
}

.tv-hero h1 {
    color: var(--falf-gold-primary);
    font-size: 3rem;
    margin-bottom: 15px;
}

.tv-hero .live-badge {
    display: inline-block;
    background: #ff0000;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.viewer-count {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin-top: 10px;
}

.stream-section {
    padding: 40px 0 80px;
    background: var(--bg-primary);
}

.stream-player {
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    margin-bottom: 40px;
}

.stream-player video {
    width: 100%;
    display: block;
}

.stream-info {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

.stream-title {
    font-size: 2rem;
    color: var(--falf-green-primary);
    margin-bottom: 15px;
}

.stream-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.fullscreen-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: linear-gradient(135deg, var(--falf-gold-primary), var(--falf-gold-light));
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
}

.fullscreen-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.chat-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

.chat-section h2 {
    color: var(--falf-green-primary);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.chat-login {
    text-align: center;
    padding: 60px 30px;
    background: var(--bg-primary);
    border-radius: 10px;
}

.chat-login i {
    font-size: 4rem;
    color: var(--falf-gold-primary);
    margin-bottom: 20px;
}

.chat-login h3 {
    color: var(--falf-green-primary);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.chat-login p {
    color: var(--text-secondary);
    margin-bottom: 25px;
}

/* Map Section for Contact Page */
.map-section {
    padding: 0;
    margin: 0;
}

.map-container {
    width: 100%;
    height: 400px;
    background: var(--bg-primary);
}

.map-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--falf-green-dark), var(--falf-green-light));
    color: white;
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--falf-gold-primary);
}

.map-placeholder h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.map-placeholder p {
    font-size: 1.1rem;
    opacity: 0.9;
}
