/* shop.css */

/* Shop Container */
.shop-container {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #1f1f2e, #29293d);
}

/* Shop Title */
.shop-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #ff6ec4;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 110, 196, 0.5);
}

.premium-detail-cta {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.2), rgba(255, 110, 196, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.premium-detail-cta h2 {
  margin: 0 0 0.5rem 0;
  font-size: 1.6rem;
}

.premium-detail-cta p {
  margin: 0;
  color: #d6d6e7;
}

.premium-detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  color: #0f0f18;
  background: linear-gradient(90deg, #ffd700, #ff6ec4);
  box-shadow: 0 10px 22px rgba(255, 110, 196, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.premium-detail-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(255, 110, 196, 0.35);
}

/* Premium comparison */
.premium-comparison {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 2rem;
  padding: 2rem;
  background-color: #24243e;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.comparison-header h2 {
  margin: 0 0 0.5rem 0;
  font-size: 2rem;
  color: #ff6ec4;
}

.comparison-header p {
  margin: 0;
  color: #d6d6e7;
}

.comparison-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.comparison-card {
  background-color: #2a2a3b;
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-card--premium {
  border-color: rgba(255, 110, 196, 0.6);
  box-shadow: 0 0 18px rgba(255, 110, 196, 0.15);
}

.comparison-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
  color: #ffd700;
}

.comparison-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: #d6d6e7;
  line-height: 1.6;
}

.comparison-card li {
  margin-bottom: 0.5rem;
}

.comparison-note {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 110, 196, 0.25);
  color: #d6d6e7;
  font-size: 0.95rem;
}

/* Credit Packages Grid */
.credit-packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
}

/* Credit Package Card */
.credit-package {
  background-color: #24243e;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.5s,
    box-shadow 0.5s;
}

.credit-package:hover {
  transform: translateY(-15px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.credit-package::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.15), transparent 70%);
  transform: rotate(45deg);
}

.wide-package {
  grid-column: 1 / -1;
  background-color: #2a2a3b;
}

/* Card Header */
.card-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.card-header h2 {
  font-size: 1.8rem;
  color: #ffffff;
  margin-left: 0.5rem;
  font-weight: 600;
}

.card-icon {
  width: 50px;
  height: 50px;
  color: #ff6ec4;
}

/* Package Price */
.package-price {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #6c63ff;
  font-weight: 700;
  text-shadow: 0 0 5px rgba(108, 99, 255, 0.7);
}

.package-info {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #ffd700;
  font-weight: bold;
}

/* Sale Styles */
.original-price {
  text-decoration: line-through;
  color: #888;
  margin-right: 10px;
  font-size: 1.5rem;
}

.sale-price {
  color: #28a745;
  font-weight: bold;
  font-size: 1.8rem;
}

.package-info.sale {
  color: #28a745;
}

/* Discount Badge */
.discount-badge {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  background-color: #e74c3c;
  color: #ffffff;
  min-width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 0 15px rgba(231, 76, 60, 0.7);
  animation: shake 0.8s infinite;
  z-index: 10;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Enhanced Animation for Attention-Grabbing Effect */
@keyframes shake {
  0% {
    transform: translateY(-50%) rotate(0deg);
  }
  25% {
    transform: translateY(-50%) rotate(-5deg);
  }
  50% {
    transform: translateY(-50%) rotate(5deg);
  }
  75% {
    transform: translateY(-50%) rotate(-5deg);
  }
  100% {
    transform: translateY(-50%) rotate(0deg);
  }
}

/* Hover Effect to Increase Interaction */
.discount-badge:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 25px rgba(231, 76, 60, 0.9);
}

.discount-badge::after {
  /*content: "New Years!";*/
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.discount-badge:hover::after {
  opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .discount-badge {
    min-width: 50px;
    height: 50px;
    font-size: 1rem;
    right: 15px; /* Adjusted for medium screens */
  }

  .discount-badge::after {
    bottom: -30px;
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .discount-badge {
    min-width: 40px;
    height: 40px;
    font-size: 0.9rem;
    right: 10px; /* Adjusted for small screens */
  }

  .discount-badge::after {
    bottom: -25px;
    font-size: 0.6rem;
  }
}

/* Buy Button */
.buy-button {
  background: linear-gradient(45deg, #6c63ff, #ff6ec4);
  color: #ffffff;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  cursor: pointer;
  transition:
    background 0.3s ease,
    transform 0.2s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.buy-button:hover {
  background: linear-gradient(45deg, #5a54d1, #e05fb4);
  transform: translateY(-3px);
}

.buy-button:active {
  transform: translateY(0);
}

.buy-button .button-icon {
  width: 24px;
  height: 24px;
  margin-right: 0.5rem;
}

/* Button Shine Effect */
.buy-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: skewX(-25deg);
  transition: left 0.7s;
}

.buy-button:hover::after {
  left: 125%;
}

/* Popular Badge */
.popular-badge {
  position: absolute;
  top: 15px;
  right: -30px;
  background: #ff6ec4;
  color: #ffffff;
  padding: 0.5rem 2rem;
  transform: rotate(45deg);
  font-size: 0.9rem;
  font-weight: bold;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.value-badge {
  position: absolute;
  top: -0px;
  right: -35px;
  background: linear-gradient(45deg, #ffd700, #ff8c00);
  color: #ffffff;
  padding: 0.5rem 2rem;
  transform: rotate(45deg);
  font-size: 0.9rem;
  font-weight: bold;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  animation: shine 2s infinite;
  width: 120px;
  text-align: center;
}

@keyframes shine {
  0% {
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 1);
  }
  100% {
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
  }
}

/* Premium Package Specific Styles */
.premium-package {
  grid-column: 1 / -1;
}

/* Conversion Info Section */
.conversion-info {
  margin-top: 3rem;
  text-align: center;
  color: #ffffff;
}

.conversion-info h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #ff6ec4;
  text-shadow: 0 0 10px rgba(255, 110, 196, 0.5);
}

.conversion-info ul {
  list-style: none;
  padding: 0;
}

.conversion-info li {
  font-size: 1.2rem;
  margin: 0.5rem 0;
  position: relative;
}

.conversion-info li::before {
  content: '•';
  color: #ffd700;
  position: absolute;
  left: -1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .credit-packages {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .shop-title {
    font-size: 2rem;
  }

  .premium-detail-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem;
  }

  .premium-detail-link {
    width: 100%;
  }

  .card-header h2 {
    font-size: 1.5rem;
  }

  .package-price {
    font-size: 1.5rem;
  }

  .conversion-info h2 {
    font-size: 1.8rem;
  }

  .conversion-info li {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .shop-container {
    padding: 1rem;
  }

  .shop-title {
    font-size: 1.5rem;
  }

  .card-icon {
    width: 40px;
    height: 40px;
  }

  .buy-button {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
  }

  .conversion-info h2 {
    font-size: 1.5rem;
  }

  .conversion-info li {
    font-size: 0.9rem;
  }
}

.credit-package.wide-package {
  grid-column: 1 / -1;
  background-color: #2a2a3b;
}

.premium-package {
  grid-column: 1 / -1;
  background-color: #2a2a3b;
}

.wide-package .card-header {
  justify-content: center;
}

.wide-package .card-header h2 {
  font-size: 2rem;
}

.wide-package .package-info {
  font-size: 1.4rem;
}

.wide-package:hover {
  transform: translateY(-20px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}
