html { scroll-padding-top: 0; }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
            color: #ffffff;
            overflow-x: hidden;
            min-height: 100vh;
            position: relative;
        }

        .particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
        }

        .particle {
            position: absolute;
            width: 2px;
            height: 2px;
            background: #00ffff;
            border-radius: 50%;
            animation: float 6s infinite linear;
            opacity: 0.6;
            box-shadow: 0 0 10px #00ffff;
        }

        @keyframes float {
            0% { transform: translateY(100vh) translateX(0px); opacity: 0; }
            10% { opacity: 1; }
            90% { opacity: 1; }
            100% { transform: translateY(-10vh) translateX(100px); opacity: 0; }
        }

        header {
            background: rgba(0, 0, 0, 0.95);
            backdrop-filter: blur(15px);
            border-bottom: 3px solid #00ffff;
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            box-shadow: 0 0 30px rgba(0, 255, 255, 0.4), inset 0 -2px 20px rgba(0, 255, 255, 0.1);
        }

        .header-container {
            width: 100%;
            max-width: none;
            margin: 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.35rem 2rem;
            gap: 1.5rem;
            flex-wrap: nowrap;
            min-height: 72px;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.65rem;
            font-size: 1.8rem;
            font-weight: bold;
            background: linear-gradient(45deg, #00ffff, #ff00ff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
            animation: glow 2s ease-in-out infinite alternate;
            cursor: pointer;
            white-space: nowrap !important;
            flex-shrink: 0;
            margin-right: 1rem;
        }

        .logo span {
            white-space: nowrap !important;
            display: inline-block;
        }

        .logo-icon {
            display: block;
            width: 48px;
            height: 48px;
            flex: 0 0 48px;
            object-fit: contain;
        }

        @keyframes glow {
            from { filter: drop-shadow(0 0 10px #00ffff) drop-shadow(0 0 20px #00ffff); }
            to { filter: drop-shadow(0 0 20px #00ffff) drop-shadow(0 0 30px #ff00ff); }
        }

        .header-actions {
            display: flex;
            gap: 1rem;
            align-items: center;
            flex-shrink: 0;
        }

        .user-info {
            display: none;
            color: #00ffff;
            align-items: center;
            gap: 0.5rem;
            background: rgba(0, 255, 255, 0.1);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            border: 1px solid rgba(0, 255, 255, 0.3);
            white-space: nowrap;
            flex-shrink: 0;
        }

        .user-info.logged-in {
            display: flex;
        }

        .login-btn, .logout-btn {
            background: linear-gradient(45deg, #00ffff, #ff00ff);
            color: #000;
            border: none;
            padding: 0.6rem 1.5rem;
            border-radius: 25px;
            cursor: pointer;
            font-weight: bold;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
            white-space: nowrap;
            flex-shrink: 0;
        }

        .login-btn:hover, .logout-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0, 255, 255, 0.5);
        }

        nav {
            flex-shrink: 0;
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 2rem;
            flex-wrap: nowrap;
        }

        nav a {
            display: inline-block;
            color: #ffffff;
            text-decoration: none;
            padding: 0.6rem 1.2rem;
            border-radius: 25px;
            box-shadow: inset 0 0 0 2px transparent;
            transition: color 0.3s ease, box-shadow 0.3s ease;
            position: relative;
            cursor: pointer;
            font-weight: 500;
            white-space: nowrap !important;
        }

        nav a:hover, nav a.active {
            color: #00ffff;
            box-shadow: inset 0 0 0 2px #00ffff, 0 0 20px rgba(0, 255, 255, 0.5), inset 0 0 15px rgba(0, 255, 255, 0.1);
        }

        .mobile-menu {
            display: none;
            background: none;
            border: 2px solid #00ffff;
            color: #00ffff;
            padding: 0.5rem;
            cursor: pointer;
            border-radius: 5px;
        }

        .main-layout {
            display: flex;
            margin-top: 90px;
            min-height: calc(100vh - 90px);
        }

        .sidebar-left {
            width: 280px;
            background: rgba(0, 0, 0, 0.4);
            border-right: 2px solid rgba(0, 255, 255, 0.4);
            backdrop-filter: blur(15px);
            padding: 2rem 1.5rem;
            height: calc(100vh - 90px);
            overflow-y: auto;
            position: fixed;
            left: 0;
            top: 90px;
            z-index: 100;
            box-shadow: inset -5px 0 20px rgba(0, 255, 255, 0.05);
        }

        .sidebar-left::-webkit-scrollbar {
            width: 8px;
        }

        .sidebar-left::-webkit-scrollbar-track {
            background: rgba(0, 255, 255, 0.05);
        }

        .sidebar-left::-webkit-scrollbar-thumb {
            background: rgba(0, 255, 255, 0.3);
            border-radius: 10px;
        }

        .sidebar-left::-webkit-scrollbar-thumb:hover {
            background: rgba(0, 255, 255, 0.5);
        }

        .sidebar-left h3 {
            color: #00ffff;
            margin-bottom: 1.5rem;
            text-align: left;
            font-size: 1.1rem;
            text-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
            border-bottom: 2px solid rgba(0, 255, 255, 0.3);
            padding-bottom: 0.8rem;
        }

        .category-menu {
            list-style: none;
            margin-bottom: 2rem;
        }

        .category-menu li {
            margin-bottom: 0.8rem;
        }

        .category-menu a {
            display: flex;
            align-items: center;
            color: #ffffff;
            text-decoration: none;
            padding: 0.9rem 1rem;
            border-radius: 12px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid transparent;
            cursor: pointer;
            font-weight: 500;
            position: relative;
            overflow: hidden;
        }

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

        .category-menu a:hover::before, .category-menu a.active::before {
            left: 100%;
        }

        .category-menu a:hover, .category-menu a.active {
            background: rgba(0, 255, 255, 0.15);
            border-color: #00ffff;
            color: #00ffff;
            transform: translateX(8px);
            box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
        }

        .category-menu .icon {
            margin-right: 0.8rem;
            font-size: 1.3rem;
            line-height: 1;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 1.4rem;
            flex-shrink: 0;
        }

        .category-count {
            margin-left: auto;
            background: linear-gradient(135deg, rgba(0, 255, 255, 0.3), rgba(255, 0, 255, 0.2));
            padding: 0.3rem 0.7rem;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: bold;
            border: 1px solid rgba(0, 255, 255, 0.2);
        }

        .main-content {
            flex: 1;
            margin-left: 280px;
            padding: 2rem;
            min-height: calc(100vh - 90px);
            max-width: 1400px;
            margin-right: auto;
        }

        .section {
            display: none;
            animation: fadeIn 0.6s ease-in;
        }

        .section.active {
            display: block;
        }

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

        .hero {
            text-align: center;
            padding: 5rem 2rem;
            background: radial-gradient(circle at center, rgba(0, 255, 255, 0.15) 0%, transparent 70%);
            border-radius: 20px;
            border: 2px solid rgba(0, 255, 255, 0.3);
            backdrop-filter: blur(10px);
            box-shadow: 0 8px 32px rgba(0, 255, 255, 0.1), inset 0 0 30px rgba(0, 255, 255, 0.05);
            margin-bottom: 3rem;
        }

        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 1rem;
            background: linear-gradient(135deg, #00ffff, #ff00ff, #00ffff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: textGlow 3s ease-in-out infinite;
            font-weight: 900;
            letter-spacing: 2px;
        }

        @keyframes textGlow {
            0%, 100% { filter: drop-shadow(0 0 10px #00ffff); }
            50% { filter: drop-shadow(0 0 20px #ff00ff); }
        }

        .hero p {
            font-size: 1.3rem;
            margin-bottom: 2.5rem;
            opacity: 0.85;
            line-height: 1.6;
        }

        .cta-button {
            background: linear-gradient(45deg, #00ffff, #ff00ff);
            color: #000;
            padding: 1rem 2.5rem;
            border: none;
            border-radius: 30px;
            font-size: 1.1rem;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
            box-shadow: 0 8px 25px rgba(0, 255, 255, 0.4);
            position: relative;
            overflow: hidden;
        }

        .cta-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.3);
            transition: left 0.5s ease;
        }

        .cta-button:hover::before {
            left: 100%;
        }

        .cta-button:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0, 255, 255, 0.6);
        }

        .like-system {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-top: 1.5rem;
            flex-wrap: wrap;
        }

        .like-btn {
            background: rgba(255, 255, 255, 0.08);
            border: 2px solid rgba(0, 255, 255, 0.3);
            border-radius: 25px;
            color: #ffffff;
            padding: 0.7rem 1.2rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.6rem;
            font-size: 0.95rem;
            font-weight: 600;
            backdrop-filter: blur(10px);
        }

        .like-btn:hover {
            background: rgba(0, 255, 255, 0.2);
            border-color: #00ffff;
            transform: scale(1.08);
            box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
        }

        .like-btn.liked {
            background: rgba(255, 0, 255, 0.25);
            border-color: #ff00ff;
            color: #ff00ff;
            box-shadow: 0 0 15px rgba(255, 0, 255, 0.3);
        }

        .favorite-btn {
            background: rgba(255, 255, 255, 0.08);
            border: 2px solid rgba(0, 255, 255, 0.3);
            border-radius: 25px;
            color: #ffffff;
            padding: 0.7rem 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.9rem;
            font-weight: 600;
        }

        .favorite-btn:hover,
        .favorite-btn.favorited {
            background: rgba(0, 255, 255, 0.2);
            border-color: #00ffff;
            color: #00ffff;
        }

        .like-count {
            font-weight: bold;
            min-width: 25px;
            text-align: center;
        }

        .gallery-section {
            margin-bottom: 3rem;
        }

        .gallery-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2.5rem;
            flex-wrap: wrap;
            gap: 1.5rem;
            background: rgba(0, 0, 0, 0.3);
            padding: 1.5rem;
            border-radius: 15px;
            border: 1px solid rgba(0, 255, 255, 0.2);
            backdrop-filter: blur(10px);
        }

        .gallery-title {
            font-size: 2.3rem;
            color: #00ffff;
            text-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
            font-weight: 800;
            letter-spacing: 1px;
        }

        .gallery-filters {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .media-type-toggle {
            display: flex;
            background: rgba(0, 0, 0, 0.6);
            border-radius: 30px;
            overflow: hidden;
            border: 2px solid #00ffff;
            box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
        }

        .media-type-btn {
            background: transparent;
            color: #ffffff;
            border: none;
            padding: 0.9rem 1.8rem;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            font-weight: 600;
        }

        .media-type-btn.active {
            background: linear-gradient(45deg, #00ffff, #ff00ff);
            color: #000;
            box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
        }

        .media-type-btn:hover {
            background: rgba(0, 255, 255, 0.25);
            transform: scale(1.02);
        }

        .carousel-container {
            position: relative;
            margin: 2rem 0;
            z-index: 1;
        }

        .carousel {
            overflow: hidden;
            border-radius: 20px;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(10px);
            border: 2px solid rgba(0, 255, 255, 0.3);
            box-shadow: 0 15px 50px rgba(0, 255, 255, 0.15), inset 0 0 20px rgba(0, 255, 255, 0.05);
            position: relative;
            z-index: 1;
        }

        .carousel-track {
            display: flex;
            transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .carousel-slide {
            min-width: 100%;
            position: relative;
        }

        .media-item {
            position: relative;
            background: #000;
            border-radius: 20px;
            overflow: hidden;
            margin: 0;
            height: 500px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .media-content {
            position: relative;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1;
        }

        .media-content img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .media-content video {
            width: 100%;
            height: 100%;
            object-fit: contain;
            background: #000;
            z-index: 2;
        }

        .media-item:hover .media-content img {
            transform: scale(1.05);
        }

        .media-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 40%, transparent 100%);
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 2.5rem;
            pointer-events: none;
            z-index: 10;
        }

        .media-category {
            background: linear-gradient(135deg, rgba(0, 255, 255, 0.9), rgba(255, 0, 255, 0.7));
            color: #000;
            padding: 0.4rem 1rem;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: bold;
            display: inline-block;
            margin-bottom: 0.8rem;
            box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .media-title {
            font-size: 1.8rem;
            font-weight: bold;
            margin-bottom: 0.8rem;
            color: #00ffff;
            text-shadow: 0 2px 10px rgba(0, 255, 255, 0.3);
        }

        .media-description {
            opacity: 0.9;
            line-height: 1.5;
            margin-bottom: 1.2rem;
            font-size: 0.95rem;
        }

        .media-info {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.9rem;
            opacity: 0.8;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .play-button {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(0, 255, 255, 0.95);
            border: none;
            border-radius: 50%;
            width: 90px;
            height: 90px;
            font-size: 2.5rem;
            color: #000;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 0 40px rgba(0, 255, 255, 0.5);
            z-index: 5;
        }

        .play-button:hover {
            background: #00ffff;
            transform: translate(-50%, -50%) scale(1.15);
            box-shadow: 0 0 60px rgba(0, 255, 255, 0.8);
        }

        .carousel-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0, 255, 255, 0.85);
            border: none;
            border-radius: 50%;
            width: 60px;
            height: 60px;
            font-size: 1.8rem;
            color: #000;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 5 !important;
            font-weight: bold;
            box-shadow: 0 4px 20px rgba(0, 255, 255, 0.4);
            pointer-events: auto !important;
        }
        
        .carousel-nav.prev {
            left: 20px;
        }
        
        .carousel-nav.next {
            right: 20px;
        }

        .carousel-nav:hover {
            background: #00ffff;
            transform: translateY(-50%) scale(1.2);
            box-shadow: 0 8px 30px rgba(0, 255, 255, 0.7);
        }

        .video-player {
            position: relative;
            width: 100%;
            height: 100%;
            background: #000;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .video-player video {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .video-controls {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            padding: 1rem;
            z-index: 100 !important;
            pointer-events: auto !important;
        }

        .video-controls button {
            background: rgba(0, 255, 255, 0.8);
            border: none;
            color: #000;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.5rem;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
        }

        .video-controls button:hover {
            background: #00ffff;
            transform: scale(1.1);
            box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
        }

        .video-progress {
            flex: 1;
            height: 4px;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 2px;
            cursor: pointer;
            position: relative;
        }

        .video-progress-bar {
            height: 100%;
            background: linear-gradient(90deg, #00ffff, #ff00ff);
            border-radius: 2px;
            width: 0%;
            transition: width 0.1s linear;
        }

        .video-time {
            color: #00ffff;
            font-size: 0.9rem;
            min-width: 100px;
            text-align: center;
        }

        .carousel-indicators {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            gap: 0.45rem;
            margin-top: 1.5rem;
            max-width: 100%;
            overflow: hidden;
            padding: 0 0.5rem;
        }

        .carousel-slide-counter {
            color: #00ffff;
            font-weight: 700;
            font-size: 0.95rem;
            letter-spacing: 0.04em;
            padding: 0.35rem 0.9rem;
            border-radius: 999px;
            border: 1px solid rgba(0, 255, 255, 0.35);
            background: rgba(0, 0, 0, 0.45);
            box-shadow: 0 0 12px rgba(0, 255, 255, 0.2);
        }

        .indicator {
            width: 10px;
            height: 10px;
            min-width: 10px;
            padding: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.25);
            cursor: pointer;
            transition: all 0.3s ease;
            border: 2px solid rgba(0, 255, 255, 0.3);
            flex-shrink: 0;
        }

        .indicator:hover {
            background: rgba(0, 255, 255, 0.4);
            transform: scale(1.1);
        }

        .indicator.active {
            background: #00ffff;
            box-shadow: 0 0 15px #00ffff;
            transform: scale(1.2);
        }

        .gallery-grid {
                display: grid;
                grid-template-columns: repeat(4, minmax(0, 1fr));
                gap: 2rem;
                margin-top: 2.5rem;
            }

        .media-card {
            background: rgba(255, 255, 255, 0.06);
            border: 2px solid rgba(0, 255, 255, 0.3);
            border-radius: 18px;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            backdrop-filter: blur(10px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        }

        .media-card:hover {
            transform: translateY(-10px);
            border-color: #00ffff;
            box-shadow: 0 20px 50px rgba(0, 255, 255, 0.25), inset 0 0 20px rgba(0, 255, 255, 0.05);
        }

        .media-card-image {
            height: 220px;
            overflow: hidden;
            position: relative;
            background: #000;
            display: flex;
            align-items: center;
            justify-content: center;
        }

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

        .media-card-placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            color: #00ffff;
            background: linear-gradient(135deg, #0a0a12 0%, #1a1a2e 100%);
            opacity: 0.9;
        }

        .media-card-placeholder.video-placeholder {
            font-size: 3rem;
            text-shadow: 0 0 20px #00ffff;
        }

        .media-card-video-thumb {
            width: 100%;
            height: 100%;
            object-fit: cover;
            background: #000;
            pointer-events: none;
        }

        .media-card-play-badge {
            position: absolute;
            right: 12px;
            bottom: 12px;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: rgba(0, 255, 255, 0.85);
            color: #000;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
            font-weight: bold;
            pointer-events: none;
            box-shadow: 0 0 12px rgba(0, 255, 255, 0.5);
        }


        .media-card-image video {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

        .media-card:hover .media-card-image img {
            transform: scale(1.12);
        }

        .media-card-content {
            padding: 1.3rem;
        }

        .media-card h3 {
            color: #00ffff;
            margin-bottom: 0.6rem;
            font-size: 1.3rem;
            font-weight: 700;
        }

        .media-card .category {
            background: linear-gradient(135deg, rgba(255, 0, 255, 0.3), rgba(0, 255, 255, 0.2));
            color: #ff00ff;
            padding: 0.3rem 0.7rem;
            border-radius: 12px;
            font-size: 0.8rem;
            display: inline-block;
            margin-bottom: 0.8rem;
            border: 1px solid rgba(255, 0, 255, 0.2);
            font-weight: 600;
        }

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

        .forum-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2.5rem;
            flex-wrap: wrap;
            gap: 1.5rem;
            background: rgba(0, 0, 0, 0.3);
            padding: 1.5rem;
            border-radius: 15px;
            border: 1px solid rgba(0, 255, 255, 0.2);
            backdrop-filter: blur(10px);
        }

        .forum-title {
            font-size: 2.5rem;
            color: #00ffff;
            text-shadow: 0 0 25px rgba(0, 255, 255, 0.4);
            font-weight: 800;
        }

        .new-topic-btn {
            background: linear-gradient(45deg, #00ffff, #ff00ff);
            color: #000;
            border: none;
            padding: 1rem 2rem;
            border-radius: 25px;
            cursor: pointer;
            font-weight: bold;
            transition: all 0.3s ease;
            box-shadow: 0 6px 20px rgba(0, 255, 255, 0.35);
        }

        .new-topic-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(0, 255, 255, 0.5);
        }

        .forum-stats {
            display: grid;
            grid-template-columns: minmax(220px, 300px);
            gap: 1.5rem;
            margin-bottom: 2.5rem;
        }

        .stat-card {
            background: rgba(0, 0, 0, 0.4);
            border: 2px solid rgba(0, 255, 255, 0.3);
            border-radius: 15px;
            padding: 2rem 1.5rem;
            text-align: center;
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        }

        .stat-card:hover {
            border-color: #00ffff;
            box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
            transform: translateY(-5px);
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: bold;
            background: linear-gradient(135deg, #00ffff, #ff00ff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 0.8rem;
        }

        .stat-label {
            opacity: 0.85;
            font-size: 0.95rem;
            font-weight: 600;
        }

        .topics-list {
            background: rgba(0, 0, 0, 0.3);
            border-radius: 18px;
            overflow: hidden;
            backdrop-filter: blur(10px);
            border: 2px solid rgba(0, 255, 255, 0.2);
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
        }

        .topic-item {
            border-bottom: 1px solid rgba(0, 255, 255, 0.15);
            padding: 1.8rem;
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .topic-item::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 4px;
            background: linear-gradient(to bottom, #00ffff, #ff00ff);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.3s ease;
        }

        .topic-item:hover::before {
            transform: scaleX(1);
        }

        .topic-item:last-child {
            border-bottom: none;
        }

        .topic-item:hover {
            background: rgba(0, 255, 255, 0.08);
            transform: translateX(8px);
        }

        .topic-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 1rem;
            gap: 1rem;
        }

        .topic-title {
            color: #00ffff;
            font-size: 1.25rem;
            font-weight: bold;
            margin-bottom: 0.5rem;
        }

        .topic-author {
            font-size: 0.9rem;
            opacity: 0.7;
        }

        .topic-stats {
            text-align: right;
            font-size: 0.9rem;
            opacity: 0.75;
            font-weight: 600;
        }

        .topic-excerpt {
            opacity: 0.85;
            line-height: 1.5;
            margin-bottom: 1rem;
            font-size: 0.95rem;
            white-space: pre-wrap;
            overflow-wrap: anywhere;
        }

        .topic-date {
            opacity: 0.65;
            font-size: 0.85em;
        }

        .topic-delete-btn {
            background: none;
            border: none;
            color: #ff5555;
            font-size: 1.3rem;
            cursor: pointer;
            line-height: 1;
            padding: 0 4px;
            flex-shrink: 0;
        }

        .topic-delete-btn:hover {
            color: #ff0000;
        }

        .topic-replies {
            margin: 0.75rem 0 0.5rem 0.5rem;
            border-left: 2px solid rgba(0, 255, 255, 0.25);
            padding-left: 0.9rem;
            display: flex;
            flex-direction: column;
            gap: 0.65rem;
        }

        .topic-reply {
            background: rgba(0, 255, 255, 0.06);
            border-radius: 8px;
            padding: 0.6rem 0.8rem;
        }

        .topic-reply-meta {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            font-size: 0.85rem;
            color: #00ffff;
            margin-bottom: 0.35rem;
        }

        .topic-reply-text {
            font-size: 0.92rem;
            opacity: 0.9;
            white-space: pre-wrap;
            overflow-wrap: anywhere;
        }

        .topic-actions {
            margin-top: 0.5rem;
        }

        .topic-reply-btn {
            background: rgba(0, 255, 255, 0.12);
            border: 1px solid rgba(0, 255, 255, 0.35);
            color: #00ffff;
            border-radius: 20px;
            padding: 0.35rem 0.9rem;
            cursor: pointer;
            font-size: 0.85rem;
        }

        .topic-reply-btn:hover {
            background: rgba(0, 255, 255, 0.22);
        }

        .topic-reply-form {
            margin-top: 0.75rem;
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .topic-reply-form[hidden] {
            display: none !important;
        }

        .topic-reply-input {
            width: 100%;
            background: rgba(0, 0, 0, 0.45);
            border: 1px solid rgba(0, 255, 255, 0.35);
            color: #fff;
            border-radius: 8px;
            padding: 0.6rem;
            font-family: inherit;
            resize: vertical;
        }

        .topic-reply-form-actions {
            display: flex;
            gap: 0.75rem;
        }

        .topic-cancel-btn {
            background: transparent;
            border: 1px solid rgba(255, 255, 255, 0.25);
            color: #ccc;
            border-radius: 20px;
            padding: 0.45rem 1rem;
            cursor: pointer;
        }

        .forum-topic-form {
            margin: 0 0 2rem;
        }

        .forum-form-actions {
            display: flex;
            gap: 1rem;
        }

        .forum-form-actions button {
            flex: 1;
        }

        .topic-tags {
            display: flex;
            gap: 0.6rem;
            flex-wrap: wrap;
        }

        .topic-tag {
            background: rgba(255, 0, 255, 0.2);
            color: #ff00ff;
            padding: 0.4rem 0.9rem;
            border-radius: 18px;
            font-size: 0.8rem;
            border: 1px solid rgba(255, 0, 255, 0.3);
            font-weight: 600;
        }

        .auth-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.92);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 10000;
            backdrop-filter: blur(15px);
        }

        .auth-modal.show {
            display: flex;
            animation: fadeIn 0.3s ease;
        }

        .auth-form {
            background: linear-gradient(135deg, rgba(10, 10, 10, 0.95), rgba(26, 26, 46, 0.95));
            border: 3px solid #00ffff;
            border-radius: 25px;
            padding: 3.5rem;
            max-width: 420px;
            width: 90%;
            box-shadow: 0 0 60px rgba(0, 255, 255, 0.35), inset 0 0 30px rgba(0, 255, 255, 0.05);
            position: relative;
            animation: slideUp 0.3s ease;
        }

        .auth-form button:disabled {
            cursor: wait;
            opacity: 0.65;
        }

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

        .auth-form h2 {
            color: #00ffff;
            margin-bottom: 2rem;
            text-align: center;
            text-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
            font-size: 1.8rem;
            font-weight: 800;
        }

        .form-group {
            margin-bottom: 1.8rem;
        }

        .form-group label {
            display: block;
            color: #ffffff;
            margin-bottom: 0.7rem;
            font-weight: bold;
            font-size: 0.95rem;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 1rem;
            background: rgba(10, 10, 26, 0.95);
            border: 2px solid rgba(0, 255, 255, 0.4);
            border-radius: 12px;
            color: #ffffff;
            font-size: 1rem;
            transition: all 0.3s ease;
            font-family: inherit;
        }

        .form-group select option {
            background: #1a1a2e;
            color: #ffffff;
            padding: 0.8rem;
        }

        .form-group input::placeholder {
            color: rgba(255, 255, 255, 0.5);
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #00ffff;
            box-shadow: 0 0 20px rgba(0, 255, 255, 0.3), inset 0 0 10px rgba(0, 255, 255, 0.1);
            background: rgba(255, 255, 255, 0.12);
        }

        .auth-buttons {
            display: flex;
            gap: 1rem;
            justify-content: space-between;
            margin-top: 2.5rem;
        }

        .auth-btn {
            flex: 1;
            background: linear-gradient(45deg, #00ffff, #ff00ff);
            color: #000;
            border: none;
            padding: 1.1rem;
            border-radius: 25px;
            cursor: pointer;
            font-weight: bold;
            transition: all 0.3s ease;
            box-shadow: 0 6px 20px rgba(0, 255, 255, 0.3);
        }

        .auth-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(0, 255, 255, 0.5);
        }

        .auth-btn.secondary {
            background: transparent;
            color: #00ffff;
            border: 2px solid #00ffff;
            box-shadow: none;
        }

        .auth-btn.secondary:hover {
            background: rgba(0, 255, 255, 0.15);
            box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
        }

        .auth-link {
            background: none;
            border: none;
            color: #00ffff;
            cursor: pointer;
            display: block;
            margin: -0.8rem 0 0 auto;
            padding: 0.3rem 0;
            text-decoration: underline;
        }

        .close-modal {
            position: absolute;
            top: 1.5rem;
            right: 1.5rem;
            background: none;
            border: none;
            color: #00ffff;
            font-size: 2.5rem;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .close-modal:hover {
            color: #ff00ff;
            transform: scale(1.2) rotate(90deg);
        }

        .upload-form {
            background: rgba(0, 0, 0, 0.4);
            border: 3px solid #00ffff;
            border-radius: 25px;
            padding: 2.5rem;
            margin: 2rem 0;
            backdrop-filter: blur(10px);
            box-shadow: 0 10px 40px rgba(0, 255, 255, 0.15), inset 0 0 20px rgba(0, 255, 255, 0.05);
        }

        .upload-form h2 {
            color: #00ffff;
            margin-bottom: 2rem;
            text-align: center;
            font-size: 1.8rem;
            font-weight: 800;
            text-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
        }

        .file-drop-zone {
            border: 3px dashed #00ffff;
            border-radius: 20px;
            padding: 2.5rem;
            text-align: center;
            transition: all 0.3s ease;
            cursor: pointer;
            background: rgba(0, 255, 255, 0.05);
        }

        .file-drop-zone:hover {
            background: rgba(0, 255, 255, 0.15);
            border-style: solid;
            box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
        }
        .file-drop-zone.drag-over {
            background: rgba(0, 255, 255, 0.22);
            border-style: solid;
            border-color: #ff00ff;
            box-shadow: 0 0 35px rgba(255, 0, 255, 0.35);
            transform: scale(1.01);
        }
        .file-drop-zone .file-list {
            margin-top: 0.75rem;
            font-size: 0.9rem;
            opacity: 0.9;
            color: #a5f3fc;
        }

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

        .donation-hero {
            text-align: center;
            margin-bottom: 3rem;
            background: rgba(0, 0, 0, 0.3);
            padding: 2.5rem;
            border-radius: 20px;
            border: 2px solid rgba(0, 255, 255, 0.2);
            backdrop-filter: blur(10px);
        }

        .donation-hero h2 {
            font-size: 2.8rem;
            color: #00ffff;
            margin-bottom: 1rem;
            text-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
            font-weight: 800;
        }

        .donation-amounts {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 2rem;
            margin-bottom: 2.5rem;
        }

        .amount-card {
            background: rgba(0, 0, 0, 0.4);
            border: 2px solid #00ffff;
            border-radius: 20px;
            padding: 2.2rem 1.5rem;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            backdrop-filter: blur(10px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
            overflow: hidden;
        }

        .amount-card::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
            transition: all 0.3s ease;
        }

        .amount-card:hover, .amount-card.selected {
            background: rgba(0, 255, 255, 0.1);
            border-color: #ff00ff;
            transform: translateY(-8px);
            box-shadow: 0 20px 50px rgba(0, 255, 255, 0.25);
        }

        .amount-card .price {
            font-size: 2.5rem;
            font-weight: bold;
            background: linear-gradient(135deg, #00ffff, #ff00ff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 1rem;
            position: relative;
            z-index: 1;
        }

        .amount-card .description {
            color: #ffffff;
            font-size: 0.95rem;
            opacity: 0.85;
            line-height: 1.5;
            position: relative;
            z-index: 1;
        }

        .amount-card .popular {
            position: absolute;
            top: -12px;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(45deg, #ff00ff, #00ffff);
            color: #000;
            padding: 0.4rem 1.2rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: bold;
            box-shadow: 0 4px 15px rgba(255, 0, 255, 0.4);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        footer {
            background: rgba(0, 0, 0, 0.95);
            border-top: 3px solid #00ffff;
            padding: 3rem 2rem;
            text-align: center;
            margin-top: 4rem;
            box-shadow: 0 -10px 40px rgba(0, 255, 255, 0.1);
        }

        .footer-legal-links {
            margin: 0.85rem 0 1rem;
        }

        .footer-legal-links a {
            color: #00ffff;
            font-weight: 600;
            text-decoration: none;
            transition: color 0.2s ease, text-shadow 0.2s ease;
        }

        .footer-legal-links a:hover,
        .footer-legal-links a:focus-visible {
            color: #ff66ff;
            text-shadow: 0 0 10px rgba(255, 102, 255, 0.6);
            text-decoration: underline;
        }

        .social-links {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 2.5rem;
            margin: 0 auto 1.5rem;
            flex-wrap: wrap;
            width: 100%;
        }

        .social-links a {
            color: #00ffff;
            font-size: 1.8rem;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: rgba(0, 255, 255, 0.1);
            border: 2px solid rgba(0, 255, 255, 0.3);
        }

        .social-links a:hover {
            transform: scale(1.2) rotateZ(15deg);
            background: rgba(0, 255, 255, 0.25);
            box-shadow: 0 0 25px rgba(0, 255, 255, 0.4);
        }

        @keyframes slideIn {
            from { transform: translateX(100%); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }

        @keyframes slideOut {
            from { transform: translateX(0); opacity: 1; }
            to { transform: translateX(100%); opacity: 0; }
        }

        @media (max-width: 768px) {
            .sidebar-left {
                transform: translateX(-100%);
                transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
                width: 280px;
                z-index: 2000;
                background: rgba(0, 0, 0, 0.95);
            }

            .sidebar-left.show {
                transform: translateX(0);
                box-shadow: 10px 0 50px rgba(0, 0, 0, 0.9);
            }

            .main-content {
                margin-left: 0 !important;
                padding: 1rem !important;
                width: 100% !important;
            }

            nav ul {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: rgba(0, 0, 0, 0.98);
                backdrop-filter: blur(20px);
                padding: 1.5rem 0;
                border-bottom: 2px solid #00ffff;
                gap: 1rem;
                text-align: center;
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            }

            nav ul.show {
                display: flex;
            }

            .mobile-menu {
                display: block !important;
            }

            .hero h1 {
                font-size: 2.2rem;
            }

            .hero {
                padding: 3rem 1rem;
            }

            .header-container {
                padding: 0.8rem 1rem;
            }

            .gallery-header {
                flex-direction: column;
                gap: 1.5rem;
                align-items: stretch;
            }

            .gallery-filters {
                flex-direction: column;
                gap: 1rem;
            }

            .media-type-toggle {
                width: 100%;
            }

            .media-type-btn {
                flex: 1;
            }

            .carousel-nav {
                width: 40px;
                height: 40px;
                font-size: 1.2rem;
            }

            .carousel-nav.prev {
                left: 10px;
            }

            .carousel-nav.next {
                right: 10px;
            }

            .media-item {
                height: 320px;
            }

            .media-overlay {
                padding: 1rem;
            }

            .gallery-grid {
                grid-template-columns: 1fr !important;
                gap: 1.5rem;
            }

            .forum-header {
                flex-direction: column;
                gap: 1rem;
                align-items: stretch;
            }

            .forum-stats {
                grid-template-columns: repeat(2, 1fr);
            }

            .auth-modal {
                align-items: flex-start;
                overflow-y: auto;
                padding: 1rem 0;
            }

            .auth-form {
                margin: auto;
            }

            .auth-form {
                width: 95%;
                padding: 1.5rem;
            }

            .donation-amounts {
                grid-template-columns: 1fr;
            }

            .upload-form {
                padding: 1.5rem;
            }
        }

        @media (max-width: 480px) {
            .logo {
                font-size: 1.3rem;
            }
            .logo-icon {
                width: 32px;
                height: 32px;
                flex: 0 0 32px;
            }

            .hero h1 {
                font-size: 1.8rem;
            }

            .hero p {
                font-size: 1rem;
            }

            .gallery-title {
                font-size: 1.5rem;
            }

            .media-item {
                height: 260px;
            }

            .cta-button {
                width: 100%;
                padding: 0.8rem;
                font-size: 1rem;
            }

            .forum-stats {
                grid-template-columns: 1fr;
            }

            .user-info .username {
                display: none;
            }
        }
    

@media (max-width: 768px) {
    .sidebar-left {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        width: 250px;
        z-index: 1001;
    }
    .sidebar-left.show {
        transform: translateX(0);
        box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5);
    }
    .main-content {
        margin-left: 0 !important;
        padding: 1rem !important;
    }
    .gallery-grid {
        grid-template-columns: 1fr !important;
    }
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        padding: 1rem 0;
    }
    nav ul.show {
        display: flex;
    }
    .mobile-menu {
        display: block !important;
    }
}

/* --- CHAT DRAWER STYLES --- */
.chat-drawer {
    position: fixed;
    right: 30px;
    bottom: 120px;
    width: 360px;
    height: 500px;
    min-width: 280px;
    min-height: 320px;
    max-width: 95vw;
    max-height: 90vh;
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(20px);
    border: 2px solid #00ffff;
    border-radius: 15px;
    z-index: 10000;
    display: none;
    flex-direction: column;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.4), inset 0 0 20px rgba(0, 255, 255, 0.1);
    overflow: hidden;
}

.chat-drawer.open { display: flex; }

.chat-resize-handle {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 28px;
    height: 28px;
    cursor: nwse-resize;
    z-index: 50;
    pointer-events: auto;
    background:
        linear-gradient(135deg, transparent 45%, rgba(0, 255, 255, 0.45) 45%),
        linear-gradient(135deg, transparent 60%, rgba(0, 255, 255, 0.9) 60%);
    border-bottom-right-radius: 13px;
}

.chat-resize-handle:hover {
    background:
        linear-gradient(135deg, transparent 40%, rgba(255, 0, 255, 0.5) 40%),
        linear-gradient(135deg, transparent 55%, #ff00ff 55%);
}

.chat-header {
    padding: 1.2rem;
    background: rgba(0, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 255, 255, 0.25);
    cursor: move;
    user-select: none;
    border-top-left-radius: 13px;
    border-top-right-radius: 13px;
}

.chat-header h3 {
    color: #00ffff;
    font-size: 1.1rem;
    margin: 0;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-thread {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 255, 255, 0.18);
    border-radius: 12px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-msg {
    background: rgba(0, 255, 255, 0.07);
    padding: 8px 12px;
    border-radius: 10px;
    position: relative;
}

.chat-msg.own { border-right: 3px solid #00ffff; }

.chat-thread-replies {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-left: 8px;
    padding-left: 10px;
    border-left: 2px solid rgba(255, 0, 255, 0.35);
}

.chat-msg-nested {
    background: rgba(255, 0, 255, 0.12);
    border: 1px solid rgba(255, 0, 255, 0.28);
    border-right: 3px solid #ff00ff;
}

.chat-msg-nested .msg-header {
    color: #ff66ff;
}

.msg-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #00ffff;
    margin-bottom: 4px;
}

.msg-header .time {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.7rem;
    white-space: nowrap;
}

.msg-actions {
    display: flex;
    gap: 6px;
    margin-top: 6px;
    align-items: center;
}

.delete-msg {
    background: none;
    border: none;
    color: #ff5555;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    line-height: 1;
    padding: 0 4px;
}

.delete-msg:hover {
    color: #ff0000;
}

.chat-input-area {
    padding: 1.2rem;
    background: rgba(0, 0, 0, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#chat-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10050;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    border: none;
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.45);
    transition: all 0.3s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    pointer-events: auto;
}

#chat-toggle:hover {
    transform: scale(1.12) rotate(10deg);
    box-shadow: 0 0 35px rgba(0, 255, 255, 0.7);
}

/* Mobile / tablette : chat visible et bouton cliquable */
@media (max-width: 768px) {
    #chat-toggle {
        bottom: max(18px, env(safe-area-inset-bottom, 0px));
        right: max(16px, env(safe-area-inset-right, 0px));
        width: 58px;
        height: 58px;
        z-index: 10050;
    }

    .chat-drawer {
        width: calc(100vw - 16px) !important;
        max-width: 420px;
        right: 8px !important;
        left: auto !important;
        bottom: 88px !important;
        top: auto !important;
        height: min(65vh, 520px) !important;
        max-height: calc(100dvh - 110px) !important;
        /* ne plus pousser hors écran (ancien right: -100%) */
    }

    .chat-drawer.open {
        display: flex !important;
        right: 8px !important;
        left: auto !important;
    }
}

.reply-msg {
    display: inline-block;
    padding: 2px 8px;
    margin-right: 5px;
    background: #e0e0e0;
    border: 1px solid #999;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    color: #333;
}
.reply-msg:hover {
    background: #ccc;
}

/* Soucoupe UFO Finder — toujours visible en bas ; active sur À propos */
.ufo-finder-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: default;
    margin-left: 0.35rem;
    padding: 0.15rem 0.35rem;
    vertical-align: middle;
    line-height: 1;
    opacity: 0.85;
    filter: none;
    transition: transform 0.25s ease, filter 0.25s ease, opacity 0.25s ease;
}
.ufo-finder-btn.is-active {
    cursor: pointer;
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.55));
}
.ufo-finder-btn.is-active:hover {
    transform: scale(1.25) rotate(-12deg);
    filter: drop-shadow(0 0 14px rgba(255, 0, 255, 0.7));
}


/* Avatar utilisateur */
.user-avatar {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px;
    min-height: 36px;
    max-width: 36px;
    max-height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(0, 255, 255, 0.45);
    background: rgba(0, 0, 0, 0.35);
    color: #00ffff;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0 !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    line-height: 0;
}
.user-avatar:hover {
    border-color: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
}
.user-avatar-img,
#user-avatar-img {
    width: 36px !important;
    height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 50%;
}
.chat-msg-avatar {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 1px solid rgba(0, 255, 255, 0.35);
    flex-shrink: 0 !important;
    background: rgba(0, 0, 0, 0.3);
}
.chat-msg-avatar-fallback {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px;
    min-height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 255, 0.12);
    border: 1px solid rgba(0, 255, 255, 0.35);
    font-size: 0.85rem;
    flex-shrink: 0;
}
.chat-msg-row {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    max-width: 100%;
}
.chat-msg-body {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}
.chat-messages {
    overflow-x: hidden !important;
}
.chat-thread,
.chat-msg {
    max-width: 100%;
    overflow: hidden;
}
.chat-drawer {
    overflow: hidden;
}


/* Ne pas afficher les éléments masqués (avatar double) */
.chat-msg-avatar-fallback[hidden],
#user-avatar-fallback[hidden],
.user-avatar-img[hidden],
#user-avatar-img[hidden],
img.chat-msg-avatar[hidden] {
    display: none !important;
}

/* Votes authenticité (réel / fake) */
.auth-vote {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.65rem;
    font-size: 0.8rem;
}
.auth-vote.compact {
    margin-top: 0;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.3rem;
}
.auth-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.45);
    color: #eee;
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
    cursor: pointer;
    font-size: 0.78rem;
    line-height: 1.2;
    transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.auth-btn:hover {
    transform: scale(1.04);
}
.auth-btn.real:hover,
.auth-btn.real.active {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
}
.auth-btn.fake:hover,
.auth-btn.fake.active {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}
.auth-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.auth-dot.green {
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.85);
}
.auth-dot.red {
    background: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.85);
}
.auth-pct {
    opacity: 0.85;
    font-size: 0.75rem;
    color: #a5f3fc;
}
.auth-pct.muted {
    opacity: 0.55;
    color: #ccc;
}
.view-count {
    white-space: nowrap;
}


/* Sélecteur de langue — codes FR/EN/ES (fiable sur tous OS) */
.lang-toggle {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(255, 0, 255, 0.15));
    border: 2px solid #00ffff;
    border-radius: 999px;
    min-width: 48px;
    height: 40px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0 0.5rem;
    padding: 0 0.75rem;
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    z-index: 1002;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
}
.lang-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 0 14px rgba(0, 255, 255, 0.55);
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.35), rgba(255, 0, 255, 0.25));
}
.lang-toggle #lang-flag {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #00ffff;
    line-height: 1;
    font-family: 'Segoe UI', system-ui, sans-serif;
}
.lang-toggle[data-lang="en"] #lang-flag { color: #7dd3fc; }
.lang-toggle[data-lang="es"] #lang-flag { color: #fbbf24; }
@media (max-width: 768px) {
    .lang-toggle {
        min-width: 44px;
        height: 36px;
        margin: 0 0.3rem;
        padding: 0 0.55rem;
    }
}


