@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap');

:root {
  --primary-pink: #FF8DA1;
  --light-pink: #FFECEF;
  --dark-pink: #E05270;
  --pastel-yellow: #FFF9E6;
  --yellow-accent: #FDCB6E;
  --pastel-blue: #EBF3FF;
  --blue-accent: #74B9FF;
  --pastel-green: #E6F9F3;
  --green-accent: #56C596;
  --pastel-purple: #F0EAFF;
  --purple-accent: #A29BFE;
  
  --bg-color: #FFF9FA;
  --card-bg: #FFFFFF;
  --text-dark: #2D3436;
  --text-muted: #636E72;
  --border-color: #FFE3E8;
  
  --shadow-sm: 0 4px 6px rgba(255, 141, 161, 0.06);
  --shadow-md: 0 10px 20px rgba(255, 141, 161, 0.1);
  --shadow-lg: 0 15px 30px rgba(255, 141, 161, 0.15);
  
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
}

/* ========================================== */
/* 10 COLOR THEME PALETTES (BỘ 10 GIAO DIỆN)  */
/* ========================================== */
/* Theme 1: Cute Pink (Default) */
[data-theme="pink"] {
  --primary-pink: #FF8DA1;
  --dark-pink: #E05270;
  --light-pink: #FFECEF;
  --bg-color: #FFF9FA;
  --border-color: #FFE3E8;
}

/* Theme 2: Tín Dụng Xanh (Cyan Ocean) */
[data-theme="cyan"] {
  --primary-pink: #00B4D8;
  --dark-pink: #0077B6;
  --light-pink: #CAF0F8;
  --bg-color: #F4FCFB;
  --border-color: #ADE8F4;
}

/* Theme 3: Xanh Lục Bảo (Emerald Mint) */
[data-theme="emerald"] {
  --primary-pink: #2D946A;
  --dark-pink: #1E6548;
  --light-pink: #E8FADF;
  --bg-color: #F0FDF4;
  --border-color: #C8E6C9;
}

/* Theme 4: Ngân Hàng Số (Royal Blue) */
[data-theme="blue"] {
  --primary-pink: #0068FF;
  --dark-pink: #0047AB;
  --light-pink: #EBF3FF;
  --bg-color: #F0F6FF;
  --border-color: #D0E1FD;
}

/* Theme 5: Fintech Purple (Tím Sang Trọng) */
[data-theme="purple"] {
  --primary-pink: #6C5CE7;
  --dark-pink: #4834D4;
  --light-pink: #F3F0FF;
  --bg-color: #F8F6FF;
  --border-color: #DCD6F7;
}

/* Theme 6: Sunset Orange (Cam Năng Động) */
[data-theme="orange"] {
  --primary-pink: #FF7675;
  --dark-pink: #D63031;
  --light-pink: #FFEAE8;
  --bg-color: #FFF7F6;
  --border-color: #FFD3D0;
}

/* Theme 7: Đen Dát Vàng (Dark Luxury Gold) */
[data-theme="gold"] {
  --primary-pink: #D28E00;
  --dark-pink: #9B6B00;
  --light-pink: #FFF7D6;
  --bg-color: #FFFDF5;
  --border-color: #FFEAA7;
}

/* Theme 8: Đỏ Uy Tín (Passion Red) */
[data-theme="red"] {
  --primary-pink: #E84393;
  --dark-pink: #C0392B;
  --light-pink: #FDE8E8;
  --bg-color: #FFF5F5;
  --border-color: #F8C291;
}

/* Theme 9: Xanh Bạc Hà (Fresh Mint) */
[data-theme="mint"] {
  --primary-pink: #26DE81;
  --dark-pink: #20BF6B;
  --light-pink: #E3FCEF;
  --bg-color: #F3FCF7;
  --border-color: #B8E994;
}

/* Theme 10: Vàng Hoàng Gia (Amber Sunset) */
[data-theme="amber"] {
  --primary-pink: #F7B731;
  --dark-pink: #FA8231;
  --light-pink: #FFF5E0;
  --bg-color: #FFFBF0;
  --border-color: #FED330;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Quicksand', sans-serif;
  -webkit-tap-highlight-color: transparent;
}

body {
  background: var(--bg-color);
  color: var(--text-dark);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-x: hidden;
  padding: 0;
  margin: 0;
}

