@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --fin-bg: #081325;
  --fin-surface: #0f1f38;
  --fin-surface-soft: #142947;
  --fin-card: #10223d;
  --fin-border: rgba(148, 185, 255, 0.2);
  --fin-text: #eaf2ff;
  --fin-muted: #a8bad8;
  --fin-primary: #16c2d5;
  --fin-primary-2: #3de2c0;
  --fin-accent: #f7b44a;
  --fin-danger: #ff6d6d;
  --fin-success: #3fd08d;
  --fin-radius: 16px;
  --fin-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: radial-gradient(1200px 600px at 10% -10%, rgba(22, 194, 213, 0.2), transparent 60%),
              radial-gradient(900px 450px at 95% 0, rgba(247, 180, 74, 0.18), transparent 65%),
              linear-gradient(180deg, #081325 0%, #0b1a31 45%, #0a162b 100%);
  color: var(--fin-text);
}

.container,
.container-lg {
  max-width: 1320px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.title1 h2,
.title1 h4 {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.01em;
  color: #f6f9ff;
}

a {
  color: var(--fin-primary-2);
}

a:hover {
  color: #8ff5e3;
}

.loader_skeleton,
.theme-settings,
.scroll-setting-box,
.cookie-bar {
  display: none !important;
}

.top-header {
  background: rgba(9, 19, 36, 0.82);
  border-bottom: 1px solid var(--fin-border);
  backdrop-filter: blur(10px);
}

header,
.main-menu,
.menu-right,
.menu-left {
  background: transparent !important;
}

.main-menu {
  border: 1px solid var(--fin-border);
  border-radius: 999px;
  padding: 10px 18px;
  margin: 18px 0;
  background: rgba(12, 27, 48, 0.75) !important;
  backdrop-filter: blur(8px);
}

.brand-logo img {
  max-height: 52px;
}

#mySidenav.sidenav {
  position: fixed !important;
  top: 0 !important;
  bottom: 0 !important;
  left: -320px !important;
  width: 310px !important;
  background: #081b34 !important;
  border-right: 1px solid rgba(148, 185, 255, 0.24);
  box-shadow: 20px 0 40px rgba(2, 8, 20, 0.45);
  transform: none !important;
  transition: left 0.3s ease !important;
}

#mySidenav.sidenav.open-side {
  left: 0 !important;
}

.sidenav .sidebar-back,
.sidenav a,
.sidenav li,
.sidenav ul {
  color: #e6f2ff !important;
}

.sidebar-overlay {
  background: rgba(0, 9, 18, 0.5) !important;
}

@media (min-width: 992px) {
  .main-menu .navbar {
    display: none;
  }

  .sidenav {
    display: none !important;
  }
}

.sm-horizontal a,
#main-menu a,
.header-dropdown li,
.header-contact li {
  color: var(--fin-text) !important;
  font-weight: 600;
}

#main-menu > li > a {
  border-radius: 999px;
  padding: 10px 14px !important;
  transition: background-color 0.25s ease, color 0.25s ease;
}

#main-menu > li > a:hover,
#main-menu > li.active > a {
  background: rgba(61, 226, 192, 0.16);
  color: #eafffc !important;
}

.breadcrumb-section {
  display: none;
}

.home-hero {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--fin-border);
  background: linear-gradient(125deg, rgba(7, 25, 52, 0.95), rgba(20, 41, 71, 0.9));
  box-shadow: var(--fin-shadow);
  margin-top: 8px;
}

.home-hero::before,
.home-hero::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
}

.home-hero::before {
  width: 380px;
  height: 380px;
  top: -150px;
  right: -80px;
  background: radial-gradient(circle, rgba(22, 194, 213, 0.35), transparent 70%);
}

.home-hero::after {
  width: 280px;
  height: 280px;
  bottom: -120px;
  left: -80px;
  background: radial-gradient(circle, rgba(247, 180, 74, 0.35), transparent 68%);
}

