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

        body {
            font-family: 'Inter', sans-serif;
            min-height: 100vh;
            background: #0a0c12;
            position: relative;
            color: #f0f3fa;
            line-height: 1.4;
        }

        /* NOVO FUNDO: SCANIA 111 (imagem clássica) */
        body::before {
            content: "";
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('../images/fundo.jpg');
            background-size: cover;
            background-position: center 40%;
            background-repeat: no-repeat;
            opacity: 0.55;
            z-index: -2;
            filter: brightness(0.9) contrast(1.1);
        }

        body::after {
            content: "";
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.7), rgba(5, 8, 18, 0.88));
            z-index: -1;
        }

        /* overlay de estrada */
        .road-pattern {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 100px;
            background: repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255, 180, 50, 0.2) 40px, rgba(255, 180, 50, 0.35) 60px);
            pointer-events: none;
            z-index: 0;
        }

        .container {
            max-width: 1300px;
            margin: 0 auto;
            padding: 2rem 1.5rem;
            position: relative;
            z-index: 2;
        }

        /* Header com área de admin */
        .ets2-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
            margin-bottom: 2.5rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid rgba(255, 140, 0, 0.5);
            backdrop-filter: blur(4px);
        }

        .logo-area h1 {
            font-family: 'Orbitron', monospace;
            font-weight: 800;
            font-size: 1.9rem;
            background: linear-gradient(135deg, #FFB347, #FF7E05);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            letter-spacing: 1px;
        }

        .logo-area p {
            font-size: 0.85rem;
            color: #ccc;
            letter-spacing: 1px;
        }

        .admin-area {
            display: flex;
            gap: 15px;
            align-items: center;
            background: rgba(0,0,0,0.5);
            backdrop-filter: blur(8px);
            padding: 0.3rem 1rem;
            border-radius: 60px;
            border: 1px solid rgba(255,140,0,0.4);
        }

        .admin-badge {
            font-size: 0.8rem;
            font-weight: 600;
            color: #ffaa55;
        }

        .logout-btn {
            background: none;
            border: 1px solid #ff7e05;
            color: #ffaa55;
            padding: 6px 14px;
            border-radius: 40px;
            font-size: 0.75rem;
            cursor: pointer;
            transition: 0.2s;
            font-weight: bold;
        }

        .logout-btn:hover {
            background: #ff7e05;
            color: #111;
        }

        .live-clock {
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(8px);
            padding: 0.5rem 1.2rem;
            border-radius: 40px;
            font-family: 'Orbitron', monospace;
            font-weight: 600;
            border: 1px solid rgba(255, 140, 0, 0.6);
        }

        /* Cards glassmorphism */
        .dashboard-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 1.8rem;
            margin-bottom: 2rem;
        }

        .card {
            background: rgba(15, 20, 30, 0.65);
            backdrop-filter: blur(12px);
            border-radius: 28px;
            border: 1px solid rgba(255, 140, 0, 0.35);
            padding: 1.5rem;
            transition: transform 0.25s ease, box-shadow 0.3s;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
        }

        .card:hover {
            transform: translateY(-5px);
            border-color: rgba(255, 140, 0, 0.7);
        }

        .card-header {
            display: flex;
            align-items: center;
            gap: 12px;
            border-bottom: 1px dashed rgba(255, 140, 0, 0.5);
            padding-bottom: 0.8rem;
            margin-bottom: 1.2rem;
        }

        .card-header i {
            font-size: 1.8rem;
            color: #ff8c2e;
            text-shadow: 0 0 5px #ff8c2e;
        }

        .card-header h2 {
            font-size: 1.5rem;
            font-weight: 600;
        }

        /* Card Sobre Nós (full-width, igual à Galeria) */
        .about-card {
            grid-column: 1 / -1;
        }

        .about-content {
            font-size: 1rem;
            line-height: 1.6;
            background: rgba(0, 0, 0, 0.4);
            padding: 1rem;
            border-radius: 20px;
            margin-top: 8px;
            border-left: 4px solid #ff8c2e;
        }

        /* Card Nossa Def Company */
        .defcompany-content {
            text-align: center;
            margin-top: 8px;
        }

        .defcompany-text {
            font-size: 1rem;
            line-height: 1.6;
            color: #ddd;
            margin-bottom: 1rem;
        }

        .defcompany-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 28px;
            border-radius: 40px;
            font-weight: 700;
            text-decoration: none;
            color: #111;
            background: linear-gradient(135deg, #ffb347, #ff7e05);
            transition: transform 0.2s, box-shadow 0.2s;
            font-size: 0.95rem;
        }

        .defcompany-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(255, 140, 0, 0.4);
        }

        /* Card Sua Marca no Mapa */
        .brand-content {
            text-align: center;
            margin-top: 8px;
        }

        .brand-text {
            font-size: 0.95rem;
            line-height: 1.6;
            color: #ddd;
            margin-bottom: 1rem;
        }

        .brand-plan {
            background: rgba(0, 0, 0, 0.35);
            border-radius: 16px;
            padding: 1rem;
            margin: 0.8rem 0;
            border: 1px solid rgba(255, 140, 0, 0.25);
        }

        .brand-plan-title {
            font-size: 1.1rem;
            color: #ffaa55;
            margin-bottom: 0.3rem;
        }

        .brand-price {
            font-size: 1.5rem;
            font-weight: 800;
            color: #ff8c2e;
            margin-bottom: 0.6rem;
            font-family: 'Orbitron', monospace;
        }

        .brand-discord-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-top: 0.5rem;
            padding: 10px 24px;
            border-radius: 40px;
            text-decoration: none;
            color: #fff;
            background: #5865F2;
            font-weight: 700;
            transition: transform 0.2s, box-shadow 0.2s;
            font-size: 0.9rem;
        }

        .brand-discord-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(88, 101, 242, 0.5);
        }

        /* Card Compre seu Mapa (full-width, igual à Galeria) */
        .buy-card {
            grid-column: 1 / -1;
        }

        .buy-content {
            text-align: center;
            margin-top: 8px;
        }

        .buy-text {
            font-size: 1rem;
            line-height: 1.6;
            color: #ddd;
            max-width: 700px;
            margin: 0 auto;
        }

        .buy-price {
            font-size: 2.2rem;
            font-weight: 800;
            color: #ff8c2e;
            margin: 0.8rem 0;
            font-family: 'Orbitron', monospace;
            text-shadow: 0 0 8px rgba(255, 140, 0, 0.4);
        }

        .buy-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 0.5rem;
        }

        .buy-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 28px;
            border-radius: 40px;
            font-weight: 700;
            text-decoration: none;
            color: #111;
            transition: transform 0.2s, box-shadow 0.2s;
            font-size: 0.95rem;
        }

        .buy-btn-pix {
            background: linear-gradient(135deg, #ffb347, #ff7e05);
        }

        .buy-btn-paypal {
            background: linear-gradient(135deg, #ffd76e, #ffc439);
        }

        .buy-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(255, 140, 0, 0.4);
        }

        .news-list,
        .partners-list {
            list-style: none;
            margin-top: 0.5rem;
        }

        .news-list li,
        .partners-list li {
            background: rgba(0, 0, 0, 0.4);
            margin: 0.7rem 0;
            padding: 0.7rem 1rem;
            border-radius: 40px;
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 0.9rem;
            word-break: break-word;
        }

        .partners-list li a:hover {
            color: #ff8c2e;
            text-decoration: underline;
        }

        /* FAQ Accordion */
        .faq-list { margin-top: 0.5rem; }
        .faq-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
        .faq-q {
            width: 100%;
            background: none;
            border: none;
            color: #f0f3fa;
            font-size: 0.95rem;
            font-weight: 600;
            text-align: left;
            padding: 0.8rem 0.5rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 10px;
            font-family: inherit;
        }
        .faq-q i {
            color: #ff8c2e;
            font-size: 0.75rem;
            transition: transform 0.25s ease;
        }
        .faq-item.open .faq-q i { transform: rotate(180deg); }
        .faq-a {
            display: none;
            padding: 0 0.5rem 0.8rem;
            color: #aaa;
            font-size: 0.88rem;
            line-height: 1.5;
        }
        .faq-item.open .faq-a { display: block; }

        .partners-list li a {
            color: #ffaa55;
            text-decoration: none;
            font-weight: 600;
            transition: color 0.2s;
        }

        /* Card de Instalação (Vídeo) */
        .video-container {
            position: relative;
            width: 100%;
            aspect-ratio: 16 / 9;
            border-radius: 20px;
            overflow: hidden;
            margin-top: 8px;
            background: #000;
        }

        .video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }

        /* botão editar flutuante */
        .edit-fab {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: #ff7e05;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
            transition: 0.2s;
            z-index: 1000;
            border: none;
            color: #111;
            font-size: 28px;
        }

        .edit-fab:hover {
            background: #ff9f3a;
            transform: scale(1.07);
        }

        /* MODAL DE LOGIN (administrativo) */
        .modal-login {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(12px);
            z-index: 2100;
            align-items: center;
            justify-content: center;
        }

        .login-container {
            background: #0f141e;
            border-radius: 42px;
            max-width: 400px;
            width: 90%;
            padding: 2rem;
            border: 1px solid #ff8c2e;
            box-shadow: 0 20px 40px rgba(0,0,0,0.6);
            text-align: center;
        }

        .login-container h3 {
            font-family: 'Orbitron', monospace;
            color: #ffaa55;
            margin-bottom: 1.2rem;
            font-size: 1.8rem;
        }

        .login-container input {
            width: 100%;
            padding: 12px 18px;
            margin: 10px 0;
            background: #1e2533;
            border: 1px solid #ff8c2e60;
            border-radius: 60px;
            color: white;
            font-size: 1rem;
        }

        .login-container button {
            background: #ff8c2e;
            color: #111;
            font-weight: bold;
            padding: 12px;
            border: none;
            border-radius: 60px;
            width: 100%;
            margin-top: 15px;
            cursor: pointer;
            font-size: 1rem;
        }

        /* Botão de acesso do cliente no header */
        .client-access-btn {
            background: none;
            border: 1px solid #ff7e05;
            color: #ffaa55;
            padding: 6px 14px;
            border-radius: 40px;
            font-size: 0.75rem;
            cursor: pointer;
            transition: 0.2s;
            font-weight: bold;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .client-access-btn:hover {
            background: #ff7e05;
            color: #111;
        }

        .client-badge {
            font-size: 0.8rem;
            font-weight: 600;
            color: #ffaa55;
        }

        /* Abas e formulários de autenticação */
        .auth-tabs {
            display: flex;
            gap: 8px;
            justify-content: center;
            margin: 1rem 0;
        }

        .auth-tab {
            flex: 1;
            background: #1e2533;
            border: 1px solid rgba(255,140,0,0.3);
            color: #ffaa55;
            padding: 10px;
            border-radius: 40px;
            cursor: pointer;
            font-weight: 600;
            transition: 0.2s;
        }

        .auth-tab.active {
            background: linear-gradient(135deg, #ffb347, #ff7e05);
            color: #111;
        }

        .auth-form { display: none; }
        .auth-form.active { display: block; }

        .auth-link {
            display: inline-block;
            margin-top: 10px;
            color: #ffaa55;
            font-size: 0.8rem;
            text-decoration: none;
        }
        .auth-link:hover { text-decoration: underline; }

        /* Área do cliente */
        .client-section {
            background: rgba(0,0,0,0.35);
            border: 1px solid rgba(255,140,0,0.25);
            border-radius: 16px;
            padding: 1rem 1.2rem;
            margin: 1rem 0;
            text-align: left;
        }
        .client-section h4 {
            font-family: 'Orbitron', monospace;
            color: #ffaa55;
            margin-bottom: 0.6rem;
            font-size: 1.05rem;
        }
        .client-section ul { list-style: none; }
        .client-section li {
            padding: 0.4rem 0;
            color: #ddd;
            font-size: 0.9rem;
        }
        .client-section li i { color: #ff8c2e; margin-right: 8px; }

        /* Card tutorial LJ MAP LAUNCHER */
        .launcher-tutorial {
            background: rgba(255, 140, 0, 0.08);
            border: 1px solid rgba(255, 140, 0, 0.35);
        }
        .launcher-steps {
            list-style: none;
            counter-reset: step;
            padding: 0;
            margin: 0.6rem 0;
        }
        .launcher-steps li {
            counter-increment: step;
            position: relative;
            padding: 0.5rem 0 0.5rem 2.8rem;
            color: #ddd;
            font-size: 0.9rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }
        .launcher-steps li:last-child { border-bottom: none; }
        .launcher-steps li::before {
            content: counter(step);
            position: absolute;
            left: 0;
            top: 0.5rem;
            width: 1.8rem;
            height: 1.8rem;
            background: #ff8c2e;
            color: #0a0c12;
            font-weight: 700;
            font-size: 0.8rem;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .launcher-note {
            margin-top: 0.6rem;
            padding: 0.6rem 0.8rem;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 8px;
            color: #aaa;
            font-size: 0.82rem;
            font-style: italic;
            line-height: 1.5;
        }

        /* Seção de preços */
        .pricing-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin: 0.8rem 0;
        }
        .pricing-card {
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 140, 0, 0.2);
            border-radius: 14px;
            padding: 1.2rem;
            text-align: center;
            transition: transform 0.2s, border-color 0.2s;
        }
        .pricing-card:hover {
            transform: translateY(-3px);
            border-color: rgba(255, 140, 0, 0.5);
        }
        .pricing-logo {
            width: 80px;
            height: 80px;
            object-fit: contain;
            border-radius: 50%;
            margin-bottom: 0.6rem;
            border: 2px solid rgba(255, 140, 0, 0.3);
        }
        .pricing-name {
            font-family: 'Orbitron', monospace;
            color: #ffaa55;
            font-size: 0.95rem;
            margin: 0.3rem 0;
        }
        .pricing-price {
            font-size: 1.6rem;
            font-weight: 800;
            color: #4cff8a;
            margin: 0.5rem 0;
            text-shadow: 0 0 12px rgba(76, 255, 138, 0.3);
        }
        .pix-row {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.4rem;
            margin-top: 0.4rem;
        }
        .pix-key {
            font-family: monospace;
            color: #ccc;
            font-size: 0.82rem;
            background: rgba(255, 255, 255, 0.08);
            padding: 0.3rem 0.6rem;
            border-radius: 6px;
        }
        .btn-copy-pix {
            background: #ff8c2e;
            color: #0a0c12;
            border: none;
            padding: 0.4rem 0.9rem;
            border-radius: 20px;
            font-weight: 700;
            font-size: 0.8rem;
            cursor: pointer;
            transition: filter 0.2s;
        }
        .btn-copy-pix:hover { filter: brightness(1.15); }
        .btn-copy-pix i { margin-right: 4px; }
        .pricing-alert {
            display: flex;
            align-items: flex-start;
            gap: 0.6rem;
            margin-top: 0.8rem;
            padding: 0.7rem 1rem;
            background: rgba(255, 200, 0, 0.1);
            border: 1px solid rgba(255, 200, 0, 0.25);
            border-radius: 10px;
            color: #ddd;
            font-size: 0.85rem;
            line-height: 1.5;
        }
        .pricing-alert i {
            color: #ffc800;
            font-size: 1.1rem;
            margin-top: 2px;
            flex-shrink: 0;
        }

        .login-error {
            color: #ff8866;
            margin-top: 12px;
            font-size: 0.85rem;
        }

        /* MODAL DE EDIÇÃO (protegido) */
        .modal-edit {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(8px);
            z-index: 2000;
            align-items: center;
            justify-content: center;
        }

        .modal-content {
            background: #12161f;
            width: 90%;
            max-width: 600px;
            max-height: 85vh;
            overflow-y: auto;
            border-radius: 32px;
            border: 1px solid #ff8c2e;
            padding: 1.8rem;
            color: #fff;
        }

        .modal-content h3 {
            font-family: 'Orbitron', monospace;
            margin-bottom: 1rem;
            border-left: 4px solid #ff8c2e;
            padding-left: 15px;
        }

        .modal-content label {
            display: block;
            margin-top: 1rem;
            font-weight: 600;
            margin-bottom: 6px;
        }

        .modal-content input, .modal-content textarea {
            width: 100%;
            padding: 12px;
            border-radius: 20px;
            background: #1e2533;
            border: 1px solid #ff8c2e60;
            color: white;
            font-family: 'Inter', sans-serif;
        }

        .modal-buttons {
            display: flex;
            justify-content: flex-end;
            gap: 12px;
            margin-top: 1.8rem;
            flex-wrap: wrap;
        }

        .modal-buttons button {
            padding: 10px 20px;
            border-radius: 40px;
            font-weight: bold;
            cursor: pointer;
            border: none;
        }

        .btn-save { background: #ff8c2e; color: #111; }
        .btn-reset { background: #2c3e4e; color: white; }
        .btn-cancel { background: #3a3f4b; color: #ddd; }

        footer {
            text-align: center;
            padding: 1.5rem 0 0.5rem;
            font-size: 0.75rem;
            opacity: 0.7;
            border-top: 1px solid rgba(255, 140, 0, 0.3);
        }

        /* Redes Sociais */
        .social-links {
            display: flex;
            gap: 1.2rem;
            justify-content: center;
        }

        .social-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 45px;
            height: 45px;
            background: rgba(255, 140, 0, 0.15);
            border: 1.5px solid rgba(255, 140, 0, 0.4);
            border-radius: 50%;
            color: #ffaa55;
            font-size: 1.4rem;
            transition: all 0.3s ease;
            cursor: pointer;
            text-decoration: none;
        }

        .social-icon:hover {
            background: #ff8c2e;
            color: #111;
            transform: scale(1.12) translateY(-3px);
            box-shadow: 0 8px 20px rgba(255, 140, 0, 0.4);
            border-color: #ff8c2e;
        }

        @media (max-width: 720px) {
            .container { padding: 1rem; }
            .card-header h2 { font-size: 1.2rem; }
            .ets2-header {
                flex-direction: column;
                align-items: stretch;
                text-align: center;
            }
            .logo-area h1 {
                font-size: 1.3rem;
            }
            .dashboard-grid {
                grid-template-columns: 1fr;
                gap: 1.2rem;
            }
            .card {
                padding: 1.2rem;
            }
            .modal-content {
                width: 95%;
                padding: 1.2rem;
            }
            .edit-fab {
                width: 50px;
                height: 50px;
                font-size: 22px;
                bottom: 20px;
                right: 20px;
            }
            .login-container {
                width: 95%;
                padding: 1.5rem;
            }
            footer > div {
                flex-direction: column;
                text-align: center;
            }
            .pricing-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
            .pricing-logo {
                width: 70px;
                height: 70px;
            }
        }

        @media (max-width: 480px) {
            .logo-area h1 {
                font-size: 1rem;
            }
            .card-header h2 {
                font-size: 1rem;
            }
            .card {
                padding: 1rem;
                border-radius: 20px;
            }
            .news-list li,
            .partners-list li {
                font-size: 0.8rem;
                padding: 0.6rem 0.8rem;
            }
            .about-content {
                font-size: 0.85rem;
                padding: 0.8rem;
            }
            .pricing-card {
                padding: 1rem 0.8rem;
            }
            .pricing-logo {
                width: 60px;
                height: 60px;
            }
            .pricing-price {
                font-size: 1.3rem;
            }
            .pix-key {
                font-size: 0.75rem;
            }
            .btn-copy-pix {
                font-size: 0.75rem;
                padding: 0.4rem 0.8rem;
            }
        }

        /* GALERIA DINÂMICA - Card e Grid */
        .gallery-dynamic-card {
            grid-column: 1 / -1;
        }

        .gallery-dynamic-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 1rem;
            margin-top: 8px;
        }

        .gallery-dynamic-item {
            position: relative;
            border-radius: 16px;
            overflow: hidden;
            aspect-ratio: 4 / 3;
            background: rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(255, 140, 0, 0.25);
            cursor: pointer;
            transition: transform 0.3s ease, border-color 0.3s ease;
        }

        .gallery-dynamic-item:hover {
            transform: scale(1.03);
            border-color: rgba(255, 140, 0, 0.7);
        }

        .gallery-dynamic-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .gallery-dynamic-item .gallery-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0,0,0,0.85));
            padding: 2rem 0.8rem 0.6rem;
            font-size: 0.8rem;
            color: #ddd;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .gallery-dynamic-item:hover .gallery-caption {
            opacity: 1;
        }

        .gallery-dynamic-empty {
            grid-column: 1 / -1;
            text-align: center;
            padding: 3rem 1rem;
            color: #888;
            font-style: italic;
            background: rgba(0, 0, 0, 0.3);
            border-radius: 16px;
            border: 1px dashed rgba(255, 140, 0, 0.3);
        }

        /* LIGHTBOX */
        .lightbox-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            z-index: 5000;
            align-items: center;
            justify-content: center;
            flex-direction: column;
        }

        .lightbox-overlay.active {
            display: flex;
        }

        .lightbox-img {
            max-width: 90vw;
            max-height: 80vh;
            border-radius: 12px;
            object-fit: contain;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
        }

        .lightbox-caption {
            color: #ccc;
            margin-top: 1rem;
            font-size: 1rem;
            text-align: center;
            max-width: 80vw;
        }

        .lightbox-close {
            position: absolute;
            top: 20px;
            right: 30px;
            background: none;
            border: none;
            color: #fff;
            font-size: 2.5rem;
            cursor: pointer;
            transition: color 0.2s, transform 0.2s;
            z-index: 5001;
        }

        .lightbox-close:hover {
            color: #ff8c2e;
            transform: scale(1.15);
        }

        .lightbox-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 140, 0, 0.25);
            border: 1px solid rgba(255, 140, 0, 0.5);
            color: #fff;
            font-size: 2rem;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background 0.2s;
            z-index: 5001;
        }

        .lightbox-nav:hover {
            background: rgba(255, 140, 0, 0.6);
        }

        .lightbox-prev { left: 20px; }
        .lightbox-next { right: 20px; }

        .lightbox-counter {
            position: absolute;
            bottom: 20px;
            color: #888;
            font-size: 0.9rem;
        }

        /* ADMIN - Gerenciamento da Galeria */
        .gallery-admin-section {
            margin-top: 1.5rem;
            padding: 1rem;
            background: rgba(0, 0, 0, 0.3);
            border-radius: 16px;
            border: 1px solid rgba(255, 140, 0, 0.3);
        }

        .gallery-admin-section h4 {
            font-family: 'Orbitron', monospace;
            color: #ffaa55;
            margin-bottom: 0.8rem;
            font-size: 0.95rem;
        }

        .gallery-admin-list {
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
            margin-bottom: 1rem;
        }

        .gallery-admin-item {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            background: rgba(30, 37, 51, 0.8);
            padding: 0.5rem;
            border-radius: 12px;
            border: 1px solid rgba(255, 140, 0, 0.2);
        }

        .gallery-admin-item img {
            width: 60px;
            height: 45px;
            object-fit: cover;
            border-radius: 8px;
        }

        .gallery-admin-item .gallery-item-info {
            flex: 1;
            min-width: 0;
        }

        .gallery-admin-item .gallery-item-info input {
            width: 100%;
            padding: 4px 8px;
            font-size: 0.75rem;
            border-radius: 8px;
            background: #0f141e;
            border: 1px solid rgba(255, 140, 0, 0.3);
            color: #ddd;
        }

        .gallery-admin-item .gallery-item-actions {
            display: flex;
            gap: 4px;
        }

        .gallery-admin-item .gallery-item-actions button {
            width: 30px;
            height: 30px;
            border-radius: 8px;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            transition: background 0.2s;
        }

        .btn-gallery-up, .btn-gallery-down {
            background: rgba(255, 140, 0, 0.2);
            color: #ffaa55;
        }

        .btn-gallery-up:hover, .btn-gallery-down:hover {
            background: rgba(255, 140, 0, 0.5);
        }

        .btn-gallery-remove {
            background: rgba(255, 60, 60, 0.2);
            color: #ff6666;
        }

        .btn-gallery-remove:hover {
            background: rgba(255, 60, 60, 0.5);
        }

        .gallery-admin-add {
            display: flex;
            align-items: center;
            gap: 0.6rem;
        }

        .gallery-admin-add label {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(255, 140, 0, 0.2);
            color: #ffaa55;
            padding: 8px 16px;
            border-radius: 40px;
            cursor: pointer;
            font-size: 0.85rem;
            font-weight: 600;
            border: 1px solid rgba(255, 140, 0, 0.4);
            transition: background 0.2s;
        }

        .gallery-admin-add label:hover {
            background: rgba(255, 140, 0, 0.4);
        }

        .gallery-admin-add input[type="file"] {
            display: none;
        }

        .gallery-admin-add .caption-input {
            flex: 1;
            padding: 8px 12px;
            font-size: 0.85rem;
            border-radius: 40px;
            background: #1e2533;
            border: 1px solid rgba(255, 140, 0, 0.3);
            color: #ddd;
        }

        .gallery-admin-limit {
            font-size: 0.75rem;
            color: #888;
            margin-top: 0.5rem;
        }

        @media (max-width: 720px) {
            .gallery-dynamic-grid {
                grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            }
            .lightbox-nav {
                width: 40px;
                height: 40px;
                font-size: 1.5rem;
            }
        }

        @media (max-width: 480px) {
            .gallery-dynamic-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 0.6rem;
            }
            .gallery-admin-item {
                flex-wrap: wrap;
            }
        }
    

    /* ===== PÁGINA DO CLIENTE (cliente.html) ===== */
    .cliente-page {
        max-width: 820px;
        margin: 0 auto;
        padding: 1.2rem 1rem 2rem;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    /* Tela de autenticacao da area do cliente (tela cheia, nao modal do index) */
    .cliente-auth {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(12px);
        z-index: 2100;
        align-items: center;
        justify-content: center;
        padding: 1rem;
    }
    .cliente-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 1rem;
        background: rgba(0,0,0,0.35);
        border: 1px solid rgba(255,140,0,0.25);
        border-radius: 18px;
        padding: 1rem 1.4rem;
    }
    .cliente-brand h1 {
        font-family: 'Orbitron', monospace;
        font-size: 1.3rem;
        color: #ff8c2e;
        margin: 0;
    }
    .cliente-sub {
        font-size: 0.8rem;
        color: #aaa;
        letter-spacing: 1px;
        text-transform: uppercase;
    }
    .cliente-actions {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        flex-wrap: wrap;
    }
    .cliente-user {
        color: #f0f3fa;
        font-size: 0.9rem;
    }
    .cliente-user i { color: #ff8c2e; margin-right: 6px; }
    .cliente-back {
        color: #ffb347;
        text-decoration: none;
        font-size: 0.85rem;
        font-weight: 600;
    }
    .cliente-back:hover { text-decoration: underline; }
    .cliente-main {
        flex: 1;
        margin-top: 1.5rem;
    }
    .cliente-loading {
        text-align: center;
        padding: 3rem 0;
        color: #aaa;
        font-size: 1rem;
    }
    .cliente-loading i { margin-right: 8px; color: #ff8c2e; }
    .cliente-welcome {
        background: rgba(255,140,0,0.12);
        border: 1px solid rgba(255,140,0,0.3);
        border-radius: 14px;
        padding: 1rem 1.2rem;
        color: #fff;
        font-size: 1.05rem;
        margin-bottom: 1.2rem;
    }
    .lic-codigo-row {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        flex-wrap: wrap;
        margin-bottom: 0.6rem;
    }
    .lic-codigo {
        font-size: 1.25rem;
        font-weight: bold;
        letter-spacing: 1px;
        color: #ffb347;
        background: #1e2533;
        padding: 0.4rem 0.8rem;
        border-radius: 8px;
    }
    .btn-copiar {
        background: linear-gradient(135deg,#ffb347,#ff7e05);
        color: #111;
        border: none;
        border-radius: 40px;
        padding: 0.4rem 1rem;
        font-weight: bold;
        cursor: pointer;
    }
    .btn-copiar:hover { filter: brightness(1.08); }
    .lic-pcs { color: #f0f3fa; margin: 0; }
    .lic-pcs-ok { color: #7CFC00; }
    .lic-hint { color: #888; font-size: 0.8rem; margin: 0.4rem 0 0; }
    .lic-erro { color: #ff6666; margin: 0; }

    .pc-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
    .pc-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.6rem;
        background: rgba(0,0,0,0.3);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 12px;
        padding: 0.7rem 1rem;
    }
    .pc-info { display: flex; flex-direction: column; gap: 2px; }
    .pc-name { color: #f0f3fa; font-weight: 600; font-size: 0.95rem; }
    .pc-name i { color: #ff8c2e; margin-right: 6px; }
    .pc-fp { color: #888; font-size: 0.78rem; font-family: monospace; }
    .pc-acesso { color: #aaa; font-size: 0.8rem; }
    .pc-vazio, .client-items { color: #ddd; font-size: 0.9rem; }
    .client-items { list-style: none; padding: 0; margin: 0; }
    .client-items li { padding: 0.4rem 0; }
    .client-items li i { color: #ff8c2e; margin-right: 8px; }

    .cliente-downloads { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 0.4rem; }
    .cliente-dl-btn {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        background: linear-gradient(135deg, #ffb347, #ff7e05);
        color: #111;
        font-weight: 700;
        text-decoration: none;
        padding: 0.8rem 1.1rem;
        border-radius: 12px;
        font-size: 0.95rem;
        transition: filter 0.15s ease;
    }
    .cliente-dl-btn:hover { filter: brightness(1.08); }
    .cliente-dl-btn i { font-size: 1.1rem; }
    .cliente-dl-btn.disabled {
        background: rgba(255,255,255,0.08);
        color: #888;
        cursor: not-allowed;
        filter: none;
        opacity: 0.6;
    }

    .cliente-negado {
        text-align: center;
        padding: 3rem 1rem;
        color: #ff8866;
    }
    .cliente-negado i { font-size: 2.5rem; display: block; margin-bottom: 1rem; color: #ff8c2e; }
    .cliente-negado h3 { font-family: 'Orbitron', monospace; margin: 0 0 0.5rem; }
    .cliente-negado a { display: inline-block; margin-top: 1rem; }

    .cliente-footer {
        margin-top: 2rem;
        text-align: center;
        color: #888;
        font-size: 0.8rem;
    }

    @media (max-width: 600px) {
        .cliente-header { flex-direction: column; align-items: flex-start; }
        .pc-item { flex-direction: column; align-items: flex-start; }
    }

    .copy-pix-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-top: 10px;
        padding: 8px 16px;
        background: rgba(255, 140, 0, 0.15);
        border: 1px solid rgba(255, 140, 0, 0.4);
        border-radius: 8px;
        color: #ffb347;
        font-family: 'Inter', sans-serif;
        font-size: 0.82rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.25s ease;
    }
    .copy-pix-btn:hover {
        background: rgba(255, 140, 0, 0.3);
        border-color: #ff8c2e;
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 2px 10px rgba(255, 140, 0, 0.3);
    }
    .copy-pix-btn:active {
        transform: scale(0.97);
    }
    .copy-pix-btn i {
        font-size: 0.9rem;
    }

    .pix-instruction {
        margin-top: 10px;
        font-size: 0.8rem;
        color: #aaa;
        text-align: center;
        line-height: 1.5;
    }
    .pix-instruction strong {
        color: #ffb347;
    }
