/* Botão de voltar ao menu */
.back-to-menu-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.back-to-menu-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
    background: linear-gradient(135deg, #ff5252, #e53935);
}

.back-to-menu-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
}

body {
    font-family: 'Bungee', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    margin-top: 160px;
    background: #034ea0;
}

#game-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    min-height: 100vh;
    position: relative;
}

#logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

#iel-logo {
    height: 280px;
    width: auto;
    opacity: 0.8;
    filter: brightness(1.2);
}

#status-bar {
    color: #ffffff;
    font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.35);
    min-height: 0;
    background: rgba(255, 255, 255, 0.15);
    padding: 0 24px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: all 0.3s ease;
    margin-top: 120px;
}

#status-bar:not(:empty) {
    min-height: 40px;
    padding: 12px 24px;
    opacity: 1;
}

#game-container {
    display: grid;
    grid-template-columns: repeat(2, 280px);
    grid-template-rows: repeat(2, 280px);
    gap: 24px;
    padding: 24px;
    border-radius: 50%;
    background: transparent;
    position: relative;
}

.button {
    width: 280px;
    height: 280px;
    cursor: pointer;
    transition: transform 0.12s ease, filter 0.12s ease, box-shadow 0.12s ease;
    box-shadow: inset 0 -6px 0 rgba(0,0,0,0.15);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* raio suave adicional para cantos internos entre os quadrantes */
    --soft-radius: 16px;
}

#green {
    background-color: #2ecc70;
    border-top-left-radius: 100% 100%;
    border-top-right-radius: var(--soft-radius);
    border-bottom-left-radius: var(--soft-radius);
}

#red {
    background-color: #e74c3c;
    border-top-right-radius: 100% 100%;
    border-top-left-radius: var(--soft-radius);
    border-bottom-right-radius: var(--soft-radius);
}

#yellow {
    background-color: #f1c40f;
    border-bottom-left-radius: 100% 100%;
    border-top-left-radius: var(--soft-radius);
    border-bottom-right-radius: var(--soft-radius);
}

#blue {
    background-color: #3498db;
    border-bottom-right-radius: 100% 100%;
    border-top-right-radius: var(--soft-radius);
    border-bottom-left-radius: var(--soft-radius);
}

#start-btn {
    padding: 0;
    background: transparent;
    color: #ccc;
    border: none;
    cursor: pointer;
    font-size: 42px;
    border-radius: 0;
    box-shadow: none;
    letter-spacing: 0.5px;
    user-select: none;
    outline: none;
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

#start-btn.score-display {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    cursor: not-allowed;
    pointer-events: none;
    line-height: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.points-label {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.8;
    font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    margin-top: -2px;
}

#start-btn:hover {
    /* Remove hover do texto */
    opacity: 1;
}

#start-btn:active {
    transform: translateY(1px) scale(0.99);
}

#start-btn:focus-visible {
    box-shadow: 0 0 0 3px #0ea5e9, 0 0 0 6px rgba(14,165,233,0.3);
}

/* Animação de chamada para ação quando aguardando início */
.cta-pulse {
    animation: ctaPulse 1.3s ease-in-out infinite;
}

@keyframes ctaPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(56,189,248,0.45); }
    70% { transform: scale(1.04); box-shadow: 0 0 0 14px rgba(56,189,248,0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(56,189,248,0); }
}

/* Destaque ao clicar/tocar e durante a sequência */
.button.active,
.button:active {
    filter: brightness(1.5) saturate(1.15);
    transform: scale(1.03);
    box-shadow: 0 0 18px rgba(0,0,0,0.25), 0 0 24px rgba(255,255,255,0.12);
}

/* Bloqueia cliques durante a reprodução da sequência */
#game-container.disabled .button {
    pointer-events: none;
    cursor: default;
}

/* Progresso de acertos: borda verde interna */
.button.progress-ok::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: inherit;
    border: 4px solid #22c55e;
    box-shadow: 0 0 10px rgba(34,197,94,0.55);
    pointer-events: none;
}