.home-hero-content {
  position: relative;
  z-index: 2;
  padding: 64px 56px;
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #bbf8ee;
  background: rgba(22, 194, 213, 0.18);
  border: 1px solid rgba(61, 226, 192, 0.35);
  border-radius: 999px;
  padding: 7px 12px;
}

.home-hero h1 {
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.12;
  margin: 18px 0;
}

.hero-copy {
  color: var(--fin-muted);
  max-width: 700px;
  font-size: 1.02rem;
}

.fin-market-board {
  height: 100%;
  background: linear-gradient(160deg, rgba(13, 32, 58, 0.96), rgba(7, 21, 39, 0.96));
  border: 1px solid rgba(143, 191, 255, 0.24);
  border-radius: 18px;
  padding: 20px;
  display: grid;
  gap: 12px;
}

.fin-market-board-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.fin-market-board-head h3 {
  margin: 0;
  font-size: 1.16rem;
}

.fin-market-board-head span {
  font-size: 0.8rem;
  color: #9fc1e8;
}

.fin-coin-list {
  display: grid;
  gap: 8px;
}

.fin-coin-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(135, 178, 237, 0.2);
  border-radius: 12px;
  background: rgba(11, 28, 50, 0.72);
  padding: 9px 10px;
}

.fin-coin-row strong {
  color: #f3f8ff;
  font-size: 0.88rem;
}

.fin-coin-row span {
  color: #d9e8fb;
  font-weight: 600;
  font-size: 0.88rem;
}

.fin-coin-row em {
  color: #ff8f8f;
  font-style: normal;
  font-weight: 700;
  font-size: 0.82rem;
}

.fin-market-cta {
  margin-top: 2px;
  text-align: center;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.fin-btn,
.btn.btn-solid,
button.sbmt,
input.sbmt {
  border: 0;
  border-radius: 999px;
  padding: 11px 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-block;
}

.fin-btn-primary,
.btn.btn-solid,
button.sbmt,
input.sbmt {
  background: linear-gradient(90deg, var(--fin-primary), var(--fin-primary-2));
  color: #031722 !important;
  box-shadow: 0 10px 24px rgba(18, 193, 211, 0.28);
}

.fin-btn-secondary {
  background: rgba(247, 180, 74, 0.16);
  border: 1px solid rgba(247, 180, 74, 0.45);
  color: #ffe6bd !important;
}

.fin-btn:hover,
.btn.btn-solid:hover,
button.sbmt:hover,
input.sbmt:hover {
  transform: translateY(-2px);
}

.fin-stat-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.fin-stat {
  background: rgba(16, 34, 61, 0.82);
  border: 1px solid var(--fin-border);
  border-radius: 14px;
  padding: 14px;
}

.fin-stat .label {
  font-size: 0.8rem;
  color: var(--fin-muted);
  margin-bottom: 6px;
}

.fin-stat .value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  color: #f5fbff;
}

.fin-section {
  margin-top: 30px;
}

.fin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.fin-card {
  background: linear-gradient(180deg, rgba(16, 34, 61, 0.9), rgba(13, 28, 51, 0.92));
  border: 1px solid var(--fin-border);
  border-radius: var(--fin-radius);
  padding: 22px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.16);
}

.fin-card h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
}

.fin-card p {
  color: var(--fin-muted);
  margin-bottom: 0;
}

.fin-card h3 {
  min-height: 44px;
}

.fin-timeline {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.fin-timeline-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: start;
  gap: 10px;
  background: rgba(15, 31, 56, 0.8);
  border: 1px solid var(--fin-border);
  border-radius: 14px;
  padding: 12px;
}

.fin-timeline-item .year {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: #a8fff0;
}

.fin-timeline-item .desc {
  color: var(--fin-muted);
}

.fin-panel {
  background: rgba(12, 27, 48, 0.84);
  border: 1px solid var(--fin-border);
  border-radius: 18px;
  padding: 24px;
}

.fin-panel p,
.product-para p,
p {
  color: var(--fin-muted);
}

.fin-highlight {
  color: #fff0cf;
  font-weight: 700;
}

