/* Forçar fundo escuro no body globalmente */
body {
    background-color: #09090b; /* Zinc 950 absoluto */
    color: #d4d4d8; /* Textos claros */
    overflow-x: hidden;
    cursor: none; /* Esconde cursor padrão para o customizado */
}

/* Scrollbar Premium */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: #09090b; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #7f1d1d, #ef4444);
    border-radius: 10px;
    border: 3px solid #09090b;
}
::-webkit-scrollbar-thumb:hover { background: #dc2626; }

/* Custom Cursor */
.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0; left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}
.cursor-dot {
    width: 8px; height: 8px;
    background-color: #ef4444;
}
.cursor-outline {
    width: 40px; height: 40px;
    border: 2px solid rgba(239, 68, 68, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Efeitos de Vidro (Glassmorphism) */
.glass {
    background: rgba(24, 24, 27, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* Gradientes de Texto */
.text-gradient-red {
    background: linear-gradient(135deg, #ef4444, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Cards Hover Effects */
.card-catalog {
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: linear-gradient(180deg, rgba(39, 39, 42, 0.8) 0%, rgba(24, 24, 27, 0.95) 100%);
}
.card-catalog:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 30px rgba(185, 28, 28, 0.3);
    border-color: rgba(239, 68, 68, 0.5);
}

/* Imagens dos Produtos no Hover */
.product-img-wrapper img {
    transition: transform 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.card-catalog:hover .product-img-wrapper img {
    transform: scale(1.1) rotate(2deg);
}

/* Botões Premium */
.btn-red-glow {
    position: relative;
    background: linear-gradient(45deg, #991b1b, #ef4444);
    z-index: 1;
    overflow: hidden;
    transition: all 0.3s ease;
}
.btn-red-glow::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}
.btn-red-glow:hover::before { left: 100%; }
.btn-red-glow:hover {
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.6);
    transform: scale(1.02);
}

/* Scroll Revelations */
.reveal { opacity: 0; transform: translateY(50px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: all 0.8s ease-out; }
.reveal-left.active { opacity: 1; transform: translateX(0); }

/* Dynamic Background Layer */
.bg-dynamic-layer {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -999; overflow: hidden; pointer-events: none;
}
.blob {
    position: absolute; filter: blur(120px); opacity: 0.4;
    border-radius: 50%; animation: blob 20s infinite alternate;
}
/* ========================================================
   KHAOSMC STORE - CHECKOUT PIX / FORMULÁRIOS
   Cole este bloco no FINAL do seu style.css
======================================================== */

input,
textarea,
select {
    cursor: text;
}

input::selection,
textarea::selection {
    background: #ef4444;
    color: #ffffff;
}

.khaos-input {
    width: 100%;
    background: #09090b;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    padding: 14px 16px;
    color: #ffffff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    font-weight: 700;
    outline: none;
    transition: all 0.25s ease;
}

.khaos-input::placeholder {
    color: #52525b;
}

.khaos-input:focus {
    border-color: #ef4444;
    box-shadow: 0 0 22px rgba(239, 68, 68, 0.25);
}

.khaos-pix-code {
    width: 100%;
    min-height: 160px;
    resize: vertical;
    background: #050505;
    color: #d4d4d8;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 16px;
    padding: 16px;
    font-family: Consolas, Monaco, monospace;
    font-size: 13px;
    line-height: 1.55;
    outline: none;
    transition: all 0.25s ease;
}

.khaos-pix-code:focus {
    border-color: #ef4444;
    box-shadow: 0 0 24px rgba(239, 68, 68, 0.22);
}

button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

@media (max-width: 640px) {
    .khaos-pix-code {
        min-height: 120px;
        font-size: 12px;
    }
}
/* ========================================================
   KHAOSMC STORE - CHECKOUT PIX / FORMULÁRIOS
   COLE ESTE BLOCO NO FINAL DO style.css
======================================================== */

/* Corrige cursor nos campos, porque o site usa cursor customizado */
input,
textarea,
select {
    cursor: text !important;
}

/* Seleção de texto nos campos */
input::selection,
textarea::selection {
    background: #ef4444;
    color: #ffffff;
}

/* Campos de Nick e E-mail */
.khaos-input {
    width: 100% !important;
    display: block !important;
    background: #09090b !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 14px !important;
    padding: 14px 16px !important;
    color: #ffffff !important;
    font-family: 'Rajdhani', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    outline: none !important;
    transition: all 0.25s ease !important;
    box-sizing: border-box !important;
}

.khaos-input::placeholder {
    color: #71717a !important;
}

.khaos-input:focus {
    border-color: #ef4444 !important;
    box-shadow: 0 0 22px rgba(239, 68, 68, 0.25) !important;
}

/* Campo PIX Copia e Cola */
.khaos-pix-code {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: 170px !important;
    min-height: 170px !important;
    max-height: 260px !important;
    display: block !important;
    resize: vertical !important;

    background: #050505 !important;
    color: #e4e4e7 !important;
    border: 1px solid rgba(239, 68, 68, 0.35) !important;
    border-radius: 16px !important;

    padding: 16px !important;
    box-sizing: border-box !important;

    font-family: Consolas, Monaco, 'Courier New', monospace !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
    font-weight: 600 !important;

    outline: none !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    white-space: pre-wrap !important;
    word-break: break-all !important;

    box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.6) !important;
    transition: all 0.25s ease !important;
}

.khaos-pix-code:focus {
    border-color: #ef4444 !important;
    box-shadow:
        inset 0 0 18px rgba(0, 0, 0, 0.6),
        0 0 24px rgba(239, 68, 68, 0.22) !important;
}

.khaos-pix-code::selection {
    background: #ef4444 !important;
    color: #ffffff !important;
}

/* Botões desativados */
button:disabled {
    opacity: 0.65 !important;
    cursor: not-allowed !important;
}

/* Scroll interno do campo PIX */
.khaos-pix-code::-webkit-scrollbar {
    width: 8px;
}

.khaos-pix-code::-webkit-scrollbar-track {
    background: #09090b;
    border-radius: 999px;
}

.khaos-pix-code::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #7f1d1d, #ef4444);
    border-radius: 999px;
}

/* Ajuste mobile */
@media (max-width: 640px) {
    .khaos-pix-code {
        height: 130px !important;
        min-height: 130px !important;
        font-size: 12px !important;
    }

    .khaos-input {
        font-size: 16px !important;
    }
}