/* ========================================================
   HANIEHOK - HOMEPAGE SPECIFIC STYLES (css/home.css)
   Pastel Blue Theme
   ======================================================== */

/* Hero Section */
.hero {
  text-align: center;
  padding: 34px 0 28px;
  position: relative;
}

.hero-mascot-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.hero-mascot-img {
  width: 94px;
  height: 94px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 10px 22px rgba(18, 103, 124, 0.2));
  animation: floatMascot 3.8s ease-in-out infinite;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.98) 0%, rgba(230, 246, 253, 0.8) 100%);
  padding: 3px;
  border: 2.5px solid #a2dcf0;
}

@keyframes floatMascot {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(1.5deg); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 4.4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 8px 0 10px;
  background: linear-gradient(135deg, #135567 0%, #1a829a 50%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.hero-desc {
  font-size: 0.98rem;
  color: var(--text-sub);
  max-width: 780px;
  margin: 0 auto 24px;
  line-height: 1.68;
  text-align: center;
  text-wrap: balance;
}

.hero-zalo-link {
  color: #0284c7;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero-zalo-link:hover {
  color: #0369a1;
}

.hero-slogan {
  display: inline-block;
  margin-top: 6px;
  font-weight: 600;
  color: #0e7490;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions .btn {
  padding: 10px 22px;
  font-size: 0.92rem;
}

/* Bank Transfer Quick Card */
.bank-transfer-section {
  margin: 10px 0 20px;
}

.bank-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.bank-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
}

.bank-header {
  text-align: center;
  margin-bottom: 28px;
}

.bank-header-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.kawaii-icon {
  font-size: 1.4rem;
  color: var(--accent-pink);
  animation: pulseHeart 2s infinite ease-in-out;
}

@keyframes pulseHeart {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.bank-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.5px;
}

.bank-header p {
  color: var(--text-sub);
  font-size: 0.95rem;
  margin-top: 4px;
}

.bank-body {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 36px;
  align-items: center;
}

.bank-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bank-item {
  background: #f8fbfe;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition-fast);
}

.bank-item:hover {
  background: #ffffff;
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.08);
}

.bank-item-label {
  font-size: 0.88rem;
  color: var(--text-sub);
}

.bank-item-value {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.bank-item.highlight-account {
  background: #e6f6fc;
  border: 1px solid rgba(34, 167, 196, 0.45);
}

.account-action-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.account-number-text {
  font-family: var(--font-heading), monospace;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #0e677c;
}

/* QR Code Container */
.qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.qr-box {
  background: #ffffff;
  padding: 10px;
  border: 3px solid #bce5f3;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgba(18, 103, 124, 0.15), 0 0 20px rgba(34, 167, 196, 0.2);
  width: 205px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal);
}

.qr-box:hover {
  transform: scale(1.03);
}

.qr-box img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-sm);
}

.qr-caption {
  margin-top: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-sub);
  letter-spacing: 0.5px;
}

/* Facebook Official Notice Banner */
.facebook-notice-bar {
  background: rgba(216, 243, 252, 0.85);
  border: 1px solid rgba(34, 167, 196, 0.38);
  border-radius: var(--radius-full);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 18px 0 44px;
  font-size: 0.92rem;
  color: #0e677c;
  text-align: center;
}

.facebook-notice-bar a {
  color: #1b9ab5;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.facebook-notice-bar a:hover {
  color: #0e677c;
}

/* Services Grid */
.services-section {
  margin: 36px 0 54px;
}

.section-header {
  text-align: center;
  margin-bottom: 36px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-card);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-hover);
}

.service-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: #f0f7ff;
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(14, 116, 144, 0.08);
  transition: transform var(--transition-fast);
}