.title1 {
  margin-top: 34px;
  margin-bottom: 12px;
}

.title1 h4 {
  color: #9deee2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.title1 .title-inner1 {
  color: #f4f9ff;
}

.footer-light {
  margin-top: 50px;
  background: linear-gradient(180deg, #09172d 0%, #071223 100%);
  border-top: 1px solid var(--fin-border);
}

.footer-light h4,
.footer-light p,
.footer-light li,
.footer-light a,
.sub-footer p {
  color: #dce8fb !important;
}

.footer-light .footer-contant p,
.footer-light .footer-contant li {
  color: #9fb4d3 !important;
}

.footer-social ul li a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(61, 226, 192, 0.12);
  border: 1px solid rgba(61, 226, 192, 0.35);
  border-radius: 50%;
}

.sub-footer {
  border-top: 1px solid var(--fin-border);
  background: #071224;
}

table,
.table,
table.table {
  color: var(--fin-text);
  background: rgba(16, 34, 61, 0.75);
  border-color: rgba(148, 185, 255, 0.22) !important;
}

table thead th,
.table thead th {
  background: rgba(61, 226, 192, 0.12);
  color: #dcfff8;
}

table td,
table th,
.table td,
.table th {
  border-color: rgba(148, 185, 255, 0.18) !important;
}

input[type='text'],
input[type='password'],
input[type='email'],
input[type='number'],
select,
textarea,
.form-control,
.inpts {
  background: #0e2341 !important;
  color: #e8f1ff !important;
  border: 1px solid rgba(148, 185, 255, 0.35) !important;
  border-radius: 12px !important;
}

input:focus,
select:focus,
textarea:focus,
.form-control:focus {
  outline: none;
  border-color: rgba(61, 226, 192, 0.65) !important;
  box-shadow: 0 0 0 2px rgba(61, 226, 192, 0.12) !important;
}

.alert,
.error,
.success {
  border-radius: 12px;
  padding: 12px 14px;
}

.error {
  background: rgba(255, 109, 109, 0.14);
  border: 1px solid rgba(255, 109, 109, 0.42);
  color: #ffd4d4 !important;
}

.success {
  background: rgba(63, 208, 141, 0.16);
  border: 1px solid rgba(63, 208, 141, 0.46);
  color: #d0ffe8 !important;
}

@media (max-width: 1199px) {
  .fin-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .main-menu {
    border-radius: 18px;
    padding: 8px 12px;
  }

  .home-hero-content {
    padding: 28px 20px;
  }

  .hero-copy {
    font-size: 0.95rem;
  }

  .fin-stat-grid,
  .fin-grid {
    grid-template-columns: 1fr;
  }

  .fin-timeline-item {
    grid-template-columns: 1fr;
  }
}

@keyframes riseFade {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-hero,
.fin-card,
.fin-panel,
.fin-timeline-item {
  animation: riseFade 0.7s ease both;
}

.fin-header-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(8, 19, 37, 0.94), rgba(8, 19, 37, 0.86));
  border-bottom: 1px solid rgba(148, 185, 255, 0.2);
}

.fin-topbar {
  border-bottom: 1px solid rgba(148, 185, 255, 0.15);
}

.fin-topbar .header-contact ul,
.fin-topbar .header-dropdown {
  margin: 0;
}

.fin-main-menu {
  margin: 10px 0 12px;
}

.fin-header-wrap .header-dropdown a {
  font-weight: 600;
}

.fin-footer {
  margin-top: 70px;
  position: relative;
  overflow: hidden;
}

.fin-footer::before,
.fin-footer::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  filter: blur(4px);
  pointer-events: none;
}

.fin-footer::before {
  width: 360px;
  height: 360px;
  right: -120px;
  top: -180px;
  background: radial-gradient(circle, rgba(61, 226, 192, 0.2), transparent 70%);
}

.fin-footer::after {
  width: 300px;
  height: 300px;
  left: -80px;
  bottom: -150px;
  background: radial-gradient(circle, rgba(247, 180, 74, 0.18), transparent 70%);
}