.clear-file-btn {
    margin-top: 1rem;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid #ef4444;
    color: #fca5a5;
    border-radius: 999px;
    padding: 0.45rem 1rem;
    cursor: pointer;
    font-size: 0.9rem;
}
.clear-file-btn:hover {
    background: rgba(239, 68, 68, 0.35);
}


/* ===== MOBILE FIX overflow + menus (2026-11-02) ===== */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 2500;
    pointer-events: auto;
}
.mobile-nav-overlay.show { display: block !important; }
.mobile-cats-btn {
    display: none !important;
    position: fixed;
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    left: 12px;
    z-index: 2400;
    background: linear-gradient(135deg, #00ffff, #ff00ff);
    color: #000;
    border: none;
    border-radius: 999px;
    padding: 0.7rem 1.15rem;
    font-weight: 800;
    font-size: 0.88rem;
    box-shadow: 0 0 18px rgba(0,255,255,0.45);
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.mobile-cats-btn.is-visible { display: inline-flex !important; align-items: center; gap: 0.3rem; }

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
        position: relative;
    }
    header {
        width: 100% !important;
        max-width: 100vw !important;
        overflow: visible !important;
        z-index: 2600 !important;
    }
    .header-container {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto auto !important;
        align-items: center !important;
        gap: 0.35rem !important;
        padding: 0.5rem 0.6rem !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }
    .logo {
        min-width: 0 !important;
        overflow: hidden !important;
        font-size: 1rem !important;
        margin: 0 !important;
    }
    .logo span {
        font-size: 0.9rem !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        max-width: 42vw !important;
        display: inline-block !important;
    }
    .logo-icon { width: 30px !important; height: 30px !important; flex: 0 0 30px !important; }
    nav { position: relative !important; justify-self: end; }
    #mobile-menu, .mobile-menu {
        display: flex !important;
        visibility: visible !important;
        align-items: center;
        justify-content: center;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        padding: 0 !important;
        font-size: 1.4rem !important;
        z-index: 99999 !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
        background: rgba(0,255,255,0.12) !important;
        border: 2px solid #00ffff !important;
        color: #00ffff !important;
        border-radius: 10px !important;
        cursor: pointer !important;
    }
    nav ul#nav-menu {
        display: none !important;
        position: fixed !important;
        top: 56px !important;
        left: 8px !important;
        right: 8px !important;
        width: auto !important;
        flex-direction: column !important;
        background: rgba(5,8,18,0.98) !important;
        border: 1px solid rgba(0,255,255,0.4) !important;
        border-radius: 14px !important;
        padding: 0.4rem 0 !important;
        z-index: 3000 !important;
        max-height: 70vh;
        overflow-y: auto;
        box-shadow: 0 12px 40px rgba(0,0,0,0.6);
        pointer-events: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    nav ul#nav-menu.show { display: flex !important; }
    nav ul#nav-menu .nav-link {
        display: block !important;
        padding: 0.9rem 1.2rem !important;
        width: 100%;
        pointer-events: auto !important;
        position: relative;
        z-index: 3001;
        cursor: pointer !important;
        touch-action: manipulation;
        color: #fff !important;
        min-height: 44px;
        box-sizing: border-box;
    }
    .header-actions {
        gap: 0.3rem !important;
        max-width: 45vw;
        flex-shrink: 1 !important;
    }
    .login-btn {
        padding: 0.4rem 0.55rem !important;
        font-size: 0.75rem !important;
        white-space: nowrap;
    }
    .lang-toggle { min-width: 34px !important; height: 34px !important; margin: 0 !important; }

    .main-layout {
        display: block !important;
        width: 100% !important;
        max-width: 100vw !important;
        margin-top: 56px !important;
        overflow-x: hidden !important;
    }
    .sidebar-left {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: min(300px, 86vw) !important;
        height: 100dvh !important;
        margin: 0 !important;
        padding: 4.5rem 1rem 2rem !important;
        transform: translate3d(-110%, 0, 0) !important;
        transition: transform 0.28s ease !important;
        z-index: 2800 !important;
        background: rgba(0,0,0,0.97) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        pointer-events: none;
    }
    .sidebar-left.show {
        transform: translate3d(0, 0, 0) !important;
        pointer-events: auto !important;
        box-shadow: 12px 0 40px rgba(0,0,0,0.8) !important;
    }
    .main-content {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        padding: 0.75rem !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    .gallery-grid, .gallery-section, .section, .carousel-container, .carousel {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    .gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .media-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }
    .mobile-nav-overlay.show { z-index: 2500 !important; }
}