.button .label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    color: #ffffff;
    font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-weight: 700;
    font-size: 24px;
    text-align: center;
    padding: 0 12px;
    letter-spacing: 0.5px;
    transform-origin: 50% 50%;
}

/* Rotação dos rótulos para acompanhar os quadrantes */
#green .label { transform: rotate(-35deg); }
#red .label { transform: rotate(35deg); }
#yellow .label { transform: rotate(35deg); }
#blue .label { transform: rotate(-35deg); }

/* Overlay de feedback rápido */
.effect-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    z-index: 9999;
    pointer-events: none;
    animation: effectFadeOut 0.2s ease 1s forwards;
}

.effect-message {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    padding: 1rem 1.5rem;
}

.effect-message.success {
    color: #22c55e;
    text-shadow: 0 0 10px #22c55e, 0 0 20px #16a34a;
    animation: effectPop 0.4s cubic-bezier(.68,-0.55,.27,1.55), effectPulse 0.8s 0.4s 1;
}

.effect-message.error {
    color: #ef4444;
    text-shadow: 0 0 10px #ef4444, 0 0 20px #b91c1c;
    animation: effectPop 0.4s cubic-bezier(.68,-0.55,.27,1.55), effectShake 0.4s 0.4s ease, effectPulseError 0.8s 0.4s 1;
}

