    * {
      box-sizing: border-box;
    }


    .cards-container {
      display: flex;
      justify-content: center; 
      flex-wrap: nowrap;
      width: 1200px; 
      margin: 0 auto;
      perspective: 1000px;
      gap: 45px; 
    }

    .card {
      width: 160px;
      height: 195px;
      border-radius: 10px;
      overflow: hidden;
      position: relative;
      transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), 
                  box-shadow 0.6s cubic-bezier(0.23, 1, 0.32, 1);
      text-decoration: none;
      color: inherit;
      display: block;
      background: rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(10px);
      flex-shrink: 0; 
    }

    .card:hover {
      transform: translateY(0) rotateX(0deg);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    }
    .card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(230, 60, 60, 0.1) 50%,
        transparent 70%
      );
      z-index: 1;
      opacity: 1;
      transition: opacity 0.6s ease;
      animation: shine 2s infinite linear;
    }

    .card:hover::before {
      opacity: 0;
      animation: none;
    }

    @keyframes shine {
      0% {
        background-position: -200% center;
      }
      100% {
        background-position: 200% center;
      }
    }

    .card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
      filter: brightness(0.9) contrast(1.2);
      transform: scale(1.15);
    }

    .card:hover img {
      transform: scale(1.05);
      filter: brightness(0.7) contrast(1.1);
    }

    .overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      color: white;
      text-align: center;
      padding: 20px;
      box-sizing: border-box;
      z-index: 2;
      background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(230, 60, 60, 0.2) 30%,
        rgba(200, 30, 30, 0.8) 100%
      );
      transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    }

    .card:hover .overlay {
      background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.8) 100%
      );
    }

    .icon {
      font-size: 42px;
      margin-bottom: 20px;
      color: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
      width: 70px;
      height: 70px;
      background: rgba(230, 60, 60, 0.8);
      border-radius: 50%;
      transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
      transform: scale(1.05);
      opacity: 1;
      box-shadow: 0 10px 20px rgba(230, 60, 60, 0.3);
      border: 2px solid rgba(255, 255, 255, 0.3);
      animation: iconFloat 2s infinite ease-in-out;
    }

    @keyframes iconFloat {
      0%, 100% {
        transform: scale(1.05);
      }
      50% {
        transform: scale(1.07) translateY(-3px);
      }
    }

    .card:hover .icon {
      transform: translateY(0) scale(1);
      background: rgba(230, 60, 60, 0.6);
      box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
      border-color: rgba(255, 255, 255, 0.2);
      animation: none;
    }

    .text {
      font-size: 18px;
      font-weight: bold;
      letter-spacing: 1.2px;
      color: #fff;
      text-align: center;
      transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
      transform: translateY(0) scale(1);
      opacity: 1;
      text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
      padding: 10px 24px;
      background: rgba(255, 120, 120, 0.5);
      border-radius: 25px;
      backdrop-filter: blur(5px);
      display: inline-block;
      max-width: 85%;
      min-width: 120px;
      white-space: nowrap;
      box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.15);
      position: relative;
      overflow: hidden;
    }

    .text::before {
      content: '';
      position: absolute;
      top: 0;
      left: 100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
      );
      transition: left 0.8s ease;
    }

    .card:hover .text {
      background: rgba(255, 150, 150, 0.6);
      letter-spacing: 1px;
      padding: 10px 24px;
      transform: scale(1);
      box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
    }

    .card:hover .text::before {
      left: -100%;
    }

    .card::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 10%;
      width: 80%;
      height: 3px;
      background: linear-gradient(90deg, transparent, rgba(230, 60, 60, 0.6), transparent);
      transform: scaleX(1);
      transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
      z-index: 3;
    }

    .card:hover::after {
      transform: scaleX(0);
    }

    .particles {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
      pointer-events: none;
      overflow: hidden;
      border-radius: 20px;
    }

    .particle {
      position: absolute;
      width: 3px;
      height: 3px;
      background: rgba(255, 255, 255, 0.5);
      border-radius: 50%;
      animation: particleFloat 2s ease-out forwards;
    }

    @keyframes particleFloat {
      0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
      }
      10% {
        opacity: 0.7;
      }
      100% {
        transform: translateY(-80px) translateX(var(--tx, 0));
        opacity: 0;
      }
    }

    .card:hover .particle {
      animation: none;
      opacity: 0;
    }


@media (max-width: 768px) {
  .cards-container {
    width: 100%;
    padding: 0 16px; 
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0;
  }

  .card {
    width: calc(50% - 8px); 
    height: auto; 
    min-height: 195px;
    margin-bottom: 24px; 
  }

  .card img {
    height: 130px; 
    object-fit: cover;
  }

  .text {
    font-size: 16px;
    padding: 8px 16px;
    min-width: auto;
    max-width: 90%;
  }
}


    .page-title {
      position: absolute;
      top: 30px;
      left: 0;
      width: 100%;
      text-align: center;
      color: white;
      font-size: 28px;
      font-weight: 300;
      letter-spacing: 2px;
      text-transform: uppercase;
      opacity: 0.8;
      z-index: 10;
    }

    .page-title span {
      color: #e63c3c;
      font-weight: 600;
    }