/* ==========================================
   FINANCIAL HACKATHON CHAMPIONSHIP THEME
   "Welcome to the Future of Finance"
   NYC Championship Electric Theme
   ========================================== */

/* Color Variables - Electric Blue/Purple Theme */
:root {
    --color-electric-blue: #00a8ff;
    --color-electric-purple: #9945ff;
    --color-electric-cyan: #00ffff;
    --color-electric-white: #e0f4ff;
    --color-electric-dark-blue: #003366;
    --color-electric-dark-purple: #4a0080;
    --color-electric-glow-blue: #4dc3ff;
    --color-electric-glow-purple: #b366ff;
}

/* Championship Glitch Animation */
@keyframes glitch {
    0% {
        transform: translate(0);
        filter: hue-rotate(0deg);
    }
    20% {
        transform: translate(-2px, 2px);
        filter: hue-rotate(90deg);
    }
    40% {
        transform: translate(-2px, -2px);
        filter: hue-rotate(180deg);
    }
    60% {
        transform: translate(2px, 2px);
        filter: hue-rotate(270deg);
    }
    80% {
        transform: translate(2px, -2px);
        filter: hue-rotate(360deg);
    }
    100% {
        transform: translate(0);
        filter: hue-rotate(0deg);
    }
}

/* Electric Pulse Animation */
@keyframes electricPulse {
    0%, 100% {
        opacity: 1;
        text-shadow:
            0 0 10px var(--color-electric-blue),
            0 0 20px var(--color-electric-purple),
            0 0 30px var(--color-electric-cyan);
    }
    50% {
        opacity: 0.8;
        text-shadow:
            0 0 5px var(--color-electric-blue),
            0 0 15px var(--color-electric-purple);
    }
}

/* Lightning Strike Animation */
@keyframes lightningStrike {
    0% {
        opacity: 0;
    }
    10% {
        opacity: 1;
        filter: brightness(2);
    }
    20% {
        opacity: 0.8;
    }
    100% {
        opacity: 0;
    }
}

/* Electric Glow Pulse */
@keyframes electricGlow {
    0%, 100% {
        box-shadow:
            0 0 5px var(--color-electric-blue),
            0 0 10px var(--color-electric-purple),
            0 0 20px var(--color-electric-blue),
            0 0 40px var(--color-electric-purple),
            inset 0 0 10px rgba(0, 168, 255, 0.2);
    }
    50% {
        box-shadow:
            0 0 10px var(--color-electric-blue),
            0 0 20px var(--color-electric-purple),
            0 0 40px var(--color-electric-cyan),
            0 0 80px var(--color-electric-glow-blue),
            inset 0 0 20px rgba(153, 69, 255, 0.3);
    }
}

/* Championship Override Styles */

/* Ensure all content layers above rain canvas */
.header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000 !important;
}

.hero, .section, .footer, .page-header {
    position: relative;
    z-index: 100 !important;
}

body > * {
    position: relative;
    z-index: 100;
}

/* Section backgrounds */
.section {
    background: rgba(0, 0, 20, 0.85);
    border-top: 1px solid rgba(0, 168, 255, 0.3);
    border-bottom: 1px solid rgba(153, 69, 255, 0.3);
}

.section-dark {
    background: rgba(0, 0, 30, 0.95) !important;
    border-top: 1px solid var(--color-electric-blue);
    border-bottom: 1px solid var(--color-electric-purple);
}

.section::before {
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 168, 255, 0.03) 2px,
            rgba(0, 168, 255, 0.03) 4px
        ) !important;
}

/* Enhanced Header - Championship Style */
.header {
    background: rgba(0, 0, 20, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    border-bottom: 2px solid var(--color-electric-blue) !important;
    box-shadow:
        0 0 20px rgba(0, 168, 255, 0.5),
        0 4px 20px rgba(0, 0, 0, 0.8) !important;
}

.nav-link {
    color: var(--color-electric-cyan) !important;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 0 0 5px var(--color-electric-blue);
}

.nav-link:hover {
    animation: glitch 0.3s infinite;
    text-shadow:
        0 0 10px var(--color-electric-blue),
        0 0 20px var(--color-electric-purple);
}

.nav-link.active {
    color: var(--color-electric-white) !important;
    text-shadow:
        0 0 10px var(--color-electric-cyan),
        0 0 20px var(--color-electric-blue),
        0 0 30px var(--color-electric-purple) !important;
    animation: electricPulse 2s infinite;
}

.nav-link::after {
    background: linear-gradient(90deg, var(--color-electric-blue), var(--color-electric-purple)) !important;
    box-shadow: 0 0 10px var(--color-electric-cyan) !important;
    height: 2px !important;
}

/* Hero Section - Championship Entry */
.hero {
    background: linear-gradient(135deg, rgba(0, 0, 40, 0.9), rgba(20, 0, 60, 0.9)) !important;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 50px,
            rgba(0, 168, 255, 0.05) 50px,
            rgba(0, 168, 255, 0.05) 51px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 50px,
            rgba(153, 69, 255, 0.05) 50px,
            rgba(153, 69, 255, 0.05) 51px
        );
}

