/* ===== CSS Variables ===== */
:root {
    --primary-color: #E50914;  /* Strong red for accent */
    --secondary-color: #B20710;
    --accent-color: #F40612;
    --dark-bg: #141414;
    --light-bg: #222222;
    --text-dark: #FFFFFF;
    --text-light: #FFFFFF;
    --text-muted: #8c8c8c;
    --gradient-1: linear-gradient(135deg, #E50914 0%, #B20710 100%);
    --gradient-2: linear-gradient(135deg, #141414 0%, #000000 100%);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--dark-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Fancy Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(20, 20, 20, 0.98);
    box-shadow: 0 5px 20px rgba(229, 9, 20, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.nav-logo:hover {
    transform: scale(1.1);
}

.nav-logo-img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.5);
    transition: all 0.3s ease;
}

.nav-logo:hover .nav-logo-img {
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.8);
}

.nav-logo img {
    height: 50px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.5);
    transition: all 0.3s ease;
}

.nav-logo:hover img {
    box-shadow: 0 0 30px rgba(229, 9, 20, 0.8);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-light);
    letter-spacing: 1px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 10px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 10px 20px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    transition: left 0.3s ease;
    z-index: -1;
    border-radius: 8px;
}

.nav-link:hover::before,
.nav-link.active::before {
    left: 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-light);
    transform: translateY(-2px);
}