.fin-footer .section-b-space.light-layout {
  padding: 54px 0 30px;
  position: relative;
  z-index: 2;
}

.fin-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 26px;
  background: rgba(10, 25, 45, 0.72);
  border: 1px solid rgba(148, 185, 255, 0.2);
  border-radius: 20px;
  padding: 30px 28px;
}

.fin-foot-col {
  min-width: 0;
}

.fin-footer-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f2f8ff;
  margin: 0 0 12px;
}

.fin-foot-about p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #c8d8f3;
  margin-bottom: 0;
}

.fin-foot-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fin-foot-links li {
  color: #cfddf5;
  margin-bottom: 10px;
}

.fin-foot-links a {
  color: #deebff !important;
}

.fin-foot-links a:hover {
  color: #98fff0 !important;
}

.fin-foot-contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.fin-foot-contact i {
  margin-top: 3px;
  color: #8ed6ff;
}

.fin-footer .row.footer-theme {
  row-gap: 24px;
}

.fin-footer .footer-logo img {
  max-width: 160px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}

.fin-footer .footer-title h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f2f8ff !important;
  margin-bottom: 12px;
}

.fin-footer .footer-title h4::after,
.fin-footer .sub-title h4::after,
.fin-footer .footer-mobile-title h4::after {
  display: none !important;
  content: none !important;
}

.fin-footer .footer-contant {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

.fin-footer .footer-contant p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #c8d8f3 !important;
}

.fin-footer .footer-contant ul {
  padding-left: 0;
  list-style: none;
}

.fin-footer .footer-contant li {
  margin-bottom: 8px;
}

.fin-footer .footer-contant a {
  color: #deebff !important;
}

.fin-footer .footer-contant a:hover {
  color: #98fff0 !important;
}

.fin-footer .footer-mobile-title,
.fin-footer .footer-title {
  cursor: default !important;
}

.fin-footer .footer-title.active h4,
.fin-footer .footer-title h4 {
  border-bottom: 0 !important;
}

.fin-footer .footer-title h4 .according-menu,
.fin-footer .footer-mobile-title h4 .according-menu,
.fin-footer .sub-title .according-menu,
.fin-footer .footer-theme .according-menu {
  display: none !important;
}

.fin-footer h4 .fa,
.fin-footer h4 i,
.fin-footer h4 span {
  display: none !important;
}

.fin-footer .row.footer-theme {
  background: rgba(10, 25, 45, 0.6);
  border: 1px solid rgba(148, 185, 255, 0.2);
  border-radius: 20px;
  padding: 26px 24px;
}

.fin-footer .sub-title,
.fin-footer .footer-contant {
  margin-bottom: 0 !important;
}

.fin-footer .footer-contant ul li {
  margin-bottom: 10px;
}

.fin-footer .contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.fin-footer .contact-list i {
  margin-top: 3px;
  color: #8ed6ff;
}

.fin-footer .payment-card-bottom ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.fin-footer .payment-card-bottom img {
  width: 34px;
  height: 22px;
  object-fit: contain;
  opacity: 0.92;
  filter: saturate(1.1);
}

.fin-footer .sub-footer {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, #040e1d 0%, #030a16 100%);
}

.fin-footer .footer-end p {
  color: #b8ccea !important;
}

/* Inner pages and dashboard modernization */
.login-page,
.register-page,
.dashboard-section {
  position: relative;
}

.login-page .container,
.register-page .container,
.dashboard-section .container {
  position: relative;
}

.fin-page-hero {
  border: 1px solid var(--fin-border);
  border-radius: 18px;
  padding: 20px 22px;
  margin-bottom: 18px;
  background: linear-gradient(120deg, rgba(12, 33, 61, 0.9), rgba(14, 29, 52, 0.85));
  box-shadow: 0 14px 32px rgba(3, 11, 24, 0.35);
}

.fin-page-hero h2,
.fin-page-hero h3 {
  margin-bottom: 8px;
}