.hero-background {
    opacity: 0.3 !important;
    background: linear-gradient(45deg, var(--color-electric-blue), var(--color-electric-purple)) !important;
}

.hero-title {
    color: transparent !important;
    background: linear-gradient(135deg, var(--color-electric-cyan), var(--color-electric-blue), var(--color-electric-purple)) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: none !important;
    position: relative;
    font-family: var(--font-mono);
}

.hero-title::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background: none;
    -webkit-text-fill-color: transparent;
    text-shadow:
        0 0 20px var(--color-electric-blue),
        0 0 40px var(--color-electric-purple),
        0 0 60px var(--color-electric-cyan);
    opacity: 0.5;
}

.hero-subtitle {
    color: var(--color-electric-cyan) !important;
    text-shadow:
        0 0 10px var(--color-electric-blue),
        0 0 20px var(--color-electric-purple);
    font-family: var(--font-mono);
}

.hero-description {
    color: var(--color-electric-white) !important;
    font-family: var(--font-mono);
}

/* Buttons - Electric Style */
.btn {
    font-family: var(--font-mono);
    border: 2px solid var(--color-electric-blue) !important;
    box-shadow:
        0 0 10px rgba(0, 168, 255, 0.5),
        inset 0 0 10px rgba(0, 168, 255, 0.1);
    background: linear-gradient(135deg, rgba(0, 0, 40, 0.8), rgba(20, 0, 60, 0.8)) !important;
    color: var(--color-electric-cyan) !important;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 168, 255, 0.4), transparent);
    transition: left 0.5s;
}

.btn:hover::after {
    left: 100%;
}

.btn:hover {
    background: linear-gradient(135deg, rgba(0, 168, 255, 0.3), rgba(153, 69, 255, 0.3)) !important;
    color: var(--color-electric-white) !important;
    border-color: var(--color-electric-purple) !important;
    transform: translateY(-2px);
    box-shadow:
        0 0 20px rgba(0, 168, 255, 0.8),
        0 0 40px rgba(153, 69, 255, 0.5),
        inset 0 0 20px rgba(0, 255, 255, 0.2) !important;
    animation: electricGlow 1s infinite;
}

/* Cards - Championship Windows */
.about-card, .stat-card {
    background: linear-gradient(135deg, rgba(0, 0, 30, 0.9), rgba(20, 0, 50, 0.9)) !important;
    border: 2px solid var(--color-electric-blue) !important;
    box-shadow:
        0 0 20px rgba(0, 168, 255, 0.3),
        inset 0 0 20px rgba(153, 69, 255, 0.05) !important;
    backdrop-filter: blur(5px);
}

.about-card:hover, .stat-card:hover {
    border-color: var(--color-electric-purple) !important;
    box-shadow:
        0 0 30px rgba(0, 168, 255, 0.6),
        0 0 60px rgba(153, 69, 255, 0.4),
        inset 0 0 30px rgba(0, 255, 255, 0.1) !important;
    transform: translateY(-10px) scale(1.02);
    animation: electricGlow 2s infinite;
}

.about-card-title, .about-card-text {
    color: var(--color-electric-cyan) !important;
    font-family: var(--font-mono);
}

.about-icon svg {
    stroke: var(--color-electric-blue) !important;
    filter: drop-shadow(0 0 10px var(--color-electric-purple)) !important;
}

/* Stats */
.stat-number {
    background: linear-gradient(135deg, var(--color-electric-blue), var(--color-electric-purple)) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: none !important;
    font-family: var(--font-mono);
    position: relative;
}

.stat-number::after {
    content: attr(data-value);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    -webkit-text-fill-color: transparent;
    text-shadow:
        0 0 20px var(--color-electric-blue),
        0 0 40px var(--color-electric-purple);
    opacity: 0.5;
}

