@font-face {
    font-family: 'Dharma Gothic';
    src: url('./assets/fonts/DharmaGothicE_Regular_R.otf') format('woff2'),
         url('./assets/fonts/DharmaGothicE_Bold_R.otf') format('woff');
    font-weight: normal;
    font-style: normal;
  }
  
  #root {
    font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
    --dkClr: #181818;
    --liClr: whitesmoke;
    
    --accClr: #0d0d35;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html,
  body {
    height: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
  }
  
  .game-wrapper {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: url("./assets/penaltipremiado.jpg") no-repeat center center;
    background-size: cover;
  }
  
  .game-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
  }
  
  header {
    width: 100%;
    overflow: hidden;
    position: relative;
  }
  
  
  .slide {
    font-family: 'Dharma Gothic', sans-serif;
    overflow: hidden;
    padding: 30px 0;
    white-space: nowrap;
    background-color: #000;
  }
  
  @keyframes slide {
    0% {
      transform: translateX(100%);
    }
    100% {
      transform: translateX(-100%);
    }
  }
  
  .text-slide {
    display: inline-block;
    animation: 15s slide linear infinite;
  }
  
  .text-slide p {
    display: inline;
    font-weight: 200;
    font-size: 30px;
    padding: 0 30px;
    color: #fe5500;
    text-shadow: 0 0 5px rgba(255, 102, 0, 0.9), 0 0 10px rgba(255, 102, 0, 0.8), 0 0 20px rgba(255, 102, 0, 0.7), 0 0 30px rgba(255, 102, 0, 0.6), 0 0 40px rgba(255, 102, 0, 0.5); /* Efeito de luz neon */
  }
  
  header {
    width: 100%;
    padding: 20px;
    background-color: #000; 
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .orange {
    color: #f60;
    text-shadow: 0 0 5px rgba(255, 102, 0, 0.9), 0 0 10px rgba(255, 102, 0, 0.8), 0 0 20px rgba(255, 102, 0, 0.7), 0 0 30px rgba(255, 102, 0, 0.6), 0 0 40px rgba(255, 102, 0, 0.5); /* Efeito neon */
  }
  
  .logo {
    display: block;
  }
  
  @keyframes slide {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  
  footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
  }
  
  main {
    flex: 1;
    display: flex;
  }
  
  #phaserContainer {
    border: 1px solid red;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    z-index: 1;
    overflow: hidden;
  }
  
  .game-inner {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 889px;
    height: 500px;
    transform: translate(-50%, -50%);
    z-index: 1;
  }
  
  /* Canvas do Phaser */
  .game-inner canvas {
    display: block;
    width: 889px;
    height: 500px;
  }
  
  .footer {
    display: block;
    background-color: #000;
    padding-top: 3.375rem;
    padding-bottom: 3.375rem;
    text-align: center;
    color: #fff;
    flex-direction: column;
  }
  .footer a {
    color: #fff;
  }
  .footer-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5625rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    max-width: 44.375rem;
    margin-left: auto;
    margin-right: auto;
  }
  .footer .logo-box {
    display: flex;
    align-items: center;
    gap: 5.3125rem;
    justify-content: center;
    flex-wrap: wrap;
  }
  @media (max-width: 579px) {
    .footer .logo-box {
      gap: 1.25rem;
    }
  }
  .footer .sponsors {
    display: flex;
    align-items: center;
    gap: 1.1rem;
  }
  .footer .copyright {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    font-size: 0.75rem;
    flex-wrap: wrap;
    gap: 2rem;
  }
  @media (max-width: 858px) {
    .footer .copyright p {
      text-align: center;
      width: 100%;
    }
  }
  
  .modal {
    font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%; /* Usa 80% da largura da viewport */
    max-width: 600px; /* Define um limite máximo de largura */
    height: auto; /* Altura automática */
    max-height: 80vh; /* Máximo de 80% da altura da viewport */
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  
  .hidden {
    display: none;
  }
  
  .modal-content {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    width: 100%; /* Usa toda a largura disponível no modal */
    max-height: 100%; /* Garante que o conteúdo não ultrapasse o modal */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow-y: auto; /* Permite rolagem caso o conteúdo exceda a altura */
    text-align: center;
  }
  
  .modal-content p {
    font-size: 20px;
    color: #000; /* Texto preto */
    margin-bottom: 20px;
  }
  
  .modal-content button {
    margin-top: 20px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .main-button {
    font-family: var(--font-header);
    color: #fff;
    border-radius: 0.75rem;
    padding: 0.625rem 1.25rem 0.35rem;
    font-size: clamp(1.8rem, 2vw, 1.75rem);
    outline: none;
    background: transparent;
    border: none;
    font-weight: 900;
    text-transform: uppercase;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    background-color: #FF6600;
    font-family: var(--font-header);
  }
  .main-button:hover {
    background-color: #fff;
    color: #000;
  }
  
  @media (max-width: 992px) {
    
  }
  
  @media (max-width: 600px) {
    .game-wrapper {
      background: url("./assets/penaltipremiado-mobile.jpg") no-repeat center center;
      background-size: cover;
    }
  }
  
  @media (max-width: 600px) {
    
    header {
      height: auto;
    }
  
  }
  