.fin-page-hero p {
  margin-bottom: 0;
  color: #bcd0ef;
}

.about-page .banner-section {
  border: 1px solid rgba(145, 191, 255, 0.24);
  border-radius: 18px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(11, 29, 53, 0.9), rgba(7, 20, 37, 0.92));
  box-shadow: 0 16px 34px rgba(2, 8, 20, 0.35);
}

.about-page .banner-section h4 {
  margin-bottom: 16px;
  line-height: 1.35;
}

.about-page .banner-section p {
  color: #c3d7f1;
  line-height: 1.75;
  font-size: 0.96rem;
}

.about-page .title2 h2,
.about-page .title2 h3,
.about-page .title2 h4 {
  color: #f2f8ff;
}

.about-page .img-category {
  border: 1px solid rgba(135, 184, 245, 0.23);
  border-radius: 14px;
  padding: 12px 8px;
  background: linear-gradient(170deg, rgba(12, 29, 50, 0.9), rgba(8, 20, 37, 0.92));
}

.about-page .img-category h4 {
  margin-top: 10px;
  font-size: 0.88rem;
  color: #e9f4ff;
  text-align: center;
}

.about-page .img-category .img-sec {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(131, 180, 245, 0.2);
}

.about-page .img-category .img-sec img {
  transition: transform 0.35s ease;
}

.about-page .img-category:hover .img-sec img {
  transform: scale(1.05);
}

.theme-card,
.box-account,
.dashboard-sidebar,
.faq-content .tab-pane,
.deposit_confirm,
.form.deposit_confirm {
  background: linear-gradient(180deg, rgba(14, 30, 53, 0.9), rgba(9, 22, 42, 0.88)) !important;
  border: 1px solid var(--fin-border) !important;
  border-radius: 18px !important;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.theme-card,
.box-account,
.faq-content .tab-pane {
  padding: 22px;
}

.register-page h3,
.login-page h3,
.dashboard-section h3 {
  margin-bottom: 14px;
}

.theme-form label,
.box-content h6,
.welcome-msg p,
.welcome-msg b,
.faq-content p {
  color: #c8d9f3 !important;
}

.dashboard-sidebar {
  padding: 14px;
}

.profile-top {
  background: rgba(18, 39, 68, 0.9);
  border: 1px solid var(--fin-border);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
}

.profile-image img {
  border-radius: 12px;
  border: 1px solid rgba(61, 226, 192, 0.4);
}

.profile-detail h5,
.profile-detail h6 {
  color: #e8f3ff;
}

.dashboard-sidebar .faq-tab {
  display: grid;
  gap: 8px;
}

.btn.btn-outline,
.dashboard-sidebar .btn-outline {
  background: rgba(18, 41, 72, 0.9) !important;
  color: #dff4ff !important;
  border: 1px solid rgba(106, 178, 255, 0.35) !important;
  border-radius: 12px !important;
  padding: 10px 13px !important;
  text-align: left;
}

.btn.btn-outline:hover,
.dashboard-sidebar .btn-outline:hover {
  background: rgba(22, 194, 213, 0.18) !important;
  border-color: rgba(61, 226, 192, 0.65) !important;
  color: #ffffff !important;
}

.counter-section {
  margin-bottom: 16px;
}

.counter-box {
  border-radius: 14px;
  border: 1px solid var(--fin-border);
  background: rgba(16, 37, 66, 0.86);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.fin-counter-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #b8fff1;
  background: rgba(61, 226, 192, 0.12);
  border: 1px solid rgba(61, 226, 192, 0.35);
}

.counter-box h3,
.counter-box h5 {
  color: #eff7ff;
}

.box-head h4,
.box-title h3 {
  margin-bottom: 10px;
}

.dashboard-section .faq-content {
  border: 1px solid var(--fin-border);
  border-radius: 18px;
  background: rgba(10, 25, 45, 0.6);
  padding: 14px;
}

.dashboard-section h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.dashboard-section table {
  margin-bottom: 12px;
}

.dashboard-section .welcome-msg {
  border: 1px solid var(--fin-border);
  border-radius: 14px;
  background: rgba(16, 34, 61, 0.55);
  padding: 14px;
  margin-bottom: 14px;
}

.copy {
  margin-top: 14px;
  border-top: 1px solid var(--fin-border);
  padding-top: 14px;
  color: #d2e2fa;
}

#p1 {
  word-break: break-all;
  background: rgba(8, 22, 44, 0.95);
  border: 1px solid rgba(148, 185, 255, 0.25);
  border-radius: 12px;
  padding: 10px;
}