.stat-label {
    color: var(--color-electric-cyan) !important;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Section Titles */
.section-title {
    color: var(--color-electric-cyan) !important;
    font-family: var(--font-mono);
    text-transform: uppercase;
    text-shadow:
        0 0 10px var(--color-electric-blue),
        0 0 20px var(--color-electric-purple);
    letter-spacing: 0.15em;
}

.section-title::after {
    background: linear-gradient(90deg, transparent, var(--color-electric-blue), var(--color-electric-purple), transparent) !important;
    box-shadow: 0 0 20px var(--color-electric-cyan) !important;
    height: 2px !important;
}

.section-description {
    color: var(--color-electric-white) !important;
    font-family: var(--font-mono);
}

/* Projects Table - Championship Terminal */
.projects-table {
    background: linear-gradient(135deg, rgba(0, 0, 30, 0.9), rgba(20, 0, 50, 0.9)) !important;
    border: 2px solid var(--color-electric-blue);
    box-shadow:
        0 0 20px rgba(0, 168, 255, 0.3),
        inset 0 0 20px rgba(153, 69, 255, 0.05);
    font-family: var(--font-mono);
}

.projects-table thead {
    background: linear-gradient(90deg, rgba(0, 168, 255, 0.1), rgba(153, 69, 255, 0.1)) !important;
    border-bottom: 2px solid var(--color-electric-purple) !important;
}

.projects-table th {
    color: var(--color-electric-cyan) !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 0 0 5px var(--color-electric-blue);
}

.projects-table tbody tr {
    border-bottom: 1px solid rgba(0, 168, 255, 0.2);
}

.projects-table tbody tr:hover {
    background: linear-gradient(90deg, rgba(0, 168, 255, 0.1), rgba(153, 69, 255, 0.1)) !important;
    box-shadow: 0 0 20px rgba(0, 168, 255, 0.3) !important;
}

.projects-table td {
    color: var(--color-electric-white) !important;
}

.projects-table a {
    color: var(--color-electric-cyan) !important;
    text-shadow: 0 0 5px var(--color-electric-blue);
}

.projects-table a:hover {
    color: var(--color-electric-white) !important;
    text-shadow:
        0 0 10px var(--color-electric-blue),
        0 0 20px var(--color-electric-purple);
    animation: glitch 0.3s;
}

/* Search Bar - Command Line */
.search-input {
    background: linear-gradient(135deg, rgba(0, 0, 30, 0.9), rgba(20, 0, 50, 0.9)) !important;
    border: 2px solid var(--color-electric-blue) !important;
    color: var(--color-electric-cyan) !important;
    font-family: var(--font-mono);
    box-shadow:
        0 0 10px rgba(0, 168, 255, 0.2),
        inset 0 0 10px rgba(153, 69, 255, 0.05);
}

.search-input::placeholder {
    color: rgba(0, 255, 255, 0.5) !important;
}

.search-input:focus {
    border-color: var(--color-electric-purple) !important;
    box-shadow:
        0 0 20px rgba(0, 168, 255, 0.5),
        inset 0 0 20px rgba(153, 69, 255, 0.1) !important;
}

.search-icon {
    stroke: var(--color-electric-blue);
}

/* Gallery Items */
.gallery-item {
    border: 2px solid var(--color-electric-blue);
    box-shadow: 0 0 10px rgba(0, 168, 255, 0.3);
}

.gallery-item:hover {
    border-color: var(--color-electric-purple) !important;
    box-shadow:
        0 0 30px rgba(0, 168, 255, 0.6),
        0 0 60px rgba(153, 69, 255, 0.4) !important;
}

.gallery-item img {
    filter: contrast(1.1) brightness(0.95);
    mix-blend-mode: screen;
}

/* YouTube Embeds */
.youtube-embed {
    background: linear-gradient(135deg, rgba(0, 0, 30, 0.9), rgba(20, 0, 50, 0.9)) !important;
    border: 2px solid var(--color-electric-blue) !important;
    box-shadow: 0 0 20px rgba(0, 168, 255, 0.3) !important;
}

.youtube-embed h3 {
    color: var(--color-electric-cyan) !important;
    font-family: var(--font-mono);
    text-shadow: 0 0 10px var(--color-electric-blue);
}

.youtube-embed iframe {
    border: 2px solid var(--color-electric-purple) !important;
}

/* Filter Buttons */
.filter-btn {
    background: linear-gradient(135deg, rgba(0, 0, 30, 0.9), rgba(20, 0, 50, 0.9)) !important;
    border: 2px solid var(--color-electric-blue) !important;
    color: var(--color-electric-cyan) !important;
    font-family: var(--font-mono);
    box-shadow: 0 0 10px rgba(0, 168, 255, 0.2);
}

.filter-btn:hover, .filter-btn.active {
    border-color: var(--color-electric-purple) !important;
    background: linear-gradient(135deg, rgba(0, 168, 255, 0.2), rgba(153, 69, 255, 0.2)) !important;
    box-shadow:
        0 0 20px rgba(0, 168, 255, 0.5),
        inset 0 0 10px rgba(153, 69, 255, 0.1) !important;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, rgba(0, 0, 40, 0.95), rgba(20, 0, 60, 0.95)) !important;
    border-bottom: 2px solid var(--color-electric-blue);
}