@keyframes effectPop {
    0% { transform: scale(0.7); opacity: 0; }
    60% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes effectPulse {
    0% { transform: scale(1); text-shadow: 0 0 10px #22c55e, 0 0 20px #16a34a; }
    50% { transform: scale(1.05); text-shadow: 0 0 20px #22c55e, 0 0 40px #16a34a; }
    100% { transform: scale(1); text-shadow: 0 0 10px #22c55e, 0 0 20px #16a34a; }
}

@keyframes effectPulseError {
    0% { transform: scale(1); text-shadow: 0 0 10px #ef4444, 0 0 20px #b91c1c; }
    50% { transform: scale(1.05); text-shadow: 0 0 20px #ef4444, 0 0 40px #b91c1c; }
    100% { transform: scale(1); text-shadow: 0 0 10px #ef4444, 0 0 20px #b91c1c; }
}

@keyframes effectShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}
@keyframes effectFadeOut {
    to { opacity: 0; }
}

/* Centro do círculo */
#center {
    position: absolute;
    inset: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: #034ea0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0px solid #ffffff;
    cursor: pointer;
    transition: filter 0.12s ease, transform 0.12s ease;
    z-index: 10;
}

#center:hover {
    filter: brightness(1.1);
    transform: translate(-50%, -50%) scale(1.02);
}

#center::before {
    content: "";
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #07356c;
    position: absolute;
}

#center #start-btn {
    background: transparent;
    border: none;
    position: relative;
    z-index: 1;
    color: #ccc;
}

/* Contador */
.countdown {
    color: #e2e8f0;
    font-family: 'Bungee', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 200px;
    font-weight: 800;
    text-shadow: 0 10px 25px rgba(0,0,0,0.8);
    animation: countdownPop 0.3s ease-out;
}

/* Esconder botão de iniciar jogo */
#start-btn.hidden {
    display: none;
}

/* Modais do jogo */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.show {
  opacity: 1;
}

.game-modal {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  border-radius: 20px;
  padding: 0;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: scale(0.8);
  transition: transform 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.modal-overlay.show .game-modal {
  transform: scale(1);
}

.modal-content {
  padding: 40px 30px;
  text-align: center;
  color: white;
}

.modal-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.modal-content.victory .modal-icon svg {
  color: #fbbf24;
  filter: drop-shadow(0 4px 8px rgba(251, 191, 36, 0.3));
}

.modal-content.gameover .modal-icon svg {
  color: #ef4444;
  filter: drop-shadow(0 4px 8px rgba(239, 68, 68, 0.3));
}

.modal-title {
  font-family: 'Bungee', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 15px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.modal-message {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 25px 0;
  opacity: 0.9;
}

.score-display {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 20px;
  margin: 25px 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.score-label {
  display: block;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
  opacity: 0.8;
}

.score-value {
  display: block;
  font-family: 'Bungee', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #fbbf24;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.modal-button {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #1e3a8a;
  border: none;
  border-radius: 12px;
  padding: 15px 30px;
  font-family: 'Bungee', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modal-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(251, 191, 36, 0.4);
}

.modal-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

/* Media Query ampla para Tablets - iPad Air 5, iPad Pro, Samsung Galaxy Tab, etc. */
@media screen and (min-width: 570px) and (max-width: 1079px) {
  /* Ajustes gerais para Tablets */
  body {
    margin-top: 15px !important;
    padding: 0 !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  
  .back-to-menu-btn {
    top: 15px !important;
    left: 15px !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
  }
  
  #game-wrapper {
    gap: 20px !important;
    padding: 0 !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    margin-left: -40px !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  /* Game container para Tablets - TAMANHO ADEQUADO */
  body #game-wrapper #game-container {
    grid-template-columns: repeat(2, 200px) !important;
    grid-template-rows: repeat(2, 200px) !important;
    gap: 16px !important;
    padding: 16px !important;
    transform: scale(1) !important;
    margin: 0 auto !important;
    max-width: 450px !important;
    width: 450px !important;
    display: grid !important;
  }
  
  /* Botões do jogo para Tablets - TAMANHO ADEQUADO */
  body #game-wrapper .button {
    width: 200px !important;
    height: 200px !important;
    min-width: 200px !important;
    min-height: 200px !important;
    max-width: 200px !important;
    max-height: 200px !important;
  }
  
  #game-wrapper .button .label {
    font-size: 22px !important;
    padding: 0 12px !important;
  }
  
  /* Centro do círculo para Tablets - MOVENDO PARA ESQUERDA */
  body #game-wrapper #center {
    width: 200px !important;
    height: 200px !important;
    min-width: 200px !important;
    min-height: 200px !important;
    max-width: 200px !important;
    max-height: 200px !important;
    position: absolute !important;
    inset: 50% !important;
    transform: translate(-60%, -50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  
  body #game-wrapper #center::before {
    width: 140px !important;
    height: 140px !important;
  }
  
  /* Hover do centro para Tablet (575x767) - MANTÉM POSIÇÃO AJUSTADA */
  body #game-wrapper #center:hover {
    filter: brightness(1.1) !important;
    transform: translate(-60%, -50%) scale(1.02) !important;
  }
  
  /* Botão PLAY para Tablet (575x767) - CENTRALIZADO NO CÍRCULO */
  body #game-wrapper #center #start-btn {
    font-size: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    z-index: 1 !important;
    background: transparent !important;
    border: none !important;
    color: #ccc !important;
    cursor: pointer !important;
  }
  
  /* Sobrescrever CSS original específico */
  body #game-wrapper #center #start-btn {
    background: transparent !important;
    border: none !important;
    position: relative !important;
    z-index: 1 !important;
    color: #ccc !important;
  }
  
  body #game-wrapper #center #start-btn.score-display {
    font-size: 36px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    z-index: 1 !important;
    background: transparent !important;
    border: none !important;
  }
  
  body #game-wrapper .points-label {
    font-size: 12px !important;
  }
  
  /* Logo IEL para Tablet (575x767) - TAMANHO ADEQUADO */
  body #game-wrapper #iel-logo {
    height: 120px !important;
    max-height: 120px !important;
  }
  
  #logo-container {
    margin-top: 15px !important;
    margin-bottom: 15px !important;
    padding: 0 20px !important;
    text-align: center !important;
  }
  
  /* Status bar para Tablet (575x767) - PERFEITAMENTE CENTRALIZADA */
  #status-bar {
    font-size: 16px !important;
    padding: 0 20px !important;
    margin-top: 20px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  
  #status-bar:not(:empty) {
    padding: 10px 20px !important;
  }
  
  /* Contador para Tablet (575x767) - TAMANHO ADEQUADO */
  body #game-wrapper .countdown {
    font-size: 140px !important;
  }
}