/* Hamburger Menu */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-2);
    overflow: hidden;
    padding: 120px 20px 50px;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(229, 9, 20, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(178, 7, 16, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 500;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

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

.btn {
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--text-light);
    box-shadow: 0 5px 15px rgba(229, 9, 20, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(229, 9, 20, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.btn-large {
    width: 100%;
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* Floating Animation */
.hero-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    font-size: 3rem;
    opacity: 0.2;
    animation: float 6s ease-in-out infinite;
}

.icon-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.icon-2 {
    top: 60%;
    right: 15%;
    animation-delay: 1s;
}

.icon-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}

.icon-4 {
    top: 40%;
    right: 10%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

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

/* ===== Services Section ===== */
.services {
    padding: 120px 20px 100px;
    background: var(--dark-bg);
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: #1a1a1a;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
    display: block;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--primary-color);
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.service-card-link:hover {
    transform: translateY(-10px) scale(1.02);
}

.service-card-link h3,
.service-card-link p {
    color: inherit;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 8px 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 25px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ===== About Section ===== */
.about {
    padding: 120px 20px 100px;
    background: var(--gradient-2);
    color: var(--text-light);
    text-align: center;
}

.about .section-title {
    color: var(--text-light);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.about-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
    flex-wrap: wrap;
    gap: 30px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    display: block;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ===== Founder Links ===== */
.founder-links {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.founder-links .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* ===== Articles Section ===== */
.articles {
    padding: 120px 20px 100px;
    background: var(--dark-bg);
}

.articles-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px 0;
    flex-wrap: wrap;
}

/* Fancy Search Bar */
.fancy-search-container {
    margin: 2rem 0;
    width: 100%;
}

.search-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.search-wrapper:hover {
    border-color: rgba(229, 9, 20, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.search-wrapper.focused {
    border-color: #E50914;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.3);
}

.search-wrapper.searching {
    border-color: #E50914;
}

.search-icon-wrapper {
    display: flex;
    align-items: center;
    margin-right: 0.75rem;
}

.search-icon {
    stroke: #8c8c8c;
    transition: stroke 0.3s ease;
}

.search-wrapper.focused .search-icon,
.search-wrapper:hover .search-icon {
    stroke: #E50914;
}

.fancy-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-size: 1rem;
    padding: 0.5rem 0;
    font-family: inherit;
}

.fancy-search-input::placeholder {
    color: #8c8c8c;
}

.search-clear-btn {
    background: rgba(229, 9, 20, 0.2);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

.search-clear-btn:hover {
    background: #E50914;
    transform: rotate(90deg);
}

.search-clear-btn svg {
    stroke: white;
}

.search-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.search-filters .filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: #e5e5e5;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-filters .filter-btn svg {
    stroke: currentColor;
}

.search-filters .filter-btn:hover {
    background: rgba(229, 9, 20, 0.2);
    border-color: #E50914;
    color: white;
    transform: translateY(-2px);
}

.search-filters .filter-btn.active {
    background: #E50914;
    border-color: #E50914;
    color: white;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

.search-results-info {
    text-align: center;
    padding: 1rem;
    background: rgba(229, 9, 20, 0.1);
    border-radius: 8px;
    color: #e5e5e5;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.search-results-info svg {
    stroke: #E50914;
}

.search-results-info strong {
    color: #E50914;
}

@media (max-width: 768px) {
    .search-wrapper {
        max-width: 100%;
    }
    
    .search-filters {
        gap: 0.5rem;
    }
    
    .search-filters .filter-btn {
        padding: 0.5rem 0.9rem;
        font-size: 0.85rem;
    }
}

.filter-btn {
    padding: 10px 25px;
    background: #222;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 9, 20, 0.3);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.article-card {
    background: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.article-card.hidden {
    display: none;
}

.article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--gradient-1);
}

.article-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-category {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(111, 179, 224, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    width: fit-content;
}

.article-card.featured .article-category {
    background: var(--primary-color);
    color: white;
}

.article-card.featured::before {
    content: '⭐ Featured';
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 215, 0, 0.9);
    color: #333;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 1;
}

.article-card.featured {
    position: relative;
}

.article-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    line-height: 1.3;
}

.article-excerpt {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #E0E0E0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.article-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-read-time {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.article-tag {
    padding: 3px 10px;
    background: rgba(111, 179, 224, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    font-size: 0.8rem;
}

.loading-spinner {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    font-size: 1.2rem;
    grid-column: 1 / -1;
}

.loading-spinner::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--primary-color);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
}

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

/* ===== Contact Section ===== */
.contact {
    padding: 120px 20px 100px;
    background: var(--dark-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.contact .container {
    width: 100%;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 50px;
    text-align: left;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #333;
    background: #222;
    color: var(--text-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #1a1a1a;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.method-icon {
    font-size: 1.5rem;
}

/* ===== Footer ===== */
.footer {
    background: #000;
    color: var(--text-light);
    padding: 60px 20px 30px;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-section p {
    margin: 8px 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

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

.footer-links li {
    margin: 8px 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-tagline {
    color: var(--primary-color);
    font-style: italic;
    margin-top: 10px !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 5px 0;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(10, 25, 41, 0.98);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        padding: 20px 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-stats {
        flex-direction: column;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .founder-links {
        flex-direction: column;
    }

    .founder-links .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .nav-container {
        height: 70px;
    }

    .nav-logo img {
        height: 40px;
    }

    .logo-text {
        font-size: 1.2rem;
    }
}

/* ===== Video Page Styles ===== */
.video-page {
    background-color: #121212;
    color: #e0e0e0;
    min-height: 100vh;
    padding-top: 100px;
}

.video-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background: #1a1a1a;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.video-container h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.video-wrapper video {
    width: 100%;
    display: block;
    border-radius: 12px;
}

.video-description {
    margin-top: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    background: rgba(229, 9, 20, 0.05);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
}

.back-link {
    display: block;
    width: fit-content;
    margin: 2rem auto;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-1);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(229, 9, 20, 0.4);
    font-weight: 600;
    text-align: center;
}

.back-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(229, 9, 20, 0.6);
}

/* Video Grid Styles */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.video-card {
    background: #222;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary-color);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 66%; /* Taller aspect ratio for bigger thumbnails */
    overflow: hidden;
    background: #000;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(229, 9, 20, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
}

.video-card:hover .video-play-icon {
    transform: translate(-50%, -50%) scale(1.2);
    background: rgba(229, 9, 20, 1);
}

.video-card-content {
    padding: 1.5rem;
}

.video-card-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.video-card-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.video-card-date {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    overflow: auto;
}

.video-modal-content {
    position: relative;
    background-color: #1a1a1a;
    margin: 3% auto;
    padding: 2rem;
    width: 90%;
    max-width: 1000px;
    border-radius: 15px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.8);
    animation: modalSlideIn 0.3s ease;
}

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

.video-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: #aaa;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1;
}

.video-modal-close:hover,
.video-modal-close:focus {
    color: var(--primary-color);
}

.video-modal-content h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.video-date {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 3rem 0 2rem;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 0.75rem 1.25rem;
    background: #222;
    color: var(--text-light);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 9, 20, 0.3);
}

.pagination-btn.active {
    background: var(--gradient-1);
    color: white;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #555;
}

.pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    padding: 0 0.5rem;
    color: #E50914;
    font-weight: bold;
    font-size: 1.1rem;
    user-select: none;
}

.error-message,
.no-videos {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .video-container {
        padding: 1.5rem;
        margin: 1rem;
    }

    .video-description {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .video-modal-content {
        width: 95%;
        padding: 1.5rem;
        margin: 10% auto;
    }
    
    .video-modal-content h3 {
        font-size: 1.4rem;
        padding-right: 2rem;
    }
    
    .pagination-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

/* ===== Support Page Styles ===== */
.support-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
    background: #1a1a1a;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.support-message {
    background: rgba(229, 9, 20, 0.05);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: left;
}

.support-message p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 600;
}

.support-message ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.support-message li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.support-card {
    background: #222;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.support-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--primary-color);
}

.support-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.support-card h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.support-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.support-card .btn {
    width: 100%;
}

.support-alternative {
    background: #222;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    text-align: left;
}

.support-alternative h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.8rem;
}

.support-alternative p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.support-alternative strong {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .support-container {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .support-options {
        grid-template-columns: 1fr;
    }
    
    .support-message {
        padding: 1.5rem;
    }
}

/* ===== Cookie Consent Banner ===== */
#cookieConsentBanner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.98) 0%, rgba(34, 34, 34, 0.98) 100%);
    backdrop-filter: blur(20px);
    border-top: 2px solid var(--primary-color);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.6);
    z-index: 10000;
    padding: 1.5rem 0;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

#cookieConsentBanner.show {
    transform: translateY(0);
}

.consent-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.consent-text {
    flex: 1;
}

.consent-text h3 {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.consent-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.consent-text p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.consent-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.consent-btn {
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.consent-btn svg {
    flex-shrink: 0;
}

.consent-btn-accept {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.3);
}

.consent-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 9, 20, 0.4);
}

.consent-btn-reject {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.consent-btn-reject:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .consent-container {
        flex-direction: column;
        align-items: stretch;
        padding: 0 1.5rem;
    }
    
    .consent-text h3 {
        font-size: 1.1rem;
    }
    
    .consent-text p {
        font-size: 0.9rem;
    }
    
    .consent-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .consent-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }
}

/* ===== 404 Error Page ===== */
body.error-404 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* Animated background circles */
.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.15) 0%, transparent 70%);
    animation: float 20s infinite ease-in-out;
}

