/* ========================================
   Font Awesome 6 Brands (missing from font-awesome.css)
   ======================================== */
@font-face {
  font-family: 'Font Awesome 6 Brands';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('/fonts/fa-brands-400.woff2') format('woff2'),
       url('/fonts/fa-brands-400.ttf') format('truetype');
}
.fa-brands, .fab {
  font-family: 'Font Awesome 6 Brands' !important;
  font-weight: 400 !important;
}
/* Legacy `fa fa-xxx` — remap known brand icon names to brands font */
.fa.fa-facebook, .fa.fa-facebook-f, .fa.fa-facebook-official, .fa.fa-facebook-square,
.fa.fa-twitter, .fa.fa-twitter-square, .fa.fa-x-twitter,
.fa.fa-instagram, .fa.fa-instagram-square,
.fa.fa-youtube, .fa.fa-youtube-play, .fa.fa-youtube-square,
.fa.fa-tiktok,
.fa.fa-line,
.fa.fa-threads,
.fa.fa-telegram, .fa.fa-telegram-plane,
.fa.fa-discord,
.fa.fa-twitch,
.fa.fa-pinterest, .fa.fa-pinterest-p, .fa.fa-pinterest-square,
.fa.fa-linkedin, .fa.fa-linkedin-in,
.fa.fa-reddit, .fa.fa-reddit-alien, .fa.fa-reddit-square,
.fa.fa-spotify,
.fa.fa-whatsapp,
.fa.fa-snapchat, .fa.fa-snapchat-ghost, .fa.fa-snapchat-square,
.fa.fa-weibo, .fa.fa-weixin, .fa.fa-qq,
.fa.fa-github, .fa.fa-github-square,
.fa.fa-google, .fa.fa-google-plus, .fa.fa-google-plus-g, .fa.fa-google-plus-square,
.fa.fa-apple, .fa.fa-windows, .fa.fa-android {
  font-family: 'Font Awesome 6 Brands' !important;
  font-weight: 400 !important;
}

/* ========================================
   GrowthSNS — Modern Design System
   ======================================== */

:root {
  --primary: #667eea;
  --primary-dark: #5a6fd6;
  --primary-light: #818cf8;
  --secondary: #764ba2;
  --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-soft: linear-gradient(135deg, rgba(102,126,234,0.08) 0%, rgba(118,75,162,0.08) 100%);
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #06b6d4;
  --bg: #f8f9fc;
  --bg-card: #fff;
  --text: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --transition: all 0.2s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Noto Sans JP", "Noto Sans SC", sans-serif;
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
}

a {
  text-decoration: none;
  cursor: pointer;
  color: inherit;
  transition: var(--transition);
}

a:hover {
  color: var(--primary);
}

p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text);
  font-weight: 700;
  line-height: 1.3;
}

/* ========================================
   Announcement Bar
   ======================================== */
.announcement-bar {
  background: var(--gradient);
  padding: 10px 0;
  text-align: center;
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.announcement-bar .announcement-text {
  display: inline-block;
}
.announcement-bar .announcement-text i {
  margin-right: 8px;
  opacity: 0.85;
}

/* ========================================
   Navigation
   ======================================== */
.site-nav {
  background: rgba(255,255,255,0.95) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.site-nav .navbar-brand img {
  height: 28px;
  width: auto;
}
.site-nav .nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 16px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.site-nav .nav-link:hover {
  background: var(--gradient-soft);
  color: var(--primary);
}
.site-nav .nav-link-cta {
  color: var(--primary);
  font-weight: 600;
}
.site-nav .nav-link-cta i {
  margin-right: 4px;
}
.nav-right {
  flex-wrap: nowrap;
}
.nav-auth-btn {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  background: #fff;
  white-space: nowrap;
  transition: var(--transition);
}
.nav-auth-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.nav-auth-btn i {
  margin-right: 4px;
}
.nav-auth-btn-primary {
  background: var(--primary);
  color: #fff !important;
  border-color: var(--primary);
}
.nav-auth-btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102,126,234,0.3);
}
.nav-auth-btn-outline {
  border-color: var(--border);
  color: var(--text-muted);
}
.nav-market-btn {
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--bg);
  color: var(--text-secondary);
  white-space: nowrap;
}
.nav-market-btn:hover {
  border-color: var(--border);
  background: var(--border-light);
}

