/* Base styles */
:root {
    --primary: #8BC34A;
    --primary-dark: #689F38;
    --primary-light: #DCEDC8;
    --secondary: #e21e80;
    --accent: #cddc39;
    --dark: #212529;
    --light: #ffffff;
    --text-dark: #333333;
    --text-light: #f8f8f8;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
}

body {
    background-color: var(--dark);
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
}

/* Header styles */
.header {
    background: linear-gradient(to right, var(--primary-dark), var(--primary));
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

    /* Navigation menu active state styling */
    .main-nav a {
        position: relative;
        text-decoration: none;
        padding: 8px 16px;
        border-radius: 20px; /* Rounded edges for the rectangle */
        transition: all 0.3s ease;
    }
    
    .main-nav a.active {
        background-color: #ff0000; /* Red background */
        color: white !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }
    
    .main-nav a:hover:not(.active) {
        background-color: rgba(255, 0, 0, 0.1); /* Light red on hover */
    }
    
    /* Remove any existing underline styles */
    .main-nav a::after {
        display: none !important;
    }

/* Content grid - inspired by streaming platforms */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
}

/* Card styles for content items */
.content-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.content-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Add these to your existing styles.css */
.live-page-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.player-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.player-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background-color: #000;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

#video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 2rem;
}

.auth-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 12px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.auth-card h2 {
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--primary);
}

.auth-footer {
    margin-top: 1.5rem;
    text-align: center;
}

.auth-footer a {
    color: var(--primary);
}

.content-card {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.content-card:hover {
    transform: scale(1.05);
}

.card-image {
    height: 0;
    padding-bottom: 150%;
    background-size: cover;
    background-position: center;
    border-radius: 8px 8px 0 0;
}

/* Footer Styles */
footer {
    background-color: var(--primary-dark);
    color: var(--light);
    text-align: center;
    padding: 2rem 1.5rem;
    margin-top: 3rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.social-icons a {
    color: var(--light);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--accent);
}

#upload-dropzone {
    border: 2px dashed #ccc;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
}

#upload-dropzone.dragover {
    border-color: #4CAF50;
    background-color: #f8f8f8;
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.progress-bar {
    flex-grow: 1;
    height: 20px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: #4CAF50;
    width: 0%;
    transition: width 0.3s ease;
}

/* Upload area enhancements */
.upload-area {
    position: relative;
    transition: all 0.3s ease;
}

.upload-area.dragover {
    border-color: var(--primary-color);
    background-color: rgba(76, 175, 80, 0.05);
}

/* File info styling */
.file-info {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.file-meta p {
    margin: 0.5rem 0;
    color: #555;
}

/* Progress bar enhancements */
.progress-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 1rem;
}

.progress-bar {
    flex-grow: 1;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--primary-color);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-percent {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Form footer */
.form-footer {
    margin-top: 2rem;
}

.file-requirements {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
}

/* Loading state */
.btn-loading {
    display: none;
}

.btn.is-loading .btn-text {
    display: none;
}

.btn.is-loading .btn-loading {
    display: inline-block;
}

/* Custom Scrollbar for All Pages */
html {
    overflow-y: scroll;
}

/* Modern browsers (Chrome, Edge, Safari) */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: rgba(139, 195, 74, 0.5); /* Using your primary color */
    border-radius: 6px;
    border: 3px solid rgba(0, 0, 0, 0);
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 195, 74, 0.7); /* Darker on hover */
}

/* Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: rgba(139, 195, 74, 0.5) rgba(0, 0, 0, 0.1);
}

/* Ensure consistent scrolling behavior */
body {
    overflow-y: auto;
    scroll-behavior: smooth;
}

/* Header Navigation Links (Keep as text links) */
.header .main-nav a {
    color: #333; /* Default text color */
    text-decoration: none;
    font-weight: 600; /* Thicker font weight */
    padding: 8px 12px;
    margin: 0 5px;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.header .main-nav a:hover {
    color: #FF0000 !important; /* Bright red hover */
    border-bottom-color: #FF0000; /* Bright red underline */
    transform: translateY(-2px);
}

.header .main-nav a.active {
    color: #FF0000; /* Bright red for active page */
    font-weight: 700; /* Even thicker for active */
    border-bottom-color: #FF0000;
}

/* Header Button (Login/Signup) - REVERTED TO ORIGINAL SIZE */
.header .user-actions .btn {
    display: inline-block;
    padding: 8px 16px; /* Original padding */
    font-size: 14px; /* Original font size */
    font-weight: 700; /* Thick font weight */
    border-radius: 4px; /* Original border radius */
    transition: all 0.3s ease;
    background-color: #333;
    color: white;
    border: 1px solid #333; /* Original border */
    /* Removed min-width, text-transform, and letter-spacing */
}

.header .user-actions .btn:hover {
    background-color: #FF0000 !important; /* Bright red */
    border-color: #FF0000 !important;
    color: white !important;
    transform: translateY(-2px); /* Slightly less lift */
    box-shadow: 0 2px 4px rgba(255, 0, 0, 0.2); /* Smaller shadow */
}

/* Content Buttons (Forms, CTAs) - UNCHANGED */
.btn {
    font-weight: 700 !important; /* Thick font for all buttons */
    transition: all 0.3s ease !important;
}

.btn:hover {
    background-color: #FF0000 !important; /* Bright red */
    border-color: #FF0000 !important;
    color: white !important;
}

/* Specific button types - UNCHANGED */
.btn-primary:hover {
    background-color: #FF0000 !important;
    border-color: #FF0000 !important;
}

.btn-outline:hover {
    background-color: #FF0000 !important;
    color: white !important;
    border-color: #FF0000 !important;
}

/* For contact form styles */
select#recipient {
    background-color: white !important;
    color: black !important;
}

select#recipient option {
    background-color: white;
    color: black;
}

select#recipient:invalid {
    color: #666;
}

/* Base font size adjustment - slightly smaller than default */
html {
    font-size: 15px; /* Reduced from typical 16px */
}

body {
    font-size: 0.9rem; /* Slightly smaller base font */
    line-height: 1.5; /* Maintain good readability */
}

/* Adjust heading sizes proportionally */
h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

/* Button text adjustment */
.btn {
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
}

/* Form elements */
input, select, textarea, button {
    font-size: 0.9rem;
}

/* Navigation */
.main-nav a {
    font-size: 0.9rem;
}