
.game-container {
  text-align: center;
  margin-top: 70px;
}

#logo-container {
  margin-bottom: 20px;
}

#logo {
  filter: blur(10px);
  max-width: 800px;
  height: 200px;
  width: 200px;
}

#guess-input {
      padding: 5px;
      height: 30px;
      width: 200px;
      max-width: 100%;
      outline: none;
      border: none;
      border-bottom: 1px solid rgba(0, 0, 0, 0.1);
      font-size: 14px;
      background: #11202d;
      color: #e9efe8;
      box-sizing: border-box;
    }

    @media screen and (max-width: 480px) {
      #guess-input {
        width: 100%;
      }
    }

    #suggestions-list {
      width: 200px;
      max-height: 150px;
      overflow-y: auto;
      box-shadow: 0 2px 10px 0px rgba(0, 0, 0, 0.25);
      list-style-type: none;
      padding: 0;
    }
  
    #suggestions-list li {
      padding: 5px;
      cursor: pointer;
      transition: background-color 0.3s ease;
      text-align: left;
    }
  
    #suggestions-list li:hover {
      background: #3498db;
      color: white;
    }
  
    .submit-button {
      padding: 8px 6px;
      cursor: pointer;
      background-color: rgb(247, 5, 5);
      border-radius: 100px;
    }

  
    #guesses-left {
      margin-top: 20px;
      color: #f4ead3;
      font-family: 'JetBrains Mono', monospace;
      letter-spacing: 0.1em;
    }
    
     
      @keyframes shake {
        0% { transform: translate(1px, 1px) rotate(0deg); }
        10% { transform: translate(-1px, -2px) rotate(-1deg); }
        20% { transform: translate(-3px, 0px) rotate(1deg); }
        30% { transform: translate(3px, 2px) rotate(0deg); }
        40% { transform: translate(1px, -1px) rotate(1deg); }
        50% { transform: translate(-1px, 2px) rotate(-1deg); }
        60% { transform: translate(-3px, 1px) rotate(0deg); }
        70% { transform: translate(3px, 1px) rotate(-1deg); }
        80% { transform: translate(-1px, -1px) rotate(1deg); }
        90% { transform: translate(1px, 2px) rotate(0deg); }
        100% { transform: translate(1px, -2px) rotate(-1deg); }
      }
      
      .shake-animation {
        animation: shake 0.5s; /* Apply the shake animation */
      }
      .shake-animation-red {
        background-color: red;
        transition: background-color 0.2s; /* Set the transition duration to 0.2 seconds */
      }
      
      
      
  
    
  .popup {
        display: none;
        position: fixed;
        width: min(480px, calc(100vw - 32px));
        max-height: 88vh;
        overflow-y: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-weight: 800;
        padding: 28px 24px;
        text-transform: none;
        font-size: 12px;
        color: #e9efe8;
        text-align: center;
        background: #11202d;
        border: 1px solid #2b4a66;
        border-radius: 16px;
        z-index: 1000;
        box-shadow: 0 30px 80px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.05);
        box-sizing: border-box;
    }

  #popup h2 {
      margin-bottom: 16px;
      color: #f4ead3;
      font-family: 'Anton', sans-serif;
      font-size: 22px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      text-align: center;
  }

  /* Style for the stats section */
  .stats {
      margin-bottom: 24px;
      width: 100%;
      display: flex;
      justify-content: center;
      box-sizing: border-box;
  }

  .stats-content {
      display: flex;
      flex-direction: column;
      gap: 10px;
      width: 100%;
  }

  /* Style for stats line */
  .stats-line {
      display: flex;
      flex: 1;
      gap: 10px;
      justify-content: center;
  }

  /* Style for each stats item */
  .stats-item.games-played,
  .stats-item.win-rate,
  .stats-item.current-streak {
      display: flex;
      flex: 1;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 80px;
      min-width: 80px;
      background: #17293a;
      border: 1px solid #1e3448;
      border-radius: 10px;
      box-sizing: border-box;
      line-height: 1.2;
  }

  /* Style for stat item figure */
  .stats-item .stat-item-figure {
      font-size: 22px;
      font-family: 'Anton', sans-serif;
      letter-spacing: 0.04em;
      font-weight: 400;
      color: #f6b233;
  }

  /* Style for stat item label */
  .stats-item .stat-item-label {
      font-size: 9px;
      font-family: 'JetBrains Mono', monospace;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: #7b93aa;
      margin-top: 5px;
  }
  
  /* Responsive adjustments for small screens */
  @media (max-width: 380px) {
    .popup {
      padding: 20px 16px;
    }

    #popup h2 {
      font-size: 18px;
    }

    .stats-item.games-played,
    .stats-item.win-rate,
    .stats-item.current-streak {
      min-width: 0;
      height: 70px;
    }

    .stats-item .stat-item-figure {
      font-size: 18px;
    }

    .stats-item .stat-item-label {
      font-size: 8px;
      letter-spacing: 0.08em;
    }

    .soluce h3 {
      font-size: 22px;
    }

    #countdownAnchorage {
      font-size: 16px;
    }

    .cta-button {
      padding: 10px 16px;
      font-size: 11px;
      letter-spacing: 0.1em;
    }
  }
  
  

  /* Style for the performance graph */
  .graph {
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .graph-content {
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .graph-item {
    margin-top: 8px;
    width: 100%;
    display: flex;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    color: white;
    }
  
    .attempt-number,
    .attempt-skull {
      width: 18px;
      display: flex;
      align-items: center;
      color: #7b93aa;
    }

    .attempt-skull .icon {
      height: 12px;
    }

    .attempt-stat {
        height: 17px;
        width: 100%;
        font-weight: bold;
        font-size: 14px;
        color: #7b93aa;
    }
      .attempt-bar {
        height: 100%;
        background: #2b4a66;
        color: #e9efe8;
        border-bottom: 1px solid #1e3448;
        font-size: 10px;
        font-weight: 600;
        display: flex;
        box-sizing: border-box;
        padding: 0 6px;
        justify-content: flex-end;
        align-items: center;
        min-width: 28px;
        border-radius: 3px;
    }
        .best {
          background: #f6b233;
          color: #0b1620;
        }
      
  









  
  /* Style for soluce section */
  .soluce {
      text-align: center;
      margin-top: 16px;
      padding-top: 16px;
      border-top: 1px solid #1e3448;
  }

  /* Style for subtitle */
  .soluce .subtitle {
      font-family: 'JetBrains Mono', monospace;
      font-size: 10px;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      color: #7b93aa;
  }

  /* Style for team name */
  .soluce h3 {
      font-family: 'Anton', sans-serif;
      font-size: 28px;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: #f4ead3;
      margin-top: 6px;
  }

  /* Style for modal-footer */
  .soluce .modal-footer {
      margin-top: 20px;
      padding-top: 16px;
      border-top: 1px solid #1e3448;
  }

  /* Style for next-in */
  .soluce .next-in {
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: #7b93aa;
      margin-bottom: 8px;
  }

  /* Style for time */
  .soluce .time {
      font-size: 18px;
      color: #f6b233;
  }
  
      /* Change cursor to pointer for clickable elements */
      .logos img, .logos a {
          cursor: pointer;
        }
  
  /* Style for the close button */
  .close-button {
      position: absolute;
      top: 10px;
      right: 10px;
      cursor: pointer;
      height: 10px;
      width: 10px;
  }