.service-card:hover .service-icon-wrap {
  transform: scale(1.1) rotate(4deg);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.card-game-badges {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin: 8px 0 14px;
}

.card-game-badges img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.card-game-badges img:hover {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 6px 12px rgba(14, 116, 144, 0.2);
}

.service-card p {
  color: var(--text-sub);
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-card .btn {
  width: 100%;
}

/* Trust Features Section */
.trust-section {
  margin-bottom: 70px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.trust-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-card);
}

.trust-item-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.trust-item-content h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.trust-item-content p {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .bank-body {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .bank-item {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .account-action-group {
    flex-direction: column;
    gap: 10px;
  }

  .services-grid, .trust-grid {
    grid-template-columns: 1fr;
  }

  .rank-grid-2col, .heroes-cards-grid {
    grid-template-columns: 1fr;
  }

  .calc-result-box {
    flex-direction: column;
    text-align: center;
  }

  .calc-cta-group {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================================
   CẢI THIỆN RANK & THƯỢNG ĐỈNH (HOME PAGE SECTION)
   ======================================================== */

.rank-section {
  margin: 40px 0 60px;
  position: relative;
}

.rank-banner-header {
  text-align: center;
  margin-bottom: 28px;
  position: relative;
}

.rank-logos-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.rank-game-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-glass);
  box-shadow: 0 4px 12px rgba(18, 103, 124, 0.08);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-main);
  transition: transform var(--transition-fast);
}

.rank-game-badge:hover {
  transform: translateY(-2px);
}

.rank-game-badge img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  object-fit: cover;
}

.rank-banner-header .eyebrow {
  display: block;
  margin-bottom: 8px;
}

.rank-club-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.8vw, 2.3rem);
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #115365;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
}

.rank-club-title .flower-deco {
  font-size: 1.5rem;
  color: #10b981;
  display: inline-block;
  animation: rotateFlower 8s linear infinite;
}

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

.rank-banner-desc {
  max-width: 640px;
  margin: 0 auto 18px;
  color: var(--text-sub);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Feature Badges Ribbon */
.rank-features-ribbon {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.rank-feat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid rgba(34, 167, 196, 0.3);
  color: #0e677c;
  box-shadow: 0 2px 8px rgba(18, 103, 124, 0.05);
}

.rank-feat-pill.highlight {
  background: #e6f6fc;
  border-color: #22a7c4;
  color: #0c5769;
  font-weight: 700;
}

/* 2-Column Grid for Ranked & Peak */
.rank-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.rank-box {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 26px 22px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.rank-box:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(34, 167, 196, 0.45);
}

.rank-box-header {
  text-align: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1.5px dashed rgba(34, 167, 196, 0.25);
  position: relative;
}

.rank-box-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #c2410c;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.rank-box.peak-box .rank-box-title {
  color: #0284c7;
}

.rank-box-sub {
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-top: 4px;
}

/* Table / Row list */
.rank-rows-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.rank-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #f8fbfe;
  border: 1px solid rgba(210, 231, 243, 0.8);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.rank-row-item:hover {
  background: #ffffff;
  border-color: rgba(56, 189, 248, 0.5);
  transform: translateX(3px);
  box-shadow: 0 3px 10px rgba(14, 165, 233, 0.08);
}

.rank-row-item.highlight-row {
  background: #fff8eb;
  border-color: rgba(245, 158, 11, 0.4);
}

.rank-item-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rank-item-icon {
  font-size: 1.15rem;
  width: 26px;
  text-align: center;
}

.rank-item-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-main);
}

.rank-item-subvi {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-left: 4px;
  font-weight: 500;
}

.rank-item-range {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  background: rgba(34, 167, 196, 0.1);
  color: #0e677c;
  margin-left: 6px;
}

.rank-price-pill {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: #0369a1;
  background: #e0f2fe;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(56, 189, 248, 0.35);
  white-space: nowrap;
}

.rank-price-pill.highlight {
  color: #b45309;
  background: #fef3c7;
  border-color: rgba(245, 158, 11, 0.4);
}

/* Peak dual pricing layout */
.peak-price-group {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: right;
  white-space: nowrap;
}

.peak-pkg-price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.92rem;
  color: #0284c7;
}

