
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Arial', sans-serif;
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
           
            overflow: hidden;

            user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
        }
        .game-container {
            width: 100vw;   /* Ocupa 100% da largura da tela */
            height: 100vh;  /* Ocupa 100% da altura da tela */
            background-color: rgba(10, 10, 10, 0.95);
            background-image: url('img/fundoPreto.jpg');
            border-radius: 0;  /* Remove bordas arredondadas para ocupar toda a tela */
            padding: 24px;
            box-shadow: none;  /* Remove sombras desnecessárias */
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center; /* Centraliza os elementos */
            position: fixed;  /* Garante que ocupa a tela inteira */
            top: 0;
            left: 0;
            overflow: hidden;
        }
        
        
        .square {
            width: 92px;
            height: 85px;
            background-color: rgba(40, 40, 40, 0.9);
            border: 2px solid rgba(255, 255, 255, 0.15);
            border-radius: 12px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 28px;
            font-weight: bold;
            color: rgba(255, 255, 255, 0.4);
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            margin: 2px;
            position: relative;
            z-index: 2;
        }
        
        .square.active {
            color: #fff;
            text-shadow: 0 0 20px currentColor;
            box-shadow: 0 0 40px currentColor;
            border-color: transparent;
            transform: scale(1.15);
        }
        
        .square.correct {
            color: rgba(255, 255, 255, 0.3);
        }
        
        .double {
            display: flex;
            justify-content: space-between;
            width: 150px;
        }
        
        .single {
            display: flex;
            justify-content: center;
            width: 150px;
        }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.25); }
            100% { transform: scale(1.15); }
        }
        
        .pulse {
            animation: pulse 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        
        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-10px); }
            75% { transform: translateX(10px); }
        }
        
        .shake {
            animation: shake 0.4s ease;
        }
        
        .progress-container {
            width: 100%;
            height: 12px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 6px;
            margin-bottom: 20px;
            overflow: hidden;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
            position: relative;
        }
        
        .progress-bar {
            height: 100%;
            background: linear-gradient(90deg, #ff00ff, #00ffff, #ffff00);
            width: 0%;
            transition: width 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: 0 0 20px rgba(255, 0, 255, 0.7);
            position: relative;
            overflow: hidden;
        }
        
        .progress-bar::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(
                90deg,
                rgba(255, 255, 255, 0) 0%,
                rgba(255, 255, 255, 0.6) 50%,
                rgba(255, 255, 255, 0) 100%
            );
            animation: progressShine 2s infinite linear;
        }
        
        @keyframes progressShine {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }
        
        @keyframes ripple {
            0% { transform: scale(0); opacity: 1; }
            100% { transform: scale(15); opacity: 0; }
        }
        
        .ripple {
            position: absolute;
            border-radius: 50%;
            background: radial-gradient(circle, currentColor 0%, transparent 70%);
            transform: scale(0);
            pointer-events: none;
            z-index: 1;
            animation: ripple 1.5s ease-out;
        }
        
        @keyframes spark {
            0% { transform: translate(0, 0) scale(0); opacity: 1; }
            100% { transform: translate(var(--tx), var(--ty)) scale(1); opacity: 0; }
        }
        
        .spark {
            position: absolute;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            pointer-events: none;
            z-index: 3;
            animation: spark 1s ease-out;
            box-shadow: 0 0 10px currentColor;
        }
        
        @keyframes completePulse {
            0%, 100% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.8); opacity: 0.7; }
        }
        
        .complete {
            animation: completePulse 0.6s ease 3;
        }
        
        .celebration {
            position: absolute;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 10;
            background: radial-gradient(circle at center, transparent 0%, rgba(255,255,255,0.2) 100%);
            opacity: 0;
            transition: opacity 0.5s ease;
        }
        
        .progress-number {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            color: white;
            font-size: 12px;
            font-weight: bold;
            text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
        }

/* Quadrados médios (2x tamanho original) */
.square[data-number="2"],
.square[data-number="3"],
.square[data-number="5"],
.square[data-number="6"],
.square[data-number="8"],
.square[data-number="9"] {
    width: 180px;  /* 2x90px */
    height: 70px; /* ~2x85px */
    font-size: 30px; /* 2x28px */
    margin: 4px;   /* 2x2px */
}

