/* CSS Chuyên Biệt Cho Các Trang Vệ Tinh SEO Quận Huyện - Karaoke Together */
:root {
  --ktv-primary: #a855f7;
  --ktv-primary-hover: #9333ea;
  --ktv-bg: #0b0f19;
  --ktv-card-bg: #131b2e;
  --ktv-card-border: rgba(168, 85, 247, 0.2);
  --ktv-text: #f8fafc;
  --ktv-muted: #94a3b8;
  --ktv-accent: #f59e0b;
  --ktv-success: #10b981;
}

body.cluster-page {
  background-color: var(--ktv-bg);
  color: var(--ktv-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

.cluster-hero {
  background: radial-gradient(circle at 50% 20%, rgba(168, 85, 247, 0.15) 0%, rgba(11, 15, 25, 0) 70%);
  padding: 40px 16px 30px;
  text-align: center;
}

.cluster-breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--ktv-muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.cluster-breadcrumb a {
  color: var(--ktv-primary);
  text-decoration: none;
}

.cluster-breadcrumb a:hover {
  text-decoration: underline;
}

.cluster-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #d8b4fe;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.cluster-title {
  font-size: 1.95rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 14px;
  color: #ffffff;
}

.cluster-title span {
  background: linear-gradient(135deg, #c084fc, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cluster-desc {
  max-width: 680px;
  margin: 0 auto 24px;
  color: #cbd5e1;
  font-size: 1.02rem;
}

.cluster-hero-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-ktv-primary {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  color: #ffffff !important;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.35);
  transition: all 0.2s ease;
}

.btn-ktv-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.5);
}

.btn-ktv-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e2e8f0 !important;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-ktv-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
}

/* Feature grid */
.cluster-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 1000px;
  margin: 30px auto;
  padding: 0 16px;
}

.feature-box {
  background: var(--ktv-card-bg);
  border: 1px solid var(--ktv-card-border);
  padding: 20px;
  border-radius: 16px;
  text-align: left;
}

.feature-box .icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.feature-box h3 {
  font-size: 1.05rem;
  margin: 0 0 6px;
  color: #f1f5f9;
}

.feature-box p {
  font-size: 0.88rem;
  color: var(--ktv-muted);
  margin: 0;
  line-height: 1.5;
}

/* Danh sách quán */
.cluster-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px 40px;
}

.cluster-section-header {
  margin-bottom: 24px;
}

.cluster-section-header h2 {
  font-size: 1.5rem;
  color: #fff;
  margin: 0 0 8px;
}

.cluster-section-header p {
  color: var(--ktv-muted);
  margin: 0;
  font-size: 0.95rem;
}

.quan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.quan-card {
  background: var(--ktv-card-bg);
  border: 1px solid var(--ktv-card-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quan-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.quan-img-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  background: #1e293b;
}

.quan-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quan-badge-hot {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
}

.quan-badge-discount {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(16, 185, 129, 0.95);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
}

.quan-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.quan-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}

.quan-address {
  font-size: 0.85rem;
  color: var(--ktv-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.quan-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.quan-price {
  font-size: 0.95rem;
  color: #fbbf24;
  font-weight: 700;
}

.quan-rating {
  font-size: 0.85rem;
  color: #f1f5f9;
}

.quan-action {
  margin-top: 12px;
  display: flex;
  gap: 8px;
}

.quan-action a {
  flex: 1;
  text-align: center;
  padding: 9px 0;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

/* FAQ Accordion */
.cluster-faq {
  margin-top: 40px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--ktv-card-bg);
  border: 1px solid var(--ktv-card-border);
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  color: #f1f5f9;
  text-align: left;
  padding: 16px 20px;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background: rgba(168, 85, 247, 0.08);
}

.faq-icon-arrow {
  color: var(--ktv-primary);
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.faq-answer {
  display: none;
  padding: 0 20px 16px;
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
}

/* Hub links */
.cluster-hub {
  margin-top: 40px;
  background: rgba(19, 27, 46, 0.6);
  border: 1px dashed rgba(168, 85, 247, 0.3);
  border-radius: 16px;
  padding: 24px;
}

.cluster-hub h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 1.1rem;
}

.hub-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hub-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  padding: 8px 14px;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.hub-pill:hover, .hub-pill.active {
  background: rgba(168, 85, 247, 0.25);
  border-color: var(--ktv-primary);
  color: #fff;
}

/* Sticky Bottom Bar for Mobile */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(11, 15, 25, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(168, 85, 247, 0.3);
  padding: 10px 16px;
  display: flex;
  gap: 10px;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.mobile-sticky-bar a {
  flex: 1;
  text-align: center;
  padding: 12px 6px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-sticky-call {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff !important;
}

.btn-sticky-zalo {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #fff !important;
}

.btn-sticky-book {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  color: #fff !important;
}

@media (min-width: 768px) {
  .cluster-title {
    font-size: 2.4rem;
  }
  .mobile-sticky-bar {
    display: none;
  }
}