.msg {
  background: rgba(247, 180, 74, 0.15);
  border: 1px solid rgba(247, 180, 74, 0.45);
  border-radius: 12px;
  color: #ffe7bc;
  padding: 12px 14px;
  margin-bottom: 12px;
}

table {
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 14px;
  overflow: hidden;
}

td.inheader,
th.inheader,
.inheader {
  background: rgba(56, 151, 255, 0.2) !important;
  color: #e8f4ff !important;
  border-bottom: 1px solid rgba(148, 185, 255, 0.25);
}

td.item,
.item {
  background: rgba(12, 29, 52, 0.86) !important;
  color: #dce9ff !important;
}

.gray,
small.gray {
  color: #a9bddc !important;
}

.pagination,
ul.pagination {
  display: flex;
  gap: 7px;
  justify-content: center;
}

ul.pagination li a,
center a {
  display: inline-flex;
  min-width: 34px;
  justify-content: center;
  padding: 6px 9px;
  border-radius: 9px;
  border: 1px solid rgba(148, 185, 255, 0.25);
  background: rgba(12, 30, 55, 0.85);
}

#quick-view,
#exampleModal,
#exit_popup {
  display: none !important;
}

@media (max-width: 991px) {
  .theme-card,
  .box-account,
  .faq-content .tab-pane {
    padding: 16px;
  }

  .fin-page-hero {
    padding: 16px;
  }

  .btn.btn-outline,
  .dashboard-sidebar .btn-outline {
    text-align: center;
  }

  .fin-footer .payment-card-bottom ul {
    justify-content: flex-start;
    margin-top: 8px;
  }

  .fin-footer-grid {
    grid-template-columns: 1fr 1fr;
    padding: 18px;
    gap: 18px;
  }

  .fin-footer .row.footer-theme {
    padding: 16px;
  }
}

@media (max-width: 767px) {
  .fin-footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Bitget-inspired navigation and surface uplift */
.fin-header-wrap {
  box-shadow: 0 10px 28px rgba(1, 9, 22, 0.42);
}

.fin-topbar {
  font-size: 0.86rem;
}

.fin-topbar .header-contact li {
  color: #b7d0ee !important;
}

.fin-topbar .header-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.fin-topbar .header-dropdown li a {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(138, 169, 219, 0.2);
  background: rgba(15, 34, 58, 0.5);
}

.fin-market-strip {
  border-bottom: 1px solid rgba(148, 185, 255, 0.17);
  background: linear-gradient(90deg, rgba(10, 24, 44, 0.95), rgba(6, 17, 31, 0.92));
}

.fin-market-track {
  min-height: 40px;
  display: flex;
  gap: 22px;
  align-items: center;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 2px;
}

.fin-market-track::-webkit-scrollbar {
  display: none;
}

.fin-market-track span {
  color: #d6e6fc;
  font-size: 0.84rem;
}

.fin-market-track strong {
  color: #ffffff;
  font-weight: 700;
  margin-right: 4px;
}

.fin-market-track em {
  color: #ff8f8f;
  font-style: normal;
  margin-left: 4px;
}

.fin-main-menu {
  border-radius: 16px;
  border-color: rgba(148, 185, 255, 0.26);
  background: rgba(8, 22, 41, 0.84) !important;
  padding: 11px 14px;
  box-shadow: inset 0 0 0 1px rgba(122, 177, 255, 0.05);
}

.menu-right.pull-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

#main-menu > li > a {
  font-size: 0.93rem;
  color: #dceafd !important;
}

