* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

/* 고유한 클래스명으로 변경하고 guarantee_main 추가 */
.guarantee_main {
  width: 100%;
  min-height: vh;
}

.guarantee_main_container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* 헤더 섹션 */
.guarantee_main_header_section {
  margin-bottom: 2rem;
}

.guarantee_main_title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #111827;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .guarantee_main_title {
    font-size: 1.875rem;
  }
}

.guarantee_main_description_box {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  padding: 1.5rem;
}

.guarantee_main_description {
  color: #374151;
  line-height: 1.625;
}

/* 슬라이더 섹션 */
.guarantee_main_slider_section {
  position: relative;
}

.guarantee_main_navigation_buttons {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.guarantee_main_nav_btn {
  background-color: white;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  padding: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guarantee_main_nav_btn:hover {
  background-color: #f9fafb;
}

.guarantee_main_nav_btn:focus {
  outline: 2px solid #db2777;
  outline-offset: 2px;
}

.guarantee_main_slider_container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .guarantee_main_slider_container {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* 카지노 사이트 카드 */
.guarantee_main_site_card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.guarantee_main_site_card:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.guarantee_main_image_container {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.guarantee_main_site_image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.guarantee_main_site_card:hover .guarantee_main_site_image {
  transform: scale(1.05);
}

.guarantee_main_guarantee_label {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background-color: #db2777;
  color: white;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: 0.25rem;
}

.guarantee_main_site_info {
  padding: 0.75rem;
}

.guarantee_main_site_name {
  font-weight: 600;
  color: #111827;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.guarantee_main_site_bonus {
  color: #f97316;
  font-size: 0.75rem;
  font-weight: 500;
}

/* 반응형 디자인 */
@media (max-width: 767px) {
  .guarantee_main_container {
    padding: 1rem 0.5rem;
  }

  .guarantee_main_header_section {
    margin-bottom: 1.5rem;
  }

  .guarantee_main_title {
    font-size: 1.25rem;
  }

  .guarantee_main_description_box {
    padding: 1rem;
  }
}

/* 애니메이션 */
.guarantee_main_fade_in {
  animation: guaranteeMainFadeIn 0.5s ease-in-out;
}

@keyframes guaranteeMainFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 데이터 없음 표시 */
.guarantee_main_no_data {
  text-align: center;
  padding: 2rem;
  color: #6b7280;
  font-size: 1rem;
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}