/* Containers para quadrados normais (mantidos) */
.double {
    display: flex;
    justify-content: space-between;
    width: 184px; /* (90x2) + (2x2) */
    margin: 2px 0;
}

.single {
    display: flex;
    justify-content: center;
    width: 94px; /* 90 + (2x2) */
    margin: 2px 0;
}

/* NOVO: Containers para quadrados médios */
.double-medium {
    display: flex;
    justify-content: space-between;
    width: 368px; /* (180x2) + (4x2) */
    margin: 4px 0;
}

/* [Mantém todas as outras regras de animações e efeitos] */


/* Adicione no seu CSS existente */
.star {
    position: absolute;
    width: 80px;
    height: 80px;
    background-color: #fff;
    clip-path: polygon(
        50% 0%, 61% 35%, 98% 35%, 68% 57%, 
        79% 91%, 50% 70%, 21% 91%, 32% 57%, 
        2% 35%, 39% 35%
    );
    transform: scale(0.8);
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 1;
    animation: starPulse 8s infinite alternate;
}

@keyframes starPulse {
    0% { transform: scale(0.8); opacity: 0.7; }
    100% { transform: scale(1.1); opacity: 1; }
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    animation: particleExplode 0.8s ease-out forwards;
}

@keyframes particleExplode {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(0);
        opacity: 0;
    }
}
/* Cometa */
.comet {
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 80%);
    border-radius: 50%;
    transform-origin: left center;
    z-index: 1;
    pointer-events: none;
}

.comet::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    transform: translate(50%, -50%);
    box-shadow: 0 0 15px white;
}

/* Media Query para telas menores que 768px (dispositivos móveis) */
@media (max-width: 768px) {
    .game-container {
        padding: 10px;
    }
    
    /* Ajuste dos quadrados para mobile */
    .square {
        width: 70px;
        height: 65px;
        font-size: 22px;
        margin: 1px;
        border-radius: 8px;
    }
    
    /* Ajuste dos quadrados médios */
    .square[data-number="2"],
    .square[data-number="3"],
    .square[data-number="5"],
    .square[data-number="6"],
    .square[data-number="8"],
    .square[data-number="9"] {
        width: 140px;
        height: 55px;
        font-size: 24px;
        margin: 2px;
    }
    
    /* Ajuste dos containers */
    .double {
        width: 144px;
    }
    
    .single {
        width: 74px;
    }
    
    .double-medium {
        width: 284px;
    }
    
    /* Ajuste da barra de progresso */
    .progress-container {
        height: 8px;
        margin-bottom: 15px;
    }
    
    /* Reduzir efeitos visuais para melhor performance */
    .square.active {
        transform: scale(1.1);
        box-shadow: 0 0 20px currentColor;
    }
    
    /* Ajustar animações para mobile */
    @keyframes pulse {
        0% { transform: scale(1); }
        50% { transform: scale(1.15); }
        100% { transform: scale(1.1); }
    }
    
    /* Otimizar elementos decorativos */
    .star {
        width: 70px;
        height: 70px;
    }
    
    .comet {
        width: 50px;
        height: 2px;
    }
    
    .comet::after {
        width: 12px;
        height: 12px;
    }
}

/* Media Query para telas muito pequenas (menores que 480px) */
@media (max-width: 480px) {
    .square {
        width: 60px;
        height: 55px;
        font-size: 20px;
    }
    
    .square[data-number="2"],
    .square[data-number="3"],
    .square[data-number="5"],
    .square[data-number="6"],
    .square[data-number="8"],
    .square[data-number="9"] {
        width: 120px;
        height: 45px;
        font-size: 22px;
    }
    
    .double {
        width: 124px;
    }
    
    .single {
        width: 64px;
    }
    
    .double-medium {
        width: 244px;
    }
    
    /* Reduzir ainda mais efeitos visuais */
    .square.active {
        transform: scale(1.05);
        box-shadow: 0 0 10px currentColor;
    }
    
    /* Remover alguns efeitos para melhor performance */
    .progress-bar::after {
        animation: none;
    }
    
    .star, .comet {
        display: none;
    }
}