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

/* ===== Shared Styles for VK8 Login Sub-Pages ===== */

:root {
  --base: #161b22;
  --card-bg: #1f2937;
  --accent: #d4a373;
  --accent-dark: #b8864e;
  --detail: #cbd5e1;
  --text: #f9fafb;
  --muted: #94a3b8;
}

* { box-sizing: border-box; }

body {
  background-color: var(--base);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

/* ---- NAVBAR ---- */
.navbar {
  background-color: #0d1117;
  border-bottom: 1px solid #2d3748;
  padding: 0.75rem 0;
}

.site-brand {
  display: inline-block;
  color: #e9eef3 !important;
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

.site-brand span { color: #d4a373 !important; }

.navbar-toggler { border-color: var(--accent); }

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23d4a373' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
  color: var(--detail) !important;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem !important;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active { color: var(--accent) !important; }

.nav-login {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 0 !important;
  padding: 0.7rem 1.9rem !important;
  border-radius: 6px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
}

/* ---- BREADCRUMB ---- */
.breadcrumb-wrap {
  background: #0d1117;
  border-bottom: 1px solid #2d3748;
  padding: 0.75rem 0;
}

.breadcrumb { margin: 0; background: transparent; padding: 0; }
.breadcrumb-item a { color: var(--accent); font-size: 0.875rem; }
.breadcrumb-item.active { color: var(--muted); font-size: 0.875rem; }
.breadcrumb-item + .breadcrumb-item::before { color: var(--muted); }

/* ---- PAGE HERO ---- */
.page-hero {
  background: linear-gradient(135deg, #0d1117 0%, #1a2332 60%, #0d1117 100%);
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -60px; left: -60px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(212,163,115,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 1.1rem;
}

.page-hero h1 span { color: var(--accent); }

.page-hero p.lead {
  color: var(--detail);
  font-size: 1.05rem;
  max-width: 580px;
  margin-bottom: 2rem;
}

/* ---- BUTTONS (override styles.css to match Bootstrap defaults) ---- */
.btn {
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  border-radius: 0.25rem;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.btn-accent {
  background-color: var(--accent);
  color: #0d1117;
  font-weight: 700;
  border: none;
  padding: 0.7rem 1.9rem;
  border-radius: 6px;
  transition: background 0.2s, transform 0.15s;
}

.btn-accent:hover {
  background-color: var(--accent-dark);
  color: #0d1117;
  transform: translateY(-2px);
}

.btn-outline-accent {
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  padding: 0.65rem 1.75rem;
  border-radius: 6px;
  background: transparent;
  transition: all 0.2s;
}

.btn-outline-accent:hover {
  background: var(--accent);
  color: #0d1117;
}

/* ---- SECTIONS ---- */
section { padding: 65px 0; }

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--text);
  margin-bottom: 0.9rem;
}

.section-sub {
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 2.5rem;
}

/* ---- CARDS ---- */
.card-dark {
  background-color: var(--card-bg);
  border: 1px solid #2d3748;
  border-radius: 12px;
  padding: 1.6rem;
  height: auto;
  transition: border-color 0.2s, transform 0.2s;
}

.card-dark:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.card-dark > .section-label:first-child {
  margin-bottom: 0.65rem;
}

.card-dark > h5 {
  line-height: 1.35;
  margin-bottom: 1rem;
}

.card-dark .card-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 10px;
  background: rgba(212, 163, 115, 0.13);
  color: var(--accent);
  font-size: 1.2rem;
  line-height: 1;
}

.card-dark .card-icon i {
  line-height: 1;
}

/* Shared checklist used by the rewritten guide modules. */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.55rem 0;
  color: var(--detail);
  line-height: 1.5;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.feature-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.feature-list i {
  color: var(--accent);
  line-height: 1.5;
  flex: 0 0 auto;
}

.card-dark > ol {
  padding-left: 1.2rem;
}

.card-dark > ol li {
  padding-left: 0.25rem;
  line-height: 1.55;
}

/* ---- DATA TABLES ----
   Keep guide tables styled even when the Bootstrap CDN is unavailable. */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #2d3748;
  border-radius: 12px;
  background: var(--card-bg);
  -webkit-overflow-scrolling: touch;
}

.table-responsive > .table {
  --bs-table-color: var(--detail);
  --bs-table-bg: transparent;
  --bs-table-border-color: #374151;
  width: 100%;
  min-width: 640px;
  margin: 0;
  color: var(--detail);
  vertical-align: middle;
  border-collapse: collapse;
}

.table-responsive > .table > :not(caption) > * > * {
  padding: 0.9rem 1rem;
  color: inherit;
  background-color: transparent;
  border-bottom: 1px solid #374151;
  box-shadow: none;
}

.table-responsive > .table thead th {
  color: var(--accent);
  background: rgba(212, 163, 115, 0.12);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.table-responsive > .table tbody tr {
  transition: background-color 0.2s;
}

.table-responsive > .table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.025);
}

.table-responsive > .table tbody tr:hover {
  background: rgba(212, 163, 115, 0.07);
}

.table-responsive > .table tbody tr:last-child > * {
  border-bottom: 0;
}

/* ---- TIPS ---- */
.tip-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--card-bg);
  border: 1px solid #2d3748;
  border-radius: 10px;
  margin-bottom: 1rem;
  transition: border-color 0.2s;
}