/* ========================================
   Main Content
   ======================================== */
.site-main {
  min-height: 60vh;
  padding: 24px 0 40px;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
  background: #0f172a;
  color: rgba(255,255,255,0.75);
  padding: 56px 0 0;
  margin-top: 60px;
}
.footer-logo {
  filter: brightness(0) invert(1);
  opacity: 0.9;
  height: 26px;
  width: auto;
}
.footer-brand {
  max-width: 320px;
}
.footer-desc {
  margin-top: 14px;
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  transition: var(--transition);
}
.social-link:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.footer-heading {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255,255,255,0.08);
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-links a:hover {
  color: #fff;
  transform: translateX(3px);
}
.footer-trust {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.08);
}
.trust-badge i {
  font-size: 0.7rem;
}
.footer-bottom {
  margin-top: 40px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ========================================
   Mobile Bottom Bar
   ======================================== */
.mobile-bottom-bar {
  display: none;
}

@media screen and (max-width: 800px) {
  .mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.04);
  }
  .mobile-bottom-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
  }
  .mobile-bottom-bar a:hover,
  .mobile-bottom-bar a:active {
    color: var(--primary);
    background: var(--gradient-soft);
  }
  .mobile-bottom-bar a i {
    font-size: 1.2rem;
  }
  body {
    padding-bottom: 64px;
  }
}

@media screen and (min-width: 801px) {
  .mobile-bottom-bar {
    display: none;
  }
}

/* ========================================
   Common Components
   ======================================== */
.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  border-radius: var(--radius-sm);
  font-weight: 500;
  padding: 8px 20px;
  transition: var(--transition);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102,126,234,0.3);
}

.btn-gradient {
  background: var(--gradient);
  border: none;
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  padding: 10px 24px;
  transition: var(--transition);
}
.btn-gradient:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(102,126,234,0.35);
  color: #fff;
}

/* Cards */
.card-modern {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
}
.card-modern:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

/* ========================================
   Auth Pages (Login / Register / Forgot)
   ======================================== */
.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 40px 0;
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px 36px;
  border: 1px solid var(--border-light);
}
.auth-card .auth-header {
  text-align: center;
  margin-bottom: 28px;
}
.auth-card .auth-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.auth-card .auth-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}
.auth-card .form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.auth-card .form-control {
  display: block;
  width: 100%;
  padding: 10px 14px;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  box-sizing: border-box;
  background: var(--bg);
}
.auth-card .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(102,126,234,0.12);
  outline: none;
  background: #fff;
}
.auth-card .input-icon-group {
  position: relative;
}
.auth-card .input-icon-group i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
}
.auth-card .input-icon-group .form-control {
  padding-left: 40px;
}
.auth-card .input-with-btn {
  display: flex;
  gap: 8px;
}
.auth-card .input-with-btn .form-control {
  flex: 1;
}
.auth-card .btn-send-code {
  white-space: nowrap;
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--primary);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}
.auth-card .btn-send-code:hover {
  background: var(--primary);
  color: #fff;
}
.auth-card .btn-auth {
  width: 100%;
  padding: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--gradient);
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
}
.auth-card .btn-auth:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(102,126,234,0.35);
}
.auth-card .auth-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.auth-card .auth-footer a {
  color: var(--primary);
  font-weight: 500;
  display: inline;
}
.auth-card .auth-footer a:hover {
  text-decoration: underline;
}
.auth-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: #dc2626;
}
.auth-notice {
  background: var(--gradient-soft);
  border: 1px solid rgba(102,126,234,0.15);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.auth-notice strong {
  color: var(--primary);
}
.auth-promo {
  background: var(--gradient);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-top: 16px;
  text-align: center;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}
.mb-16 { margin-bottom: 16px; }

/* ========================================
   Member / Profile Area
   ======================================== */
.member-layout {
  display: flex;
  gap: 24px;
  min-height: 600px;
}
.member-sidebar {
  width: 240px;
  flex-shrink: 0;
}
.member-sidebar .sidebar-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  overflow: hidden;
  position: sticky;
  top: 100px;
}
.member-sidebar .sidebar-header {
  background: var(--gradient);
  padding: 20px;
  text-align: center;
  color: #fff;
}
.member-sidebar .sidebar-header i {
  font-size: 2rem;
  margin-bottom: 6px;
  display: block;
  opacity: 0.9;
}
.member-sidebar .sidebar-header h6 {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
  color: #fff;
}
.member-sidebar .sidebar-nav {
  list-style: none;
  padding: 8px 0;
  margin: 0;
}
.member-sidebar .sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.member-sidebar .sidebar-nav li a:hover {
  background: var(--gradient-soft);
  color: var(--primary);
  border-left-color: var(--primary);
}
.member-sidebar .sidebar-nav li a i {
  width: 18px;
  text-align: center;
  font-size: 0.9rem;
}
.member-sidebar .sidebar-nav li.active a {
  background: var(--gradient);
  color: #fff;
  border-left-color: transparent;
  font-weight: 600;
}
.member-sidebar .sidebar-nav li.highlight a {
  color: var(--danger);
  font-weight: 600;
}
.member-sidebar .sidebar-nav li.highlight a:hover {
  color: #fff;
  background: var(--danger);
  border-left-color: transparent;
}
.member-content {
  flex: 1;
  min-width: 0;
}