/* Background floating bubbles decoration */
.bubble-decor {
  position: fixed;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 141, 161, 0.12), rgba(255, 236, 239, 0.05));
  z-index: 0;
  pointer-events: none;
  animation: floatBubble 10s ease-in-out infinite alternate;
}

.bubble-decor:nth-child(1) {
  width: 250px;
  height: 250px;
  top: 5%;
  left: 5%;
}

.bubble-decor:nth-child(2) {
  width: 180px;
  height: 180px;
  bottom: 8%;
  right: 5%;
  animation-delay: 3s;
}

/* Responsive Mobile-First App Container (No phone mockup frame) */
.app-container {
  width: 100%;
  max-width: 480px; /* Standard mobile view width on PC */
  min-height: 100vh;
  background: #FFFFFF;
  margin: 0 auto;
  box-shadow: 0 0 35px rgba(255, 141, 161, 0.12);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 10;
}

@media (max-width: 480px) {
  .app-container {
    max-width: 100%;
    box-shadow: none;
  }
}

/* Screen content area */
.app-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1rem 1rem 5rem 1rem;
}

/* Left Navigation Drawer Button & Panel (Chỉ hiển thị khi mở trong ứng dụng Android APK) */
.drawer-toggle-btn {
  display: none !important; /* Ẩn mặc định trên trình duyệt Web thường */
  background: var(--light-pink);
  border: 1.5px solid var(--primary-pink);
  color: var(--dark-pink);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
  margin-right: 0.2rem;
}

body.is-apk-app .drawer-toggle-btn {
  display: flex !important; /* Chỉ hiển thị nút Menu Trái khi mở trong App APK */
}

.drawer-toggle-btn:hover {
  background: var(--primary-pink);
  color: white;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 100000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 84%;
  max-width: 330px;
  height: 100%;
  background: #FFFFFF;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.2);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
}

.drawer-overlay.active .drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  padding: 1rem 1.25rem;
  background: var(--bg-color);
  border-bottom: 1.5px solid var(--light-pink);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark-pink);
  cursor: pointer;
  line-height: 1;
}

.drawer-body {
  padding: 1.25rem;
  flex: 1;
  overflow-y: auto;
}

.drawer-section-title {
  font-size: 0.85rem;
  color: var(--dark-pink);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.server-status-box {
  background: var(--bg-color);
  border: 1px solid var(--light-pink);
  padding: 0.6rem 0.85rem;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.status-dot.online { background: #56C596; box-shadow: 0 0 8px #56C596; }
.status-dot.offline { background: #E05270; box-shadow: 0 0 8px #E05270; }

.server-options-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.server-opt-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: white;
  border: 1.5px solid var(--light-pink);
  padding: 0.75rem;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.server-opt-item:hover {
  border-color: var(--primary-pink);
}

.server-opt-info {
  display: flex;
  flex-direction: column;
  font-size: 0.78rem;
}

.server-url {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: monospace;
}

.auto-failover-toggle {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.35;
}

.btn-check-signal {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-pink), var(--dark-pink));
  color: white;
  border: none;
  padding: 0.65rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  box-shadow: 0 4px 10px rgba(224, 82, 112, 0.2);
}

/* Fixed Mobile Bottom Navigation Bar */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: 62px;
  background: #FFFFFF;
  border-top: 1.5px solid var(--light-pink);
  box-shadow: 0 -4px 20px rgba(255, 141, 161, 0.15);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 10050; /* Hiển thị phía trên để không bị che khuất */
  padding: 0 0.5rem;
}

.b-nav-item {
  background: none;
  border: none;
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 12px;
  transition: all 0.2s ease;
  flex: 1;
}

.b-nav-item i {
  font-size: 1.1rem;
}

.b-nav-item.active {
  color: var(--dark-pink);
}

.b-nav-item.active i {
  color: var(--dark-pink);
  transform: scale(1.15);
}

/* Bottom Sheet Modal (Mobile & Desktop Responsive) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 62px;
  width: 100%;
  height: calc(100vh - 62px);
  height: calc(100dvh - 62px); /* Tương thích Dynamic Viewport Height trên Android/iOS */
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 0 0 10px 0;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  width: 100%;
  max-width: 480px;
  height: auto;
  max-height: calc(78vh - 62px);
  max-height: calc(78dvh - 62px);
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
  padding: 0.85rem 1rem 1rem 1rem;
  margin: 0 0.5rem;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.modal-scroll-area {
  flex: 1 1 auto;
  min-height: 0; /* Quan trọng: Ép cuộn nội dung bên trong, giữ nút ghim luôn hiển thị 100% */
  overflow-y: auto;
  padding-right: 2px;
  margin-bottom: 0.4rem;
  scrollbar-width: none;
}

.modal-scroll-area::-webkit-scrollbar {
  display: none;
}

.modal-pinned-footer {
  flex-shrink: 0;
  background: #FFFFFF;
  padding-top: 0.4rem;
  padding-bottom: 0.2rem;
  border-top: 1px solid var(--light-pink);
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

/* App Header & Mascot */
header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.5rem 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px dashed var(--light-pink);
}

.mascot-container {
  width: 54px;
  height: 54px;
  background: var(--light-pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--primary-pink);
  overflow: hidden;
  flex-shrink: 0;
}

.mascot-img {
  width: 95%;
  height: 95%;
  object-fit: cover;
  border-radius: 50%;
}

.header-text {
  display: flex;
  flex-direction: column;
}

.app-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-pink);
}