.tip-item:hover { border-color: var(--accent); }

.tip-num {
  min-width: 36px; height: 36px;
  background: var(--accent);
  color: #0d1117;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.tip-item h6 { color: var(--text); font-weight: 600; margin-bottom: 0.25rem; }
.tip-item p  { color: var(--muted); font-size: 0.875rem; margin: 0; }

/* ---- FAQ / ACCORDION ---- */
.accordion-item {
  background: var(--card-bg) !important;
  border: 1px solid #2d3748 !important;
  border-radius: 10px !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.accordion-button {
  background: var(--card-bg) !important;
  color: var(--text) !important;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  color: var(--accent) !important;
  background: var(--card-bg) !important;
}

.accordion-button::after { filter: invert(1) sepia(1) saturate(2) hue-rotate(5deg); }

.accordion-body {
  color: var(--muted);
  font-size: 0.9rem;
  background: var(--card-bg);
  padding-top: 0;
}

/* ---- DIVIDER ---- */
.divider {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, #2d3748, transparent);
  margin: 0;
}

/* ---- IMAGES ---- */
.img-full {
  width: 100%;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
  object-fit: cover;
}

/* ---- FOOTER ---- */
footer {
  background-color: #0d1117;
  border-top: 1px solid #2d3748;
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.05fr 1.25fr 1.1fr 1.25fr 1.05fr;
  gap: 42px;
  align-items: flex-start;
}

.footer-brand { max-width: 360px; }

.footer-logo {
  display: inline-block;
  margin-bottom: 22px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  font-style: normal;
  letter-spacing: 0.08em;
  color: #e9eef3;
  text-transform: uppercase;
}

.footer-logo span { color: #d4a373; }

.footer-brand p {
  margin: 0 0 22px;
  color: #a9c2e2;
  font-size: 15px;
  line-height: 1.6;
}

.footer-contact {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  color: #efbd7e !important;
  font-size: 14px !important;
  font-weight: 500;
}

.footer-contact i { font-size: 13px; }

.footer-col h3,
.footer-safe-col h3 {
  margin: 0 0 16px;
  color: #efbd7e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  color: #a9c2e2;
  font-size: 15px;
  line-height: 1.58;
  margin-bottom: 2px;
  transition: color 0.2s, transform 0.2s;
}

.footer-col a:hover {
  color: var(--accent);
  transform: translateX(3px);
}

.safe-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
}

.safe {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 198px;
  min-height: 35px;
  padding: 0 16px;
  border: 1px solid rgba(216,164,109,0.38);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  color: #efbd7e;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.015);
}

.safe i { font-size: 11px; }

.copyright {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #2d3748;
  margin-top: 44px;
  padding-top: 22px;
  color: #6f7888;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 1050px) {
  .footer-grid { grid-template-columns: 2fr repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 850px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-brand { max-width: none; }
  .footer-safe-col { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col, .footer-safe-col { grid-column: auto; }
  .footer-logo { font-size: 1.8rem; }
  .footer-brand p { font-size: 15px; }
  .safe { min-width: 0; width: 100%; }
  .copyright { flex-direction: column; gap: 10px; }
}

html, body { overflow-x: clip; width: 100%; }

/* ---- FLOATING BOTTOM BAR ---- */
.floating {
  position: fixed;
  z-index: 60;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  padding: 7px;
  background: #090e18e8;
  border-radius: 8px;
}

.floating a {
  min-width: 126px;
  padding: 9px 18px;
  border-radius: 5px;
  background: #08a64d;
  text-align: center;
  font-weight: 700;
  color: #fff;
}

.floating a:last-child {
  background: #efb51c;
  color: #111;
}

@media (max-width: 600px) {
  .floating { width: calc(100% - 24px); }
  .floating a { min-width: 0; flex: 1; }
}



.site-footer {
  background: #0d1117;
  border-top: 1px solid #2d3748;
  padding: 50px 0 18px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-footer p,
.site-footer a,
.site-footer h3,
.site-footer span {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-footer .container {
  width: min(1340px, calc(100% - 52px));
  margin: 0 auto;
}

.site-footer .footer-grid {
  grid-template-columns: 2.15fr 1.18fr 1.08fr 1.22fr 1.02fr;
  gap: 46px;
}

.site-footer .footer-brand {
  max-width: 370px;
}

.site-footer .footer-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.22em;
  margin-bottom: 24px;
  font-size: 1.92rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  letter-spacing: 0.13em;
  color: #e9eef3;
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  text-shadow: none;
}

.site-footer .footer-logo span {
  color: #d4a373;
  font-family: "Poppins", sans-serif;
  text-shadow: none;
}

.site-footer .footer-brand p {
  max-width: 315px;
  margin: 0 0 24px;
  color: #a9c2e2;
  font-size: 15px;
  line-height: 1.68;
}

.site-footer .footer-contact {
  gap: 9px;
  color: #efbd7e !important;
  font-size: 15px !important;
}

.site-footer .footer-contact i {
  font-size: 12px;
}

.site-footer .footer-col h3,
.site-footer .footer-safe-col h3 {
  margin-bottom: 20px;
}

.site-footer .footer-col a {
  font-size: 15px;
  line-height: 1.62;
  margin-bottom: 3px;
}

.site-footer .safe-list {
  margin-top: 16px;
  gap: 10px;
}

.site-footer .safe {
  min-width: 198px;
  min-height: 36px;
  padding: 0 17px;
  background: rgba(255,255,255,0.04);
  border-color: rgba(216,164,109,0.4);
}

.site-footer .copyright {
  margin-top: 50px;
  padding-top: 22px;
  font-size: 12.5px;
}

@media (max-width: 1050px) {
  .site-footer .container {
    width: min(1340px, calc(100% - 40px));
  }

  .site-footer .footer-grid {
    grid-template-columns: 2fr repeat(2, 1fr);
    gap: 32px;
  }
}

/* ---- UNIFIED SITE HEADER ----
   Keep the logo, navigation and breadcrumb on the same content line
   across every page, including pages with older inline header rules. */
.navbar {
  background: #0c1320 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  padding: 0.75rem 0 !important;
}

.navbar > .container,
.breadcrumb-wrap > .container {
  width: 100%;
  max-width: 1140px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 12px;
  padding-left: 12px;
}

.navbar .site-brand {
  color: #e9eef3 !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  font-style: italic;
  line-height: 1 !important;
  letter-spacing: 0.13em !important;
}

.navbar .site-brand span {
  display: inline-block;
  font-size: 1.2rem !important;
  color: #d4a373 !important;
}

.navbar .navbar-collapse {
  align-items: center;
}

.navbar .navbar-nav {
  flex-wrap: nowrap;
}

.navbar .nav-link {
  padding: 0.45rem 0.7rem !important;
  border-radius: 8px;
  color: #aab7c6 !important;
  font-size: 0.82rem !important;
  font-weight: 500;
  white-space: nowrap;
}

.navbar .nav-link:hover {
  color: #d4a373 !important;
  background: rgba(212, 163, 115, 0.09);
}

.navbar .nav-link.active {
  color: #d4a373 !important;
  background: transparent !important;
}

.navbar .nav-login {
  min-height: 0 !important;
  padding: 0.52rem 1.55rem !important;
  border-radius: 14px !important;
  font-size: 0.82rem !important;
  line-height: 1.5 !important;
  white-space: nowrap;
}

.navbar .site-brand,
.screen-brand,
a.footer-logo,
.footer-logo .site-brand {
  font-size: 0 !important;
}

.screen-brand span,
a.footer-logo span,
.footer-logo .site-brand span {
  display: inline-block;
  font-size: 1.5rem !important;
}

.breadcrumb-wrap {
  background: #151d2c !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  padding: 12px 0 !important;
}

.breadcrumb-wrap .breadcrumb {
  margin: 0;
  padding: 0;
}

.breadcrumb-wrap .breadcrumb-item a {
  color: #aab7c6 !important;
}

.breadcrumb-wrap .breadcrumb-item a:hover {
  color: #d4a373 !important;
}

.breadcrumb-wrap .breadcrumb-item.active {
  color: #d4a373 !important;
}

.breadcrumb-wrap .breadcrumb-item + .breadcrumb-item::before {
  color: #748297 !important;
}

@media (max-width: 1199.98px) {
  .navbar > .container,
  .breadcrumb-wrap > .container {
    max-width: 960px;
  }
}

@media (max-width: 991.98px) {
  .navbar > .container,
  .breadcrumb-wrap > .container {
    max-width: 720px;
  }

  .navbar .navbar-collapse {
    padding-top: 12px;
  }

  .navbar .navbar-nav {
    align-items: stretch !important;
  }

  .navbar .nav-login {
    width: 100%;
    margin-top: 6px;
  }
}

@media (max-width: 767.98px) {
  .navbar > .container,
  .breadcrumb-wrap > .container {
    max-width: 540px;
  }
}

@media (max-width: 575.98px) {
  .navbar > .container,
  .breadcrumb-wrap > .container {
    max-width: none;
    padding-right: 16px;
    padding-left: 16px;
  }
}

@media (max-width: 850px) {
  .site-footer {
    padding-top: 42px;
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .site-footer .footer-safe-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .site-footer .container {
    width: calc(100% - 28px);
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .site-footer .safe {
    width: 100%;
  }

  .site-footer .copyright {
    flex-direction: column;
    gap: 10px;
  }
}