@media (max-width: 768px) {
  .member-layout {
    flex-direction: column;
    gap: 16px;
  }
  .member-sidebar {
    width: 100%;
  }
  .member-sidebar .sidebar-card {
    position: static;
  }
  .member-sidebar .sidebar-header {
    display: none;
  }
  .member-sidebar .sidebar-nav {
    display: flex;
    overflow-x: auto;
    padding: 0;
    gap: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .member-sidebar .sidebar-nav::-webkit-scrollbar {
    display: none;
  }
  .member-sidebar .sidebar-nav li a {
    white-space: nowrap;
    padding: 10px 16px;
    font-size: 0.82rem;
    border-left: none;
    border-bottom: 2px solid transparent;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  }
  .member-sidebar .sidebar-nav li a:hover {
    border-left: none;
    border-bottom-color: var(--primary);
  }
  .member-sidebar .sidebar-nav li.active a {
    border-left: none;
    border-radius: var(--radius-sm);
  }
}

/* Stat Cards */
.stat-card {
  border-radius: var(--radius);
  padding: 24px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.stat-card::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}
.stat-card .stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.stat-card .stat-label {
  font-size: 0.85rem;
  color: #fff;
  opacity: 1;
}
.stat-card-blue { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.stat-card-teal { background: linear-gradient(135deg, #0d9488 0%, #06b6d4 100%); }
.stat-card-pink { background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%); }
.stat-card-amber { background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%); }

/* Info Card */
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}
.info-card h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-light);
}
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}
.info-row:last-child {
  border-bottom: none;
}
.info-row .info-label {
  color: var(--text-muted);
  font-weight: 500;
  min-width: 140px;
}
.info-row .info-value {
  color: var(--text);
  font-weight: 500;
}

/* ========================================
   Filter Tabs / Pills
   ======================================== */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.filter-tabs a,
.filter-tabs .filter-tab {
  display: inline-flex;
  align-items: center;
  padding: 6px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 20px;
  background: var(--bg);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  transition: var(--transition);
  text-decoration: none;
}
.filter-tabs a:hover,
.filter-tabs .filter-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--gradient-soft);
}
.filter-tabs a.on,
.filter-tabs a.active,
.filter-tabs .filter-tab.active {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
}

/* ========================================
   Modern Tables
   ======================================== */
.table-modern {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}
.table-modern thead th {
  background: var(--bg);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 16px;
  border-bottom: 2px solid var(--border-light);
  white-space: nowrap;
}
.table-modern tbody td {
  padding: 12px 16px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}
.table-modern tbody tr:last-child td {
  border-bottom: none;
}
.table-modern tbody tr:hover td {
  background: var(--gradient-soft);
}

/* ========================================
   Mobile Card View (for tables)
   ======================================== */
@media screen and (max-width: 800px) {
  .pc { display: none !important; }
  .phone { display: block; width: 100%; }
  .phone .record {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
  }
  .phone .record > div {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 6px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.88rem;
  }
  .phone .record > div:last-child {
    border-bottom: none;
  }
  .phone .record > div > label {
    color: var(--text-muted);
    font-weight: 500;
    min-width: 80px;
    flex-shrink: 0;
  }
  .phone .record > div > span {
    text-align: right;
    word-wrap: break-word;
    max-width: 65%;
    color: var(--text);
  }
  .gzserch { background: transparent !important; }
  .address {
    padding-top: 20px;
    padding-left: 10px;
  }
  .address p {
    font-size: 0.8rem !important;
    line-height: 150%;
  }
  .address p b {
    display: block;
  }
  .cam-detail img { width: 100%; max-width: 600px; }
}