.app-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Sticky Header Navigation Bar (Sticky Search Box + Category Buttons) */
.sticky-nav-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  padding: 0.55rem 1rem 0.6rem 1rem;
  margin: 0 -1rem 1rem -1rem;
  box-shadow: 0 4px 15px rgba(255, 141, 161, 0.1);
  border-bottom: 1.5px solid var(--light-pink);
}

/* Categories Grid Layout */
.tabs-scroll-wrapper {
  position: relative;
  background-color: transparent;
  margin: 0;
  padding: 0;
}

.tabs-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  padding: 0.15rem 0;
  width: 100%;
}

.tab-btn {
  border: none;
  background: white;
  padding: 0.45rem 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 12px;
  border: 1.5px solid var(--light-pink);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.tab-btn span {
  white-space: nowrap;
}

.tab-btn.active {
  background: var(--primary-pink);
  color: white;
  border-color: var(--primary-pink);
  transform: translateY(-1px);
}

.tab-btn.active i {
  color: white !important;
}

.tab-btn i {
  font-size: 0.9rem;
}

/* Panels */
.tab-panel {
  display: none;
  animation: slideFadeIn 0.35s ease;
}

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

/* Search bar inside mobile mockup */
.search-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 0.85rem;
}

.search-input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.2rem;
  border: 2px solid var(--light-pink);
  border-radius: var(--radius-sm);
  outline: none;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dark);
  background-color: white;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.search-input:focus {
  border-color: var(--primary-pink);
  box-shadow: 0 0 0 3px rgba(255, 141, 161, 0.12);
}

.search-icon {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  color: var(--primary-pink);
  pointer-events: none;
}

/* List container */
.list-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Loan card (Compact) */
.loan-card {
  background: white;
  border: 1.5px solid var(--light-pink);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  transition: all 0.25s ease;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

/* Viewed / Clicked tags on card */
.card-viewed-tag {
  font-size: 0.65rem;
  font-weight: 700;
  color: #2D946A;
  background: #E6F9F3;
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.35rem;
  border: 1px dashed #56C596;
}

.card-clicked-tag {
  font-size: 0.65rem;
  font-weight: 700;
  color: #E05270;
  background: #FFECEF;
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.35rem;
  border: 1px dashed #FF8DA1;
}

.loan-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-pink);
  box-shadow: var(--shadow-md);
}

/* Avatar details */
.card-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.1);
}

.card-info {
  flex: 1;
  min-width: 0;
}

.card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.15rem;
}

.card-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-tag {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border-radius: 50px;
  text-transform: uppercase;
}

