/**
 * Offers CSS - Offers Section Styles
 * 
 * This file contains styles for:
 * - Offers section layout
 * - Offer cards
 * - Offer card animations
 * - Offer buttons
 * 
 * Extracted from index.php during section compartmentalization refactoring
 */

/* ============================================
   Offers Section
   ============================================ */
.offers { 
  margin-top: clamp(60px, 8vw, 100px);
  margin-bottom: 0;
  min-height: fit-content;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.offer-list { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); 
  gap: clamp(20px, 3vw, 30px); 
  margin-top: clamp(25px, 4vw, 40px); 
}

@media (max-width: 768px) {
  .offer-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* ============================================
   Offer Cards
   ============================================ */
.offer-card {
  background: rgba(19,26,34,0.92);
  border: none;
  padding: clamp(20px, 3vw, 30px);
  border-radius: clamp(12px, 1.5vw, 16px);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 16px #000;
  backdrop-filter: blur(2px);
}

.offer-card::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  background: repeating-linear-gradient(
    45deg,
    rgba(63,224,249,0.03) 0%,
    rgba(63,224,249,0.03) 10%,
    transparent 10%,
    transparent 50%
  );
  background-size: 20px 20px;
  top: -25%;
  left: -25%;
  animation: offer-squares 15s linear infinite;
  pointer-events: none;
}

@keyframes offer-squares {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.offer-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(63,224,249,0.1);
}

.offer-card h3 { 
  color: var(--accent); 
  margin-bottom: clamp(12px, 2.5vw, 18px);
  position: relative;
  font-size: clamp(1.1em, 2.5vw, 1.3em);
}

.offer-card p { 
  color: #ccc; 
  font-size: clamp(0.85em, 2vw, 0.95em); 
  margin-bottom: clamp(15px, 2.5vw, 25px);
  position: relative;
  line-height: 1.6;
}

/* ============================================
   Offer Button
   ============================================ */
.offer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 1.4vw, 10px) clamp(16px, 2.8vw, 20px);
  background: linear-gradient(135deg, rgba(63, 224, 249, 0.9) 0%, rgba(67, 223, 235, 0.9) 100%);
  color: #ffffff;
  border: 2px solid #000000;
  border-radius: clamp(12px, 2vw, 16px);
  font-size: clamp(0.8em, 1.6vw, 0.9em);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  min-height: 34px;
  cursor: pointer;
}

.offer-button:hover { 
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, rgba(63, 224, 249, 1) 0%, rgba(67, 223, 235, 1) 100%);
}

@keyframes flash-glow-strong {
  0% {
    filter: brightness(1.1) drop-shadow(0 0 16px #ffe154) drop-shadow(0 0 8px #3fe0f9);
  }
  100% {
    filter: brightness(1.35) drop-shadow(0 0 32px #ffe154) drop-shadow(0 0 16px #3fe0f9);
  }
}

