/* SYSTEM PARAMETERS */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    cursor: crosshair;
    font-family: 'Courier New', monospace;
}

@font-face {
    font-family: 'MS Sans Serif';
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-ms-sans-serif/1.0.1/ms-sans-serif.woff') format('woff');
}

body {
    background-color: #000;
    color: #00ff00;
    font-family: 'MS Sans Serif', 'Courier New', monospace;
    overflow-x: hidden;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFoSURBVGhD7dlBDoIwEIXhurJ6Ko/gObyCJ/MYegaPwDlcuXKBRo0hBjoz0KLpf5MVGh6v0Ca0mZlZCI/jbZFytVjFy/4+Sn6sSBEpV/bIj6Yie8rLR7wd7vUqqovrWqSQFzLE1Oo6ZWFDClmRHx/2qB6Z/KYvJEh9zYoEkhUJJCsSSFYkkKxIIFmRQLIigWRFAsmKBJIVCSQrEkhWJJCsSCBZkUCyIoFkRQLJigSSFQkkKxJIViSQrEggWZFAsiKBZEUCyYoEkhUJJCsSSHdXRCa/ZBxFlLfRl+0l5Rd+2+3U0heZl7KbXk1WtiI6Nl9EHsY45G4iyj79dHRsvoiOzRfRsfkiOjZfRMfmi+jYfBEdmy+iY/NFdGy+iI7NF9Gx+SI6Nl9kTJF5/6B0P5GSv/4PXyNiRcZEmZdXrXJR5sehsyJjoszLf+PKCyfKvOJvXHnhtGRedXnG1fZE7maG2exJmqbPMOzrMGSjF/IAAAAASUVORK5CYII=');
    image-rendering: pixelated;
    font-size: 14px;
}

.glow-heading {
    margin-top: 10px;
    margin-bottom: 10px;
    color: white;
    font-weight: bold;
    text-shadow: 0 0 5px #fff, 0 0 10px #0ff, 0 0 15px #0ff;
    font-size: 1.8em;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* GLOBAL SECURITY GRID */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 50px;
    background-color: rgba(0, 0, 0, 0.85);
    border: 2px solid #444;
    box-shadow: inset 0 0 10px #333;
    position: relative;
}

/* HEADER - COMMAND CENTER */
.header {
    text-align: center;
    border: 3px double #777;
    background-color: #1a1a1a;
    padding: 10px;
    margin-bottom: 20px;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAYSURBVChTY/z//z8DFmAcVUBCQWsK/jMAAKmYCfmOYXQTAAAAAElFTkSuQmCC');
    position: relative;
    overflow: hidden;
}

.header h1 {
    font-size: 2.5em;
    color: #ff0000;
    text-shadow: 2px 2px 0px #4d0000,
        3px 3px 0px #1a0000,
        0 0 15px rgba(255, 0, 0, 0.7);
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: bold;
    animation: glitch 5s infinite;
}

.header h2 {
    font-size: 1.3em;
    color: #33ff33;
    margin-bottom: 10px;
    font-style: italic;
    text-shadow: 0 0 5px #0f0;
}

.scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(51, 255, 51, 0.3);
    z-index: 999;
    animation: scan 7s linear infinite;
    opacity: 0.7;
    pointer-events: none;
}

/* NAVIGATION - TACTICAL CONTROLS */
.nav {
    display: flex;
    justify-content: space-between;
    background-color: #333;
    border-top: 1px solid #666;
    border-left: 1px solid #666;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    margin-bottom: 20px;
}

