/* --- Reset básico --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: 'Press Start 2P', cursive;
    background: linear-gradient(to bottom, #ffffff, #3e4fe6);
    color: #3e4fe6;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;   
    overflow: hidden;
  }
  
  /* --- Container principal --- */
  #game-container {
    text-align: center;
    max-width: 600px;
  }
  #game-container p{
    padding-bottom: 15px;
  }
  /* --- Título --- */
  h1 {
    margin-bottom: 20px;
    font-size: 20px;
    color: #3e4fe6;
  }
  
  /* --- Slot Machine --- */
  #slot-machine {
    position: relative;
    width: 325px; /* 3 colunas de 100px */
    height: 325px; /* 3 linhas de 100px */
    margin: 0 auto;
    border: 3px solid #f7f4f4;
    background-color: #254B9E;
    overflow: hidden;
    border-radius: 12px;
    padding:10px;
  }
  
  /* --- Reels container --- */
  #reels-container {
    display: flex;
    position: relative;
    width: 300px;
    height: 300px;
  }
  
  /* --- Cada rolo --- */
  .reel {
    width: 100px;
    height: 300px;
    overflow: hidden;
    position: relative;
  }
  
  /* --- Tira de símbolos --- */
  .reel-strip {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }
  
  .reel-strip img {
    width: 100px;
    height: 100px;
    display: block;
     /* ✅ Novo: borda em cada símbolo */
    border: 2px solid #fff;
    border-radius: 6px;
    padding:5px;
    gap: 5px;
    background-color: #5598f0; /* opcional: realce de fundo */
  }
  
  /* --- Linha do meio destacável --- */
  .middle-row {
    position: absolute;
    top: 100px; /* linha do meio */
    left: 0;
    width: 100%;
    height: 100px;
    pointer-events: none;
    box-sizing: border-box;
    z-index: 10;
  }
  
  /* --- Efeito de vitória: piscar --- */
  .blink {
    animation: blinkEffect 0.4s ease-in-out 4;
    border: 4px solid gold;
    border-radius: 10px;
  }
  /* Efeito glow nas imagens da linha do meio ao vencer */
.reel-strip img.winning-symbol {
    border-color: #00ffcc;
    box-shadow: 0 0 12px #00ffcc;
  }
  
  @keyframes blinkEffect {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.2; }
  }
  
  /* --- Botão de girar --- */
  #controls {
    margin-top: 20px;
  }
  
  #spin-button,
  #restart-button {
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
    padding: 10px 20px;
    background-color: #254B9E;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  #spin-button:hover:enabled {
    background-color: #444;
  }
  
  #spin-button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }
  
  /* --- Info (pontuação e mensagem) --- */
  #info {
    margin-top: 20px;
    font-size: 12px;
  }
  #info p{
    color: #fff;
  }
  
  #message {
    margin-top: 10px;
    font-size: 14px;
    color: #00ffcc;
  }
  
  /* --- Responsividade básica --- */
  @media (max-width: 480px) {
    #slot-machine {
      transform: scale(0.8);
    }
  
    #spin-button {
      font-size: 10px;
      padding: 8px 16px;
    }
  
    #info {
      font-size: 10px;
    }
  }
  