.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.cards-row {
  display: flex;
  gap: 2rem;
  align-items: stretch;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  font-size: 1rem;
  color: #fff;
  line-height: 1.6;
  max-width: 500px;
  background: rgba(34, 189, 232, 0.15);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(34, 189, 232, 0.3);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.main-content {
  padding: 4rem 0;
}

.hero-section {
  padding-top: 12rem !important;
}

.shop-section {
  padding: 2rem 0 4rem;
}

.shop-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 3px solid rgba(34, 189, 232, 0.8);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: auto;
}

.grade-card {
  border: 4px solid #5CE5FF;
  box-shadow: none;
}

.card-image {
  width: 150px;
  height: auto;
  margin-bottom: 1rem;
}

.card-character-wrapper {
  position: relative;
  width: 180px;
  margin-bottom: 1rem;
}

.card-character {
  width: 100%;
  height: auto;
  display: block;
}

.card-rank-image {
  width: 200px;
  height: auto;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.card-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 0;
}

.price-old {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: line-through;
}

.price-new {
  font-size: 1.4rem;
  color: #22BDE8;
  font-weight: 900;
}

.price-discount {
  background: #22BDE8;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.card-divider {
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #22BDE8, transparent);
  margin: 1.5rem 0;
}

.features-card .card-divider {
  width: 100%;
  margin-top: 0.5rem;
}

.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  width: 100%;
  margin-top: -0.3rem;
  margin-bottom: 1rem;
  justify-items: center;
  text-align: center;
}

.support-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  line-height: 1.5;
  padding: 0.5rem 0;
  font-style: italic;
}

.grade-card {
  flex-shrink: 0;
  position: relative;
}

.grade-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56%;
  background: #1A3A5C;
  z-index: -2;
  border-radius: 0 0 14px 14px;
}

.grade-card::after {
  content: '';
  position: absolute;
  top: calc(20% + 90px);
  left: 0;
  right: 0;
  height: 20px;
  background: linear-gradient(to top, #1A3A5C 0%, #1A3A5C 3px, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.card-rank-image {
  width: 200px;
  height: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
  position: relative;
  z-index: 10;
}

.grade-card > * {
  position: relative;
  z-index: 1;
}

.features-card {
  align-items: flex-start;
  text-align: left;
}

.features-title {
  font-size: 1.2rem;
  font-weight: 900;
  color: #22BDE8;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  text-align: center;
  width: 100%;
}

.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  width: 100%;
}

.feature-item {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}

.feature-item.discord {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
}

.rank-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  width: 100%;
}

.rank-preview-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
}

.rank-preview-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 6px;
}

.rank-preview-img {
  height: 32px;
  width: auto;
  flex-shrink: 0;
  transform: translateY(1px);
}

.rank-preview-text {
  font-size: 1.3rem;
  font-weight: 600;
  background: linear-gradient(90deg, #13a2ef, #c439f4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .cards-row {
    flex-direction: column;
    align-items: center;
  }

  .features-card {
    text-align: center;
  }

  .features-list {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    max-width: 100%;
  }

  .card-image {
    width: 120px;
  }

  .card-rank {
    font-size: 1.4rem;
  }

  .price-new {
    font-size: 1.2rem;
  }
}

.checkout-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.checkout-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(34, 189, 232, 0.2);
  border-top-color: #22BDE8;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.checkout-loading-overlay p {
  color: #fff;
  margin-top: 1rem;
  font-size: 1rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.feature-item.kirito {
  text-shadow: 0 0 10px rgba(94, 215, 245, 0.8), 0 0 20px rgba(94, 215, 245, 0.6);
  animation: pulseBlue 1s ease-in-out infinite;
  color: #5ED7F5;
}

@keyframes pulseBlue {
  0%, 100% {
    text-shadow: 0 0 10px rgba(94, 215, 245, 0.8), 0 0 20px rgba(94, 215, 245, 0.6);
  }
  50% {
    text-shadow: 0 0 20px rgba(94, 215, 245, 1), 0 0 40px rgba(94, 215, 245, 0.9), 0 0 60px rgba(34, 189, 232, 0.8);
  }
}