.bg-circle:nth-child(1) {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.bg-circle:nth-child(2) {
    width: 300px;
    height: 300px;
    bottom: -50px;
    right: -50px;
    animation-delay: 5s;
}

.bg-circle:nth-child(3) {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.container-404 {
    text-align: center;
    z-index: 10;
    padding: 2rem;
    max-width: 800px;
}

.error-code {
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 900;
    background: linear-gradient(135deg, #E50914 0%, #B20710 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 0 10px 30px rgba(229, 9, 20, 0.3);
    animation: glitch 3s infinite;
}

@keyframes glitch {
    0%, 100% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
}

.error-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

.error-message {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #8c8c8c;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.error-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #E50914 0%, #B20710 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(229, 9, 20, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 40px rgba(229, 9, 20, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 50px rgba(229, 9, 20, 0.6);
    }
}

.error-icon svg {
    width: 60px;
    height: 60px;
    stroke: white;
    stroke-width: 2;
}

.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.suggestions {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.suggestions h3 {
    color: #E50914;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-align: center;
}

.suggestions-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.suggestion-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: rgba(229, 9, 20, 0.1);
    border: 2px solid rgba(229, 9, 20, 0.3);
    border-radius: 12px;
    color: #E50914;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.suggestion-btn:hover {
    background: #E50914;
    border-color: #E50914;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(229, 9, 20, 0.4);
}

.suggestion-btn svg {
    flex-shrink: 0;
}

.suggestions ul {
    list-style: none;
    text-align: left;
}

.suggestions li {
    padding: 0.5rem 0;
    color: #8c8c8c;
}

.suggestions a {
    color: #E50914;
    text-decoration: none;
    transition: color 0.3s ease;
}

.suggestions a:hover {
    color: #F40612;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .container-404 {
        padding: 1rem;
    }

    .btn-group {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .suggestions {
        padding: 1.5rem;
    }
    
    .suggestions-buttons {
        grid-template-columns: 1fr;
    }
    
    .suggestion-btn {
        padding: 0.8rem 1rem;
    }
}

/* ===== Articles Section ===== */
.articles-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

#articlesGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.article-card {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(229, 9, 20, 0.3);
}

.article-card.featured {
    border: 2px solid #E50914;
}

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

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.article-category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #E50914;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-card-content {
    padding: 1.5rem;
}

