/* style.css */
* {
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
    text-align: center;
    background: #f0f0f0;
    margin: 0;
    padding: 0;
  }
  
  /* Header styles */
  header {
    background: #333;
    color: #fff;
    padding: 10px 20px;
    position: relative;
  }
  
  header h1 {
    margin: 0;
    font-size: 1.8em;
  }
  
  /* Language Selector */
  #languageSelector {
    position: absolute;
    right: 20px;
    top: 15px;
  }
  
  #languageSelector label,
  #languageSelector select {
    color: #fff;
    font-size: 0.9em;
  }
  
  /* Instructions Section */
  #instructions {
    background: #fff;
    padding: 15px;
    margin: 10px auto;
    max-width: 600px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: left;
  }
  
  /* Create Session Section */
  #createSession {
    margin-top: 20px;
  }
  
  /* Player Form Section */
  #playerForm {
    margin-top: 20px;
    background: #fff;
    padding: 15px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  
  /* Game Interface */
  #game {
    margin-top: 20px;
    padding: 0 10px;
  }
  
  #moves {
    margin: 20px;
  }
  
  /* Move buttons styled with big icons */
  .moveBtn {
    font-size: 18px;
    padding: 10px;
    margin: 10px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #008CBA;
    color: white;
    transition: background-color 0.3s;
    width: 100px;
    height: 100px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .moveBtn:hover {
    background-color: #005f73;
  }
  
  .moveBtn .icon {
    font-size: 50px;
    display: block;
  }
  
  #status {
    font-size: 20px;
    margin-bottom: 20px;
  }
  
  #result {
    font-size: 24px;
    margin-top: 20px;
    min-height: 60px;
  }
  
  /* Scoreboard styling */
  #scoreboard {
    margin-top: 20px;
    font-size: 20px;
  }
  
  /* Animations for win and lose */
  .win {
    animation: winAnim 0.5s ease;
  }
  
  .lose {
    animation: loseAnim 0.5s ease;
  }
  
  @keyframes winAnim {
    0% { transform: scale(1); background-color: #d4edda; }
    50% { transform: scale(1.2); background-color: #c3e6cb; }
    100% { transform: scale(1); background-color: transparent; }
  }
  
  @keyframes loseAnim {
    0% { transform: scale(1); background-color: #f8d7da; }
    50% { transform: scale(0.8); background-color: #f5c6cb; }
    100% { transform: scale(1); background-color: transparent; }
  }
  
  /* Responsive adjustments */
  @media (max-width: 600px) {
    header h1 {
      font-size: 1.5em;
    }
    #languageSelector {
      top: 10px;
      right: 10px;
    }
    #instructions, #playerForm {
      margin: 10px;
      padding: 10px;
    }
    .moveBtn {
      width: 80px;
      height: 80px;
      margin: 5px;
    }
    .moveBtn .icon {
      font-size: 40px;
    }
    #status {
      font-size: 18px;
    }
    #result {
      font-size: 20px;
    }
  }
  