/*
Theme Name: (Ergonomia - atual corrigido)
*/
*{ font-family: "Inter", sans-serif;}
body{display: flex;min-height: 100vh;flex-direction: column;background-color: #d3eff0;}
.container{width: 100%!important;padding: 0 2rem!important;}
main{flex: 1 0 auto;padding: 20px 0;}
nav ul li a{color: #000!important;}
/* nav{position: relative;width: 100%;z-index: 1;border-bottom: 1px solid #fff3;} */
.sidenav li{float: none!important;}
ul{padding: 0;margin: 0;list-style: none;}
.modal-close{position: absolute;top: 0;right: 0;background-color: #323f3c;color: #f9fafb;}
h1,h2,h3,h4,h5,h6,p,ul li a,a,span,label,small,input,figcaption{ font-family: "Inter", sans-serif;}
.banner-top img{display: block;}
.five-grid{display: grid;grid-template-columns: repeat(5,1fr);grid-gap: 1rem;}
.five-grid a{width: 100%;}
.five-grid a img{display: block;width: 100%;}
.mejs-overlay-button,.mejs-controls{display: none!important;}
.wp-video{pointer-events: none!important;}
.space-top{padding-top: 70px;}
.date-info{border: 1px solid rgba(16 18 27 / 40%);display: flex;padding: 20px;border-radius: 4px;margin-top: 70px;align-items: center;}
.date-info .calendar {background-color: #323f3c;padding: 10px;color: #f9fafb;}
.date-info h4{margin: 0;}
.atracao {display: flex;justify-content: space-between;padding: 20px;background: #323f3c;border-radius: 4px;color: #f9fafb;}
.video-box{margin-top: 10px;}
.data-liberacao{font-size: 2rem;}
/* Modern Login Page Styles */
.page-login {
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
    padding: 80px 0 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    justify-content: center;
}
.page-login .container {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(44, 62, 80, 0.18), 0 1.5px 8px rgba(44,62,80,0.08);
    padding: 2.5rem 2.2rem 2rem 2.2rem !important;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.page-login .container span {
    color: #323f3c !important;
    font-size: 0.98rem;
    opacity: 0.85;
}
.page-login img.responsive-img {
    max-width: 180px;
    margin-bottom: 18px;
    margin-top: 10px;
}
.page-login form {
    width: 100%;
    margin-top: 10px;
}
.page-login .content {
    width: 100%;
}
.page-login .erro-main {
    background: #ffeaea;
    color: #c62828;
    border-radius: 8px;
    padding: 10px 0 10px 0;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 1.01rem;
    text-align: center;
    letter-spacing: 0.2px;
}
.page-login .input-field {
    margin-bottom: 18px;
    position: relative;
}
.page-login .input-field i.prefix {
    color: #0288d1;
    font-size: 1.2rem;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}
.page-login .input-field input[type="text"],
.page-login .input-field input[type="password"] {
    width: 100%;
    padding: 14px 14px 14px 38px;
    border: 1.5px solid #e0e4ea;
    border-radius: 8px;
    background: #f7fafc;
    font-size: 1.08rem;
    color: #222;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
    box-shadow: none;
}
.page-login .input-field input[type="text"]:focus,
.page-login .input-field input[type="password"]:focus {
    border: 1.5px solid #0288d1;
    background: #fff;
    box-shadow: 0 2px 8px rgba(2,136,209,0.08);
}
.page-login .input-field label {
    color: #7a8a9a;
    font-size: 1rem;
    left: 38px;
    top: 10px;
    pointer-events: none;
    transition: 0.2s;
}
.page-login .input-field input:focus + label,
.page-login .input-field input:not(:placeholder-shown) + label {
    color: #0288d1;
    font-weight: 600;
}
.page-login [type=submit] {
    background: linear-gradient(135deg, #4fc3f7, #0288d1);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 16px 0;
    font-size: 1.13rem;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
    box-shadow: 0 4px 16px rgba(2,136,209,0.13);
    letter-spacing: 1px;
    transition: background 0.2s, box-shadow 0.2s;
}
.page-login [type=submit]:hover {
    background: linear-gradient(135deg, #29b6f6, #0277bd);
    box-shadow: 0 6px 24px rgba(2,136,209,0.18);
}
.page-login .line {
    margin-bottom: 10px;
}
.page-login .input-field input[type="text"],
.page-login .input-field input[type="password"] {
    box-sizing: border-box;
}
.page-login .input-field input[type="text"]::-webkit-input-placeholder,
.page-login .input-field input[type="password"]::-webkit-input-placeholder {
    color: #b0b8c1;
    opacity: 1;
}
.page-login .input-field input[type="text"]::-moz-placeholder,
.page-login .input-field input[type="password"]::-moz-placeholder {
    color: #b0b8c1;
    opacity: 1;
}
.page-login .input-field input[type="text"]:-ms-input-placeholder,
.page-login .input-field input[type="password"]:-ms-input-placeholder {
    color: #b0b8c1;
    opacity: 1;
}
.page-login .input-field input[type="text"]::placeholder,
.page-login .input-field input[type="password"]::placeholder {
    color: #b0b8c1;
    opacity: 1;
}
.page-login .input-field input[type="text"]:disabled,
.page-login .input-field input[type="password"]:disabled {
    background: #f0f0f0;
    color: #b0b8c1;
}
.page-login .input-field input[type="text"]::-ms-reveal,
.page-login .input-field input[type="password"]::-ms-reveal {
    display: none;
}
.page-login .input-field input[type="text"]::-webkit-contacts-auto-fill-button,
.page-login .input-field input[type="password"]::-webkit-contacts-auto-fill-button {
    visibility: hidden;
    display: none !important;
}
.page-login .input-field input[type="text"]::-webkit-credentials-auto-fill-button,
.page-login .input-field input[type="password"]::-webkit-credentials-auto-fill-button {
    visibility: hidden;
    display: none !important;
}
.page-login .input-field input[type="text"]::-webkit-input-placeholder,
.page-login .input-field input[type="password"]::-webkit-input-placeholder {
    color: #b0b8c1;
}
.page-login .input-field input[type="text"]::-moz-placeholder,
.page-login .input-field input[type="password"]::-moz-placeholder {
    color: #b0b8c1;
}
.page-login .input-field input[type="text"]:-ms-input-placeholder,
.page-login .input-field input[type="password"]:-ms-input-placeholder {
    color: #b0b8c1;
}
.page-login .input-field input[type="text"]::placeholder,
.page-login .input-field input[type="password"]::placeholder {
    color: #b0b8c1;
}
.page-login .input-field input[type="text"]:focus,
.page-login .input-field input[type="password"]:focus {
    background: #fff;
    border-color: #0288d1;
}
.page-login .input-field input[type="text"]:hover,
.page-login .input-field input[type="password"]:hover {
    border-color: #4fc3f7;
}
.page-login .input-field input[type="text"]:active,
.page-login .input-field input[type="password"]:active {
    border-color: #0288d1;
}
.page-login .input-field input[type="text"]:disabled,
.page-login .input-field input[type="password"]:disabled {
    background: #f0f0f0;
    color: #b0b8c1;
}
.page-login .input-field input[type="text"]::-ms-reveal,
.page-login .input-field input[type="password"]::-ms-reveal {
    display: none;
}
.page-login .input-field input[type="text"]::-webkit-contacts-auto-fill-button,
.page-login .input-field input[type="password"]::-webkit-contacts-auto-fill-button {
    visibility: hidden;
    display: none !important;
}
.page-login .input-field input[type="text"]::-webkit-credentials-auto-fill-button,
.page-login .input-field input[type="password"]::-webkit-credentials-auto-fill-button {
    visibility: hidden;
    display: none !important;
}
.page-login .input-field input[type="text"]::-webkit-input-placeholder,
.page-login .input-field input[type="password"]::-webkit-input-placeholder {
    color: #b0b8c1;
}
.page-login .input-field input[type="text"]::-moz-placeholder,
.page-login .input-field input[type="password"]::-moz-placeholder {
    color: #b0b8c1;
}
.page-login .input-field input[type="text"]:-ms-input-placeholder,
.page-login .input-field input[type="password"]:-ms-input-placeholder {
    color: #b0b8c1;
}
.page-login .input-field input[type="text"]::placeholder,
.page-login .input-field input[type="password"]::placeholder {
    color: #b0b8c1;
}
.page-login .input-field input[type="text"]:focus,
.page-login .input-field input[type="password"]:focus {
    background: #fff;
    border-color: #0288d1;
}
.page-login .input-field input[type="text"]:hover,
.page-login .input-field input[type="password"]:hover {
    border-color: #4fc3f7;
}
.page-login .input-field input[type="text"]:active,
.page-login .input-field input[type="password"]:active {
    border-color: #0288d1;
}
.page-login .input-field input[type="text"]:disabled,
.page-login .input-field input[type="password"]:disabled {
    background: #f0f0f0;
    color: #b0b8c1;
}
.page-login .input-field input[type="text"]::-ms-reveal,
.page-login .input-field input[type="password"]::-ms-reveal {
    display: none;
}
.page-login .input-field input[type="text"]::-webkit-contacts-auto-fill-button,
.page-login .input-field input[type="password"]::-webkit-contacts-auto-fill-button {
    visibility: hidden;
    display: none !important;
}
.page-login .input-field input[type="text"]::-webkit-credentials-auto-fill-button,
.page-login .input-field input[type="password"]::-webkit-credentials-auto-fill-button {
    visibility: hidden;
    display: none !important;
}
.page-login .input-field input[type="text"]::-webkit-input-placeholder,
.page-login .input-field input[type="password"]::-webkit-input-placeholder {
    color: #b0b8c1;
}
.page-login .input-field input[type="text"]::-moz-placeholder,
.page-login .input-field input[type="password"]::-moz-placeholder {
    color: #b0b8c1;
}
.page-login .input-field input[type="text"]:-ms-input-placeholder,
.page-login .input-field input[type="password"]:-ms-input-placeholder {
    color: #b0b8c1;
}
.page-login .input-field input[type="text"]::placeholder,
.page-login .input-field input[type="password"]::placeholder {
    color: #b0b8c1;
}
.page-login .input-field input[type="text"]:focus,
.page-login .input-field input[type="password"]:focus {
    background: #fff;
    border-color: #0288d1;
}
.page-login .input-field input[type="text"]:hover,
.page-login .input-field input[type="password"]:hover {
    border-color: #4fc3f7;
}
.page-login .input-field input[type="text"]:active,
.page-login .input-field input[type="password"]:active {
    border-color: #0288d1;
}
.page-login .input-field input[type="text"]:disabled,
.page-login .input-field input[type="password"]:disabled {
    background: #f0f0f0;
    color: #b0b8c1;
}
.page-login .input-field input[type="text"]::-ms-reveal,
.page-login .input-field input[type="password"]::-ms-reveal {
    display: none;
}
.page-login .input-field input[type="text"]::-webkit-contacts-auto-fill-button,
.page-login .input-field input[type="password"]::-webkit-contacts-auto-fill-button {
    visibility: hidden;
    display: none !important;
}
.page-login .input-field input[type="text"]::-webkit-credentials-auto-fill-button,
.page-login .input-field input[type="password"]::-webkit-credentials-auto-fill-button {
    visibility: hidden;
    display: none !important;
}
.page-login .input-field input[type="text"]::-webkit-input-placeholder,
.page-login .input-field input[type="password"]::-webkit-input-placeholder {
    color: #b0b8c1;
}
.page-login .input-field input[type="text"]::-moz-placeholder,
.page-login .input-field input[type="password"]::-moz-placeholder {
    color: #b0b8c1;
}
.page-login .input-field input[type="text"]:-ms-input-placeholder,
.page-login .input-field input[type="password"]:-ms-input-placeholder {
    color: #b0b8c1;
}
.page-login .input-field input[type="text"]::placeholder,
.page-login .input-field input[type="password"]::placeholder {
    color: #b0b8c1;
}
.page-login .input-field input[type="text"]:focus,
.page-login .input-field input[type="password"]:focus {
    background: #fff;
    border-color: #0288d1;
}
.page-login .input-field input[type="text"]:hover,
.page-login .input-field input[type="password"]:hover {
    border-color: #4fc3f7;
}
.page-login .input-field input[type="text"]:active,
.page-login .input-field input[type="password"]:active {
    border-color: #0288d1;
}
.page-login .input-field input[type="text"]:disabled,
.page-login .input-field input[type="password"]:disabled {
    background: #f0f0f0;
    color: #b0b8c1;
}
.page-login .input-field input[type="text"]::-ms-reveal,
.page-login .input-field input[type="password"]::-ms-reveal {
    display: none;
}
.page-login .input-field input[type="text"]::-webkit-contacts-auto-fill-button,
.page-login .input-field input[type="password"]::-webkit-contacts-auto-fill-button {
    visibility: hidden;
    display: none !important;
}
.page-login .input-field input[type="text"]::-webkit-credentials-auto-fill-button,
.page-login .input-field input[type="password"]::-webkit-credentials-auto-fill-button {
    visibility: hidden;
    display: none !important;
}
.page-login .input-field input[type="text"]::-webkit-input-placeholder,
.page-login .input-field input[type="password"]::-webkit-input-placeholder {
    color: #b0b8c1;
}
.page-login .input-field input[type="text"]::-moz-placeholder,
.page-login .input-field input[type="password"]::-moz-placeholder {
    color: #b0b8c1;
}
.page-login .input-field input[type="text"]:-ms-input-placeholder,
.page-login .input-field input[type="password"]:-ms-input-placeholder {
    color: #b0b8c1;
}
.page-login .input-field input[type="text"]::placeholder,
.page-login .input-field input[type="password"]::placeholder {
    color: #b0b8c1;
}
.page-login .input-field input[type="text"]:focus,
.page-login .input-field input[type="password"]:focus {
    background: #fff;
    border-color: #0288d1;
}
.page-login .input-field input[type="text"]:hover,
.page-login .input-field input[type="password"]:hover {
    border-color: #4fc3f7;
}
.page-login .input-field input[type="text"]:active,
.page-login .input-field input[type="password"]:active {
    border-color: #0288d1;
}
.page-login .input-field input[type="text"]:disabled,
.page-login .input-field input[type="password"]:disabled {
    background: #f0f0f0;
    color: #b0b8c1;
}
.page-login .input-field input[type="text"]::-ms-reveal,
.page-login .input-field input[type="password"]::-ms-reveal {
    display: none;
}
.page-login .input-field input[type="text"]::-webkit-contacts-auto-fill-button,
.page-login .input-field input[type="password"]::-webkit-contacts-auto-fill-button {
    visibility: hidden;
    display: none !important;
}
.page-login .input-field input[type="text"]::-webkit-credentials-auto-fill-button,
.page-login .input-field input[type="password"]::-webkit-credentials-auto-fill-button {
    visibility: hidden;
    display: none !important;
}

/* Responsive adjustments for login */
@media (max-width: 600px) {
    .page-login {
        padding: 30px 0 20px 0;
        max-width: 100vw;
    }
    .page-login .container {
        padding: 1.2rem 0.7rem 1.2rem 0.7rem !important;
    }
    .page-login img.responsive-img {
        max-width: 120px;
    }
}
/* Digitar código */
form.space-top{padding-top: 20px;}
/* Bloco de questão */
.questao{background-color: #323f3c;padding: 20px;color: #fff;font-weight: 550;border-radius: 3px;}
.alternativa{font-weight: 550;color: #000;font-size: 1.1rem;letter-spacing: 1px;}
.box-codigo,.box-perguntas{display: none;}
.box-perguntas{padding: 50px 0;}
.box-perguntas.ativo{display: block;}
/* .box-perguntas.ativo,form.space-top{display:none!important;} */
.box-codigo p strong{font-weight: bold;font-size: 1.2rem;}
[type=submit]{background-color: #66bd39;color: #e2e8e8;border: none;padding: 20px;display: block;max-width: 220px;width: 100%;margin-top: 20px;}
[type=submit]:hover{cursor: pointer;}
/* .page-template-template-brindes .responsive-img{max-width: 350px;} */
/* Bloco de videos */
.video-box{max-width: 780px;width: 100%;}
.buttons-play-and-pause{display: flex;justify-content: start;gap: 0 40px;}
.buttons-play-and-pause p{height: 80px;width: 80px;background-color: #323f3c;color: #fff;display: grid;place-items: center;border-radius: 50px;}
.buttons-play-and-pause p:hover{cursor: pointer;}
.progress-bar{height: 10px;width: 100%;}
.progress-bar .line{height: 100%;}
/* CORRIGIDO: Regra removida — bloqueava as perguntas na quarta-feira via !important */
/* .term-quarta-feira .box-perguntas{display:none!important;} */
@media screen and (max-width:992px){
    .date-info h4{font-size: 1.1rem;}
    .five-grid{grid-template-columns: 1fr;}
}

/* =========================================================================
   SIMON SAYS GAME — Estilos completos do jogo
   ========================================================================= */

/* ------ Página principal do jogo ------ */
.simon-says-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0 60px;
}

/* ------ Cabeçalho do jogo ------ */
.simon-header {
    text-align: center;
    margin-bottom: 20px;
}

.simon-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #1a2332;
    margin: 0 0 5px;
    letter-spacing: -0.5px;
}

.simon-subtitle {
    font-size: 1.1rem;
    color: #5a6a7a;
    margin: 0;
}

/* ------ Seção de instruções ------ */
.simon-instructions {
    background: #ffffff;
    border: 1px solid #d1d9e0;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.simon-instructions h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a2332;
    margin: 0 0 12px;
}

.simon-instructions ol {
    padding-left: 20px;
    margin: 0 0 12px;
    list-style: decimal;
}

.simon-instructions ol li {
    font-size: 0.95rem;
    color: #3a4a5a;
    line-height: 1.7;
    list-style: decimal;
}

.simon-rules-note {
    font-size: 0.9rem;
    color: #c44;
    background: #fff5f5;
    border: 1px solid #fdd;
    border-radius: 8px;
    padding: 10px 14px;
    margin: 0;
}

/* ------ Barra de status (Tempo | Tentativa | Acertos) ------ */
.simon-status-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.simon-status-item {
    background: #1a2332;
    color: #f0f4f8;
    border-radius: 10px;
    padding: 14px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.simon-status-icon {
    font-size: 1.4rem;
}

.simon-status-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

.simon-status-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #4fc3f7;
}

/* ------ Mensagem de status dinâmica ------ */
.simon-status-message {
    text-align: center;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

/* Estados da mensagem */
.simon-status-info {
    background: #e8f4fd;
    color: #1565c0;
    border: 1px solid #90caf9;
}

.simon-status-watching {
    background: #fff8e1;
    color: #e65100;
    border: 1px solid #ffcc80;
    animation: pulse-border 1.5s ease-in-out infinite;
}

.simon-status-your-turn {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.simon-status-correct {
    background: #e0f7fa;
    color: #00838f;
    border: 1px solid #80deea;
}

.simon-status-game-over {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* Animação de borda pulsante (quando o sistema está exibindo a sequência) */
@keyframes pulse-border {
    0%, 100% { border-color: #ffcc80; }
    50% { border-color: #ff9800; box-shadow: 0 0 10px rgba(255,152,0,0.3); }
}

/* ------ Botão de iniciar ------ */
.simon-start-container {
    text-align: center;
    margin-bottom: 24px;
}

.simon-start-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #4fc3f7, #0288d1);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 14px 36px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(2,136,209,0.35);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.simon-start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(2,136,209,0.5);
    background: linear-gradient(135deg, #29b6f6, #0277bd);
}

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

/* ------ Wrapper do tabuleiro (fundo escuro) ------ */
.simon-board-wrapper {
    background: #2c2c2c;
    border-radius: 20px;
    padding: 40px 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ------ Tabuleiro do jogo (círculo 2x2) ------ */
.simon-game-board {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 6px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    overflow: hidden;
    background: #2c2c2c;
}

/* ------ Pads coloridos ------ */
.simon-pad {
    cursor: pointer;
    position: relative;
    transition: filter 0.15s ease, transform 0.1s ease;
}

/* ---- Cores dos pads (flat, vibrantes como na referência) ---- */
/* Verde — quadrante superior esquerdo */
.simon-pad-green {
    background: #00c853;
    border-top-left-radius: 100%;
}

/* Vermelho — quadrante superior direito */
.simon-pad-red {
    background: #ff1744;
    border-top-right-radius: 100%;
}

/* Amarelo — quadrante inferior esquerdo */
.simon-pad-yellow {
    background: #ffd600;
    border-bottom-left-radius: 100%;
}

/* Azul — quadrante inferior direito */
.simon-pad-blue {
    background: #2962ff;
    border-bottom-right-radius: 100%;
}

/* ---- Estado: pad ativo (iluminado / flash) ---- */
.simon-pad-green.simon-pad-active {
    background: #00ff6a;
    filter: brightness(1.6) saturate(1.4);
    box-shadow:
        0 0 30px #00ff6a,
        0 0 70px rgba(0,255,106,0.8),
        0 0 120px rgba(0,255,106,0.5),
        inset 0 0 50px rgba(255,255,255,0.35);
    animation: glow-flash-green 0.15s ease-out;
}

.simon-pad-red.simon-pad-active {
    background: #ff4444;
    filter: brightness(1.6) saturate(1.4);
    box-shadow:
        0 0 30px #ff4444,
        0 0 70px rgba(255,68,68,0.8),
        0 0 120px rgba(255,68,68,0.5),
        inset 0 0 50px rgba(255,255,255,0.35);
    animation: glow-flash-red 0.15s ease-out;
}

.simon-pad-yellow.simon-pad-active {
    background: #ffe000;
    filter: brightness(1.5) saturate(1.4);
    box-shadow:
        0 0 30px #ffe000,
        0 0 70px rgba(255,224,0,0.8),
        0 0 120px rgba(255,224,0,0.5),
        inset 0 0 50px rgba(255,255,255,0.35);
    animation: glow-flash-yellow 0.15s ease-out;
}

.simon-pad-blue.simon-pad-active {
    background: #3d8bff;
    filter: brightness(1.6) saturate(1.4);
    box-shadow:
        0 0 30px #3d8bff,
        0 0 70px rgba(61,139,255,0.8),
        0 0 120px rgba(61,139,255,0.5),
        inset 0 0 50px rgba(255,255,255,0.35);
    animation: glow-flash-blue 0.15s ease-out;
}

@keyframes glow-flash-green {
    from { box-shadow: 0 0 60px #00ff6a, 0 0 150px rgba(0,255,106,0.9), inset 0 0 80px rgba(255,255,255,0.5); filter: brightness(2) saturate(1.6); }
    to   { box-shadow: 0 0 30px #00ff6a, 0 0 70px  rgba(0,255,106,0.8), inset 0 0 50px rgba(255,255,255,0.35); filter: brightness(1.6) saturate(1.4); }
}
@keyframes glow-flash-red {
    from { box-shadow: 0 0 60px #ff4444, 0 0 150px rgba(255,68,68,0.9), inset 0 0 80px rgba(255,255,255,0.5); filter: brightness(2) saturate(1.6); }
    to   { box-shadow: 0 0 30px #ff4444, 0 0 70px  rgba(255,68,68,0.8), inset 0 0 50px rgba(255,255,255,0.35); filter: brightness(1.6) saturate(1.4); }
}
@keyframes glow-flash-yellow {
    from { box-shadow: 0 0 60px #ffe000, 0 0 150px rgba(255,224,0,0.9), inset 0 0 80px rgba(255,255,255,0.5); filter: brightness(2) saturate(1.6); }
    to   { box-shadow: 0 0 30px #ffe000, 0 0 70px  rgba(255,224,0,0.8), inset 0 0 50px rgba(255,255,255,0.35); filter: brightness(1.5) saturate(1.4); }
}
@keyframes glow-flash-blue {
    from { box-shadow: 0 0 60px #3d8bff, 0 0 150px rgba(61,139,255,0.9), inset 0 0 80px rgba(255,255,255,0.5); filter: brightness(2) saturate(1.6); }
    to   { box-shadow: 0 0 30px #3d8bff, 0 0 70px  rgba(61,139,255,0.8), inset 0 0 50px rgba(255,255,255,0.35); filter: brightness(1.6) saturate(1.4); }
}

/* ---- Estado: pad desabilitado ---- */
.simon-pad-disabled {
    pointer-events: none;
    opacity: 0.80;
/*     filter: brightness(0.75) saturate(0.8); */
}

/* ---- Hover nos pads (quando habilitados) ---- */
.simon-pad:not(.simon-pad-disabled):hover {
    filter: brightness(1.15);
}

.simon-pad:not(.simon-pad-disabled):active {
    filter: brightness(1.35);
}

/* ------ Círculo central do tabuleiro (score) ------ */
.simon-center-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: #2c2c2c;
    border-radius: 50%;
    display: grid;
    place-items: center;
    z-index: 2;
    box-shadow: 0 0 0 6px #2c2c2c;
}

.simon-center-circle span {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

/* ------ Informações do jogador ------ */
.simon-player-info {
    text-align: center;
    background: #f0f4f8;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: #3a4a5a;
}

/* ------ Seção de ranking ------ */
.simon-ranking-section {
    margin-top: 10px;
}

.simon-ranking-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a2332;
    text-align: center;
    margin-bottom: 16px;
}

.simon-ranking-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.simon-ranking-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.simon-ranking-table thead {
    background: #1a2332;
}

.simon-ranking-table thead th {
    color: #f0f4f8;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 16px;
    text-align: left;
}

.simon-ranking-table tbody tr {
    border-bottom: 1px solid #e8ecf0;
    transition: background 0.2s;
}

.simon-ranking-table tbody tr:last-child {
    border-bottom: none;
}

.simon-ranking-table tbody tr:hover {
    background: #f5f8fc;
}

.simon-ranking-table tbody td {
    padding: 12px 16px;
    font-size: 0.92rem;
    color: #2a3a4a;
}

.simon-rank-pos {
    font-size: 1.2rem;
    text-align: center;
    width: 50px;
}

.simon-rank-score {
    font-weight: 700;
    color: #0288d1;
}

/* ------ Overlay de jogo bloqueado ------ */
.simon-blocked-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26,35,50,0.9);
    backdrop-filter: blur(4px);
    border-radius: 16px;
    padding: 40px 30px;
    margin-bottom: 30px;
    text-align: center;
}

.simon-blocked-content {
    color: #f0f4f8;
}

.simon-blocked-icon {
    font-size: 3rem;
    color: #ef5350;
    margin-bottom: 16px;
}

.simon-blocked-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: #ef5350;
}

.simon-blocked-content p {
    font-size: 0.95rem;
    opacity: 0.85;
    margin: 5px 0;
}

/* ------ Modal de Game Over ------ */
.simon-gameover-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

/* Classe que torna o modal visível */
.simon-gameover-modal.simon-modal-visible {
    display: flex;
}

.simon-gameover-content {
    background: #fff;
    border-radius: 20px;
    padding: 40px 36px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modal-appear 0.4s ease;
}

@keyframes modal-appear {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.simon-gameover-content h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a2332;
    margin: 0 0 16px;
}

.simon-new-record {
    background: linear-gradient(135deg, #fff176, #ffb300);
    color: #5d4037;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 1rem;
    animation: glow-record 1.5s ease-in-out infinite;
}

@keyframes glow-record {
    0%, 100% { box-shadow: 0 0 10px rgba(255,179,0,0.3); }
    50% { box-shadow: 0 0 25px rgba(255,179,0,0.7); }
}

.simon-gameover-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.simon-gameover-stat {
    background: #f0f4f8;
    border-radius: 12px;
    padding: 16px 10px;
}

.simon-gameover-stat-label {
    display: block;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #7a8a9a;
    margin-bottom: 6px;
}

.simon-gameover-stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #1a2332;
}

/* ------ Responsivo — Mobile ------ */
@media screen and (max-width: 600px) {
    .simon-says-page {
        padding: 10px 0 40px;
    }

    .simon-title {
        font-size: 1.8rem;
    }

    .simon-game-board {
        width: 280px;
        height: 280px;
        gap: 5px;
    }

    .simon-center-circle {
        width: 70px;
        height: 70px;
    }

    .simon-center-circle span {
        font-size: 1.6rem;
    }

    .simon-status-bar {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .simon-status-item {
        padding: 10px 6px;
    }

    .simon-status-value {
        font-size: 1.2rem;
    }

    .simon-instructions {
        padding: 16px;
    }

    .simon-instructions ol li {
        font-size: 0.88rem;
    }

    .simon-gameover-content {
        padding: 28px 20px;
    }

    .simon-gameover-stat-value {
        font-size: 1.6rem;
    }

    .simon-ranking-table thead th,
    .simon-ranking-table tbody td {
        padding: 10px 10px;
        font-size: 0.82rem;
    }
}