/* Actions lecteur vidéo (Like + Favori + Réel/Fake) */
.carousel-side-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.45rem;
}
.carousel-media-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
}
.carousel-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.45);
    color: #eee;
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
    cursor: pointer;
    font-size: 0.78rem;
    line-height: 1.2;
    pointer-events: auto;
    transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.carousel-action-btn:hover {
    transform: scale(1.04);
    border-color: #00ffff;
    background: rgba(0, 255, 255, 0.15);
    color: #a5f3fc;
}
.carousel-action-btn.liked,
.carousel-action-btn.favorited {
    border-color: #ff00ff;
    background: rgba(255, 0, 255, 0.18);
    color: #f5d0fe;
}
@media (max-width: 768px) {
    .carousel-side-actions {
        bottom: 64px !important;
        right: 0.5rem !important;
    }
    .carousel-action-btn {
        font-size: 0.72rem;
        padding: 0.22rem 0.55rem;
    }
}

/* Présence chat */
.chat-online-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.9);
    margin-right: 0.35rem;
    vertical-align: middle;
    flex-shrink: 0;
}
.chat-msg .username.is-online {
    color: #86efac;
}
.chat-header-titles {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}
.chat-header-titles h3 {
    margin: 0;
    font-size: 1rem;
}
.community-stats {
    font-size: 0.75rem;
    opacity: 0.85;
    color: #67e8f9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.photo-finder-btn { margin-left: 0.35rem; }
.ufo-finder-btn:not(.is-active),
.photo-finder-btn:not(.is-active) { opacity: 0.45; cursor: default; }
.ufo-finder-btn.is-active,
.photo-finder-btn.is-active { opacity: 1; cursor: pointer; }

/* Photos carrousel : image entière sans déformation */
.carousel-photo-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #050505;
    cursor: grab;
    touch-action: none;
}
.carousel-photo-wrap.is-panning {
    cursor: grabbing;
}
.carousel-photo-wrap .carousel-photo,
.media-item img.carousel-photo,
.media-content .carousel-photo {
    max-width: 100%;
    max-height: 100%;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}