/* Media Queries para Tablets - FORÇADA */
@media screen and (min-width: 500px) and (max-width: 1079px) {
  /* Ajustes gerais para tablets */
  body {
    margin-top: 40px !important;
    padding: 0 20px !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
  
  #game-wrapper {
    gap: 12px !important;
    padding: 0 60px !important;
    max-width: 400px !important;
    margin: 0 auto !important;
    width: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  
  /* Logo IEL para tablets - MUITO reduzido */
  #game-wrapper #iel-logo {
    height: 60px !important;
    max-height: 60px !important;
  }
  
  #logo-container {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    padding: 0 20px !important;
    text-align: center !important;
  }
  
  /* Status bar para tablets */
  #status-bar {
    font-size: 16px;
    padding: 0 16px;
    margin-top: 30px;
    margin-left: 40px !important;
    margin-right: 40px !important;
    max-width: 500px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  #status-bar:not(:empty) {
    padding: 8px 16px;
  }
  
  /* Game container para tablets - MUITO reduzido e centralizado */
  #game-wrapper #game-container {
    grid-template-columns: repeat(2, 80px) !important;
    grid-template-rows: repeat(2, 80px) !important;
    gap: 6px !important;
    padding: 6px !important;
    transform: scale(0.4) !important;
    margin: 0 auto !important;
    max-width: 200px !important;
    width: 200px !important;
    display: grid !important;
  }
  
  /* Botões do jogo para tablets - MUITO reduzidos */
  #game-wrapper .button {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    min-height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
  }
  
  #game-wrapper .button .label {
    font-size: 12px !important;
    padding: 0 5px !important;
  }
  
  /* Centro do círculo para tablets - MUITO reduzido */
  #game-wrapper #center {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    min-height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
  }
  
  #game-wrapper #center::before {
    width: 60px !important;
    height: 60px !important;
  }
  
  /* Botão PLAY para tablets - MUITO reduzido */
  #game-wrapper #start-btn {
    font-size: 14px !important;
  }
  
  #game-wrapper #start-btn.score-display {
    font-size: 16px !important;
  }
  
  #game-wrapper .points-label {
    font-size: 6px !important;
  }
  
  /* Contador para tablets - MUITO reduzido */
  #game-wrapper .countdown {
    font-size: 60px !important;
  }
  
  /* Modais para tablets */
  .game-modal {
    max-width: 500px;
    width: 80%;
  }
  
  .modal-content {
    padding: 30px 20px;
  }
  
  .modal-title {
    font-size: 26px;
  }
  
  .modal-message {
    font-size: 15px;
  }
  
  .score-value {
    font-size: 28px;
  }
  
  .modal-button {
    padding: 12px 24px;
    font-size: 15px;
  }
}

/* Responsividade para modais em dispositivos móveis */
@media (max-width: 767px) {
  .back-to-menu-btn {
    top: 10px !important;
    left: 10px !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
  }
  
  .game-modal {
    width: 95%;
    margin: 20px;
  }
  
  .modal-content {
    padding: 30px 20px;
  }
  
  .modal-title {
    font-size: 28px;
  }
  
  .modal-message {
    font-size: 16px;
  }
  
  .score-value {
    font-size: 28px;
  }
  
  .modal-button {
    padding: 12px 25px;
    font-size: 16px;
  }
}

/* ===========================================
   REGRAS PARA TELAS DE TV - PRODUÇÃO
   =========================================== */