.article-card-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: white;
    line-height: 1.4;
}

.article-card-excerpt {
    color: #b3b3b3;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: #8c8c8c;
}

.article-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.article-card-meta svg {
    width: 14px;
    height: 14px;
}

/* Article Modal */
.article-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    overflow-y: auto;
}

.article-modal-content {
    background: #141414;
    margin: 2rem auto;
    max-width: 900px;
    border-radius: 12px;
    position: relative;
    animation: slideDown 0.4s ease;
}

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

.article-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 10;
}

.article-modal-close:hover {
    background: #E50914;
}

.article-header {
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.article-category {
    display: inline-block;
    background: #E50914;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.article-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    color: #8c8c8c;
    font-size: 0.9rem;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-image-container {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
}

.article-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.article-content {
    padding: 2rem;
    color: #e5e5e5;
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content h3 {
    color: white;
    font-size: 1.6rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content p {
    margin-bottom: 1.2rem;
}

.article-content strong {
    color: white;
}

/* Comments Section */
.comments-section {
    padding: 2rem;
    border-top: 2px solid rgba(229, 9, 20, 0.3);
    background: rgba(0, 0, 0, 0.3);
}

.comments-section h3 {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: white;
    font-size: 1.6rem;
    margin-bottom: 2rem;
}

.comments-section h3 svg {
    width: 28px;
    height: 28px;
    stroke: #E50914;
}

#commentCount {
    color: #8c8c8c;
    font-size: 1.2rem;
}

.comment-form-container {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comment-form-container h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.comment-form .form-group {
    margin-bottom: 1rem;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 0.8rem;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: white;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #E50914;
}

.comment-form textarea {
    resize: vertical;
    min-height: 100px;
}

.comment-form .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.no-comments {
    text-align: center;
    color: #8c8c8c;
    padding: 2rem;
    font-style: italic;
}

.comment {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 3px solid #E50914;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: white;
}

.comment-author svg {
    width: 24px;
    height: 24px;
    stroke: #E50914;
}

.comment-author strong {
    font-size: 1.05rem;
}

.comment-date {
    color: #8c8c8c;
    font-size: 0.85rem;
}

.comment-text {
    color: #e5e5e5;
    line-height: 1.6;
}

.no-articles,
.error-message {
    text-align: center;
    padding: 3rem;
    color: #8c8c8c;
    font-size: 1.1rem;
}

/* Pagination for Articles */
#pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 0.6rem 1.2rem;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: #E50914;
    border-color: #E50914;
}

.pagination-btn.active {
    background: #E50914;
    border-color: #E50914;
}

.pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Responsive Articles */
@media (max-width: 768px) {
    #articlesGrid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .article-card-image {
        height: 200px;
    }

    .article-title {
        font-size: 1.6rem;
    }

    .article-content {
        padding: 1.5rem;
        font-size: 1rem;
    }

    .article-content h3 {
        font-size: 1.3rem;
    }

    .comments-section {
        padding: 1.5rem;
    }

    .comment {
        padding: 1rem;
    }

    .article-modal-content {
        margin: 1rem;
        border-radius: 8px;
    }
}