.tag-hot { background-color: var(--light-pink); color: var(--dark-pink); }
.tag-new { background-color: var(--pastel-yellow); color: #D28E00; }
.tag-safe { background-color: var(--pastel-green); color: #2D946A; }
.tag-easy { background-color: var(--pastel-blue); color: #2A75C7; }

.card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.meta-row {
  display: flex;
  justify-content: space-between;
}

.meta-val {
  font-weight: 700;
  color: var(--text-dark);
}

.meta-val-comm {
  color: var(--dark-pink);
}

/* Unused Bottom Navigation and Loan Form styles removed */

/* Bottom Sheet Modal (Mobile & Desktop Responsive) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  width: 100%;
  max-width: 480px;
  max-height: 85vh;
  overflow-y: auto;
  background: #FFFFFF;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
  padding: 1.25rem 1.25rem 2rem 1.25rem;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.15, 0.85, 0.45, 1);
  position: relative;
  scrollbar-width: none;
}

.modal-box::-webkit-scrollbar {
  display: none;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

/* Bottom sheet drag handle */
.drag-handle {
  width: 40px;
  height: 5px;
  background: #DFE6E9;
  border-radius: 3px;
  margin: -0.5rem auto 0.75rem auto;
}

.modal-close {
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  background: var(--light-pink);
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-pink);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.modal-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.modal-title-box {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.modal-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.modal-tag {
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border-radius: 50px;
  margin-top: 0.15rem;
}

.modal-details {
  background: var(--bg-color);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  margin-bottom: 1rem;
  border: 1.5px solid var(--light-pink);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.detail-val {
  font-weight: 700;
  color: var(--text-dark);
}

.detail-val-comm {
  color: var(--dark-pink);
}

.modal-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 0.5rem;
  white-space: pre-line;
}

.modal-link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, var(--primary-pink), var(--dark-pink));
  border: none;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(224, 82, 112, 0.25), inset 0 -3px 0 rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-link-btn:active {
  transform: translateY(1px);
}

.btn-platform-web {
  background: linear-gradient(135deg, var(--primary-pink), var(--dark-pink)) !important;
  box-shadow: 0 4px 10px rgba(224, 82, 112, 0.25), inset 0 -3px 0 rgba(0, 0, 0, 0.15) !important;
}

.btn-platform-android {
  background: linear-gradient(135deg, #2ecc71, #27ae60) !important;
  box-shadow: 0 4px 10px rgba(39, 174, 96, 0.25), inset 0 -3px 0 rgba(0, 0, 0, 0.15) !important;
  margin-top: 8px !important;
}

.btn-platform-ios {
  background: linear-gradient(135deg, #3498db, #2980b9) !important;
  box-shadow: 0 4px 10px rgba(41, 128, 185, 0.25), inset 0 -3px 0 rgba(0, 0, 0, 0.15) !important;
  margin-top: 8px !important;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 1.5rem 0;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.empty-icon {
  font-size: 2.2rem;
}

.empty-text {
  font-weight: 600;
  font-size: 0.82rem;
}

/* Phone bottom bar indicator home line */
.phone-home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 5px;
  background: #333;
  border-radius: 2.5px;
  z-index: 25;
}

/* RESPONSIVE DESIGN - Desktop vs Native Mobile */
@media (max-width: 480px) {
  body {
    padding: 0;
    background: var(--bg-color);
  }
  
  .phone-mockup {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
  }
  
  .phone-notch, .phone-home-indicator {
    display: none;
  }
  
  .phone-screen {
    border-radius: 0;
  }
  
  .status-bar {
    height: 44px;
    padding-top: 14px;
  }
}

/* Animations */
@keyframes floatBubble {
  0% { transform: translateY(0) scale(1) rotate(0deg); }
  100% { transform: translateY(-30px) scale(1.05) rotate(15deg); }
}

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

/* Interactive Calculator styling in Modal */
.modal-calculator {
  background: var(--bg-color);
  border: 1.5px dashed var(--light-pink);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  margin: 0.75rem 0;
}

.calc-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--dark-pink);
  margin-top: 0;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.calc-group {
  margin-bottom: 0.65rem;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.calc-value {
  color: var(--primary-pink);
  font-weight: 800;
}

.calc-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #E2E8F0;
  outline: none;
  margin: 0.35rem 0;
}

/* Custom slider thumb */
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary-pink);
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(255, 123, 145, 0.4);
  transition: transform 0.1s;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: none;
  border-radius: 50%;
  background: var(--primary-pink);
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(255, 123, 145, 0.4);
  transition: transform 0.1s;
}

.calc-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
}

.calc-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 500;
}

.calc-output {
  background: white;
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  margin-top: 0.65rem;
  border: 1px solid rgba(255, 184, 196, 0.3);
}

.output-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.output-row:last-child {
  margin-bottom: 0;
}

.main-output {
  font-size: 0.8rem;
  border-top: 1px solid #EDF2F7;
  padding-top: 0.35rem;
  margin-top: 0.25rem;
}