.nav a {
    flex: 1;
    color: #fff;
    text-decoration: none;
    text-align: center;
    padding: 10px 0;
    border-right: 1px solid #666;
    border-bottom: 1px solid #666;
    border-top: 1px solid #000;
    border-left: 1px solid #000;
    background: linear-gradient(to bottom, #555, #333);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s;
}

.nav a:hover,
.nav a.active {
    background: linear-gradient(to bottom, #700, #400);
    color: #f00;
    text-shadow: 0 0 5px #f88;
}

.main-content {
    display: flex;
    margin-bottom: 20px;
}

.inventory {
    flex: 3;
    background-color: #0a0a0a;
    border: 1px solid #444;
    padding: 15px;
    box-shadow: inset 0 0 10px #000;
}

.item {
    border: 1px solid #444;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #111;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.item:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
    border-color: #f00;
}

.item h3 {
    font-size: 1.2em;
    color: #ff6600;
    margin-bottom: 5px;
    text-shadow: 0 0 3px #ff6600;
    font-family: 'Courier New', monospace;
}

.item-content {
    margin-top: 1 0px;
    display: flex;
}

.item-image {
    width: 160px;
    height: 160px;
    background-color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    border: 1px solid #333;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    filter: brightness(0.9) contrast(1.1);
}

.item-details {
    flex: 1;
}

.item p {
    font-size: 0.9em;
    margin-bottom: 5px;
    line-height: 1.4;
    color: #ccc;
}

.price {
    color: #33ff33;
    font-weight: bold;
    margin-top: 10px;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 3px #0f0;
}

.order-btn {
    background: linear-gradient(to bottom, #003300, #001100);
    color: #33ff33;
    border: 1px solid #006600;
    padding: 5px 10px;
    cursor: pointer;
    margin-top: 10px;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8em;
    transition: background 0.3s, color 0.3s;
}

.order-btn:hover {
    background: linear-gradient(to bottom, #004400, #002200);
    box-shadow: 0 0 5px #0f0;
}

/* SIDEBAR - PERIPHERAL SYSTEMS */
.sidebar {
    flex: 1;
    background-color: #111;
    border: 1px solid #444;
    padding: 15px;
    margin-left: 20px;
}

.sidebar h3 {
    color: #ff3333;
    border-bottom: 1px dashed #444;
    padding-bottom: 5px;
    margin-bottom: 10px;
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-item {
    margin-bottom: 15px;
    font-size: 0.85em;
    line-height: 1.4;
    color: #aaa;
    border-left: 3px solid #333;
    padding-left: 10px;
}

.news-item .date {
    color: #ff3333;
    font-size: 0.9em;
    margin-bottom: 2px;
}

.badge {
    display: inline-block;
    background-color: #ff3333;
    color: #000;
    padding: 2px 6px;
    font-size: 0.8em;
    font-weight: bold;
    border-radius: 2px;
    margin-left: 5px;
}

/* CHAT SYSTEM - UNDERGROUND COMMS */
.chat-system {
    margin-top: 20px;
    border: 1px solid #444;
    background-color: #0a0a0a;
    height: 200px;
    overflow-y: auto;
    padding: 10px;
}

.chat-message {
    margin-bottom: 10px;
    line-height: 1.3;
}

.chat-message .sender {
    font-weight: bold;
    color: #ff6600;
}

.chat-message .timestamp {
    font-size: 0.8em;
    color: #666;
    margin-left: 5px;
}

.chat-message .text {
    color: #ccc;
}

/* FOOTER - SECURITY DISCLAIMER */
.footer {
    text-align: center;
    border-top: 1px dashed #444;
    padding-top: 15px;
    margin-top: 20px;
    font-size: 0.8em;
    color: #666;
}

/* MODAL - SECURE TRANSACTION INTERFACE */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    overflow: auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #111;
    border: 2px solid #444;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3), 0 0 40px rgba(0, 255, 0, 0.1);
    width: 80%;
    max-width: 600px;
    position: relative;
    animation: flicker 0.2s infinite;
    padding: 20px;
}

.modal-header {
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    color: #ff3333;
    font-size: 1.5em;
    text-shadow: 0 0 5px #f00;
    flex: 1;
}

.close-btn {
    background: none;
    border: none;
    color: #aaa;
    font-size: 1.5em;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #ff3333;
}

.quote-content {
    margin-bottom: 20px;
    font-family: 'Courier New', monospace;
    line-height: 1.5;
    position: relative;
}

.quote-item {
    margin-bottom: 10px;
    padding: 5px;
    border-left: 3px solid #333;
}

.quote-item label {
    display: inline-block;
    width: 150px;
    color: #aaa;
}

.quote-item span {
    color: #33ff33;
}

.quote-item.scrambled span {
    display: inline-block;
    color: #ff3333;
    position: relative;
    background: rgba(255, 0, 0, 0.1);
    padding: 0 5px;
}

.warning-text {
    color: #ff3333;
    border: 1px dashed #ff3333;
    padding: 10px;
    margin-bottom: 20px;
    font-size: 0.9em;
    background-color: rgba(255, 0, 0, 0.1);
    text-align: center;
}

.scrambled-text {
    display: inline-block;
    position: relative;
    color: #f00;
    animation: scramble 0.1s infinite alternate;
}

/* FRACTAL BACKGROUND */
.fractal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJyZ2JhKDI1NSwwLDAsMC4xKSIgc3Ryb2tlLXdpZHRoPSIwLjUiLz4KICA8cmVjdCB4PSIxMCIgeT0iMTAiIHdpZHRoPSI4MCIgaGVpZ2h0PSI4MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJyZ2JhKDAsMjU1LDAsMC4xKSIgc3Ryb2tlLXdpZHRoPSIwLjUiLz4KICA8cmVjdCB4PSIyMCIgeT0iMjAiIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJyZ2JhKDI1NSwwLDAsMC4xKSIgc3Ryb2tlLXdpZHRoPSIwLjUiLz4KICA8cmVjdCB4PSIzMCIgeT0iMzAiIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJyZ2JhKDAsMjU1LDAsMC4xKSIgc3Ryb2tlLXdpZHRoPSIwLjUiLz4KICA8cmVjdCB4PSI0MCIgeT0iNDAiIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJyZ2JhKDI1NSwwLDAsMC4xKSIgc3Ryb2tlLXdpZHRoPSIwLjUiLz4KPC9zdmc+');
    background-size: 100px 100px;
    opacity: 0.15;
    pointer-events: none;
    mix-blend-mode: screen;
    animation: pulse 10s infinite alternate;
    z-index: -1;
}

/* ANIMATIONS - PSYCHEDELIC WARFARE */
@keyframes scan {
    0% {
        top: 0%;
    }

    100% {
        top: 100%;
    }
}

@keyframes flicker {
    0% {
        opacity: 0.9;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.9;
    }
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.1;
        transform: scale(1);
    }

    50% {
        opacity: 0.2;
        transform: scale(1.02);
    }

    100% {
        opacity: 0.1;
        transform: scale(1);
    }
}

@keyframes scramble {
    0% {
        transform: translateX(-1px);
    }

    100% {
        transform: translateX(1px);
    }
}

/* ASCII ART */
.ascii-art {
    font-family: monospace;
    white-space: pre;
    line-height: 1;
    font-size: 10px;
    color: #33ff33;
    margin: 10px 0;
    text-align: center;
}

/* Window 98 Elements */
.win98-window {
    border: 1px solid #000;
    background-color: #c0c0c0;
    margin: 15px 0;
    box-shadow: 2px 2px 0px #000;
}

.win98-title {
    background: linear-gradient(to right, #000080, #1084d0);
    color: #fff;
    padding: 3px 5px;
    font-family: 'MS Sans Serif', sans-serif;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.win98-close {
    width: 16px;
    height: 16px;
    background-color: #c0c0c0;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    color: #000;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.win98-content {
    padding: 10px;
    font-family: 'MS Sans Serif', sans-serif;
    font-size: 12px;
    color: #000;
}

.bold-text {
    font-weight: bold
}

/* Neon text */
.neon-text {
    color: #fff;
    text-shadow:
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 15px #0073e6,
        0 0 20px #0073e6,
        0 0 25px #0073e6,
        0 0 30px #0073e6,
        0 0 35px #0073e6;
    animation: neon-pulse 1.5s infinite alternate;
}

@keyframes neon-pulse {
    0% {
        text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #0073e6, 0 0 20px #0073e6, 0 0 25px #0073e6, 0 0 30px #0073e6, 0 0 35px #0073e6;
    }

    100% {
        text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #ff00de, 0 0 20px #ff00de, 0 0 25px #ff00de, 0 0 30px #ff00de, 0 0 35px #ff00de;
    }
}

/* Grainy video overlay */
.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/png;base64,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');
    opacity: 0.03;
    pointer-events: none;
    z-index: 999;
}

/* Hidden scanner line */
.scanner-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 0, 0, 0.5);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
    z-index: 1000;
    pointer-events: none;
    animation: scan-down 3s linear infinite;
}

@keyframes scan-down {
    0% {
        top: -10px;
    }

    100% {
        top: 100%;
    }
}

/* Military crate texture */
.military-crate {
    background-color: #2a2a2a;
    background-image:
        linear-gradient(90deg, rgba(0, 0, 0, .1) 0px, rgba(0, 0, 0, .1) 1px, transparent 1px, transparent 50px),
        linear-gradient(0deg, rgba(0, 0, 0, .1) 0px, rgba(0, 0, 0, .1) 1px, transparent 1px, transparent 50px);
    border: 3px solid #333;
    box-shadow: inset 0 0 5px #000;
    padding: 10px;
    position: relative;
}

.military-crate::after {
    content: "TACTICAL SUPPLY";
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 10px;
    color: #666;
    letter-spacing: 1px;
    transform: rotate(2deg);
}

/* UTILITY STYLES */
.blink {
    animation: blink 1s steps(2, start) infinite;
}

@keyframes blink {
    to {
        visibility: hidden;
    }
}

.warning-stripe {
    background: repeating-linear-gradient(45deg,
            #ff0 0px,
            #ff0 10px,
            #000 10px,
            #000 20px);
    height: 15px;
    margin: 10px 0;
}

/* MEDIA QUERIES */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }

    .sidebar {
        margin-left: 0;
        margin-top: 20px;
    }

    .header h1 {
        font-size: 1.8em;
    }
}

