/* ==========================================================================
   BPSTORE FLAGSHIP HERO SHOWCASE (Contained Container Width)
   - Contained in Standard Site Container (max-width: 1200px)
   - Tôn vinh cỗ máy xịn nhất (Show-off The Best PC Build)
   - Typography & Specs chuẩn Apple Pro
   ========================================================================== */

:root {
  --hero-bg: #090b10;
  --hero-bg-accent: #131926;
  --hero-green: #1ab606;
  --hero-green-glow: rgba(26, 182, 6, 0.25);
  --hero-text: #ffffff;
  --hero-text-muted: #94a3b8;
  --hero-chip-bg: rgba(255, 255, 255, 0.06);
  --hero-chip-border: rgba(255, 255, 255, 0.1);
}

.bp-hero-section-wrap {
  width: 100%;
  padding: 16px 0 24px;
  background: #ffffff;
}

.bp-hero-section-wrap .container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 10px;
  padding-right: 10px;
}

.bp-hero-flagship {
  width: 100%;
  min-height: 675px;
  background: radial-gradient(ellipse at 75% 50%, #162032 0%, #090b10 65%);
  position: relative;
  overflow: hidden;
  padding: 50px 48px;
  display: flex;
  align-items: center;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  box-sizing: border-box;
}

/* Ánh sáng hào quang sân khấu tỏa ra sau cỗ máy PC */
.bp-hero-glow {
  position: absolute;
  top: 50%;
  right: 12%;
  transform: translate(20%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26, 182, 6, 0.18) 0%, rgba(37, 99, 235, 0.12) 40%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}

.bp-hero-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  position: relative;
  z-index: 2;
}

.bp-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 24px;
}

/* CỘT NỘI DUNG (TRÁI) */
.bp-hero-content {
  max-width: 580px;
}

.bp-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--hero-green);
  background: rgba(26, 182, 6, 0.12);
  border: 1px solid rgba(26, 182, 6, 0.3);
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.bp-hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hero-green);
  box-shadow: 0 0 10px var(--hero-green);
  animation: bpPulse 2s infinite;
}

