* {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }
      body {
        min-height: 100vh;
        background: linear-gradient(90deg, #ff9a9e, #c4ff61, #4facfe);
        font-family: Arial, sans-serif;
      }
      /* Header */
      .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 40px;
        color: white;
      }
      .header nav button {
        padding: 6px 14px;
        border: none;
        border-radius: 6px;
        margin-left: 8px;
        cursor: pointer;
      }
      /* Main container */
      .container {
        display: flex;
        gap: 20px;
        padding: 20px 40px;
      }
      .card {
        background-color: white;
        padding: 12px;
        border-radius: 12px;
        width: 100%;
      }
      /* main-image */
      .main-image {
        width: 100%;
        height: 240px;
        object-fit: cover;
        border-radius: 10px;
        margin-bottom: 10px;
      }
      .thumbs {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
      }
      .thumbs img {
        width: 100%;
        height: 150px;
        object-fit: cover;
        border-radius: 8px;
      }
      /* Responsive */
      @media (max-width: 1024px) {
        .container {
          flex-wrap: wrap;
        }

        .card {
          width: calc(50% - 10px);
        }

        .thumbs {
          grid-template-columns: repeat(3, 1fr);
        }
      }

      /* =========================
   Mobile (<= 768px)
========================= */
      @media (max-width: 768px) {
        .header {
          flex-direction: column;
          gap: 12px;
          text-align: center;
        }

        .header nav {
          display: flex;
          flex-wrap: wrap;
          justify-content: center;
          gap: 6px;
        }

        .container {
          flex-direction: column;
          padding: 20px;
        }

        .card {
          width: 100%;
        }

        .main-image {
          height: 200px;
        }

        .thumbs {
          grid-template-columns: repeat(2, 1fr);
        }

        .thumbs img {
          height: 120px;
        }
      }

      /* =========================
   Small Mobile (<= 480px)
========================= */
      @media (max-width: 480px) {
        .main-image {
          height: 180px;
        }

        .thumbs img {
          height: 100px;
        }
      }