#main-menu > li > a:hover,
#main-menu > li.active > a {
  background: rgba(25, 201, 195, 0.2);
  color: #f4fffe !important;
}

.fin-menu-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.fin-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.fin-menu-ghost {
  color: #d8ebff !important;
  border: 1px solid rgba(126, 179, 249, 0.35);
  background: rgba(17, 37, 66, 0.76);
}

.fin-menu-primary {
  color: #03212a !important;
  border: 1px solid rgba(84, 255, 224, 0.55);
  background: linear-gradient(90deg, #13c5d8, #4decc7);
  box-shadow: 0 10px 22px rgba(22, 194, 213, 0.28);
}

.fin-menu-btn:hover {
  transform: translateY(-1px);
}

.home-hero,
.fin-page-hero,
.theme-card,
.box-account,
.counter-box,
.fin-panel,
.fin-card,
.fin-footer-grid {
  border-color: rgba(155, 192, 255, 0.25) !important;
}

.fin-card,
.counter-box,
.theme-card,
.box-account {
  background: linear-gradient(180deg, rgba(13, 30, 53, 0.92), rgba(8, 21, 39, 0.92)) !important;
}

.fin-footer-grid {
  background: linear-gradient(145deg, rgba(11, 27, 49, 0.9), rgba(6, 17, 33, 0.9));
}

.fin-foot-links li {
  margin-bottom: 11px;
}

.fin-foot-links a {
  color: #e5f0ff !important;
  opacity: 0.94;
}

.fin-foot-links a:hover {
  opacity: 1;
}

@media (max-width: 1199px) {
  .fin-menu-actions {
    gap: 6px;
  }

  .fin-menu-btn {
    min-height: 36px;
    padding: 0 12px;
  }
}

@media (max-width: 991px) {
  .fin-topbar .header-contact {
    display: none;
  }

  .fin-topbar .text-end {
    text-align: left !important;
  }

  .fin-market-strip {
    display: none;
  }

  .fin-main-menu {
    border-radius: 14px;
  }

  .menu-right.pull-right {
    width: 100%;
    justify-content: space-between;
  }

  .fin-menu-actions {
    display: none !important;
  }

  #main-nav {
    width: 100%;
    overflow: hidden;
  }

  .toggle-nav {
    display: none !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }

  #main-menu {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 8px;
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 0 2px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
  }

  #main-menu::-webkit-scrollbar {
    display: none;
  }

  #main-menu > li {
    float: none !important;
    display: inline-flex;
  }

  #main-menu > li > a {
    display: inline-flex !important;
    align-items: center;
    min-height: 36px;
    padding: 8px 12px !important;
    background: rgba(17, 37, 66, 0.74);
    border: 1px solid rgba(124, 173, 241, 0.2);
  }

  #main-nav .toggle-nav,
  #main-nav .sidebar-bar {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .fin-main-menu {
    margin: 8px 0 10px;
    padding: 8px 10px;
  }

  .brand-logo img {
    max-height: 42px;
  }

  .fin-topbar .header-dropdown li a {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  .home-hero h1 {
    font-size: clamp(1.7rem, 8vw, 2.1rem);
  }

  .fin-market-board {
    padding: 14px;
  }

  .fin-coin-row {
    grid-template-columns: 1fr auto;
    gap: 6px;
  }

  .fin-coin-row em {
    grid-column: 2;
  }

  .about-page .banner-section {
    padding: 14px;
  }

  .about-page .banner-section p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .fin-footer {
    margin-top: 40px;
  }

  .fin-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
    border-radius: 16px;
    padding: 12px;
  }

  .fin-foot-about {
    grid-column: 1 / -1;
    border-bottom: 1px solid rgba(130, 173, 240, 0.2);
    padding-bottom: 10px;
    margin-bottom: 2px;
  }

  .fin-foot-about p {
    font-size: 0.86rem;
    line-height: 1.5;
  }

  .fin-foot-col:not(.fin-foot-about) {
    background: rgba(9, 23, 43, 0.78);
    border: 1px solid rgba(126, 169, 235, 0.2);
    border-radius: 12px;
    padding: 10px;
  }

  .fin-footer-heading {
    margin-bottom: 8px;
    font-size: 0.78rem;
    letter-spacing: 0.07em;
  }

  .fin-foot-links li {
    margin-bottom: 7px;
    font-size: 0.84rem;
    line-height: 1.3;
  }

  .fin-foot-contact li {
    gap: 6px;
  }

  .fin-footer .sub-footer {
    padding: 8px 0 12px;
  }

  .fin-footer .sub-footer .col-md-8,
  .fin-footer .sub-footer .col-md-4 {
    text-align: center !important;
  }

  .fin-footer .footer-end p {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 8px;
  }

  .fin-footer .payment-card-bottom ul {
    justify-content: center !important;
    gap: 8px;
  }
}

