/*
 * TLD Showcase Cards - Modern UI Design
 * Inspired by Namecheap, GoDaddy premium designs
 * Gradient backgrounds with glassmorphism effect
 */

:root {
  --tld-gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --tld-gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --tld-gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --tld-gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  --tld-gradient-5: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

/* TLD Showcase Section */
.tld-showcase-section {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, #e3f2fd 0%, #bbdefb 100%);
  position: relative;
  overflow: hidden;
}

/* Decorative background elements */
.tld-showcase-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(249, 189, 6, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.tld-showcase-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(20, 12, 58, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.tld-showcase-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
  z-index: 1;
}

/* Grid Layout */
.tld-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

/* Individual TLD Card - Modern Gradient Design */
.tld-showcase-card {
  background: #160f3e;
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Glassmorphism overlay */
.tld-showcase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.tld-showcase-card:hover::before {
  opacity: 1;
}

.tld-showcase-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* All cards use same color */
.tld-showcase-card:nth-child(1),
.tld-showcase-card:nth-child(2),
.tld-showcase-card:nth-child(3),
.tld-showcase-card:nth-child(4),
.tld-showcase-card:nth-child(5) {
  background: #160f3e;
}

/* Discount Badge - Hidden */
.tld-discount-badge {
  display: none !important;
}

/* TLD Logo/Icon */
.tld-logo-wrapper {
  width: 100%;
  height: 90px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.tld-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.tld-showcase-card:hover .tld-logo {
  transform: scale(1.15) rotate(-5deg);
}

/* TLD Extension Name - Modern Typography */
.tld-extension-name {
  font-size: 52px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'SF Pro Display', sans-serif;
  letter-spacing: -1px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.tld-showcase-card:hover .tld-extension-name {
  transform: scale(1.05);
}

.tld-extension-name .dot {
  font-size: 42px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1;
  font-weight: 700;
}

/* Original Price (crossed) */
.tld-original-price {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: line-through;
  margin-bottom: 8px;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

/* Current Price - Bold & Prominent */
.tld-current-price {
  font-size: 32px;
  font-weight: 900;
  color: #ffffff;
  margin: 12px 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  position: relative;
  z-index: 2;
}

.tld-current-price .currency {
  font-size: 22px;
  font-weight: 700;
}

/* Price Period */
.tld-price-period {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .tld-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .tld-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .tld-showcase-section {
    padding: 60px 0 40px;
  }

  .tld-showcase-card {
    padding: 24px 20px;
  }

  .tld-logo-wrapper {
    height: 70px;
    margin-bottom: 16px;
  }

  .tld-extension-name {
    font-size: 36px;
  }

  .tld-extension-name .dot {
    font-size: 30px;
  }

  .tld-current-price {
    font-size: 26px;
  }

  .tld-current-price .currency {
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  .tld-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tld-showcase-card {
    max-width: 320px;
    margin: 0 auto;
  }

  .tld-showcase-section::before,
  .tld-showcase-section::after {
    display: none;
  }
}

/* Shine effect on hover */
.tld-showcase-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 70%
  );
  transform: translateX(-100%) translateY(-100%) rotate(45deg);
  transition: transform 0.6s;
  z-index: 0;
}

.tld-showcase-card:hover::after {
  transform: translateX(100%) translateY(100%) rotate(45deg);
}