/* Vignettes grille : recadrage léger OK, pas dans le lecteur */
.media-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Loupe photo carrousel */
.photo-loupe-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 30;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(0, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 1.15rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.25);
}
.photo-loupe-btn:hover {
    background: rgba(0, 255, 255, 0.25);
    transform: scale(1.06);
}
.carousel-photo-wrap {
    position: relative;
}

.photo-zoom-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 20000;
    background: rgba(0, 0, 0, 0.72);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.photo-zoom-overlay.open {
    display: flex;
}
.photo-zoom-window {
    position: relative;
    width: min(920px, 96vw);
    height: min(85vh, 700px);
    background: #0a0a12;
    border: 2px solid rgba(0, 255, 255, 0.45);
    border-radius: 14px;
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.photo-zoom-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0.75rem;
    background: rgba(0, 255, 255, 0.08);
    border-bottom: 1px solid rgba(0, 255, 255, 0.25);
    cursor: move;
    user-select: none;
}
.photo-zoom-title {
    color: #a5f3fc;
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}
.photo-zoom-actions {
    display: flex;
    gap: 0.35rem;
}
.photo-zoom-actions button {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.35);
    background: rgba(0, 0, 0, 0.4);
    color: #e0f2fe;
    font-size: 1.1rem;
    cursor: pointer;
}
.photo-zoom-actions button:hover {
    background: rgba(0, 255, 255, 0.2);
}
.photo-zoom-body {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #050508;
    cursor: grab;
}
.photo-zoom-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transform-origin: center center;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}
.photo-zoom-hint {
    font-size: 0.72rem;
    color: #64748b;
    text-align: center;
    padding: 0.35rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
@media (max-width: 600px) {
    .photo-zoom-window {
        width: 100%;
        height: 80vh;
    }
}


/* Bouton télé bleue — amélioration vidéo */
.video-enhance-btn {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.video-enhance-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 16px rgba(0, 180, 255, 0.8) !important;
}


/* Lecteur vidéo carrousel — zoom + cadre */
.carousel-video-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
    touch-action: none;
}
.carousel-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: filter 0.2s ease;
}
.video-zoom-lens {
    position: absolute;
    border: 2px solid rgba(0, 255, 255, 0.95);
    box-shadow: 0 0 14px rgba(0, 255, 255, 0.55), inset 0 0 10px rgba(0, 255, 255, 0.15);
    border-radius: 6px;
    pointer-events: auto;
    cursor: move;
    z-index: 8;
    background: rgba(0, 255, 255, 0.04);
    box-sizing: border-box;
}
.carousel-video-wrap.is-zoom-mode {
    cursor: crosshair;
}
.carousel-video-wrap.is-zoom-mode video {
    will-change: transform;
}
.video-zoom-btn:focus {
    outline: 2px solid #0ff;
}

/* Masquer overlays natifs Edge/Opera (incrustation / picture) */
video::-webkit-media-controls,
video::-webkit-media-controls-panel,
video::-webkit-media-controls-overlay-enclosure,
video::-webkit-media-controls-overlay-play-button,
video::-internal-media-controls-overlay-cast-button {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


.video-zoom-lens {
    overflow: hidden;
}
.video-zoom-clone {
    position: absolute;
    max-width: none !important;
    object-fit: contain;
    pointer-events: none;
    background: #000;
}


/* Barre lecture dans le wrap (visible aussi en plein écran) */
.carousel-video-wrap .video-controls-bar {
    position: absolute;
    bottom: 44px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.5rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
}
.carousel-video-wrap .video-controls-bar button {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    background: rgba(0, 255, 255, 0.85);
    color: #000;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.carousel-video-wrap .video-controls-bar .video-enhance-btn {
    border-radius: 8px;
    background: rgba(0, 120, 255, 0.92);
    color: #fff;
    border: 1px solid rgba(120, 200, 255, 0.9);
    box-shadow: 0 0 12px rgba(0, 150, 255, 0.45);
}
.carousel-video-wrap .video-progress-wrap {
    position: absolute;
    bottom: 10px;
    left: 1.5rem;
    right: 1.5rem;
    z-index: 30;
}
.carousel-video-wrap .video-progress {
    background: rgba(255, 255, 255, 0.22);
    height: 6px;
    border-radius: 3px;
    cursor: pointer;
    overflow: hidden;
}
.carousel-video-wrap .video-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00ffff, #ff00ff);
    border-radius: 3px;
}
.carousel-video-wrap .video-time-row {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
    font-size: 0.75rem;
    opacity: 0.85;
    color: #fff;
}
.carousel-video-wrap.is-fullscreen {
    width: 100%;
    height: 100%;
    background: #000;
}
.carousel-video-wrap.is-fullscreen .video-controls-bar {
    bottom: 56px;
    transform: translateX(-50%) scale(1.15);
    padding: 0.45rem 0.65rem;
    gap: 0.65rem;
}
.carousel-video-wrap.is-fullscreen .video-controls-bar button {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
}
.carousel-video-wrap.is-fullscreen .video-progress-wrap {
    bottom: 16px;
    left: 3rem;
    right: 3rem;
}
.carousel-video-wrap.is-fullscreen .video-progress {
    height: 8px;
}