.main-output strong {
  font-size: 0.9rem;
  font-weight: 800;
}
}

/* Slogan Announcement Banner */
.announcement-banner {
  background: linear-gradient(135deg, #FFF9DB, #FFF3BF);
  border: 1.5px dashed #FAB005;
  border-radius: var(--radius-md);
  padding: 0.85rem;
  margin-bottom: 1rem;
  animation: slideFadeIn 0.4s ease-out;
  box-shadow: 0 4px 10px rgba(250, 176, 5, 0.08);
}

.announcement-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: #B87A00;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.announcement-content {
  font-size: 0.72rem;
  color: #5C4300;
  line-height: 1.45;
}

.announcement-content p {
  margin: 0;
}

.announcement-content p:first-child {
  margin-bottom: 0.45rem;
}

/* ========================================== */
/* AD / ANNOUNCEMENT POPUP MODAL STYLES       */
/* ========================================== */
.ad-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ad-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.ad-modal-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: scale(0.85);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ad-modal-overlay.active .ad-modal-card {
  transform: scale(1);
}

.ad-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease;
}

.ad-modal-close:hover {
  background: rgba(224, 82, 112, 0.9);
}

.ad-modal-header {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
}

.ad-modal-badge {
  background: linear-gradient(135deg, #FF4757, #FF6B81);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(255, 71, 87, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.ad-modal-banner-wrapper {
  width: 100%;
  max-height: 210px;
  overflow: hidden;
  background: #f1f2f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ad-modal-body {
  padding: 1.1rem;
  text-align: center;
}

.ad-modal-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 0.4rem 0;
  line-height: 1.35;
}

.ad-modal-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 1rem 0;
}

.ad-modal-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem;
  background: linear-gradient(135deg, #00BFA5, #00A389);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0, 191, 165, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ad-modal-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(0, 191, 165, 0.45);
}

.ad-modal-footer-options {
  margin-top: 0.85rem;
  display: flex;
  justify-content: center;
}

.ad-modal-snooze-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.ad-modal-snooze-btn:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--text-dark);
}

/* ========================================== */
/* FULL SCREEN ABOUT & SUPPORT PAGES STYLES  */
/* ========================================== */
.full-page-panel {
  padding: 0 0 5rem 0;
  width: 100%;
}

.about-hero-card, .support-hero-card {
  background: linear-gradient(135deg, var(--primary-pink), var(--dark-pink));
  color: white;
  padding: 1.5rem 1.25rem 1.75rem 1.25rem;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 10px 25px rgba(224, 82, 112, 0.25);
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
}

.support-hero-card {
  background: linear-gradient(135deg, #00B4DB, #0083B0);
  box-shadow: 0 10px 25px rgba(0, 131, 176, 0.25);
}

.about-hero-badge, .support-hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(4px);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 0.6rem;
}

.about-hero-title, .support-hero-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 0.5rem 0;
}

.about-hero-desc, .support-hero-desc {
  font-size: 0.82rem;
  line-height: 1.55;
  opacity: 0.95;
  margin: 0 0 1.1rem 0;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 0.75rem 0.5rem;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
}

.stat-label {
  font-size: 0.65rem;
  opacity: 0.9;
}

.about-section-box, .support-section-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.25rem;
  margin: 0 0.85rem 1.25rem 0.85rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 141, 161, 0.15);
}

.about-section-title, .support-section-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.value-card {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  background: var(--bg-color);
  padding: 0.85rem;
  border-radius: 16px;
}

