    :root {
      --color1: #6400a9;
      --color2: #ff8300;
      --color3: #0074ff;
      --color4: #2d6d00;
    }

    body {
      margin: 0;
      font-family: 'Segoe UI', sans-serif;
      color: white;
      background: linear-gradient(-45deg, #6400a9, #ff8300, #0074ff, #2d6d00);
      background-size: 600% 600%;
      animation: animateBackground 20s ease infinite;
      min-height: 100vh;
      display: flex;
      justify-content: center;
      align-items: start;
      padding: 50px 20px;
    }

    @keyframes animateBackground {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }

    .container {
      max-width: 1300px;
      width: 100%;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 30px;
    }

    h1 {
      text-align: center;
      margin-bottom: 40px;
      font-size: 2.8rem;
      color: white;
      grid-column: 1 / -1;
      text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
    }

    .card {
      border-radius: 16px;
      overflow: hidden;
      color: white;
      box-shadow: 0 10px 25px rgba(0,0,0,0.4);
      display: flex;
      flex-direction: column;
      transition: transform 0.3s;
    }

    .card:hover {
      transform: scale(1.05);
    }

    .card h3 {
      margin: 20px 20px 10px;
      font-size: 1.5rem;
    }

    .card img {
      width: 100%;
      height: 160px;
      object-fit: cover;
    }

    .card p {
      padding: 0 20px 20px;
      font-size: 15px;
    }

    .card a {
      display: inline-block;
      margin: 0 20px 20px;
      padding: 10px 20px;
      background: rgba(255,255,255,0.9);
      color: black;
      border-radius: 20px;
      text-decoration: none;
      font-weight: bold;
      transition: background 0.3s;
    }

    .card a:hover {
      background: white;
    }