:root {
    --background: hsl(291, 38%, 12%);
    --foreground: hsl(300, 10%, 95%);
    --primary: hsl(330, 85%, 60%);
    --primary-foreground: hsl(0, 0%, 100%);
    --accent: hsl(38, 95%, 58%);
    --accent-foreground: hsl(270, 50%, 15%);
    --muted: hsl(291, 38%, 25%);
    --muted-foreground: hsl(291, 10%, 65%);
    --border: hsl(291, 38%, 25%);
    --purple-button: hsl(270, 60%, 30%);
    --lose-color: #222;
  }
  
  .how-it-works {
    padding: 4rem 1rem;
    color: var(--foreground);
  }
  
  .how-title {
    text-align: center;
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 3rem;
   color: rgba(255, 255, 255, 0.291);
  }
  
  .steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
  }
  
  .step-box {
    background: #ffffff0a;
    
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .step-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.05);
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    background: var(--accent);
    color: var(--accent-foreground);
    font-weight: bold;
    font-size: 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
  
  .step-text {
    font-size: 0.95rem;
    color: var(--muted-foreground);
    line-height: 1.5;
  }
  
  @media (max-width: 768px) {
    .how-it-works .container {
      padding: 0;
    }
  
    .steps-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 1.5rem;
    }
  
    .how-title {
      font-size: 2rem;
    }
  
    .step-box {
      padding: 1rem;
    }
  
    .step-title {
      font-size: 1rem;
      margin-bottom: 0.3rem;
    }
  
    .step-text {
      font-size: 0.8rem;
      line-height: 1.3;
    }
  }
  
  @media (max-width: 420px) {
    .steps-grid {
      grid-template-columns: 1fr;
    }
  }
  