       :root {
            --bg-dark: #050a10;
            --bg-section: #0c111a;
            --bg-surface: rgba(16, 24, 34, 0.9);
            --bg-surface-strong: rgba(11, 17, 25, 0.96);
            --primary: #d4a437;
            --accent: #f7d98c;
            --accent-2: #ffe9af;
            --text-light: #edf3fb;
            --text-muted: #a7b3c3;
            --success: #35d39a;
            --danger: #ef4444;
            --glass-bg: rgba(11, 17, 25, 0.88);
            --glass-border: rgba(214, 178, 94, 0.24);
            --shadow-soft: 0 20px 44px rgba(2, 8, 23, 0.45);
            --radius-lg: 16px;
            --radius-md: 12px;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            font-family: 'Poppins', sans-serif;
            background-color: var(--bg-dark);
            color: var(--text-light);
            background-image:
                radial-gradient(circle at 10% 0%, rgba(245, 197, 24, 0.16) 0%, transparent 36%),
                radial-gradient(circle at 88% 0%, rgba(245, 197, 24, 0.08) 0%, transparent 28%),
                linear-gradient(180deg, #111827 0%, var(--bg-dark) 45%, #080b12 100%);
            background-repeat: no-repeat;
            background-size: 100% 100vh;
            background-attachment: fixed;
            min-height: 100vh;
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            text-rendering: optimizeLegibility;
        }

        h1, h2, h3, .logo, .btn { font-family: 'Orbitron', sans-serif; }

        ::-webkit-scrollbar { width: 10px; }
        ::-webkit-scrollbar-track { background: var(--bg-dark); }
        ::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 5px; }
        ::-webkit-scrollbar-thumb:hover { background: var(--accent); }

        .page-shell {
            max-width: 1320px;
            margin: 0 auto;
        }

        .navbar {
            position: fixed;
            top: 12px;
            left: 16px;
            width: calc(100% - 32px);
            background: var(--glass-bg);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid var(--glass-border);
            border-radius: 14px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 22px;
            z-index: 1000;
            box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
        }

        .navbar .logo {
            font-size: 1.14em;
            color: #fff;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 1px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .navbar .logo::before {
            content: '';
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: radial-gradient(circle at 35% 35%, #fff3c3 0%, var(--accent) 70%);
            box-shadow: 0 0 12px rgba(245, 197, 24, 0.7);
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-left: auto;
        }

        .nav-links a {
            color: var(--text-muted);
            text-decoration: none;
            font-weight: 600;
            transition: 0.2s;
            font-size: 0.9em;
            padding: 9px 12px;
            border-radius: 9px;
            border: 1px solid transparent;
        }

        .nav-links a:hover {
            color: #fff;
            border-color: var(--glass-border);
            background: rgba(255,255,255,0.04);
        }

        .nav-active {
            color: var(--accent) !important;
            border-color: rgba(245, 197, 24, 0.5) !important;
            background: rgba(245, 197, 24, 0.16) !important;
        }

        .menu-toggle {
            display: none;
            background: none;
            border: none;
            color: #fff;
            font-size: 1.5em;
            cursor: pointer;
        }

        .page-header {
            padding: 120px 5% 34px;
            text-align: center;
        }

        .header-panel {
            background: var(--bg-surface);
            border: 1px solid var(--glass-border);
            border-radius: var(--radius-lg);
            padding: 26px 18px;
            box-shadow: var(--shadow-soft);
            backdrop-filter: blur(8px);
        }

        .header-badge {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            padding: 6px 12px;
            border-radius: 999px;
            border: 1px solid rgba(255, 205, 28, 0.42);
            background: rgba(255, 205, 28, 0.14);
            color: #fff3c3;
            font-size: 0.74rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            margin-bottom: 10px;
        }

        .page-header h1 {
            font-size: clamp(2.2rem, 4vw, 3.4rem);
            color: #fff;
            text-shadow: 0 0 18px rgba(255, 205, 28, 0.5);
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 0.8px;
        }

        .page-header p {
            color: var(--text-muted);
            max-width: 720px;
            margin: 0 auto;
        }

        .btn-admin-post {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: linear-gradient(140deg, #ef4444, #b91c1c);
            color: white;
            padding: 10px 22px;
            border-radius: 999px;
            text-decoration: none;
            font-weight: 600;
            margin-top: 18px;
            box-shadow: 0 0 14px rgba(239, 68, 68, 0.35);
            transition: transform 0.24s ease, box-shadow 0.24s ease;
        }

        .btn-admin-post:hover {
            transform: translateY(-2px);
            box-shadow: 0 0 24px rgba(239, 68, 68, 0.55);
        }

        .auth-cta {
            margin: 16px auto 0;
            max-width: 720px;
            padding: 14px 16px;
            border-radius: 14px;
            border: 1px solid rgba(245, 197, 24, 0.45);
            background: rgba(245, 197, 24, 0.12);
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            gap: 12px;
            text-align: center;
        }

        .auth-cta p {
            margin: 0;
            color: #fff3c3;
            font-size: 0.92rem;
            text-align: center;
            max-width: 520px;
        }

        .btn-auth-cta {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            text-decoration: none;
            border: 1px solid rgba(255, 255, 255, 0.18);
            background: linear-gradient(140deg, #f5c518, #f5c518);
            color: #fff;
            padding: 10px 16px;
            border-radius: 10px;
            font-size: 0.82rem;
            font-weight: 700;
            letter-spacing: 0.03em;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            white-space: nowrap;
        }

        .btn-auth-cta:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 24px rgba(245, 197, 24, 0.35);
        }

        .clips-container {
            max-width: 1260px;
            margin: 0 auto;
            padding: 0 5% 78px;
        }

        .clips-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
        }

        .empty-state {
            grid-column: 1 / -1;
            background: var(--bg-surface);
            border: 1px solid var(--glass-border);
            border-radius: var(--radius-lg);
            padding: 42px 20px;
            text-align: center;
            box-shadow: var(--shadow-soft);
        }

        .empty-state i {
            font-size: 2rem;
            color: var(--accent);
            margin-bottom: 10px;
        }

        .empty-state h3 {
            font-family: 'Orbitron', sans-serif;
            font-size: 1.05rem;
            margin-bottom: 8px;
            color: #f5f7fa;
            letter-spacing: 0.03em;
        }

        .empty-state p {
            color: var(--text-muted);
            font-size: 0.92rem;
        }

        .clip-card {
            background: linear-gradient(165deg, rgba(16, 24, 34, 0.98), rgba(8, 12, 18, 0.98));
            border: 1px solid var(--glass-border);
            border-radius: var(--radius-lg);
            overflow: hidden;
            transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
            position: relative;
            box-shadow: var(--shadow-soft);
        }

        .clip-card:hover {
            transform: translateY(-6px);
            border-color: rgba(255, 205, 28, 0.65);
            box-shadow: 0 20px 34px rgba(0, 0, 0, 0.38);
        }

        .clip-media {
            position: relative;
            cursor: pointer;
            overflow: hidden;
        }

        .clip-thumb {
            width: 100%;
            aspect-ratio: 16/9;
            object-fit: cover;
            transition: transform 0.5s ease, filter 0.5s ease;
            display: block;
        }

        .clip-card:hover .clip-thumb {
            transform: scale(1.06);
            filter: brightness(0.52);
        }

        .play-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.78);
            opacity: 0;
            font-size: 2.8rem;
            color: #fff;
            transition: transform 0.3s ease, opacity 0.3s ease;
            z-index: 2;
            text-shadow: 0 0 18px var(--accent);
        }

        .clip-card:hover .play-icon {
            transform: translate(-50%, -50%) scale(1);
            opacity: 1;
        }

        .clip-info {
            padding: 16px;
            position: relative;
            z-index: 2;
            background: rgba(0, 0, 0, 0.45);
        }

        .clip-info h3 {
            font-size: 1.02rem;
            color: #fff;
            margin-bottom: 6px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            font-family: 'Orbitron', sans-serif;
            letter-spacing: 0.01em;
        }

        .clip-info p {
            font-size: 0.88rem;
            color: var(--text-muted);
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .clip-info i { color: var(--accent); }

        .action-bar {
            display: flex;
            gap: 14px;
            margin-top: 12px;
            padding-top: 12px;
            border-top: 1px solid rgba(255, 255, 255, 0.12);
        }

        .action-btn {
            background: none;
            border: none;
            color: var(--text-muted);
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-family: 'Poppins', sans-serif;
            font-size: 0.9rem;
            transition: color 0.24s ease, transform 0.24s ease;
        }

        .action-btn:hover {
            color: #fff;
            transform: translateY(-1px);
        }

        .action-btn.liked { color: var(--accent); }
        .action-btn.disliked { color: #f87171; }
        .action-btn-dislike:hover { color: #fca5a5; }
        .action-btn i { font-size: 1.02rem; }

        .video-modal,
        .comments-modal {
            display: none;
            position: fixed;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            justify-content: center;
            align-items: center;
        }

        .video-modal {
            z-index: 10000;
            background: rgba(0, 0, 0, 0.95);
            backdrop-filter: blur(10px);
            opacity: 0;
            transition: opacity 0.3s;
        }

        .video-modal.active { opacity: 1; }

        .video-content {
            position: relative;
            width: 90%;
            max-width: 1000px;
            aspect-ratio: 16/9;
            background: #000;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 0 48px rgba(255, 205, 28, 0.3);
            border: 1px solid var(--accent);
        }

        .video-content iframe { width: 100%; height: 100%; border: none; }

        .close-video {
            position: absolute;
            top: -40px;
            right: 0;
            font-size: 28px;
            color: #fff;
            cursor: pointer;
            transition: color 0.2s ease;
        }

        .close-video:hover { color: var(--accent); }

        .comments-modal {
            z-index: 10001;
            background: rgba(0, 0, 0, 0.84);
            backdrop-filter: blur(6px);
        }

        .comments-content {
            background: var(--bg-surface-strong);
            width: 92%;
            max-width: 540px;
            border-radius: var(--radius-lg);
            border: 1px solid var(--glass-border);
            display: flex;
            flex-direction: column;
            max-height: 80vh;
            box-shadow: 0 20px 42px rgba(0, 0, 0, 0.5);
        }

        .comments-header {
            padding: 18px;
            border-bottom: 1px solid var(--glass-border);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .comments-header h3 {
            font-family: 'Orbitron', sans-serif;
            color: var(--accent);
        }

        .close-comments {
            cursor: pointer;
            font-size: 1.28rem;
            color: #fff;
            line-height: 1;
        }

        .comments-list {
            flex: 1;
            overflow-y: auto;
            padding: 18px;
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        .comments-placeholder {
            text-align: center;
            color: var(--text-muted);
            padding: 8px 0;
        }

        .comments-placeholder.error { color: var(--danger); }

        .comment-item {
            display: flex;
            gap: 10px;
            font-size: 0.9rem;
        }

        .comment-avatar {
            width: 35px;
            height: 35px;
            border-radius: 50%;
            border: 1px solid rgba(255, 255, 255, 0.18);
            object-fit: cover;
        }

        .comment-body {
            background: rgba(255, 255, 255, 0.05);
            padding: 10px;
            border-radius: 10px;
            flex: 1;
        }

        .comment-user {
            color: var(--accent);
            font-weight: 600;
            font-size: 0.9em;
            display: block;
            margin-bottom: 3px;
        }

        .comment-date {
            color: #7f7b90;
            font-weight: 400;
            font-size: 0.78rem;
            margin-left: 6px;
        }

        .comment-text {
            color: #ddd;
            line-height: 1.4;
            word-break: break-word;
        }

        .comments-input {
            padding: 14px 18px 18px;
            border-top: 1px solid var(--glass-border);
            display: flex;
            gap: 10px;
        }

        .comments-input input {
            flex: 1;
            background: rgba(0, 0, 0, 0.28);
            border: 1px solid var(--glass-border);
            padding: 10px;
            border-radius: 8px;
            color: #fff;
            outline: none;
        }

        .comments-input input:focus {
            border-color: rgba(255, 205, 28, 0.75);
            box-shadow: 0 0 0 3px rgba(255, 205, 28, 0.2);
        }

        .comments-input button {
            background: linear-gradient(140deg, #f5c518, #f5c518);
            color: #fff;
            border: none;
            padding: 0 16px;
            border-radius: 9px;
            cursor: pointer;
            transition: transform 0.2s ease;
        }

        .comments-input button:hover { transform: translateY(-1px); }

        .comments-login-hint {
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            color: var(--text-muted);
            flex-wrap: wrap;
            text-align: center;
        }

        #toast {
            position: fixed;
            bottom: 24px;
            right: 24px;
            color: #fff;
            padding: 12px 18px;
            border-radius: 10px;
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.35);
            display: flex;
            align-items: center;
            gap: 10px;
            transform: translateX(150%);
            transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            z-index: 10000;
        }

        #toast.show { transform: translateX(0); }

        .btn-login {
            background: #d4a437;
            color: #fff;
            padding: 8px 14px;
            border-radius: 10px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.83em;
            transition: 0.2s;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            border: 1px solid rgba(255, 255, 255, 0.14);
            white-space: nowrap;
        }

        .btn-login:hover {
            background: #d4a437;
            box-shadow: 0 8px 20px rgba(255, 205, 28, 0.35);
            transform: translateY(-2px);
        }

        .user-profile {
            display: flex;
            align-items: center;
            gap: 10px;
            background: rgba(255, 255, 255, 0.04);
            padding: 6px 10px 6px 12px;
            border-radius: 12px;
            border: 1px solid var(--glass-border);
            margin-right: 2px;
        }

        .user-avatar {
            width: 33px;
            height: 33px;
            border-radius: 50%;
            border: 2px solid var(--accent);
            object-fit: cover;
        }

        .user-info {
            display: flex;
            flex-direction: column;
            line-height: 1.1;
            text-align: right;
            margin-right: 5px;
        }

        .user-name {
            font-size: 0.8em;
            color: #fff3c3;
            font-weight: 700;
            font-family: 'Orbitron';
            letter-spacing: 0.4px;
        }

        .user-passport {
            font-size: 0.73rem;
            color: var(--text-muted);
        }

        .btn-logout {
            color: #ef4444;
            font-size: 1.1em;
            transition: 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: rgba(239, 68, 68, 0.1);
        }

        .btn-logout:hover {
            background: var(--danger);
            color: #fff;
            box-shadow: 0 0 10px var(--danger);
        }

        .footer-modern {
            background: linear-gradient(180deg, rgba(17, 24, 39, 0.88) 0%, rgba(10, 14, 24, 0.95) 100%);
            border-top: 1px solid var(--glass-border);
            padding: 46px 5% 24px;
            text-align: center;
            color: var(--text-muted);
            margin-top: 70px;
            position: relative;
            overflow: hidden;
        }

        .footer-modern::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
            opacity: 0.9;
        }

        .footer-logo { margin-bottom: 25px; }

        .footer-logo span {
            display: inline-flex;
            font-family: 'Orbitron';
            color: #fff3c3;
            letter-spacing: 2.4px;
            font-size: 0.9em;
            font-weight: 800;
            margin-top: 10px;
            padding: 8px 14px;
            border-radius: 999px;
            border: 1px solid rgba(245, 197, 24, 0.42);
            background: rgba(245, 197, 24, 0.12);
        }

        .footer-social {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 30px;
        }

        .footer-social a {
            width: 42px;
            height: 42px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255,255,255,0.04);
            border: 1px solid var(--glass-border);
            border-radius: 11px;
            transition: 0.2s;
            text-decoration: none;
        }

        .footer-social a i { font-size: 19px; color: #fff; }

        .footer-social a:hover {
            transform: translateY(-3px);
            background: var(--accent);
            border-color: var(--accent);
            box-shadow: 0 5px 15px rgba(245, 197, 24, 0.35);
        }

        .footer-warning {
            display: grid;
            grid-template-columns: auto 1fr;
            align-items: center;
            justify-content: center;
            gap: 12px;
            max-width: 740px;
            margin: 0 auto 18px;
            background: rgba(0,0,0,0.32);
            padding: 12px;
            border-radius: 12px;
            border: 1px solid var(--glass-border);
            text-align: left;
        }

        .footer-age {
            background: rgba(239, 68, 68, 0.2);
            color: #fff;
            font-weight: 900;
            font-family: 'Orbitron';
            padding: 8px 12px;
            border-radius: 8px;
            font-size: 1.05em;
            border: 1px solid rgba(239, 68, 68, 0.45);
        }

        .footer-warning-text {
            color: #d1d5db;
            opacity: 0.9;
            font-size: 0.84em;
            text-align: left;
            line-height: 1.45;
        }

        .footer-bottom {
            margin-top: 24px;
            border-top: 1px solid rgba(255,255,255,0.08);
            padding-top: 16px;
            color: #9ca3af;
            font-size: 0.82em;
            line-height: 1.6;
        }
        .footer-meta { margin-top: 8px; }
        .footer-meta a, .footer-meta a:visited { color: var(--text-muted); text-decoration: none; border-bottom: 1px dotted currentColor; transition: color 0.2s ease, border-color 0.2s ease; }
        .footer-meta a:hover { color: #e5e7eb; }
        .footer-terms { margin-top: 8px; }
        .footer-terms a { color: var(--text-muted); text-decoration: none; border-bottom: 1px dotted var(--text-muted); font-size: 0.9em; }
        .heart-icon { color: rgba(239, 68, 68, 0.95); }

        .dev-credit {
            margin-top: 20px;
            font-size: 0.8em;
            color: #4a4a52;
        }
        .dev-credit a {
            color: #71717a;
            text-decoration: none;
            font-weight: 600;
            transition: 0.3s;
        }
        .dev-credit a:hover { color: var(--accent); }

        .modal-overlay {
            display: none;
            position: fixed;
            z-index: 10000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.9);
            backdrop-filter: blur(8px);
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .modal-overlay.active {
            opacity: 1;
        }

        .modal-content {
            background: var(--bg-section);
            border: 1px solid var(--accent);
            padding: 40px;
            border-radius: 16px;
            max-width: 700px;
            width: 92%;
            box-shadow: 0 0 50px rgba(255, 205, 28,0.2);
            position: relative;
            max-height: 80vh;
            overflow-y: auto;
        }

        .modal-content h2 {
            color: var(--accent);
            margin-bottom: 20px;
            font-family: 'Orbitron';
            text-align: center;
        }

        .terms-body h3 {
            color: #fff;
            margin-top: 15px;
            font-size: 1.08em;
        }

        .terms-body p {
            color: var(--text-muted);
            font-size: 0.95em;
            line-height: 1.6;
            margin-bottom: 10px;
        }

        .close-modal-terms {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 30px;
            color: #fff;
            cursor: pointer;
            transition: 0.3s;
            line-height: 1;
        }

        .close-modal-terms:hover {
            color: var(--accent);
        }

        .btn-accept {
            display: block;
            width: 100%;
            padding: 12px;
            margin-top: 25px;
            background: var(--primary);
            color: #fff;
            border: none;
            border-radius: 8px;
            font-family: 'Orbitron';
            cursor: pointer;
            transition: 0.3s;
            font-size: 1em;
        }

        .btn-accept:hover {
            background: var(--accent);
        }

        .legal-modal {
            position: fixed;
            inset: 0;
            background: rgba(2, 6, 23, 0.82);
            backdrop-filter: blur(8px);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 10002;
            opacity: 0;
            transition: opacity 0.28s ease;
        }

        .legal-modal.active { display: flex; opacity: 1; }

        .legal-content {
            background: linear-gradient(165deg, rgba(17, 24, 39, 0.96), rgba(15, 23, 42, 0.96));
            padding: 34px;
            border-radius: 18px;
            width: 92%;
            max-width: 800px;
            border: 1px solid var(--glass-border);
            max-height: 80vh;
            overflow-y: auto;
            position: relative;
            box-shadow: var(--shadow-soft);
            transform: translateY(8px) scale(0.985);
            transition: transform 0.28s ease;
        }

        .legal-modal.active .legal-content {
            transform: translateY(0) scale(1);
        }

        .legal-content h2 {
            color: var(--accent);
            margin-bottom: 16px;
            font-family: 'Orbitron';
            border-bottom: 1px solid var(--glass-border);
            padding-bottom: 10px;
            letter-spacing: 0.02em;
        }

        .legal-content p,
        .legal-content ul {
            color: var(--text-light);
            line-height: 1.6;
            margin-bottom: 14px;
            font-size: 0.95em;
        }

        .legal-content strong {
            color: var(--accent-2);
        }

        .legal-content ul {
            margin-left: 18px;
        }

        .legal-content li {
            margin-bottom: 8px;
        }

        .close-legal {
            position: absolute;
            top: 12px;
            right: 14px;
            width: 34px;
            height: 34px;
            border-radius: 10px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 26px;
            color: var(--text-muted);
            cursor: pointer;
            line-height: 1;
            border: 1px solid transparent;
            transition: 0.2s;
        }

        .close-legal:hover {
            color: #fff;
            background: rgba(255,255,255,0.06);
            border-color: var(--glass-border);
        }

        @media (max-width: 900px) {
            .nav-links { gap: 12px; }
        }

        @media (max-width: 768px) {
            .navbar {
                flex-wrap: wrap;
                padding: 12px;
                left: 10px;
                top: 10px;
                width: calc(100% - 20px);
            }
            .menu-toggle { display: block; }

            .nav-links {
                display: none;
                width: 100%;
                flex-direction: column;
                align-items: stretch;
                gap: 8px;
                margin-top: 12px;
            }

            .nav-links a {
                width: 100%;
                text-align: center;
            }

            .header-panel { padding: 20px 14px; }

            .navbar.active .nav-links { display: flex; }
            .page-header { padding-top: 128px; }
            .clips-grid { grid-template-columns: 1fr; }
            .video-content { width: 95%; }

            .user-profile {
                width: 100%;
                justify-content: center;
                border-radius: 12px;
                padding-block: 10px;
                margin-right: 0;
            }

            .footer-warning {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .footer-warning-text {
                text-align: center;
            }

            .legal-content {
                padding: 26px 18px;
            }

            .modal-content {
                padding: 28px 18px;
            }
        }

        @media (max-width: 480px) {
            #toast {
                left: 14px;
                right: 14px;
                bottom: 14px;
                justify-content: center;
                transform: translateY(140%);
            }

            #toast.show { transform: translateY(0); }
        }

        /* Correção global: evita linha dura no topo do footer */
        .footer-modern::before {
            display: none !important;
        }

        body {
            overflow-x: hidden;
            background-image:
                radial-gradient(circle at 12% 0%, rgba(212, 164, 55, 0.15), transparent 34%),
                radial-gradient(circle at 88% 8%, rgba(247, 217, 140, 0.06), transparent 26%),
                linear-gradient(180deg, #0a1018 0%, var(--bg-dark) 42%, #05080d 100%);
        }

        .navbar {
            gap: 20px;
            border-color: rgba(214, 178, 94, 0.2);
            border-radius: 18px;
            background: rgba(9, 13, 19, 0.82);
            box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
        }

        .navbar .logo {
            flex-shrink: 0;
            letter-spacing: 1.5px;
        }

        .nav-links {
            gap: 8px;
            min-width: 0;
        }

        .nav-links > a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 7px;
            min-height: 36px;
            padding: 8px 10px;
            border-radius: 10px;
            font-size: 0.82rem;
            white-space: nowrap;
        }

        .nav-links > a:hover {
            border-color: rgba(214, 178, 94, 0.22);
            background: rgba(255, 255, 255, 0.035);
        }

        .nav-links > .nav-active {
            color: var(--accent) !important;
            border-color: rgba(247, 217, 140, 0.38) !important;
            background: rgba(247, 217, 140, 0.1) !important;
        }

        .nav-links .btn-login {
            background: #5865f2;
            color: #fff;
            border-color: rgba(255, 255, 255, 0.12);
        }

        .nav-links .btn-login:hover {
            background: #4752c4;
            box-shadow: 0 8px 20px rgba(88, 101, 242, 0.3);
        }

        .nav-links .user-profile {
            flex-shrink: 0;
            margin: 0;
            padding: 5px 8px 5px 10px;
            border-color: rgba(214, 178, 94, 0.2);
        }

        .nav-links .user-name { color: #fff3c3; }

        .nav-links .btn-logout {
            width: 30px;
            height: 30px;
            padding: 0;
            border: 0;
            background: transparent;
        }

        .page-header {
            max-width: none;
            padding: 132px 5% 32px;
            text-align: left;
        }

        .header-panel {
            position: relative;
            isolation: isolate;
            display: grid;
            grid-template-columns: minmax(0, 1fr) 210px;
            align-items: center;
            gap: 32px;
            max-width: 1200px;
            min-height: 280px;
            margin: 0 auto;
            padding: 42px 48px;
            overflow: hidden;
            border: 1px solid rgba(214, 178, 94, 0.25);
            border-radius: 20px;
            background:
                linear-gradient(105deg, rgba(11, 16, 23, 0.98) 0%, rgba(12, 18, 26, 0.92) 58%, rgba(30, 25, 16, 0.88) 100%);
            box-shadow: 0 24px 52px rgba(2, 8, 23, 0.42);
        }

        .header-panel::before {
            content: '';
            position: absolute;
            inset: 0 auto 0 0;
            width: 3px;
            background: linear-gradient(180deg, transparent, var(--primary), var(--accent), transparent);
            z-index: -1;
        }

        .header-copy,
        .header-actions {
            position: relative;
            z-index: 1;
        }

        .header-badge {
            margin: 0 0 14px;
            padding: 7px 11px;
            border-color: rgba(247, 217, 140, 0.32);
            background: rgba(247, 217, 140, 0.08);
            color: var(--accent);
            font-family: 'Orbitron', sans-serif;
            font-size: 0.66rem;
            letter-spacing: 0.12em;
        }

        .page-header h1 {
            margin: 0 0 10px;
            color: #f9fbff;
            font-size: 3rem;
            line-height: 1;
            letter-spacing: 0.02em;
            text-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
        }

        .page-header p {
            max-width: 560px;
            margin: 0;
            color: rgba(237, 243, 251, 0.76);
            font-size: 1rem;
            text-align: left;
        }

        .header-meta {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 12px;
            margin-top: 22px;
            color: var(--text-muted);
            font-size: 0.82rem;
        }

        .header-clip-count {
            display: inline-flex;
            align-items: baseline;
            gap: 7px;
            color: #dce4ee;
        }

        .header-clip-count strong {
            color: var(--accent);
            font-family: 'Orbitron', sans-serif;
            font-size: 1.18rem;
        }

        .header-meta-divider {
            width: 1px;
            height: 18px;
            background: rgba(214, 178, 94, 0.32);
        }

        .header-meta-note {
            display: inline-flex;
            align-items: center;
            gap: 7px;
        }

        .header-meta-note i { color: var(--accent); }

        .header-actions {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 18px;
        }

        .header-reel-mark {
            display: grid;
            place-items: center;
            width: 112px;
            aspect-ratio: 1;
            border: 1px solid rgba(247, 217, 140, 0.38);
            border-radius: 50%;
            background: radial-gradient(circle, rgba(247, 217, 140, 0.14), rgba(247, 217, 140, 0.025) 68%);
            color: var(--accent);
            font-size: 2rem;
            box-shadow: 0 0 48px rgba(212, 164, 55, 0.1), inset 0 0 0 8px rgba(247, 217, 140, 0.025);
        }

        .btn-admin-post {
            margin: 0;
            padding: 10px 14px;
            border: 1px solid rgba(247, 217, 140, 0.38);
            border-radius: 10px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: #11151b;
            box-shadow: 0 10px 22px rgba(212, 164, 55, 0.18);
            font-size: 0.76rem;
            white-space: nowrap;
        }

        .auth-cta {
            grid-column: 1 / -1;
            justify-content: space-between;
            max-width: none;
            margin: 0;
            padding: 12px 14px;
            border-color: rgba(214, 178, 94, 0.22);
            border-radius: 10px;
            background: rgba(247, 217, 140, 0.055);
            text-align: left;
        }

        .auth-cta p {
            max-width: 620px;
            color: #d7deea;
            text-align: left;
        }

        .btn-auth-cta {
            border-color: rgba(247, 217, 140, 0.3);
            border-radius: 8px;
            background: rgba(247, 217, 140, 0.12);
            color: var(--accent);
        }

        .btn-auth-cta:hover {
            background: rgba(247, 217, 140, 0.2);
            box-shadow: 0 8px 20px rgba(212, 164, 55, 0.16);
        }

        .clips-container {
            max-width: 1320px;
            padding: 0 5% 84px;
        }

        .clips-grid {
            grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
            gap: 20px;
        }

        .clip-card {
            border-color: rgba(214, 178, 94, 0.17);
            border-radius: 14px;
            background: linear-gradient(180deg, rgba(16, 24, 34, 0.98), rgba(8, 12, 18, 0.98));
            box-shadow: 0 16px 36px rgba(2, 8, 23, 0.32);
        }

        .clip-card:hover {
            transform: translateY(-4px);
            border-color: rgba(247, 217, 140, 0.46);
            box-shadow: 0 22px 42px rgba(2, 8, 23, 0.42);
        }

        .clip-media { aspect-ratio: 16 / 9; }

        .clip-thumb {
            height: 100%;
            object-position: center;
        }

        .clip-card:hover .clip-thumb {
            filter: brightness(0.72) saturate(1.08);
        }

        .play-icon {
            display: grid;
            place-items: center;
            width: 58px;
            height: 58px;
            border: 1px solid rgba(247, 217, 140, 0.72);
            border-radius: 50%;
            background: rgba(5, 10, 16, 0.72);
            color: var(--accent);
            font-size: 1.5rem;
            opacity: 0.92;
            backdrop-filter: blur(8px);
            text-shadow: none;
        }

        .clip-card:hover .play-icon {
            transform: translate(-50%, -50%) scale(1.08);
            background: rgba(212, 164, 55, 0.92);
            color: #10151b;
        }

        .clip-info {
            padding: 16px 18px 17px;
            background: linear-gradient(180deg, rgba(16, 24, 34, 0.98), rgba(9, 13, 19, 0.98));
        }

        .clip-info h3 {
            margin-bottom: 7px;
            color: #f5f7fa;
            font-size: 0.98rem;
            letter-spacing: 0.01em;
        }

        .clip-info p {
            color: var(--text-muted);
            font-size: 0.82rem;
        }

        .clip-info i,
        .action-btn.liked { color: var(--accent); }

        .action-bar {
            gap: 18px;
            margin-top: 13px;
            padding-top: 12px;
            border-color: rgba(214, 178, 94, 0.14);
        }

        .action-btn {
            min-height: 32px;
            padding: 4px 7px;
            border-radius: 7px;
        }

        .action-btn:hover {
            color: #fff;
            background: rgba(247, 217, 140, 0.07);
        }

        .action-btn.disliked,
        .action-btn-dislike:hover { color: #f28b82; }

        .empty-state {
            border-color: rgba(214, 178, 94, 0.2);
            border-radius: 14px;
            background: linear-gradient(160deg, rgba(16, 24, 34, 0.95), rgba(8, 12, 18, 0.96));
        }

        .empty-state h3 { color: #f5f7fa; }

        .video-content {
            border-color: rgba(247, 217, 140, 0.6);
            border-radius: 10px;
            box-shadow: 0 0 52px rgba(212, 164, 55, 0.2);
        }

        .close-video {
            top: 12px;
            right: 12px;
            z-index: 3;
            display: grid;
            place-items: center;
            width: 38px;
            height: 38px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            background: rgba(5, 10, 16, 0.82);
            font-size: 0;
        }

        .close-video::after {
            content: '\00d7';
            font-size: 25px;
            line-height: 1;
        }

        .comments-content,
        .legal-content {
            border-color: rgba(214, 178, 94, 0.24);
            border-radius: 14px;
            background: linear-gradient(160deg, rgba(16, 24, 34, 0.98), rgba(8, 12, 18, 0.98));
        }

        .legal-content h2 { color: var(--accent); }

        .comment-body {
            border: 1px solid rgba(214, 178, 94, 0.1);
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.035);
        }

        .comments-input button {
            min-width: 44px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: #10151b;
        }

        @media (max-width: 900px) {
            .nav-links { gap: 6px; }
            .nav-links > a { padding-inline: 8px; }
        }

        @media (max-width: 768px) {
            .navbar {
                flex-wrap: wrap;
                padding: 12px 14px;
                left: 10px;
                top: 10px;
                width: calc(100% - 20px);
            }

            .menu-toggle { display: block; }

            .nav-links {
                display: none;
                width: 100%;
                flex-direction: column;
                align-items: stretch;
                gap: 8px;
                margin: 10px 0 0;
            }

            .navbar.active .nav-links { display: flex; }

            .nav-links > a {
                width: 100%;
                justify-content: center;
            }

            .nav-links .lang-switcher {
                width: 100%;
                display: flex;
                justify-content: center;
            }

            .nav-links .user-profile {
                width: 100%;
                justify-content: center;
                padding-block: 8px;
            }

            .page-header { padding: 122px 18px 28px; }

            .header-panel {
                grid-template-columns: minmax(0, 1fr) 120px;
                gap: 18px;
                min-height: 0;
                padding: 30px 26px;
            }

            .header-reel-mark { width: 88px; font-size: 1.6rem; }

            .auth-cta {
                align-items: flex-start;
                flex-direction: column;
            }

            .auth-cta p { max-width: none; }

            .clips-container { padding-inline: 18px; }

            .clips-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

            .footer-modern { margin-top: 36px; }
        }

        @media (max-width: 560px) {
            .header-panel {
                grid-template-columns: minmax(0, 1fr);
                padding: 26px 20px;
            }

            .header-actions {
                flex-direction: row;
                justify-content: space-between;
            }

            .header-reel-mark {
                width: 54px;
                font-size: 1.2rem;
            }

            .page-header h1 { font-size: 2.4rem; }

            .clips-grid { grid-template-columns: minmax(0, 1fr); }

            .clips-container { padding-bottom: 52px; }

            .auth-cta { align-items: stretch; }

            .btn-auth-cta { justify-content: center; white-space: normal; }

            .video-content {
                width: calc(100% - 24px);
                border-radius: 8px;
            }

            .close-video {
                top: 8px;
                right: 8px;
                width: 34px;
                height: 34px;
            }

            #toast {
                left: 14px;
                right: 14px;
                bottom: 14px;
                justify-content: center;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                scroll-behavior: auto !important;
                transition-duration: 0.01ms !important;
                animation-duration: 0.01ms !important;
            }
        }

        .video-content {
            display: flex;
            flex-direction: column;
            width: min(1000px, calc(100vw - 40px));
            max-height: calc(100vh - 40px);
            aspect-ratio: unset;
            overflow-y: auto;
            background: #080c12;
            border: 1px solid rgba(247, 217, 140, 0.5);
            border-radius: 12px;
        }

        .video-stage {
            position: relative;
            flex: 0 0 auto;
            width: 100%;
            aspect-ratio: 16 / 9;
            background: #000;
        }

        .video-stage iframe {
            position: absolute;
            inset: 0;
            display: block;
            width: 100%;
            height: 100%;
            border: 0;
        }

        .video-stage video {
            position: absolute;
            inset: 0;
            display: block;
            width: 100%;
            height: 100%;
            background: #000;
            object-fit: contain;
        }

        .video-nav,
        .close-video {
            position: absolute;
            z-index: 3;
            display: grid;
            place-items: center;
            width: 44px;
            height: 44px;
            min-width: 44px;
            padding: 0;
            appearance: none;
            border: 1px solid rgba(255, 255, 255, 0.22);
            border-radius: 50%;
            color: #fff;
            background: rgba(5, 10, 16, 0.78);
            backdrop-filter: blur(8px);
            cursor: pointer;
            font-size: 1rem;
            line-height: 1;
            transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
        }

        .video-nav:hover:not(:disabled),
        .close-video:hover {
            color: #10151b;
            background: var(--accent);
            transform: scale(1.06);
        }

        .video-nav:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }

        .video-nav-prev { top: 50%; left: 16px; transform: translateY(-50%); }
        .video-nav-next { top: 50%; right: 16px; transform: translateY(-50%); }
        .video-nav-prev:hover:not(:disabled), .video-nav-next:hover:not(:disabled) { transform: translateY(-50%) scale(1.06); }

        .close-video {
            top: 14px;
            right: 14px;
            font-size: 1rem;
        }

        .video-details {
            display: flex;
            flex: 0 0 auto;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            padding: 18px 22px;
            background: linear-gradient(110deg, rgba(16, 24, 34, 0.98), rgba(8, 12, 18, 0.98));
        }

        .video-copy { min-width: 0; }
        .video-kicker { color: var(--accent); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; }
        .video-copy h2 { margin: 3px 0 2px; color: #f5f7fa; font-size: 1.05rem; overflow-wrap: anywhere; }
        .video-copy p { color: var(--text-muted); font-size: 0.82rem; }

        .video-actions {
            display: flex;
            flex: 0 0 auto;
            align-items: center;
            gap: 8px;
            padding-left: 16px;
            border-left: 1px solid rgba(214, 178, 94, 0.18);
        }

        .video-actions .action-btn {
            min-width: 48px;
            min-height: 42px;
            justify-content: center;
            padding: 6px 10px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.04);
        }

        .video-actions .action-btn:hover { background: rgba(247, 217, 140, 0.1); }

        @media (max-width: 560px) {
            .video-content { width: calc(100% - 20px); max-height: calc(100vh - 24px); }
            .video-nav { width: 38px; height: 38px; }
            .video-nav-prev { left: 8px; }
            .video-nav-next { right: 8px; }
            .close-video { top: 8px; right: 8px; }
            .video-details { align-items: stretch; flex-direction: column; gap: 12px; padding: 14px; }
            .video-actions { justify-content: space-around; padding: 10px 0 0; border-left: 0; border-top: 1px solid rgba(214, 178, 94, 0.18); }
            .video-actions .action-btn { flex: 1; }
        }