.peak-retail-price {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: #f1f5f9;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

/* Notes callout inside box */
.rank-note-callout {
  margin-top: 16px;
  padding: 12px 14px;
  background: #fff8f8;
  border: 1px solid #fed7d7;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  line-height: 1.5;
  color: #9b2c2c;
}

.rank-note-callout.peak-note {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.rank-note-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 5px;
}

.rank-note-item:last-child {
  margin-bottom: 0;
}

.rank-note-dot {
  color: #e53e3e;
  font-weight: bold;
  font-size: 0.9rem;
  line-height: 1.2;
}

.rank-note-callout.peak-note .rank-note-dot {
  color: #16a34a;
}

/* Top Heroes Full-Width Box */
.rank-box.heroes-box {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 251, 255, 0.96) 100%);
  border: 1.5px solid rgba(22, 101, 192, 0.18);
  margin-bottom: 24px;
}

.heroes-banner-wrap {
  width: 100%;
  margin-bottom: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
  border: 1.5px solid rgba(22, 101, 192, 0.25);
  background: #0d1b2a;
}

.heroes-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.heroes-banner-wrap:hover .heroes-banner-img {
  transform: scale(1.015);
}

.heroes-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .heroes-cards-grid {
    grid-template-columns: 1fr;
  }
}

.hero-tier-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 26px 24px 24px;
  border: 1.5px solid #cbd5e1;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hero-tier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.hero-tier-card.red-bronze {
  border: 1.5px solid #fca5a5;
  background: #ffffff;
}

.hero-tier-card.red-bronze::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: #e11d48;
}

.hero-tier-card.black-bronze {
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
}

.hero-tier-card.black-bronze::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: #1e293b;
}

.hero-tier-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.hero-tier-badge-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  box-shadow: none;
}

.hero-tier-card.red-bronze .hero-tier-badge-icon {
  background: #fff1f2;
  border: 1.5px solid #fecdd3;
}

.hero-tier-card.black-bronze .hero-tier-badge-icon {
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
}

.hero-tier-title-wrap h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin: 0 0 4px 0;
}

.hero-tier-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-tier-card.red-bronze .hero-tier-tag {
  background: #ffe4e6;
  color: #be123c;
  border: 1px solid #fecdd3;
}

.hero-tier-card.black-bronze .hero-tier-tag {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
}

.hero-price-display {
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 16px;
  border: 1.5px dashed #cbd5e1;
}

.hero-main-price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #be123c;
  line-height: 1.2;
}

.hero-tier-card.black-bronze .hero-main-price {
  color: #0f172a;
}

.hero-sub-price {
  font-size: 0.88rem;
  color: #475569;
  margin-top: 5px;
  font-weight: 600;
}

.hero-tier-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 22px;
}

/* Service Comprehensive Notes Box */
.heroes-full-notice {
  background: #fffdf5;
  border: 1.5px solid #fde047;
  border-radius: 18px;
  padding: 22px 26px;
  margin-bottom: 24px;
  box-shadow: 0 4px 18px rgba(234, 179, 8, 0.06);
}

.heroes-full-notice h5 {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 800;
  color: #854d0e;
  letter-spacing: 0.3px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.notice-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notice-list-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: #78350f;
  line-height: 1.6;
}

.notice-list-item .n-icon {
  color: #d97706;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.5;
  flex-shrink: 0;
}

.notice-list-item strong {
  font-weight: 700;
  color: #713f12;
}

/* Hero Showcase Ribbon */
.heroes-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 0 4px;
}

.hero-avatar-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--border-glass);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* Interactive Calculator Box */
.rank-calc-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid rgba(34, 167, 196, 0.35);
  border-radius: var(--radius-xl);
  padding: 28px 22px;
  box-shadow: 0 16px 36px rgba(18, 103, 124, 0.1);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.rank-calc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
}

.calc-header {
  text-align: center;
  margin-bottom: 22px;
}

.calc-header h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.calc-header p {
  font-size: 0.88rem;
  color: var(--text-sub);
  margin-top: 4px;
}

/* Calc Mode Tabs */
.calc-tabs-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.calc-tab-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  background: #f1f5f9;
  color: var(--text-sub);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.calc-tab-btn:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

