* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    min-height: 100vh;
    background-color: #007bff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    font-family: system-ui, -apple-system, sans-serif;
  }
  
  .container {
    width: 100%;
    max-width: 28rem;
    margin-bottom: 1.5rem;
  }
  
  .header-image {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
  }
  
  .game-board {
    background-color: #1d4fd800;
    border-radius: 0.5rem;
    padding: 1.5rem;
  }
  
  .grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    perspective: 1000px;
  }
  
  .cell {
    aspect-ratio: 10/7;
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.3s;
    perspective: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1e40af;
    border-radius: 0.5rem;
    box-shadow: 
      inset 0 2px 4px rgba(255, 255, 255, 0.1),
      inset 0 -2px 4px rgba(0, 0, 0, 0.2);
    overflow: hidden;
  }
  
  .cell::before {
    content: '';
    position: absolute;
    width: 30%;
    height: 30%;
    background-color: #1e3a8a;
    border-radius: 50%;
    box-shadow: 
      inset 0 2px 4px rgba(0, 0, 0, 0.3),
      0 1px 2px rgba(255, 255, 255, 0.1);
  }
  
  .cell::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    border-radius: 0.375rem;
    box-shadow: 
      inset 0 1px 2px rgba(255, 255, 255, 0.1),
      inset 0 -1px 2px rgba(0, 0, 0, 0.2);
    z-index: -1;
  }
  
  .cell.active {
    background-color: #eab308;
    box-shadow: 
      inset 0 2px 4px rgba(255, 255, 255, 0.2),
      inset 0 -2px 4px rgba(0, 0, 0, 0.2),
      0 0 12px rgba(234, 179, 8, 0.5);
  }
  
  .cell.active::before {
    background-color: #ca8a04;
  }
  
  .cell.active::after {
    background: linear-gradient(135deg, #facc15, #eab308);
  }
  
  .star-container {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5);
  }
  
  .star {
    width: 1.8rem;
    height: 2.5rem;
    color: white;
    fill: white;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .predict-button {
    width: 100%;
    background: linear-gradient(to bottom, #16a34a, #15803d);
    color: white;
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 
      0 4px 6px rgba(0, 0, 0, 0.2),
      inset 0 1px 1px rgba(255, 255, 255, 0.1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  }
  
  .predict-button:hover {
    background: linear-gradient(to bottom, #15803d, #166534);
    transform: translateY(-1px);
    box-shadow: 
      0 6px 8px rgba(0, 0, 0, 0.3),
      inset 0 1px 1px rgba(255, 255, 255, 0.1);
  }
  
  .predict-button:active {
    transform: translateY(1px);
    box-shadow: 
      0 2px 4px rgba(0, 0, 0, 0.2),
      inset 0 1px 1px rgba(255, 255, 255, 0.1);
  }
  
  @keyframes rotateIn {
    0% {
      transform: scale(0.5);
      opacity: 0;
    }
    100% {
      transform: scale(1);
      opacity: 1;
    }
  }
  
  @keyframes rotateOut {
    0% {
      transform: scale(1);
      opacity: 1;
    }
    100% {
      transform: scale(0.5);
      opacity: 0;
    }
  }
  
  .animate-rotate-in {
    animation: rotateIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }
  
  .animate-rotate-out {
    animation: rotateOut 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }