
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes glowPulse {
  0% { box-shadow: 0 0 5px rgba(255,20,20,0.2); }
  50% { box-shadow: 0 0 20px rgba(255,20,20,0.4); }
  100% { box-shadow: 0 0 5px rgba(255,20,20,0.2); }
}

.back-button {
  position: fixed;
  top: 1.5rem;
  left: 1.5rem;
  padding: 0.5rem 1rem;
  background: transparent;
  color: var(--text-primary);
  text-decoration: none;
  border: 1px solid var(--text-primary);
  border-radius: 4px;
  font-weight: 500;
  z-index: 100;
  transition: all 0.2s;
  font-size: 0.9rem;
}

.back-button:hover {
  transform: scale(1.05);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(1rem, 5vw, 4rem);
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .back-button {
    position: fixed;
    top: 1rem;
    left: 1rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
  }

  .package-card {
    padding: 2rem 1.5rem;
    margin-bottom: 1rem;
  }

  .package-card h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
  }

  .package-card li {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 1.2rem 0;
  }

  .order-button {
    width: 100%;
    text-align: center;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
  }
}

@media (max-width: 480px) {
  .package-card {
    padding: 1.5rem 1.25rem;
  }

  .package-card h2 {
    font-size: 1.6rem;
  }

  .package-card li {
    font-size: 1rem;
    margin: 1rem 0;
  }
}

.package-card {
  background-color: var(--bg-card);
  padding: 2rem;
  border-radius: 12px;
  text-align: left;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  animation: fadeIn 0.6s ease-out forwards;
  animation-delay: calc(var(--card-index, 0) * 0.1s);
  opacity: 0;
  transition: all 0.3s ease;
}

@media (min-width: 769px) {
  .package-card:hover {
    transform: translateY(-10px);
    animation: glowPulse 2s infinite;
  }
}

.package-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient);
}

.package-card h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-weight: 600;
}

.package-card ul {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}

.package-card li {
  margin: 0.75rem 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.package-card li::before {
  content: "•";
  color: var(--accent);
}

.order-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  min-height: 44px;
  min-width: 44px;
  background: transparent;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s;
  border: 1px solid var(--text-primary);
}

.order-button:hover {
  background: var(--text-primary);
  color: var(--bg-card);
}