.calc-tab-btn.active {
  background: #e0f2fe;
  color: #0369a1;
  border-color: #38bdf8;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
}

/* Tab Panels */
.calc-panel {
  display: none;
}

.calc-panel.active {
  display: block;
}

/* Card & Section Action Buttons */
.btn-rank-action {
  width: 100%;
  height: 46px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  background: linear-gradient(135deg, #1fa2be 0%, #0284c7 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.22);
  transition: all 0.22s ease;
  cursor: pointer;
  border: none;
}

.btn-rank-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.35);
  filter: brightness(1.05);
}

.btn-hero-action {
  width: 100%;
  height: 48px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-hero-red {
  background: #c01535;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(192, 21, 53, 0.28);
}

.btn-hero-red:hover {
  background: #a6122d;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(192, 21, 53, 0.4);
}

.btn-hero-black {
  background: #1e293b;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(30, 41, 59, 0.28);
}

.btn-hero-black:hover {
  background: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(30, 41, 59, 0.4);
}

/* Calculator Result Buttons */
.btn-calc-copy {
  height: 46px;
  padding: 0 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-calc-copy:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-calc-book {
  height: 46px;
  padding: 0 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-calc-book:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45);
  filter: brightness(1.06);
}

/* Form Grid Layouts */
.calc-grid-form {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

.calc-grid-4col {
  grid-template-columns: repeat(4, 1fr);
}

.calc-grid-2col {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 900px) {
  .calc-grid-4col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .calc-grid-4col, .calc-grid-2col {
    grid-template-columns: 1fr;
  }
}

.calc-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.calc-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.3px;
}

.calc-select, .calc-input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid var(--border-glass);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  outline: none;
  transition: all var(--transition-fast);
  box-sizing: border-box;
  box-shadow: 0 2px 6px rgba(18, 90, 115, 0.03);
}

.calc-select:focus, .calc-input:focus {
  border-color: var(--accent-sea);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(34, 167, 196, 0.18), 0 4px 16px rgba(34, 167, 196, 0.12);
}

.calc-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding: 0;
  background: transparent;
  border: none;
}

.calc-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: #ffffff;
  border: 1.5px solid var(--border-glass);
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 6px rgba(18, 103, 124, 0.04);
}

.calc-checkbox-label:hover {
  border-color: #38bdf8;
  background: #f0f9ff;
}

.calc-checkbox-label input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: #0284c7;
  cursor: pointer;
}

/* Calc Result Box */
.calc-result-box {
  background: linear-gradient(135deg, #0e677c 0%, #155e75 100%);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: 0 10px 24px rgba(14, 103, 124, 0.22);
}

.calc-result-info .result-lbl {
  font-size: 0.82rem;
  color: #bce5f3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.calc-result-info .result-price {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  color: #fde047;
  line-height: 1.1;
  margin: 4px 0 2px;
}

.calc-result-info .result-note {
  font-size: 0.8rem;
  color: #e0f2fe;
}

.calc-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ========================================================
   UNIFIED RANK CALCULATOR LAYOUT & STEPPERS
   ======================================================== */

.rank-calc-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .rank-calc-main-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.rank-input-card {
  background: #ffffff;
  border: 1.5px solid rgba(210, 231, 243, 0.9);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 4px 14px rgba(18, 103, 124, 0.04);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card-mini-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-main);
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(203, 213, 225, 0.7);
}

.dot-indicator {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot-indicator.dot-current {
  background: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);
}

.dot-indicator.dot-target {
  background: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.subtier-flex-row {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 12px;
}

@media (max-width: 480px) {
  .subtier-flex-row {
    grid-template-columns: 1fr;
  }
}

/* Star Stepper Component */
.star-stepper-wrap {
  display: flex;
  align-items: center;
  height: 48px;
  background: #ffffff;
  border: 1.5px solid var(--border-glass);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color var(--transition-fast);
  box-sizing: border-box;
}

.star-stepper-wrap:focus-within {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(34, 167, 196, 0.15);
}

.btn-stepper {
  width: 44px;
  height: 100%;
  background: #f1f5f9;
  border: none;
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  user-select: none;
}

.btn-stepper:hover {
  background: #e2e8f0;
  color: #0284c7;
}

.btn-stepper:active {
  background: #cbd5e1;
}

.stepper-input {
  flex: 1;
  height: 100%;
  border: none;
  background: transparent;
  text-align: center;
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  outline: none;
  -moz-appearance: textfield;
}

.stepper-input::-webkit-outer-spin-button,
.stepper-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.stepper-unit {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0284c7;
  padding-right: 14px;
  white-space: nowrap;
}

/* Quick Presets Pills */
.quick-presets-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.presets-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-sub);
}