/* Tela TV Horizontal: 1920x1080 */
@media screen and (min-width: 1920px) and (min-height: 1080px) {
  /* Ajustes gerais para TV horizontal */
  body {
    margin-top: 0 !important;
    padding: 0 !important;
    height: 100vh !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    background: #034ea0 !important;
  }
  
  .back-to-menu-btn {
    top: 40px !important;
    left: 40px !important;
    padding: 25px 45px !important;
    font-size: 32px !important;
    border-radius: 45px !important;
    z-index: 1000 !important;
  }
  
  #game-wrapper {
    gap: 40px !important;
    padding: 0 !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  /* Game container para TV horizontal - ESCALA MUITO AUMENTADA */
  #game-container {
    grid-template-columns: repeat(2, 600px) !important;
    grid-template-rows: repeat(2, 600px) !important;
    gap: 50px !important;
    padding: 50px !important;
    transform: scale(1) !important;
    margin: 0 auto !important;
    max-width: 1300px !important;
    width: 1300px !important;
    display: grid !important;
  }
  
  /* Botões do jogo para TV horizontal - ESCALA MUITO AUMENTADA */
  .button {
    width: 600px !important;
    height: 600px !important;
    min-width: 600px !important;
    min-height: 600px !important;
    max-width: 600px !important;
    max-height: 600px !important;
    --soft-radius: 35px !important;
  }
  
  .button .label {
    font-size: 48px !important;
    padding: 0 30px !important;
    font-weight: 700 !important;
  }
  
  /* Centro do círculo para TV horizontal - ESCALA MUITO AUMENTADA */
  #center {
    width: 600px !important;
    height: 600px !important;
    min-width: 600px !important;
    min-height: 600px !important;
    max-width: 600px !important;
    max-height: 600px !important;
    position: absolute !important;
    inset: 50% !important;
    transform: translate(-50%, -50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  #center::before {
    width: 420px !important;
    height: 420px !important;
  }
  
  /* Botão PLAY para TV horizontal - ESCALA MUITO AUMENTADA */
  #start-btn {
    font-size: 88px !important;
    font-weight: 800 !important;
    letter-spacing: 2px !important;
  }
  
  #start-btn.score-display {
    font-size: 98px !important;
    font-weight: 800 !important;
  }
  
  .points-label {
    font-size: 28px !important;
    font-weight: 500 !important;
  }
  
  /* Logo IEL para TV horizontal - ESCALA MUITO AUMENTADA */
  #iel-logo {
    height: 600px !important;
    max-height: 600px !important;
    width: auto !important;
    opacity: 0.8 !important;
    filter: brightness(1.2) !important;
  }
  
  #logo-container {
    margin-top: 80px !important;
    margin-bottom: 80px !important;
    padding: 0 50px !important;
    text-align: center !important;
  }
  
  /* Status bar para TV horizontal - ESCALA MUITO AUMENTADA */
  #status-bar {
    font-size: 48px !important;
    padding: 0 50px !important;
    margin-top: 50px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    border-radius: 50px !important;
    backdrop-filter: blur(20px) !important;
  }
  
  #status-bar:not(:empty) {
    padding: 25px 50px !important;
    min-height: 80px !important;
  }
  
  /* Contador para TV horizontal - ESCALA MUITO AUMENTADA */
  .countdown {
    font-size: 420px !important;
    font-weight: 800 !important;
    text-shadow: 0 20px 50px rgba(0,0,0,0.8) !important;
  }
  
  /* Modais para TV horizontal - ESCALA MUITO AUMENTADA */
  .game-modal {
    max-width: 1000px !important;
    width: 90% !important;
    border-radius: 40px !important;
    padding: 0 !important;
  }
  
  .modal-content {
    padding: 80px 70px !important;
  }
  
  .modal-title {
    font-size: 64px !important;
    margin: 0 0 35px 0 !important;
  }
  
  .modal-message {
    font-size: 36px !important;
    margin: 0 0 45px 0 !important;
  }
  
  .score-display {
    padding: 40px !important;
    margin: 45px 0 !important;
    border-radius: 25px !important;
  }
  
  .score-label {
    font-size: 32px !important;
    margin-bottom: 15px !important;
  }
  
  .score-value {
    font-size: 72px !important;
  }
  
  .modal-button {
    padding: 30px 60px !important;
    font-size: 36px !important;
    border-radius: 25px !important;
    letter-spacing: 2px !important;
  }
}