.page-header::before {
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 168, 255, 0.05) 2px,
            rgba(0, 168, 255, 0.05) 4px
        ) !important;
}

.page-title {
    color: transparent !important;
    background: linear-gradient(135deg, var(--color-electric-cyan), var(--color-electric-blue)) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-family: var(--font-mono);
}

.page-description {
    color: var(--color-electric-white) !important;
    font-family: var(--font-mono);
}

/* Community Features */
.community-features li {
    color: var(--color-electric-white) !important;
    font-family: var(--font-mono);
}

.community-features li svg {
    stroke: var(--color-electric-blue) !important;
}

.community-text h3 {
    color: var(--color-electric-cyan) !important;
    font-family: var(--font-mono);
    text-shadow: 0 0 10px var(--color-electric-blue);
}

.community-text p {
    color: var(--color-electric-white) !important;
    font-family: var(--font-mono);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(0, 0, 30, 0.95), rgba(20, 0, 50, 0.95)) !important;
    border-top: 2px solid var(--color-electric-blue);
}

.footer::before {
    background: linear-gradient(90deg, var(--color-electric-blue), var(--color-electric-purple)) !important;
    box-shadow: 0 0 20px var(--color-electric-cyan) !important;
    height: 2px !important;
}

.footer-tagline, .footer-column h4, .footer-column a, .footer-bottom p {
    color: var(--color-electric-white) !important;
    font-family: var(--font-mono);
}

.footer-column a:hover {
    color: var(--color-electric-cyan) !important;
    text-shadow: 0 0 10px var(--color-electric-blue);
}

/* Container - relative positioning for rain effect */
.container {
    position: relative;
    z-index: 1;
}

/* Logo Tint - Electric Blue */
.logo, .footer-logo {
    filter: brightness(0) saturate(100%) invert(50%) sepia(100%) saturate(2000%) hue-rotate(180deg) brightness(100%) contrast(100%);
    opacity: 0.9;
}

/* Lightning Effect Overlay */
@keyframes lightning {
    0%, 100% { opacity: 0; }
    5% { opacity: 1; }
    10% { opacity: 0.5; }
    15% { opacity: 1; }
    20% { opacity: 0; }
}

.lightning-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99;
    background: linear-gradient(180deg, transparent, rgba(0, 168, 255, 0.1), transparent);
    animation: lightning 10s infinite;
}

/* Video Showcase Styles */
.btn-electric {
    background: linear-gradient(135deg, var(--color-electric-blue), var(--color-electric-purple)) !important;
    border: 2px solid var(--color-electric-cyan) !important;
    color: var(--color-electric-white) !important;
    font-family: var(--font-mono);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 15px 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-electric .btn-icon {
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.btn-electric::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(0, 255, 255, 0.4),
        transparent);
    transition: left 0.5s ease;
}

.btn-electric:hover::before {
    left: 100%;
}

.btn-electric:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow:
        0 0 30px rgba(0, 168, 255, 0.8),
        0 0 60px rgba(153, 69, 255, 0.6),
        0 0 90px rgba(0, 255, 255, 0.4),
        inset 0 0 30px rgba(0, 255, 255, 0.2) !important;
    animation: electricGlow 0.5s infinite;
}

.btn-electric:hover .btn-icon {
    transform: translateX(5px);
}