/* Bootstrap navbar rebuild */
.fin-navbar {
  width: 100%;
  gap: 14px;
}

.fin-navbar .navbar-brand {
  margin-right: 10px;
}

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

#main-menu.fin-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

#main-menu.fin-nav-list .nav-link {
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 0.93rem;
  color: #dceafd !important;
  font-weight: 600;
}

#main-menu.fin-nav-list .nav-link:hover,
#main-menu.fin-nav-list .nav-link:focus {
  background: rgba(25, 201, 195, 0.2);
  color: #f4fffe !important;
}

.fin-nav-toggle {
  border: 1px solid rgba(119, 174, 247, 0.34);
  background: rgba(12, 30, 54, 0.85);
  color: #e6f3ff;
  border-radius: 10px;
  width: 42px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fin-nav-toggle:focus {
  box-shadow: 0 0 0 2px rgba(59, 223, 198, 0.2);
}

/* Fail-safe: desktop/laptop menus are always visible */
.fin-navbar .navbar-collapse {
  display: flex !important;
}

.fin-nav-toggle {
  display: none !important;
}

@media (min-width: 992px) {
  .fin-navbar .navbar-collapse {
    display: flex !important;
  }
}

@media (max-width: 991px) {
  .fin-navbar .navbar-collapse {
    margin-top: 10px;
    border: 1px solid rgba(130, 178, 243, 0.25);
    border-radius: 14px;
    padding: 12px;
    background: linear-gradient(170deg, rgba(10, 27, 49, 0.96), rgba(6, 17, 32, 0.96));
  }

  #main-menu.fin-nav-list {
    width: 100%;
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 7px;
  }

  #main-menu.fin-nav-list .nav-link {
    width: 100%;
    display: block !important;
    background: rgba(15, 35, 61, 0.86);
    border: 1px solid rgba(125, 172, 238, 0.2);
    border-radius: 10px;
    padding: 10px 12px !important;
  }

  .fin-menu-actions {
    width: 100%;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
  }

  .fin-menu-btn {
    min-height: 40px;
    padding: 0 10px;
  }
}

@media (max-width: 575px) {
  .fin-menu-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .fin-nav-toggle {
    display: inline-flex !important;
  }

  .fin-navbar .navbar-collapse {
    display: none !important;
  }

  .fin-navbar .navbar-collapse.show {
    display: block !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .fin-nav-toggle {
    display: none !important;
  }

  .fin-navbar .navbar-collapse {
    display: flex !important;
    margin-top: 0 !important;
    border: 0 !important;
    padding: 0 !important;
    background: transparent !important;
  }

  #main-menu.fin-nav-list {
    width: auto !important;
    display: flex !important;
    grid-template-columns: none !important;
    gap: 6px !important;
  }

  #main-menu.fin-nav-list .nav-link {
    width: auto !important;
    display: inline-flex !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 999px !important;
    padding: 10px 12px !important;
  }

  .fin-menu-actions {
    display: inline-flex !important;
    width: auto !important;
    grid-template-columns: none !important;
    margin-top: 0 !important;
    gap: 8px !important;
  }
}