.value-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.icon-cyan { background: #E0FFFC; color: #00A896; }
.icon-pink { background: #FFE8EC; color: #E05270; }
.icon-green { background: #E8FADF; color: #2D946A; }
.icon-yellow { background: #FFF7D6; color: #D28E00; }

.value-info h4 {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 0.2rem 0;
}

.value-info p {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.step-card {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid var(--light-pink);
  padding: 0.85rem;
  border-radius: 16px;
}

.step-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-pink), var(--dark-pink));
  color: white;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(224, 82, 112, 0.3);
}

.step-body h4 {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 0.15rem 0;
}

.step-body p {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

.priority-box {
  background: linear-gradient(135deg, #FFF5F7, #FFE8EE);
  border: 1.5px dashed var(--primary-pink);
}

.priority-desc {
  font-size: 0.8rem;
  color: var(--text-dark);
  line-height: 1.55;
  margin: 0;
}

/* Contact Cards */
.contact-channels-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 16px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
}

.zalo-card {
  background: linear-gradient(135deg, #0068FF, #0052CC);
  color: white;
  box-shadow: 0 8px 18px rgba(0, 104, 255, 0.25);
}

.phone-card {
  background: linear-gradient(135deg, #00BFA5, #00897B);
  color: white;
  box-shadow: 0 8px 18px rgba(0, 191, 165, 0.25);
}

.contact-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.contact-details {
  flex: 1;
}

.contact-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.25);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 12px;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.contact-details h4 {
  font-size: 0.9rem;
  font-weight: 800;
  margin: 0 0 0.15rem 0;
}

.contact-details p {
  font-size: 0.72rem;
  opacity: 0.9;
  margin: 0;
  line-height: 1.35;
}

.contact-arrow {
  font-size: 1rem;
  opacity: 0.7;
}

/* FAQ Accordion List */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-color);
  border-radius: 14px;
  padding: 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-question {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

.faq-answer p {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.safety-warning-card {
  background: #FFF5F5;
  border: 1.5px solid #FF8DA1;
  border-radius: 18px;
  padding: 1rem;
  margin: 0 0.85rem 1.5rem 0.85rem;
}

.warning-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #D63031;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 0.45rem;
}

.warning-text {
  font-size: 0.76rem;
  color: #636E72;
  line-height: 1.5;
  margin: 0;
}

/* Platform Badges on Campaign Cards */
.card-platform-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.25rem;
  flex-wrap: wrap;
}

.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.5rem;
  border-radius: 12px;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.2;
}

.chip-all {
  background: var(--pastel-purple);
  color: #6C5CE7;
  border: 1px solid rgba(108, 92, 231, 0.25);
}

.chip-ios {
  background: #EBF3FF;
  color: #0068FF;
  border: 1px solid rgba(0, 104, 255, 0.25);
}

.chip-android {
  background: #E6F9F3;
  color: #00A896;
  border: 1px solid rgba(0, 168, 150, 0.25);
}

.chip-web {
  background: #FFF5F7;
  color: #E05270;
  border: 1px solid rgba(224, 82, 112, 0.25);
}

/* Premium Lead Consultation Card & Form */
.lead-consult-card {
  background: linear-gradient(145deg, #FFFFFF, #FFF2F5);
  border: 1.5px solid rgba(255, 141, 161, 0.4);
  border-radius: 24px;
  padding: 1.4rem 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 12px 32px rgba(255, 105, 135, 0.12);
  position: relative;
  overflow: hidden;
}

.lead-consult-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #FF6B8B, #FF8E53, #FF6B8B);
}

.lead-consult-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #D81B60;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.lead-consult-desc {
  font-size: 0.83rem;
  color: #636E72;
  line-height: 1.45;
  margin-bottom: 1rem;
}

#lead-consult-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  width: 100%;
  box-sizing: border-box;
}

.lead-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: left;
}

.lead-form-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #2D3436;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.lead-form-label i {
  color: #FF5E84;
  font-size: 0.9rem;
}

.lead-form-input,
.lead-form-select {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 0.95rem;
  border-radius: 14px;
  border: 1.5px solid #FFD0DC;
  background: #FFFFFF;
  font-size: 0.88rem;
  color: #2D3436;
  font-family: inherit;
  transition: all 0.25s ease;
  outline: none;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.02);
}

.lead-form-input:focus,
.lead-form-select:focus {
  border-color: #FF5E84;
  box-shadow: 0 0 0 3.5px rgba(255, 94, 132, 0.18);
  background: #FFF;
}

.lead-btn-submit {
  width: 100%;
  padding: 0.95rem;
  border-radius: 50px;
  border: none;
  background: linear-gradient(135deg, #FF5E84 0%, #D81B60 100%);
  color: #FFFFFF;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(216, 27, 96, 0.32);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.lead-btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(216, 27, 96, 0.42);
}

.lead-btn-submit:active {
  transform: translateY(1px);
}

/* Centered Lead Success Pop-in Modal Overlay */
.lead-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1rem;
  box-sizing: border-box;
}