/* Video Showcase Container */
.video-showcase {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 20, 0);
    backdrop-filter: blur(0px);
    z-index: -1;
    opacity: 0;
    display: none;
    align-items: flex-start;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    padding: 140px 20px 40px;
    box-sizing: border-box;
    overflow-y: auto;
}

.video-showcase.active {
    z-index: 10000;
    opacity: 1;
    background: rgba(0, 0, 20, 0.95);
    backdrop-filter: blur(20px);
    pointer-events: all;
    display: flex !important;
}

/* Video Container */
.video-container {
    width: min(95vw, 1100px);
    max-height: calc(100vh - 160px);
    background: linear-gradient(135deg, rgba(0, 0, 40, 0.98), rgba(20, 0, 60, 0.98));
    border: 3px solid var(--color-electric-blue);
    border-radius: 20px;
    padding: 0;
    position: relative;
    transform: scale(0.7) translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 0 50px rgba(0, 168, 255, 0.5),
        0 0 100px rgba(153, 69, 255, 0.3),
        inset 0 0 50px rgba(0, 255, 255, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.video-showcase.active .video-container {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Electric Border Animation */
@keyframes electricBorder {
    0% {
        border-color: var(--color-electric-blue);
        box-shadow:
            0 0 50px rgba(0, 168, 255, 0.5),
            0 0 100px rgba(153, 69, 255, 0.3),
            inset 0 0 50px rgba(0, 255, 255, 0.1);
    }
    50% {
        border-color: var(--color-electric-purple);
        box-shadow:
            0 0 50px rgba(153, 69, 255, 0.5),
            0 0 100px rgba(0, 168, 255, 0.3),
            inset 0 0 50px rgba(153, 69, 255, 0.1);
    }
    100% {
        border-color: var(--color-electric-blue);
        box-shadow:
            0 0 50px rgba(0, 168, 255, 0.5),
            0 0 100px rgba(153, 69, 255, 0.3),
            inset 0 0 50px rgba(0, 255, 255, 0.1);
    }
}

.video-showcase.active .video-container {
    animation: electricBorder 3s ease-in-out infinite;
}

/* Close Button */
.close-video {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-electric-blue), var(--color-electric-purple));
    border: 2px solid var(--color-electric-cyan);
    border-radius: 50%;
    color: var(--color-electric-white);
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow:
        0 0 20px rgba(0, 168, 255, 0.5),
        0 0 40px rgba(153, 69, 255, 0.3);
}

.close-video:hover {
    transform: rotate(90deg) scale(1.1);
    box-shadow:
        0 0 30px rgba(0, 168, 255, 0.8),
        0 0 60px rgba(153, 69, 255, 0.5);
}

/* Video Wrapper */
.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    max-height: calc(100vh - 240px);
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    background: #000;
    border: 2px solid rgba(0, 255, 255, 0.3);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 13px 13px 0 0;
}

/* Video Info Section */
.video-info {
    padding: 10px 18px 14px;
    background: linear-gradient(135deg, rgba(0, 0, 30, 0.9), rgba(20, 0, 50, 0.9));
    border-top: 2px solid var(--color-electric-cyan);
    border-radius: 0 0 15px 15px;
}

.video-info h3 {
    color: var(--color-electric-cyan);
    font-family: var(--font-mono);
    font-size: 1.8rem;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow:
        0 0 10px var(--color-electric-blue),
        0 0 20px var(--color-electric-purple);
}

.video-info p {
    color: #f8fafc;
    font-family: var(--font-mono);
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

/* Loading Animation */
@keyframes videoLoad {
    0% {
        transform: scale(0.8) rotateX(90deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.05) rotateX(0deg);
        opacity: 0.8;
    }
    100% {
        transform: scale(1) rotateX(0deg);
        opacity: 1;
    }
}

.video-showcase.loading .video-container {
    animation: videoLoad 0.8s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .video-wrapper {
        max-height: calc(100vh - 230px);
    }
}

@media (max-width: 1200px) {
    .video-wrapper {
        max-height: calc(100vh - 220px);
    }
}

@media (max-width: 768px) {
    .video-container {
        width: 95%;
        margin: 10px;
        max-height: calc(100vh - 140px);
    }

    .video-wrapper {
        max-height: calc(100vh - 200px);
    }

    .video-info h3 {
        font-size: 1.4rem;
    }

    .video-info {
        padding: 20px;
    }

    .close-video {
        top: 10px;
        right: 10px;
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .video-wrapper {
        max-height: calc(100vh - 180px);
    }
}