/* MEDIA QUERIES - RESPONSIVIDADE MOBILE */
@media (max-width: 768px) {
    body {
        font-size: 12px;
    }
    
    .container {
        padding: 15px;
        width: 100%;
        margin: 0;
    }
    
    .header h1 {
        font-size: 1.5em;
        line-height: 1.2;
    }
    
    .header h2 {
        font-size: 1em;
    }
    
    .nav {
        flex-direction: column;
    }
    
    .nav a {
        padding: 8px 0;
        border-right: none;
        border-bottom: 1px solid #666;
    }
    
    .main-content {
        flex-direction: column;
    }
    
    .sidebar {
        margin-left: 0;
        margin-top: 20px;
    }
    
    .item-content {
        flex-direction: column;
    }
    
    .item-image {
        width: 100%;
        height: 200px;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .item-image img {
        object-fit: cover;
    }
    
    .glow-heading {
        font-size: 1.4em;
        text-align: center;
    }
    
    .modal-content {
        width: 95%;
        margin: 10px;
        padding: 15px;
    }
    
    .modal-title {
        font-size: 1.2em;
    }
    
    .chat-system {
        height: 150px;
    }
    
    .ascii-art {
        font-size: 8px;
        overflow-x: auto;
    }
    
    .win98-content {
        padding: 8px;
        font-size: 11px;
    }
    
    .quote-item label {
        width: 100%;
        display: block;
        margin-bottom: 5px;
    }
    
    .quote-item span {
        display: block;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 11px;
    }
    
    .container {
        padding: 10px;
    }
    
    .header {
        padding: 8px;
    }
    
    .header h1 {
        font-size: 1.2em;
    }
    
    .header h2 {
        font-size: 0.9em;
    }
    
    .item {
        padding: 8px;
    }
    
    .item h3 {
        font-size: 1.1em;
    }
    
    .item-image {
        height: 150px;
    }
    
    .order-btn {
        width: 100%;
        padding: 8px;
        font-size: 0.9em;
    }
    
    .sidebar {
        padding: 10px;
    }
    
    .sidebar h3 {
        font-size: 1em;
    }
    
    .news-item {
        font-size: 0.8em;
    }
    
    .footer {
        font-size: 0.7em;
        padding-top: 10px;
    }
    
    .nav a {
        font-size: 0.9em;
        padding: 10px 0;
    }
    
    .glow-heading {
        font-size: 1.2em;
    }
}

/* Correção para evitar quebra de layout em telas muito pequenas */
@media (max-width: 320px) {
    .container {
        padding: 5px;
    }
    
    .header h1 {
        font-size: 1em;
    }
    
    .item-image {
        height: 120px;
    }
    
    .modal-content {
        margin: 5px;
        padding: 10px;
    }
}

/* Melhorias de toque para dispositivos móveis */
@media (hover: none) and (pointer: coarse) {
    .item {
        cursor: pointer;
    }
    
    .order-btn {
        min-height: 44px; /* Tamanho mínimo para toque */
    }
    
    .nav a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Prevenir zoom em inputs em iOS */
@media screen and (max-width: 768px) {
    input, select, textarea {
        font-size: 16px; /* Previne zoom no iOS */
    }
}

/* Ajustes específicos para orientação landscape em mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .container {
        padding: 10px;
    }
    
    .item-image {
        height: 120px;
    }
    
    .header h1 {
        font-size: 1.3em;
    }
}

/* Melhorar legibilidade do texto em mobile */
@media (max-width: 768px) {
    .item p {
        line-height: 1.5;
        margin-bottom: 8px;
    }
    
    .bold-text {
        font-weight: bold;
        color: #ff6600;
    }
    
    .neon-text {
        font-size: 1.1em;
        text-shadow: 0 0 5px #fff, 0 0 10px #0073e6;
    }
}

/* Ajustes para o modal em mobile */
@media (max-width: 768px) {
    .modal {
        padding: 10px;
    }
    
    .modal-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .modal-title {
        margin-bottom: 10px;
    }
    
    .close-btn {
        align-self: flex-end;
        margin-top: -40px;
    }
}

/* Correção para elementos com position fixed em mobile */
@media (max-width: 768px) {
    .scanner-line,
    .video-overlay,
    .fractal-overlay {
        position: absolute;
    }
}


        /* ESTILOS PARA O SISTEMA DE ABAS */
        .tab-content {
            display: none;
            animation: fadeIn 0.5s ease-in;
        }
        
        .tab-content.active {
            display: block;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        .welcome-section {
            text-align: center;
            padding: 40px 20px;
            background: rgba(10, 10, 10, 0.8);
            border: 1px solid #333;
            margin-bottom: 30px;
        }
        
        .welcome-title {
            color: #33ff33;
            font-size: 2.2em;
            margin-bottom: 20px;
            text-shadow: 0 0 10px rgba(51, 255, 51, 0.5);
        }
        
        .welcome-text {
            color: #ccc;
            line-height: 1.6;
            max-width: 800px;
            margin: 0 auto 25px;
            font-size: 1.1em;
        }
        
        .warning-box {
            background: rgba(255, 51, 51, 0.1);
            border: 1px solid #ff3333;
            padding: 20px;
            margin: 20px auto;
            max-width: 700px;
            text-align: center;
        }
        
        .about-section {
            padding: 30px;
            background: rgba(20, 20, 20, 0.8);
            border: 1px solid #444;
            margin-top: 20px;
        }
        
        .creator-info {
            display: flex;
            align-items: center;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }
        
        .creator-avatar {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            background: #333;
            margin-right: 30px;
            border: 3px solid #33ff33;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2em;
            color: #33ff33;
        }
        
        .creator-details {
            flex: 1;
            min-width: 250px;
        }
        
        .project-info {
            background: rgba(30, 30, 30, 0.8);
            padding: 20px;
            border-left: 5px solid #ff6600;
            margin-top: 20px;
        }
        
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }
        
        .stat-card {
            background: rgba(30, 30, 30, 0.8);
            border: 1px solid #444;
            padding: 20px;
            text-align: center;
            transition: all 0.3s;
        }
        
        .stat-card:hover {
            border-color: #33ff33;
            transform: translateY(-5px);
        }
        
        .stat-number {
            font-size: 2.5em;
            color: #ff6600;
            font-weight: bold;
            margin-bottom: 10px;
        }
        
        .stat-label {
            color: #33ff33;
            text-transform: uppercase;
            font-size: 0.9em;
            letter-spacing: 1px;
        }
        
        .disclaimer {
            font-size: 0.9em;
            color: #666;
            text-align: center;
            margin-top: 40px;
            font-style: italic;
        }
  
        
    .install-btn {
        background: linear-gradient(45deg, #ff3333, #ff6666);
        color: white;
        border: none;
        padding: 12px 20px;
        border-radius: 25px;
        cursor: pointer;
        font-size: 14px;
        font-weight: bold;
        margin: 10px;
        box-shadow: 0 4px 15px rgba(255, 51, 51, 0.3);
        transition: all 0.3s ease;
        display: none;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 10000;
        font-family: Arial, sans-serif;
        
        /* Melhorias para mobile */
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .install-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 51, 51, 0.4);
        background: linear-gradient(45deg, #ff6666, #ff3333);
    }

    .install-btn:active {
        transform: translateY(0);
    }

    /* Mobile-first: botão maior em telas pequenas */
    @media (max-width: 768px) {
        .install-btn {
            padding: 14px 22px;
            font-size: 16px;
            top: 15px;
            right: 15px;
        }
    }

    /* Esconder em desktop se não for PWA suportado */
    @media (min-width: 1024px) {
        .install-btn {
            /* O navegador decide mostrar baseado no beforeinstallprompt */
        }
    }

    @keyframes pulse {
        0% { transform: scale(1); box-shadow: 0 4px 15px rgba(255, 51, 51, 0.3); }
        50% { transform: scale(1.05); box-shadow: 0 6px 20px rgba(255, 51, 51, 0.5); }
        100% { transform: scale(1); box-shadow: 0 4px 15px rgba(255, 51, 51, 0.3); }
    }

    .header {
        position: relative;
        z-index: 9999;
    }
   