.lead-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lead-modal-box {
  background: #FFFFFF;
  border-radius: 28px;
  max-width: 400px;
  width: 100%;
  padding: 1.8rem 1.4rem;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.85) translateY(20px);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-sizing: border-box;
}

.lead-modal-overlay.active .lead-modal-box {
  transform: scale(1) translateY(0);
}

/* ========================================== */
/* PC ACCESS DETECTION & FULL DESKTOP VIEW    */
/* ========================================== */

/* Persistent Top-Right PC View Selector Widget */
.pc-view-selector {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 999999;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid var(--border-color, #FFE3E8);
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 141, 161, 0.2);
  padding: 0.55rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-family: 'Quicksand', sans-serif;
  animation: pcSelectorFadeIn 0.3s ease;
  transition: all 0.3s ease;
}

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

.pc-selector-header {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--dark-pink, #E05270);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.pc-selector-btn-group {
  display: flex;
  background: var(--light-pink, #FFECEF);
  padding: 3px;
  border-radius: 14px;
  gap: 3px;
}

.pc-mode-btn {
  border: none;
  background: transparent;
  color: var(--text-muted, #636E72);
  padding: 0.45rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 11px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  font-family: 'Quicksand', sans-serif;
}

.pc-mode-btn:hover {
  color: var(--dark-pink, #E05270);
}

.pc-mode-btn.active {
  background: linear-gradient(135deg, var(--primary-pink, #FF8DA1), var(--dark-pink, #E05270));
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(224, 82, 112, 0.3);
}

/* FULL DESKTOP VIEW STYLES (When activated on PC) */
body.full-desktop-view .app-container {
  max-width: 1200px !important;
  margin: 1.5rem auto !important;
  border-radius: 20px;
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.08);
}

body.full-desktop-view #campaigns-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)) !important;
  gap: 1.1rem !important;
}

body.full-desktop-view .news-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
  gap: 1.25rem !important;
}

body.full-desktop-view .tabs-container {
  grid-template-columns: repeat(6, 1fr) !important;
}

body.full-desktop-view .sticky-nav-bar {
  border-radius: 12px 12px 0 0;
}

body.full-desktop-view .bottom-nav {
  max-width: 1200px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 20px 20px 0 0;
}

/* ========================================== */
/* PC REDIRECT NOTICE MODAL (3s COUNTDOWN)    */
/* ========================================== */
.pc-redirect-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 1rem;
  box-sizing: border-box;
}

.pc-redirect-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.pc-redirect-card {
  background: #FFFFFF;
  border-radius: 24px;
  max-width: 420px;
  width: 100%;
  padding: 1.6rem 1.4rem;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  transform: scale(0.9) translateY(20px);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family: 'Quicksand', sans-serif;
  box-sizing: border-box;
}

.pc-redirect-modal-overlay.active .pc-redirect-card {
  transform: scale(1) translateY(0);
}

.pc-redirect-icon-box {
  width: 60px;
  height: 60px;
  background: var(--light-pink, #FFECEF);
  color: var(--dark-pink, #E05270);
  font-size: 1.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  box-shadow: 0 6px 16px rgba(224, 82, 112, 0.2);
}

.pc-redirect-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-pink, #E05270);
  margin-bottom: 0.5rem;
}

.pc-redirect-desc {
  font-size: 0.88rem;
  color: var(--text-dark, #2D3436);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.pc-redirect-timer-badge {
  background: #FFF9E6;
  border: 1px solid #FDCB6E;
  color: #D63031;
  padding: 0.55rem 0.9rem;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.pc-redirect-actions {
  display: flex;
  gap: 0.6rem;
}

.pc-redirect-btn-now {
  flex: 1;
  background: linear-gradient(135deg, var(--primary-pink, #FF8DA1), var(--dark-pink, #E05270));
  color: white;
  border: none;
  padding: 0.7rem;
  border-radius: 14px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(224, 82, 112, 0.3);
  transition: all 0.2s ease;
  font-family: 'Quicksand', sans-serif;
}

.pc-redirect-btn-now:hover {
  transform: translateY(-1px);
}

.pc-redirect-btn-cancel {
  background: #F1F2F6;
  color: #57606F;
  border: none;
  padding: 0.7rem 1rem;
  border-radius: 14px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Quicksand', sans-serif;
}

.pc-redirect-btn-cancel:hover {
  background: #E4E5EA;
}



