
        :root {
            --bg: #0b0907;
            --card: #16130e;
            --surface: #14110c;
            --accent: #f59e0b;
            --accent-hover: #fbbf24;
            --accent-glow: rgba(245, 158, 11, 0.35);
            --accent-orange: #f59e0b;
            --muted: #a8a29e;
            --border: #2b251c;
            --radius: 14px;
        }

        html {
            background-color: #0b0907;
        }

        body {
            background-color: transparent;
            color: #ffffff;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            overflow-x: hidden;
        }

        /* Seleção de texto e cursor temáticos */
        ::selection {
            background: var(--accent);
            color: #000000;
        }
        ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }
        ::-webkit-scrollbar-track {
            background: #0b0907;
        }
        ::-webkit-scrollbar-thumb {
            background: #2b251c;
            border-radius: 4px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: #41382a;
        }

        /* Logo (header e rodapé): membro estático do flex, sem corte de texto */
        .logo-mkt {
            position: static;
            z-index: auto;
            margin: 0;
            flex: 0 0 auto;
        }
        .logo-mkt > span {
            display: block;
            white-space: nowrap;
            line-height: 1.05;
        }

        /* Inputs, selects, textareas - sempre fundo escuro com texto claro */
        input, select, textarea {
            background-color: #14110c !important;
            color: #ffffff !important;
            border: 1px solid #2b251c !important;
            border-radius: 0.5rem;
            padding: 0.6rem 0.75rem;
            font-size: 0.875rem;
            width: 100%;
            box-sizing: border-box;
        }
        input::placeholder, select::placeholder, textarea::placeholder {
            color: #5a5a5a !important;
        }

        input:focus, select:focus, textarea:focus {
            outline: none !important;
            border-color: var(--accent) !important;
            box-shadow: 0 0 0 3px var(--accent-glow) !important;
        }

        input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active,
        textarea:-webkit-autofill, select:-webkit-autofill {
            -webkit-text-fill-color: #ffffff !important;
            -webkit-box-shadow: 0 0 0 1000px #14110c inset !important;
            caret-color: #ffffff !important;
            transition: background-color 9999s ease-out 0s;
        }

        .input-group {
            margin-bottom: 0.85rem;
        }
        .input-group label {
            display: block;
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--muted);
            margin-bottom: 0.35rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .btn-primary {
            width: 100%;
            background-color: var(--accent);
            color: #000000;
            font-weight: 800;
            padding: 0.65rem 1rem;
            border-radius: 0.75rem;
            cursor: pointer;
            transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
            border: none;
            letter-spacing: 0.02em;
        }
        .btn-primary:hover {
            background-color: var(--accent-hover);
            transform: translateY(-1px);
            box-shadow: 0 0 20px var(--accent-glow);
        }
        .btn-primary:active {
            transform: translateY(0);
        }
        .btn-secondary {
            width: 100%;
            background-color: #1c1812;
            color: #ffffff;
            font-weight: 700;
            padding: 0.65rem 1rem;
            border-radius: 0.75rem;
            cursor: pointer;
            transition: background-color 0.2s ease, border-color 0.2s ease;
            border: 1px solid #2f2920;
        }
        .btn-secondary:hover {
            background-color: #26211a;
            border-color: #41382a;
        }

        .tab {
            flex: 1;
            padding: 0.6rem 0.75rem;
            font-size: 0.85rem;
            font-weight: 700;
            color: var(--muted);
            border-bottom: 2px solid transparent;
            cursor: pointer;
            text-align: center;
            transition: color 0.2s ease, border-color 0.2s ease;
            background: none;
            border: none;
            border-radius: 0;
        }
        .tab.active {
            color: var(--accent);
            border-bottom-color: var(--accent);
        }
        .tab-content {
            display: none;
        }
        .tab-content.active {
            display: block;
        }

        .accounts-grid {
            display: grid;
            grid-template-columns: repeat(1, minmax(0, 1fr));
            gap: 1.25rem;
        }
        @media (min-width: 640px) {
            .accounts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        }
        @media (min-width: 1024px) {
            .accounts-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
        }

        .alerta-icone-ok, .alerta-icone-aviso {
            width: 3rem;
            height: 3rem;
            border-radius: 9999px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 0.75rem auto;
            font-size: 1.25rem;
            font-weight: 700;
        }
        .alerta-icone-ok {
            background-color: rgba(52, 211, 153, 0.1);
            color: #34d399;
        }
        .alerta-icone-aviso {
            background-color: rgba(239, 68, 68, 0.1);
            color: #f87171;
        }

        /* === Animações suaves === */
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(18px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        @keyframes pulseGlow {
            0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
            50% { box-shadow: 0 0 12px 4px var(--accent-glow); }
        }
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-6px); }
        }
        @keyframes marquee {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }
        @keyframes slideDown {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .animate-fade-in-up {
            animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
        }
        .animate-fade-in {
            animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
        }
        .animate-pulse-glow {
            animation: pulseGlow 2.5s ease-in-out infinite;
        }
        .animate-float {
            animation: float 4s ease-in-out infinite;
        }
        .animate-slide-down {
            animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
        }

        /* Stagger delays para grid de cards */
        .fade-stagger:nth-child(1) { animation-delay: 0.05s; }
        .fade-stagger:nth-child(2) { animation-delay: 0.12s; }
        .fade-stagger:nth-child(3) { animation-delay: 0.19s; }
        .fade-stagger:nth-child(4) { animation-delay: 0.26s; }
        .fade-stagger:nth-child(5) { animation-delay: 0.33s; }
        .fade-stagger:nth-child(6) { animation-delay: 0.40s; }

        .marquee-container {
            overflow: hidden;
            white-space: nowrap;
        }
        .marquee-track {
            display: inline-block;
            animation: marquee 20s linear infinite;
        }
        .marquee-track span {
            margin-right: 2rem;
            font-weight: 800;
            letter-spacing: 0.1em;
            color: var(--accent);
            text-transform: uppercase;
            font-size: 0.75rem;
        }

        /* Hero texto */
        .text-glow {
            text-shadow: 0 0 14px var(--accent-glow);
        }
        .text-orange-glow {
            text-shadow: 0 0 14px rgba(245, 158, 11, 0.35);
        }

        /* Cards com borda sutil e hover */
        .card-marketplace {
            transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
        }
        .card-marketplace:hover {
            border-color: #41382a;
            transform: translateY(-2px);
            box-shadow: 0 12px 32px -8px rgba(0,0,0,0.5);
        }

        /* Joinha (like) - cinza #777777 ou branco gelo #ffffff */
        .like-btn {
            transition: color 0.2s ease, text-shadow 0.2s ease;
        }
        .like-btn.liked {
            color: #ffffff;
            text-shadow: 0 0 8px rgba(255,255,255,0.9);
        }

        /* Rodapé: fluxo normal da página, mas acima do botão flutuante no fim do scroll */
        footer.site-footer {
            position: relative;
            width: 100%;
            margin-top: auto;
            overflow-x: hidden;
            z-index: 10;
        }
        main.conteudo-principal {
            position: relative;
            z-index: 1;
        }
        .chat-flutuante {
            z-index: 5;
        }

        /* Footer animado */
        .footer-marquee {
            overflow: hidden;
        }
        .footer-marquee .track {
            display: inline-flex;
            gap: 3rem;
            animation: marquee 24s linear infinite;
        }

        /* Modais/painéis: overlay fixo em tela cheia, oculto por padrão.
           O fechamento por padrão NÃO depende do Tailwind CDN: display:none no CSS
           garante que nunca nasçam visíveis/empilhados; a abertura é sempre via
           style.display="flex" no JS (inline vence qualquer classe). */
        .modal-backdrop {
            position: fixed;
            inset: 0;
            display: none !important;
            align-items: center;
            justify-content: center;
            padding: 1rem;
            overflow-y: auto;
            overscroll-behavior: contain;
            z-index: 99999 !important;
            backdrop-filter: blur(12px);
            background: rgba(5, 4, 2, 0.88);
        }
        .modal-backdrop.is-open { display: flex !important; }
        /* Card interno: rolagem própria quando o conteúdo ultrapassa a viewport */
        .modal-card {
            max-height: calc(100dvh - 2rem);
            overflow-y: auto;
            overscroll-behavior: contain;
            -webkit-overflow-scrolling: touch;
        }
        #modal-boas-vindas { z-index: 999999 !important; }
        body.modal-open { overflow: hidden !important; }

        /* Menu hambúrguer: fallback próprio de visibilidade (independe do Tailwind) */
        #mobile-menu { display: none; }
        #mobile-menu.menu-aberto { display: block; }

        /* Focus visível para teclado */
        :focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

        /* Reduzir movimento quando solicitado */
        @media (prefers-reduced-motion: reduce) {
            .animate-fade-in-up, .animate-fade-in, .animate-pulse-glow, .animate-float,
            .animate-slide-down, .marquee-track, .footer-marquee .track,
            .card-marketplace:hover { animation: none !important; transform: none !important; transition: none !important; }
        }

        /* Utilitários de texto */
        .text-track-wide { letter-spacing: 0.15em; }
        .text-track-wider { letter-spacing: 0.25em; }