@media screen and (min-width: 801px) {
  .pc { display: table !important; }
  .phone { display: none; }
  .address { padding-left: 100px; }
  .address p { padding: 30px 0; color: var(--text-muted); font-size: 0.88rem; line-height: 200%; }
  .cam-detail img { width: 300px; }
}

/* ========================================
   Index / Home Page
   ======================================== */
.icon {
  flex-shrink: 0;
  width: auto;
  height: 2rem;
  color: var(--primary);
}

.home-container {
  padding: 0 16px;
}

.home-section {
  padding: 40px 0;
}

.home-heading {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.home-subheading {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
}

.home-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.home-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-img-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: var(--radius);
}

.home-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
}
.home-cta-link:hover {
  gap: 12px;
}

.home-check-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.home-check-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text);
}
.home-check-item .icon {
  height: 1.2rem;
}

.home-media {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  margin: 16px 0;
}

.feature-desc {
  padding: 24px 16px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}
.feature-desc h5 {
  font-size: 1.1rem;
  margin-top: 12px;
}
.feature-desc p {
  margin-top: 8px;
}

.service-2 .tip h2 {
  font-size: 1.8rem;
}

/* Service & News Cards */
.service-card,
.news-card {
  width: 100%;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}
.service-card:hover,
.news-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.service-card .card-body,
.news-card .card-body {
  padding: 14px;
}
.service-card .card-title,
.news-card .card-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.service-card .card-text,
.news-card .card-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.service-card .card-img-top,
.news-card .card-img-top {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.service-card-price {
  margin-bottom: 8px;
  font-size: 0.85rem;
}
.service-card-price del {
  color: var(--text-muted);
}
.service-card-price .price-discount {
  color: var(--danger);
  font-weight: 700;
  font-size: 1rem;
  margin-left: 6px;
}
.service-card-price .price-countdown {
  font-size: 0.78rem;
  color: var(--danger);
  margin-top: 2px;
}
.price-normal {
  color: var(--danger);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}
.service-card-tip {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* Mobile: Home Page */
@media (max-width: 768px) {
  .home-container {
    padding: 0 12px;
  }
  .home-section {
    padding: 24px 0;
  }
  .home-heading {
    font-size: 1.6rem;
  }
  .home-subheading {
    font-size: 1.3rem;
  }
  .home-desc {
    font-size: 0.9rem;
  }
  .home-text-col {
    margin-bottom: 20px;
  }
  .home-img {
    max-width: 100%;
    margin-bottom: 16px;
  }
  .home-check-list {
    flex-direction: column;
    gap: 8px;
  }
  .home-media {
    padding: 12px;
    gap: 10px;
  }
  .home-media p {
    font-size: 0.82rem;
  }
  .feature-desc {
    padding: 16px 12px;
    margin-bottom: 8px;
  }
  .feature-desc h5 {
    font-size: 0.95rem;
  }

  /* Service card grid on mobile */
  .fs-card-group .row {
    gap: 0;
  }
  .fs-card-group .picture {
    height: 140px;
  }
  .fs-card-group .a img {
    height: 140px;
  }
  .fs-card-group .b img {
    width: 40%;
  }
  .service-card .card-body,
  .news-card .card-body {
    padding: 10px;
  }
  .service-card .card-title,
  .news-card .card-title {
    font-size: 0.82rem;
  }
  .service-card .card-text,
  .news-card .card-text {
    font-size: 0.75rem;
    -webkit-line-clamp: 2;
  }
  .service-card .btn,
  .news-card .btn {
    font-size: 0.78rem;
    padding: 6px 10px;
  }
  .service-card-price {
    font-size: 0.78rem;
  }
  .service-card-price .price-discount {
    font-size: 0.88rem;
  }
  .price-normal {
    font-size: 0.88rem;
  }
  .service-card-tip {
    font-size: 0.72rem;
  }

  /* Section titles on mobile */
  .fs-service .fs-tip h1,
  .fs-service .fs-tip h2 {
    font-size: 1.3rem;
  }
  .fs-service .fs-tip h4 {
    font-size: 0.85rem;
  }
  .fs-service {
    padding: 20px 0;
  }

  /* Campaign banner */
  .bd-example {
    padding: 8px 0 !important;
    margin: 0 !important;
  }

  /* Footer mobile */
  .site-footer {
    padding: 32px 0 0;
    margin-top: 32px;
  }
  .footer-heading {
    font-size: 0.8rem;
    margin-bottom: 12px;
  }
  .footer-links a {
    font-size: 0.8rem;
  }
  .footer-desc {
    font-size: 0.78rem;
  }

  /* Navbar mobile tweaks */
  .site-nav .navbar-brand img {
    height: 24px;
  }
  .site-nav .nav-link {
    padding: 10px 16px !important;
    font-size: 0.88rem;
  }
  .collapse.navbar-collapse {
    padding: 12px 0;
  }
  .nav-right {
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 0;
  }
}

/* ========================================
   Order Page
   ======================================== */
.order-from {
  border: none;
  background: transparent;
  padding: 0;
}
.order-from label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.order-from select,
.order-from .form-control {
  width: 100%;
  font-size: 0.9rem;
  display: block;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  transition: var(--transition);
}
.order-from select:focus,
.order-from .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(102,126,234,0.12);
  outline: none;
  background: #fff;
}
.order-from input.form-control,
.order-from textarea.form-control {
  background: #fff;
}
.order-from > div {
  padding-top: 16px;
}
.order-opt-buy .checkout {
  background: var(--gradient);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.order-opt-buy .checkout:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(102,126,234,0.35);
}

.discount { margin-top: 12px; }
.no-discount { margin-top: 12px; }

/* Top Info Banner */
.top_info {
  background: var(--gradient);
  color: #fff;
  padding: 40px 0;
  min-height: auto;
  text-align: center;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.top_info h3 {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
}
.top_info .circles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}
.top_info .circles li {
  position: absolute;
  list-style: none;
  width: 20px;
  height: 20px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.15);
  font-size: 12px;
}