@keyframes bpPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.bp-hero-title {
  font-size: 38px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.12;
  letter-spacing: -0.8px;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.bp-hero-title .text-gradient {
  color: var(--hero-green);
}

.bp-hero-sub {
  font-size: 15px;
  line-height: 1.6;
  color: var(--hero-text-muted);
  margin: 0 0 20px;
}

/* Chips thông số Flagship (Apple / Hall of Tech style) */
.bp-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.bp-hero-chip {
  font-size: 12.5px;
  font-weight: 600;
  color: #e2e8f0;
  background: var(--hero-chip-bg);
  border: 1px solid var(--hero-chip-border);
  padding: 6px 14px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  white-space: nowrap;
}

/* Vùng Giá & Huy Hiệu */
.bp-hero-pricing {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 26px;
}

.bp-hero-from {
  font-size: 13px;
  color: var(--hero-text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.bp-hero-amount {
  font-size: 32px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.bp-hero-badge-tag {
  font-size: 11.5px;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 3px 10px;
  border-radius: 99px;
}

/* Cặp nút CTA kép */
.bp-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.bp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.bp-btn-primary {
  background: var(--hero-green);
  color: #ffffff !important;
  box-shadow: 0 4px 20px var(--hero-green-glow);
}

.bp-btn-primary:hover {
  background: #159b04;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26, 182, 6, 0.45);
}

.bp-btn-secondary {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.bp-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

/* Dải Cam Kết Dưới Nút */
.bp-hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
}

.bp-hero-trust b {
  color: #facc15;
}

.bp-dot-sep {
  opacity: 0.4;
}

/* CỘT SHOW-OFF CỖ MÁY XỊN NHẤT (PHẢI) */
.bp-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bp-hero-visual-inner {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bp-hero-pc-img {
  max-width: 100%;
  max-height: 480px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 35px rgba(26, 182, 6, 0.15));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.bp-hero-visual:hover .bp-hero-pc-img {
  transform: translateY(-8px) scale(1.02);
}

/* RESPONSIVE TRÊN TABLET & MOBILE */
@media (max-width: 1024px) {
  .bp-hero-flagship {
    padding: 40px 32px;
  }
  .bp-hero-title {
    font-size: 32px;
  }
  .bp-hero-pc-img {
    max-height: 380px;
  }
}

@media (max-width: 860px) {
  .bp-hero-section-wrap {
    padding: 10px 0 16px;
  }

  .bp-hero-flagship {
    min-height: auto;
    padding: 36px 20px 28px;
    border-radius: 0;
  }

  .bp-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .bp-hero-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .bp-hero-chips,
  .bp-hero-pricing,
  .bp-hero-actions,
  .bp-hero-trust {
    justify-content: center;
  }

  .bp-hero-pc-img {
    max-height: 320px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .bp-hero-section-wrap .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .bp-hero-flagship {
    padding: 28px 14px 22px;
    border-radius: 0;
  }
  .bp-hero-title {
    font-size: 24px;
  }
  .bp-hero-amount {
    font-size: 24px;
  }
  .bp-hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .bp-btn {
    width: 100%;
  }
  .bp-hero-pc-img {
    max-height: 250px;
  }
  .bp-hero-chips {
    gap: 6px;
  }
  .bp-hero-chip {
    font-size: 11px;
    padding: 4px 9px;
  }
}

/* ==========================================================================
   MULTI-SLIDE CAROUSEL STYLES (Slick Integration)
   ========================================================================== */
.bp-hero-slider {
  position: relative;
  width: 100%;
}

.bp-hero-slide {
  outline: none !important;
}

/* ==========================================================================
   MULTI-SLIDE CAROUSEL STYLES (Slick Integration)
   Đồng bộ chiều cao chuẩn Full HD 16:9 Container (1200 x 675px)
   ========================================================================== */
.bp-hero-slider {
  position: relative;
  width: 100%;
}

.bp-hero-slider .slick-list,
.bp-hero-slider .slick-track {
  height: 675px;
}

.bp-hero-slide {
  height: 675px !important;
  outline: none !important;
}

/* 1. Slide Custom PC */
.bp-hero-slide--custom {
  height: 675px !important;
}

.bp-hero-flagship {
  width: 100%;
  height: 675px;
  background: radial-gradient(ellipse at 75% 50%, #162032 0%, #090b10 65%);
  position: relative;
  overflow: hidden;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  box-sizing: border-box;
}

/* 2. Slide Banner Ảnh (Chuẩn tỉ lệ 16:9 Full HD 1920x1080 -> 1200x675px) */
.bp-hero-slide--banner {
  width: 100%;
  height: 675px !important;
  background: #090b10;
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.bp-hero-banner-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.bp-hero-banner-link picture {
  display: block;
  width: 100%;
  height: 100%;
}

.bp-hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bp-hero-banner-link:hover .bp-hero-banner-img {
  transform: scale(1.02);
}

/* ==========================================================================
   TRIỆT TIÊU HOÀN TOÀN MŨI TÊN ĐIỀU HƯỚNG CỦA SLICK & THEME
   ========================================================================== */
.bp-hero-section-wrap .slick-arrow,
.bp-hero-section-wrap .slick-prev,
.bp-hero-section-wrap .slick-next,
.bp-hero-slider .slick-arrow,
.bp-hero-slider .slick-prev,
.bp-hero-slider .slick-next,
.bp-hero-nav {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ==========================================================================
   MINIMAL PROGRESS PILL BAR (Đặt hàng dưới, nằm ngoài khung đen của Hero)
   Đè triệt để style .slick-dots của main.css (width: 100px)
   ========================================================================== */
.bp-hero-section-wrap .bp-hero-slider .slick-dots {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 18px auto 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  list-style: none !important;
  z-index: 15 !important;
}

.bp-hero-section-wrap .bp-hero-slider .slick-dots li {
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  height: 14px !important;
  width: auto !important;
}

/* Các chấm chưa active: chấm tròn nhỏ màu xám đen mờ */
.bp-hero-section-wrap .bp-hero-slider .slick-dots li button {
  width: 8px !important;
  height: 8px !important;
  padding: 0 !important;
  border-radius: 99px !important;
  background: rgba(0, 0, 0, 0.22) !important;
  border: none !important;
  font-size: 0 !important;
  cursor: pointer !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: block !important;
  position: relative !important;
  overflow: hidden !important;
  opacity: 1 !important;
  margin: 0 !important;
}

.bp-hero-section-wrap .bp-hero-slider .slick-dots li:hover button {
  background: rgba(0, 0, 0, 0.5) !important;
  transform: scale(1.2) !important;
}

/* Slide đang active: Nở thành thanh Pill (bo tròn) có animation fill chạy theo thời gian thực */
.bp-hero-section-wrap .bp-hero-slider .slick-dots li.slick-active button {
  width: 38px !important;
  height: 8px !important;
  border-radius: 99px !important;
  background: rgba(0, 0, 0, 0.12) !important;
  transform: scale(1) !important;
}

.bp-hero-section-wrap .bp-hero-slider .slick-dots li.slick-active button::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 0% !important;
  background: var(--hero-green) !important;
  border-radius: 99px !important;
  box-shadow: 0 0 10px var(--hero-green-glow) !important;
  animation: bpHeroProgress 6s linear forwards !important;
}

/* Tạm dừng chạy fill khi rê chuột vào */
.bp-hero-slider:hover .slick-dots li.slick-active button::before {
  animation-play-state: paused;
}

@keyframes bpHeroProgress {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .bp-hero-slider .slick-list,
  .bp-hero-slider .slick-track,
  .bp-hero-slide,
  .bp-hero-slide--custom,
  .bp-hero-flagship,
  .bp-hero-slide--banner,
  .bp-hero-banner-img {
    height: 576px !important;
  }
}

@media (max-width: 860px) {
  .bp-hero-slider .slick-list,
  .bp-hero-slider .slick-track,
  .bp-hero-slide,
  .bp-hero-slide--custom,
  .bp-hero-flagship,
  .bp-hero-slide--banner,
  .bp-hero-banner-img {
    height: 484px !important;
  }
  .bp-hero-flagship {
    padding: 30px 20px 24px;
  }
}

@media (max-width: 480px) {
  .bp-hero-slider .slick-list,
  .bp-hero-slider .slick-track,
  .bp-hero-slide,
  .bp-hero-slide--custom,
  .bp-hero-flagship,
  .bp-hero-slide--banner,
  .bp-hero-banner-img {
    height: 270px !important;
  }
  .bp-hero-flagship {
    padding: 20px 14px 18px;
  }
  .bp-hero-section-wrap .bp-hero-slider .slick-dots {
    margin-top: 12px !important;
    gap: 6px !important;
  }
  .bp-hero-section-wrap .bp-hero-slider .slick-dots li button {
    width: 6px !important;
    height: 6px !important;
  }
  .bp-hero-section-wrap .bp-hero-slider .slick-dots li.slick-active button {
    width: 26px !important;
    height: 6px !important;
  }
}
