/* ===== Book Showcase Carousel ===== */
.book-showcase-carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.book-showcase-swiper {
  overflow: visible;
  padding: 20px 0;
}

.book-showcase-swiper .swiper-wrapper {
  align-items: stretch;
}

.book-showcase-swiper .swiper-slide {
  height: auto;
  display: flex;
  justify-content: center;
}

.book-showcase-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  max-width: 400px;
  width: 100%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0 15px;
  display: flex;
  flex-direction: column;
}

.book-showcase-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 10px 25px rgba(0, 0, 0, 0.1);
}

.book-showcase-cover {
  position: relative;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.book-showcase-cover img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.book-showcase-card:hover .book-showcase-cover img {
  transform: scale(1.05);
}

.book-showcase-content {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.book-showcase-title {
  font-family: "Anton", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.book-showcase-subtitle {
  font-family: "Anton", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #248fbf;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.book-showcase-description {
  font-family: "Anton", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin: 0 0 30px 0;
  flex: 1;
}

.book-showcase-formats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

/* ===== RESPONSIVE STYLES FOR BOOK SHOWCASE ===== */

@media only screen and (max-width: 768px) {
  .book-showcase-carousel {
    padding: 0 10px;
  }

  .book-showcase-card {
    max-width: 100%;
    margin: 0 10px;
  }

  .book-showcase-cover img {
    height: 200px;
  }

  .book-showcase-content {
    padding: 20px;
  }

  .book-showcase-title {
    font-size: 20px;
  }

  .book-showcase-description {
    font-size: 14px;
  }
}

@media only screen and (max-width: 576px) {
  .book-showcase-card {
    margin: 0 5px;
  }

  .book-showcase-cover img {
    height: 180px;
  }

  .book-showcase-content {
    padding: 15px;
  }

  .book-showcase-title {
    font-size: 18px;
  }

  .book-showcase-description {
    font-size: 13px;
  }
}

@media only screen and (max-width: 480px) {
  .book-showcase-cover img {
    height: 150px;
  }

  .book-showcase-content {
    padding: 12px;
  }

  .book-showcase-title {
    font-size: 16px;
  }

  .book-showcase-description {
    font-size: 12px;
  }
}

.btn-format {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-family: "Anton", sans-serif;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-format::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-format:hover::before {
  left: 100%;
}

.btn-paperback {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-paperback:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-hardcover {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(245, 87, 108, 0.3);
}

.btn-hardcover:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 87, 108, 0.4);
}

.btn-ebook {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.btn-ebook:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
}

.format-price {
  font-weight: 700;
  opacity: 0.9;
  font-size: 13px;
}

/* Book Showcase Navigation */
.book-showcase-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.book-showcase-btn {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.book-showcase-btn:hover {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.1) 100%);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.book-showcase-btn svg {
  width: 20px;
  height: 20px;
  color: #248fbf;
  transition: color 0.3s ease;
}

.book-showcase-btn:hover svg {
  color: #1a5f7a;
}

.book-showcase-pagination {
  display: flex;
  gap: 8px;
}

.book-showcase-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(36, 143, 191, 0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0 !important;
}

.book-showcase-pagination .swiper-pagination-bullet-active {
  background: #248fbf;
  transform: scale(1.2);
  box-shadow: 0 2px 8px rgba(36, 143, 191, 0.4);
}

.btn-showcase-cta {
  display: inline-block;
  background: linear-gradient(135deg, #248fbf 0%, #1a5f7a 100%);
  color: white;
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-family: "Anton", sans-serif;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(36, 143, 191, 0.3);
  margin-top: 20px;
}

.btn-showcase-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(36, 143, 191, 0.4);
  text-decoration: none;
  color: white;
}

.book-showcase-note {
  font-family: "Anton", sans-serif;
  font-size: 14px;
  color: #666;
  margin: 0;
  max-width: 500px;
  margin: 0 auto 20px auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .book-showcase-card {
    max-width: 320px;
    margin: 0 10px;
  }

  .book-showcase-cover img {
    height: 220px;
  }

  .book-showcase-content {
    padding: 20px;
  }

  .book-showcase-title {
    font-size: 20px;
  }

  .book-showcase-description {
    font-size: 15px;
  }

  .book-showcase-nav {
    gap: 20px;
  }

  .book-showcase-btn {
    width: 48px;
    height: 48px;
  }

  .book-showcase-btn svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .book-showcase-card {
    max-width: 280px;
  }

  .book-showcase-cover img {
    height: 180px;
  }

  .book-showcase-content {
    padding: 16px;
  }

  .book-showcase-title {
    font-size: 18px;
  }

  .book-showcase-subtitle {
    font-size: 12px;
  }

  .book-showcase-description {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .btn-format {
    padding: 12px 16px;
    font-size: 13px;
  }

  .book-showcase-nav {
    gap: 15px;
  }

  .book-showcase-btn {
    width: 44px;
    height: 44px;
  }

  .book-showcase-btn svg {
    width: 16px;
    height: 16px;
  }
}