/* FAQ sidebar */
.cj_faq h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
}
.cj_faq h6 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 14px;
  margin-bottom: 6px;
}
.cj_faq p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ========================================
   Content Pages (About, FAQ, Privacy, Terms)
   ======================================== */
.content-page {
  max-width: 900px;
  margin: 0 auto;
}
.content-hero {
  background: var(--gradient);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  color: #fff;
  margin-bottom: 32px;
}
.content-hero h1 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 8px;
}
.content-hero p {
  color: #fff;
  font-size: 1rem;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 36px;
}
.content-card h2 {
  font-size: 1.4rem;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--text);
}
.content-card h2:first-child {
  margin-top: 0;
}
.content-card h3 {
  font-size: 1.15rem;
  margin-top: 24px;
  margin-bottom: 8px;
}
.content-card h4 {
  font-size: 1rem;
  margin-top: 16px;
  margin-bottom: 6px;
}
.content-card p {
  margin-bottom: 12px;
}
.content-card .section-divider {
  height: 1px;
  background: var(--border-light);
  margin: 24px 0;
}

/* Feature Grid (About page) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.feature-item {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
}
.feature-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.feature-item i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 12px;
  display: block;
}
.feature-item h5 {
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.feature-item p {
  font-size: 0.85rem;
  margin: 0;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.step-item {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  position: relative;
}
.step-item .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.step-item p {
  font-size: 0.85rem;
  margin: 0;
}

/* Breadcrumb */
.breadcrumb-modern {
  padding: 12px 0;
  margin-bottom: 16px;
}
.breadcrumb-modern ol {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
  gap: 8px;
  font-size: 0.85rem;
}
.breadcrumb-modern ol li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}
.breadcrumb-modern ol li a {
  color: var(--text-secondary);
}
.breadcrumb-modern ol li a:hover {
  color: var(--primary);
}
.breadcrumb-modern ol li + li::before {
  content: '/';
  color: var(--text-muted);
  font-size: 0.8rem;
}
.breadcrumb-modern ol li:last-child {
  color: var(--text);
  font-weight: 500;
}

/* ========================================
   Drip Settings
   ======================================== */
