/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #374151;
  background-color: #f9fafb;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0rem 1rem;
}

/* Header Section */
.header-section {
  margin-bottom: 2rem;
}

.header-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.header-dot {
  width: 12px;
  height: 12px;
  background-color: #db2777;
  border-radius: 50%;
}

.header-title h1 {
  font-size: 2rem;
  font-weight: bold;
  color: #1f2937;
}

.seo-box {
  background-color: #fdf2f8;
  border-left: 4px solid #db2777;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.seo-box p {
  font-size: 1.2rem;
  color: #374151;
  line-height: 1.6;
}

/* Grid Layout */
.guarantee-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 1024px) {
  .guarantee-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Card Styles */
.guarantee-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.guarantee-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: #f9a8d4;
}

.card-header {
  background-color: #fce7f3;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-category {
  font-size: 1.4rem;
  font-weight: 500;
  color: #be185d;
}

.card-badge {
  font-size: 1rem;
  color: #be185d;
  border: 1px solid #db2777;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  background: white;
}

.card-content {
  padding: 1rem;
}

.card-image {
  margin-bottom: 1rem;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 0.5rem;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
}

.card-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.site-name {
  font-weight: bold;
  font-size: 1.4rem;
  color: #9d174d;
}

.site-details {
  font-size: 1.275rem;
  color: #9d174d;
}

.site-details p {
  margin-bottom: 0.25rem;
}

.benefits-box {
  background-color: #fdf2f8;
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #fce7f3;
}

.benefits-list {
  font-size: 1.2rem;
  color: #374151;
}

.benefits-list p {
  color: #db2777;
  margin-bottom: 0.25rem;
}

.site-url {
  padding-top: 0.5rem;
  border-top: 1px solid #e5e7eb;
}

.site-url p {
  font-size: 0.75rem;
  color: #6b7280;
}

/* Footer Section */
.footer-section {
  text-align: center;
}

.footer-box {
  background-color: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.footer-box h3 {
  font-weight: bold;
  color: #ea580c;
  margin-bottom: 0.5rem;
}

.footer-box p {
  font-size: 0.875rem;
  color: #c2410c;
}

/* Loading Animation */
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f4f6;
  border-top: 4px solid #db2777;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 1rem 0.5rem;
  }

  .header-title h1 {
    font-size: 1.125rem;
  }

  .guarantee-grid {
    gap: 1rem;
  }

  .card-content {
    padding: 0.75rem;
  }
}