.quick-presets-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.preset-pill {
  padding: 6px 13px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  background: #ffffff;
  border: 1px solid rgba(203, 213, 225, 0.8);
  color: #334155;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.preset-pill:hover {
  border-color: #38bdf8;
  color: #0284c7;
  background: #f0f9ff;
  transform: translateY(-1px);
}

.preset-pill.active {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);
}

.preset-pill.preset-jump {
  background: #fef3c7;
  color: #b45309;
  border-color: #fde68a;
  font-weight: 800;
}

.preset-pill.preset-jump:hover {
  background: #fde68a;
  color: #92400e;
  border-color: #f59e0b;
}

/* Route Preview Banner */
.route-preview-banner {
  background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%);
  border: 1.5px solid #bae6fd;
  border-radius: 14px;
  padding: 12px 18px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.route-flow {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
}

.route-arrow {
  color: #0284c7;
  font-weight: 900;
}

.route-to {
  color: #d97706;
}

.route-badge {
  margin-left: auto;
  background: #0284c7;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
}

.route-breakdown {
  font-size: 0.82rem;
  color: #334155;
  font-weight: 600;
  line-height: 1.4;
}

/* ========================================================
   DỊCH VỤ CHƠI GAME CÙNG (PLAY TOGETHER / DUO PRO)
   ======================================================== */
.play-together-section {
  margin: 36px 0 20px;
}

.play-together-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid rgba(244, 63, 94, 0.25);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: 0 12px 36px -6px rgba(244, 63, 94, 0.08), 0 0 0 1px rgba(244, 63, 94, 0.15);
  position: relative;
  overflow: hidden;
}

.play-together-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f43f5e 0%, #fb7185 50%, #fda4af 100%);
}

.play-together-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
}

.play-together-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #881337;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.play-together-desc {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.6;
}

.play-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.play-feature-item {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(254, 205, 211, 0.6);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  text-align: center;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.04);
}

.play-feature-item:hover {
  transform: translateY(-3px);
  border-color: rgba(244, 63, 94, 0.4);
  box-shadow: 0 10px 24px -4px rgba(244, 63, 94, 0.12);
}

.play-feat-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  display: inline-block;
}

.play-feature-item h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #9f1239;
  margin-bottom: 6px;
}

.play-feature-item p {
  font-size: 0.84rem;
  color: var(--text-sub);
  line-height: 1.45;
}

.play-cta-box {
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
  border: 1.5px dashed rgba(244, 63, 94, 0.4);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.play-cta-info h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #9f1239;
  margin-bottom: 4px;
}

.play-cta-info p {
  font-size: 0.88rem;
  color: #881337;
  line-height: 1.5;
}

.play-cta-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ========================================================
   MOBILE OVERRIDES (đặt cuối file để không bị rule gốc phía trên đè lên)
   ======================================================== */
@media (max-width: 900px) {
  .rank-grid-2col {
    grid-template-columns: 1fr;
  }

  .play-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .calc-result-box {
    flex-direction: column;
    text-align: center;
  }

  .calc-cta-group {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .play-together-card {
    padding: 24px 16px;
  }
  .play-together-title {
    font-size: 1.4rem;
  }
  .play-features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .play-cta-box {
    padding: 18px 16px;
    flex-direction: column;
    text-align: center;
  }
  .play-cta-actions {
    width: 100%;
    justify-content: center;
  }
  .play-cta-actions .btn {
    width: 100%;
  }
}