.drip-settings-box {
  margin-top: 16px;
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

/* ========================================
   Pagination Override
   ======================================== */
.pagination {
  gap: 4px;
}
.pagination .page-link {
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  padding: 6px 12px;
  border-color: var(--border);
  color: var(--text-secondary);
}
.pagination .page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
}

/* ========================================
   Service Cards (Index)
   ======================================== */
.fs-service {
  padding: 40px 0;
}
.fs-service .fs-tip h1,
.fs-service .fs-tip h2 {
  font-size: 2rem;
  font-weight: 700;
}
.fs-service .fs-tip h4 {
  font-weight: 400;
  color: var(--text-secondary);
  font-size: 1rem;
}

.fs-card-group > div {
  margin: 0;
}
.fs-card-group .picture {
  height: 250px;
  width: 100%;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
}
.fs-card-group .a { position: absolute; z-index: 1; left: 5px; top: 5px; width: 95%; display: block; }
.fs-card-group .b { position: absolute; z-index: 2; left: -28%; top: -1%; width: 100%; display: block; }
.fs-card-group .a img { height: 250px; width: 100%; object-fit: cover; border-radius: var(--radius); }
.fs-card-group .b img { width: 50%; height: 50%; }

/* Discount table */
.f-continer {
  margin: 0 auto;
  width: 80%;
}
.f-discount tr td:first-child {
  height: 30px;
  text-align: left;
}

/* ========================================
   Campaign
   ======================================== */
.campaign-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.campaign-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

/* ========================================
   Order Detail / Checkout Sidebar
   ======================================== */
.checkout-sidebar h4 {
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 16px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
  margin-bottom: 16px;
}
.checkout-sidebar .order ul {
  list-style: none;
  padding: 0;
}
.checkout-sidebar .order ul li {
  padding: 8px 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.checkout-sidebar .order ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: 8px;
}
.checkout-sidebar .telegram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 20px;
  background: #0088cc;
  color: #fff;
  border-radius: 24px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  border: none;
}
.checkout-sidebar .telegram:hover {
  background: #0077b5;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,136,204,0.3);
}

/* ========================================
   Utilities
   ======================================== */
.down { margin-top: 12px; }
.text-primary { color: var(--primary) !important; }
.bg-gradient { background: var(--gradient) !important; }

/* Status badges */
.badge-status {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-inprogress { background: #dbeafe; color: #1e40af; }
.badge-completed { background: #d1fae5; color: #065f46; }
.badge-processing { background: #e0e7ff; color: #3730a3; }
.badge-canceled { background: #fee2e2; color: #991b1b; }
.badge-unpaid { background: #fce7f3; color: #9d174d; }

/* Copy button */
.btn-copy {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  font-size: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.btn-copy:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Action button */
.btn-action {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  transition: var(--transition);
  border: none;
}
.btn-action:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
}
.btn-action-danger {
  background: var(--danger);
}
.btn-action-danger:hover {
  background: #dc2626;
  color: #fff;
}

/* Charge form */
.charge-form .payment-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  cursor: pointer;
  transition: var(--transition);
}
.charge-form .payment-option:hover {
  border-color: var(--primary);
  background: var(--gradient-soft);
}
.charge-form .payment-option input[type="radio"]:checked + .payment-label {
  color: var(--primary);
  font-weight: 600;
}
.charge-form .payment-option img {
  height: 24px;
  width: 24px;
}

/* Alert/Notice boxes */
.notice-box {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  line-height: 1.6;
}
.notice-info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}
.notice-warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}
.notice-danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}
.notice-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

/* USDT address section */
.crypto-address {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-top: 16px;
}
.crypto-address p {
  font-size: 0.88rem;
  line-height: 1.8;
}
.crypto-address b {
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: 0.82rem;
  background: var(--border-light);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Accordion (FAQ) */
.accordion-modern .accordion-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius) !important;
  margin-bottom: 10px;
  overflow: hidden;
}
.accordion-modern .accordion-button {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-card);
  padding: 16px 20px;
}
.accordion-modern .accordion-button:not(.collapsed) {
  background: var(--gradient-soft);
  color: var(--primary);
  box-shadow: none;
}
.accordion-modern .accordion-button::after {
  transition: var(--transition);
}
.accordion-modern .accordion-body {
  padding: 16px 20px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
}
