:root {
  --primary-dark: #0B1C2D;
  --primary-blue: #132F4C;
  --accent-bitcoin: #F7931A;
  --accent-gold: #FFD166;
  --bg-main: #0E1624;
  --bg-card: #151F32;
  --text-primary: #FFFFFF;
  --text-secondary: #B0BEC5;
  --border-color: #22304A;
  --success: #2ECC71;
}

/* ==============================
   GLOBAL RESET / FIXES
============================== */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background: var(--bg-main);
  color: var(--text-primary);
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

img, video, iframe {
  max-width: 100%;
  height: auto;
}

/* ==============================
   SYSTEM STATUS
============================== */
.system-status {
  background: var(--primary-blue);
  color: var(--text-secondary);
  font-size: 14px;
  padding: 6px;
  text-align: center;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}

/* ==============================
   NAVBAR
============================== */
.crypto-navbar {
  background: var(--primary-dark);
  border-bottom: 1px solid var(--border-color);
}

.nav-link {
  color: var(--text-secondary);
  margin: 0 10px;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-gold);
}

/* LOGO */
.crypto-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent-bitcoin), var(--accent-gold));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #000;
  font-size: 20px;
}

.logo-text {
  font-weight: 600;
  font-size: 20px;
}

.logo-text span {
  color: var(--accent-gold);
}

/* NAVBAR BUTTONS */
.btn-login,
.btn-register {
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

.btn-login {
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
}

.btn-login:hover {
  background: var(--accent-gold);
  color: #000;
}

.btn-register {
  background: var(--accent-bitcoin);
  color: #000;
}

.btn-register:hover {
  filter: brightness(1.1);
}

/* ==============================
   LOGO VISIBILITY FIX
============================== */
.logo-text {
  font-weight: 600;
  font-size: 20px;
  color: var(--text-primary); /* FIX: force white text */
}

/* Gold accent stays gold */
.logo-text span {
  color: var(--accent-gold);
}

/* ==============================
   NAVBAR TOGGLER (HAMBURGER) FIX
============================== */
.navbar-toggler {
  border: none;
  outline: none;
  box-shadow: none;
  color: var(--text-primary); /* FIX */
}

.navbar-toggler i {
  font-size: 22px;
  color: var(--text-primary); /* FIX: white icon */
}

/* Optional hover effect */
.navbar-toggler:hover i {
  color: var(--accent-gold);
}

.crypto-logo:hover .logo-text {
  color: var(--accent-gold);
}




/* ==============================
   HERO SECTION
============================== */
.hero-section {
  padding: 100px 0;
  background: radial-gradient(circle at top, #132F4C, #0E1624);
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
}

.hero-title span {
  color: var(--accent-bitcoin);
}

.hero-text {
  color: var(--text-secondary);
  margin: 20px 0;
  font-size: 18px;
}

.hero-buttons a {
  margin-right: 15px;
  font-weight: 500;
}

/* HERO BUTTONS */
.btn-hero-primary {
  background: var(--accent-bitcoin);
  color: #000;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-hero-primary:hover {
  filter: brightness(1.1);
}

.btn-hero-outline {
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
}

.btn-hero-outline:hover {
  background: var(--accent-gold);
  color: #000;
}

/* ==============================
   BTC CARD
============================== */
.btc-card {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 0 30px rgba(247,147,26,0.15);
  text-align: center;
  margin-top: 20px;
}

#btcPrice {
  font-size: 32px;
  color: var(--accent-gold);
  font-weight: 600;
  margin: 10px 0;
}

/* ==============================
   STATS
============================== */
.stats-section {
  padding: 60px 0;
}

.stat-box {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 16px;
  cursor: default;
}

.stat-box h3 {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-gold);
}

.stat-box p {
  margin-top: 10px;
  color: var(--text-secondary);
}

/* ==============================
   FEATURES
============================== */
.features-section {
  padding: 80px 0;
}

.feature-card {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
}

.feature-card i {
  font-size: 40px;
  color: var(--accent-bitcoin);
  margin-bottom: 20px;
}

.feature-card h5 {
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-secondary);
}

/* ==============================
   TESTIMONIALS
============================== */
.testimonials-section {
  padding: 80px 0;
}

.testimonial-card {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 20px;
  max-width: 700px;
  margin: auto;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: 0 0 25px rgba(255,209,102,0.15);
}

.testimonial-card p {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.testimonial-card h6 {
  color: var(--accent-gold);
  font-weight: 600;
}

/* ==============================
   CTA
============================== */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
  text-align: center;
}

.cta-section h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-section p {
  color: var(--text-secondary);
  font-size: 18px;
  margin-bottom: 30px;
}

/* ==============================
   FOOTER
============================== */
.crypto-footer {
  background: var(--primary-dark);
  padding: 60px 0 20px;
  border-top: 1px solid var(--border-color);
}

.crypto-footer h6 {
  color: var(--accent-gold);
  margin-bottom: 15px;
}

.crypto-footer ul {
  list-style: none;
  padding: 0;
}

.crypto-footer ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: 0.3s;
}

.crypto-footer ul li a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  margin-top: 30px;
  color: var(--text-secondary);
  font-size: 14px;
}

.socials i {
  margin-right: 12px;
  cursor: pointer;
  transition: 0.3s;
}

.socials i:hover {
  color: var(--accent-gold);
}

/* ==============================
   SCROLL REVEAL (SAFE)
============================== */
/* ===============================
   SCROLL REVEAL ANIMATION
=============================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile performance tweak */
@media (max-width: 768px) {
  .reveal {
    transform: translateY(25px);
  }
}


/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 991px) {
  .hero-title {
    font-size: 36px;
    text-align: center;
  }

  .hero-text {
    font-size: 16px;
    text-align: center;
  }

  .hero-buttons {
    text-align: center;
  }

  .btc-card {
    margin: 30px auto 0;
    max-width: 350px;
  }

  .btn-login,
  .btn-register {
    width: 48%;
    margin-bottom: 10px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-text {
    font-size: 14px;
  }

  .hero-buttons a {
    width: 100%;
    margin-bottom: 12px;
  }

  .btc-card,
  .stat-box,
  .feature-card {
    padding: 25px 15px;
  }

  .testimonial-card {
    padding: 25px 15px;
    max-width: 95%;
  }

  .cta-section h2 {
    font-size: 28px;
  }

  .cta-section p {
    font-size: 14px;
  }

  .btn-login,
  .btn-register {
    width: 100%;
  }
}

/* ==============================
   PLANS HERO
============================== */
.plans-hero {
  padding: 80px 0;
  background: radial-gradient(circle at top, #132F4C, #0E1624);
}

.plans-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
}

.plans-subtitle {
  color: var(--text-secondary);
  font-size: 18px;
  max-width: 600px;
  margin: auto;
}

/* ==============================
   PLANS SECTION
============================== */
.plans-section {
  padding: 80px 0;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  transition: 0.35s;
  height: 100%;
}

.plan-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 35px rgba(247,147,26,0.25);
}

.plan-card h5 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
}

.plan-price {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent-bitcoin);
  margin-bottom: 20px;
}

.plan-price span {
  font-size: 14px;
  color: var(--text-secondary);
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}

.plan-features li {
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 15px;
}

/* BUTTON */
.btn-plan {
  display: inline-block;
  width: 100%;
  padding: 12px;
  border-radius: 30px;
  background: var(--accent-bitcoin);
  color: #000;
  font-weight: 600;
  transition: 0.3s;
}

.btn-plan:hover {
  filter: brightness(1.1);
}

/* POPULAR PLAN */
.plan-card.popular {
  border: 2px solid var(--accent-gold);
  box-shadow: 0 0 40px rgba(255,209,102,0.25);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gold);
  color: #000;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

/* ==============================
   RESPONSIVE – TABLET
============================== */
@media (max-width: 991px) {
  .plans-title {
    font-size: 34px;
  }

  .plans-subtitle {
    font-size: 16px;
  }

  .plan-card {
    padding: 35px 25px;
  }

  .plan-price {
    font-size: 32px;
  }
}

/* ==============================
   RESPONSIVE – MOBILE
============================== */
@media (max-width: 576px) {
  .plans-hero {
    padding: 60px 0;
  }

  .plans-title {
    font-size: 28px;
  }

  .plans-subtitle {
    font-size: 14px;
  }

  .plans-section {
    padding: 60px 0;
  }

  .plan-card {
    padding: 30px 20px;
  }

  .plan-price {
    font-size: 28px;
  }

  .plan-features li {
    font-size: 14px;
  }
}


/* =========================
   ABOUT PAGE
========================= */

.about-hero {
  padding: 100px 0;
  background: linear-gradient(135deg, #132F4C, #0E1624);
}

.about-title {
  font-size: 48px;
  font-weight: 700;
}
.about-title span {
  color: var(--accent-bitcoin);
}

.about-text {
  color: var(--text-secondary);
  font-size: 18px;
  margin-top: 15px;
}

/* ABOUT CONTENT */
.about-content {
  padding: 80px 0;
}

.about-content h3 {
  font-weight: 700;
  margin-bottom: 15px;
}

.about-content p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ABOUT CARD */
.about-card {
  background: var(--bg-card);
  padding: 35px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

.about-card h5 {
  color: var(--accent-gold);
  margin-bottom: 15px;
}

.about-card ul {
  padding: 0;
  list-style: none;
}

.about-card ul li {
  margin-bottom: 10px;
  color: var(--text-secondary);
}

/* VALUES */
.values-section {
  padding: 80px 0;
}

.value-box {
  background: var(--bg-card);
  padding: 35px;
  border-radius: 20px;
  text-align: center;
  transition: 0.3s;
}

.value-box i {
  font-size: 40px;
  color: var(--accent-bitcoin);
  margin-bottom: 15px;
}

.value-box h5 {
  font-weight: 600;
  margin-bottom: 10px;
}

.value-box p {
  color: var(--text-secondary);
  font-size: 15px;
}

.value-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 25px rgba(247,147,26,0.2);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 991px) {
  .about-title {
    font-size: 36px;
  }
  .about-text {
    font-size: 16px;
  }
  .about-card {
    margin-top: 30px;
  }
}

@media (max-width: 576px) {
  .about-title {
    font-size: 28px;
  }
  .about-text {
    font-size: 14px;
  }
  .about-card {
    padding: 25px;
  }
  .value-box {
    padding: 25px;
  }
}

/* FAQ HERO */
.faq-hero {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
  text-align: center;
}

.faq-title {
  font-size: 42px;
  font-weight: 700;
}

.faq-subtitle {
  color: var(--text-secondary);
  margin-top: 15px;
  font-size: 18px;
}

/* FAQ SECTION */
.faq-section {
  padding: 80px 0;
}

.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
}

.accordion-button {
  background: var(--bg-card);
  color: var(--text-primary);
  font-weight: 600;
}

.accordion-button:not(.collapsed) {
  background: var(--primary-blue);
  color: #fff;
}

.accordion-button::after {
  filter: invert(1);
}

.accordion-body {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .faq-title {
    font-size: 30px;
  }

  .faq-subtitle {
    font-size: 16px;
  }
}

/* AUTH SECTION */
.auth-section {
  background: radial-gradient(circle at top, #132F4C, #0E1624);
}

.auth-card {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 0 0 40px rgba(0,0,0,0.4);
}

.auth-card h3 {
  font-weight: 700;
}

.auth-sub {
  color: var(--text-secondary);
  margin-bottom: 30px;
}

/* INPUTS */
.auth-input {
  background: #0E1624;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 12px;
}

.auth-input:focus {
  background: #0E1624;
  border-color: var(--accent-bitcoin);
  box-shadow: none;
  color: #fff;
}

/* LINKS */
.auth-links label,
.auth-links a {
  font-size: 14px;
  color: var(--text-secondary);
}

.auth-links a:hover {
  color: var(--accent-gold);
}

/* BUTTON */
.btn-auth {
  background: var(--accent-bitcoin);
  color: #000;
  padding: 14px;
  font-weight: 600;
  border-radius: 30px;
}

.btn-auth:hover {
  filter: brightness(1.1);
}

/* FOOTER TEXT */
.auth-footer {
  color: var(--text-secondary);
}

.auth-footer a {
  color: var(--accent-gold);
  font-weight: 500;
}

/* MOBILE FIXES */
@media (max-width: 576px) {
  .auth-card {
    padding: 30px 20px;
  }
}

/* AUTH PAGES (LOGIN / REGISTER) */
.auth-section {
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  padding: 60px 15px;
}

.auth-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid var(--border-color);
  box-shadow: 0 0 40px rgba(0,0,0,0.4);
}

.auth-card h3 {
  font-weight: 700;
}

.auth-sub {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 30px;
}

.auth-input {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 12px 14px;
}

.auth-input:focus {
  background: transparent;
  border-color: var(--accent-gold);
  box-shadow: none;
  color: var(--text-primary);
}

.form-label {
  font-size: 14px;
  color: var(--text-secondary);
}

.btn-auth {
  background: var(--accent-bitcoin);
  color: #000;
  padding: 12px;
  font-weight: 600;
  border-radius: 30px;
  transition: 0.3s;
}

.btn-auth:hover {
  filter: brightness(1.1);
}

.auth-link {
  color: var(--accent-gold);
  font-size: 14px;
  text-decoration: none;
}

.auth-link:hover {
  text-decoration: underline;
}

.auth-footer {
  font-size: 14px;
  color: var(--text-secondary);
}

.auth-footer a {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 600;
}

/* MOBILE FIX */
@media (max-width: 576px) {
  .auth-card {
    padding: 30px 20px;
  }
}

/* AUTH PAGES (LOGIN / REGISTER / FORGOT) */
.auth-section {
  background: radial-gradient(circle at top, #132F4C, #0E1624);
  padding: 60px 0;
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 0 30px rgba(0,0,0,0.3);
}

.auth-card h3 {
  font-weight: 700;
}

.auth-card .form-label {
  color: var(--text-secondary);
  font-size: 14px;
}

.auth-card .form-control {
  background: #0E1624;
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 12px;
  border-radius: 10px;
}

.auth-card .form-control:focus {
  border-color: var(--accent-bitcoin);
  box-shadow: none;
  background: #0E1624;
  color: #fff;
}

.auth-link {
  color: var(--accent-gold);
  text-decoration: none;
  font-size: 14px;
}

.auth-link:hover {
  text-decoration: underline;
}

/* MOBILE FIX */
@media (max-width: 576px) {
  .auth-card {
    padding: 30px 20px;
  }
}

.dashboard-wrapper {
  padding: 40px 0;
  min-height: 100vh;
}

.dashboard-title {
  font-weight: 700;
}

.dashboard-subtitle {
  color: var(--text-secondary);
}

/* ================================
   DASHBOARD BASE
================================ */
.dashboard-container {
  padding: 25px 10px;
}

.dashboard-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px;
}

.dashboard-top h2 {
  font-size: 26px;
  font-weight: 600;
  color: var(--text-primary);
}

/* ================================
   START INVEST BUTTON
================================ */
.btn-start-invest {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-bitcoin));
  color: #111;
  padding: 14px 38px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(255,209,102,0.45);
  transition: all .35s ease;
}

.btn-start-invest:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(255,209,102,0.65);
}

/* ================================
   STATS
================================ */
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 20px;
  margin-bottom: 35px;
}

.stat-card {
  background: linear-gradient(180deg, var(--bg-card), var(--primary-blue));
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border-color);
  position: relative;
}

.stat-card span {
  font-size: 14px;
  color: var(--text-secondary);
}

.stat-card h3 {
  margin-top: 10px;
  font-size: 24px;
  color: var(--text-primary);
}

/* ================================
   GRID
================================ */
.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 22px;
  margin-bottom: 40px;
}

.dashboard-box {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 22px;
  border: 1px solid var(--border-color);
}

.dashboard-box h4 {
  margin-bottom: 18px;
  font-size: 18px;
}

/* ================================
   WALLET
================================ */
.wallet-list {
  list-style: none;
  padding: 0;
}

.wallet-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.wallet-list li span {
  color: var(--accent-gold);
  font-weight: 600;
}

/* ================================
   REFERRAL
================================ */
.ref-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-blue), var(--bg-main));
  border-radius: 12px;
  padding: 12px 16px;
  border: 1px dashed var(--accent-gold);
}

.ref-box span {
  color: var(--accent-gold);
  font-weight: 600;
  letter-spacing: 1px;
}

.ref-box button {
  background: var(--accent-gold);
  border: none;
  padding: 6px 16px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: .3s;
}

.ref-box button:hover {
  transform: scale(1.05);
}

.ref-list {
  margin-top: 12px;
  color: var(--text-secondary);
}

/* ================================
   INVESTMENTS
================================ */
.investment-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 22px;
}

.investment-card {
  background: linear-gradient(180deg, var(--bg-card), var(--primary-blue));
  border-radius: 18px;
  padding: 22px;
  border: 1px solid var(--border-color);
  transition: .35s, box-shadow .35s;
  position: relative;
}

.investment-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(212,175,55,0.6);
}

.investment-card h5 {
  color: var(--accent-gold);
  margin-bottom: 10px;
  font-weight: 600;
}

.investment-card p {
  margin: 5px 0;
  font-size: 14px;
  color: #fff;
}

.investment-card .progress {
  background: var(--primary-dark);
  height: 10px;
  border-radius: 10px;
  overflow: hidden;
  margin: 12px 0;
}

.investment-card .progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-bitcoin));
  width: 0;
  transition: width 1s ease-in-out;
}

.investment-card small {
  color: #aaa;
}

/* ================================
   TABLE
================================ */
.table-wrap {
  background: var(--bg-card);
  border-radius: 16px;
  overflow-x: auto;
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
}

.table-wrap th,
.table-wrap td {
  padding: 14px;
  font-size: 14px;
}

.table-wrap thead {
  background: var(--primary-blue);
}

/* ================================
   STATUS
================================ */
.status {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.status.completed {
  background: var(--success);
}

.status.pending {
  background: var(--accent-gold);
  color: #111;
}

/* ================================
   TOAST
================================ */
.toast {
  position: fixed;
  right: 25px;
  bottom: 25px;
  background: var(--bg-card);
  color: var(--text-primary);
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
  animation: slide .4s ease;
  z-index: 9999;
}

@keyframes slide {
  from {opacity:0; transform:translateY(20px);}
  to {opacity:1; transform:translateY(0);}
}

/* ================================
   RESPONSIVE
================================ */
@media(max-width:900px){
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-top {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
}


/* Logged-in navbar */
.crypto-navbar-logged {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.crypto-navbar-logged .nav-link {
    color: #eaeaea !important;
    font-weight: 500;
}

.crypto-navbar-logged .nav-link:hover {
    color: #D4AF37 !important;
}

.user-menu {
    font-weight: 600;
}

/* ===============================
   PLAN GRID
================================ */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

/* ===============================
   PLAN CARD
================================ */
.plan-card-glow {
  background: var(--bg-card);
  border-radius: 18px;
  padding: 25px;
  color: var(--text-primary);
  position: relative;
  transition: all 0.4s ease;
  border: 1px solid var(--border-color);
  box-shadow: 0 0 0 rgba(0,0,0,0);
}

.plan-card-glow:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 30px rgba(255,209,102,0.35);
}

/* ===============================
   HEADER
================================ */
.plan-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.plan-head h4 {
  margin: 0;
  font-weight: 600;
}

.roi {
  color: var(--accent-gold);
  font-weight: 700;
}

/* ===============================
   BODY
================================ */
.plan-body p {
  margin: 8px 0;
  color: var(--text-secondary);
}

/* ===============================
   BUTTONS
================================ */
.invest-btn {
  margin-top: 20px;
  background: linear-gradient(
    135deg,
    var(--accent-gold),
    var(--accent-bitcoin)
  );
  border: none;
  padding: 13px;
  width: 100%;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  color: #000;
  transition: all 0.3s ease;
}

.invest-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.invest-btn.disabled {
  background: #2a3445;
  color: #8fa3bf;
  cursor: not-allowed;
  box-shadow: none;
}

/* ===============================
   POPUP
================================ */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14,22,36,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-box {
  background: var(--bg-card);
  padding: 30px;
  width: 100%;
  max-width: 420px;
  border-radius: 18px;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.popup-box label {
  margin-top: 14px;
  display: block;
  font-size: 14px;
}

.popup-box input,
.popup-box select {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: 10px;
}

/* ===============================
   CONFIRM / CANCEL
================================ */
.confirm-btn {
  background: linear-gradient(
    135deg,
    var(--accent-gold),
    var(--accent-bitcoin)
  );
  color: #000;
  width: 100%;
  padding: 13px;
  border-radius: 12px;
  border: none;
  margin-top: 18px;
  font-weight: 700;
}

.cancel-btn {
  background: #22304A;
  color: var(--text-primary);
  width: 100%;
  padding: 13px;
  border-radius: 12px;
  border: none;
  margin-top: 10px;
}

.text-gold {
  color: var(--accent-gold);
}


/* Deposit */

/* =========================
   DEPOSIT PAGE
========================= */

.deposit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* Cards */
.deposit-card {
    background: var(--bg-card);
    border-radius: 14px;
    padding: 25px;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
}

/* Titles */
.deposit-card h4 {
    margin-bottom: 18px;
    color: var(--accent-gold);
    font-weight: 600;
}

/* Labels */
.deposit-card label {
    margin-top: 14px;
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
}

/* Inputs & Selects */
.deposit-card input,
.deposit-card select {
    width: 100%;
    padding: 12px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    outline: none;
}

.deposit-card input:focus,
.deposit-card select:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 2px rgba(255, 209, 102, 0.15);
}

/* Wallet Info Box */
.wallet-info {
    background: var(--bg-main);
    border: 1px dashed var(--border-color);
    padding: 12px;
    border-radius: 8px;
    margin-top: 12px;
    color: var(--text-secondary);
}

.wallet-info span {
    color: var(--accent-gold);
    font-weight: 500;
}

/* Copy Button */
.wallet-info button {
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
}

.wallet-info button:hover {
    background: var(--accent-gold);
    color: #000;
}

/* QR */
#walletQR {
    margin-top: 10px;
    border-radius: 8px;
    background: #fff;
    padding: 6px;
}

/* Submit Button */
.btn-glow {
    width: 100%;
    margin-top: 22px;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(
        135deg,
        var(--accent-gold),
        var(--accent-bitcoin)
    );
    color: #000;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 25px rgba(247, 147, 26, 0.35);
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(247, 147, 26, 0.55);
}

/* Messages */
.msg {
    margin-top: 12px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
}

/* Error */
.msg.error {
    background: rgba(231, 76, 60, 0.15);
    color: var(--danger);
    border: 1px solid rgba(231, 76, 60, 0.4);
}

/* Success */
.msg.success {
    background: rgba(46, 204, 113, 0.15);
    color: var(--success);
    border: 1px solid rgba(46, 204, 113, 0.4);
}

/* Info List */
.info-card ul {
    padding-left: 18px;
}

.info-card li {
    margin-bottom: 10px;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .deposit-grid {
        grid-template-columns: 1fr;
    }
}


/* ================================
   USER PROFILE & SETTINGS (SCOPED)
================================ */

/* PAGE WRAPPERS */
.user-profile,
.user-settings {
  max-width: 1100px;
  margin: auto;
}

/* PAGE TITLES */
.user-profile__title,
.user-settings__title {
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 24px;
}

/* ================================
   CARDS
================================ */
.user-profile__card,
.user-settings__card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
  margin-bottom: 24px;
}

.user-profile__card-header,
.user-settings__card-header {
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-blue)
  );
  color: var(--text-primary);
  padding: 16px 20px;
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
  border-radius: 16px 16px 0 0;
}

.user-profile__card-body,
.user-settings__card-body {
  padding: 24px;
}

/* ================================
   PROFILE ROWS
================================ */
.user-profile__row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
}

.user-profile__row:last-child {
  border-bottom: none;
}

.user-profile__label {
  color: var(--text-secondary);
  font-weight: 500;
}

.user-profile__value {
  color: var(--text-primary);
  text-align: right;
}

/* ================================
   STATUS BADGE
================================ */
.user-profile__status {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.user-profile__status--active {
  background: rgba(46, 204, 113, 0.2);
  color: var(--success);
}

.user-profile__status--blocked {
  background: rgba(231, 76, 60, 0.2);
  color: #e74c3c;
}

/* ================================
   FORMS
================================ */
.user-settings__form-group {
  margin-bottom: 18px;
}

.user-settings__label {
  color: var(--text-secondary);
  margin-bottom: 6px;
  display: block;
}

.user-settings__input {
  width: 100%;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 12px 14px;
  border-radius: 12px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.user-settings__input:focus {
  outline: none;
  border-color: var(--accent-bitcoin);
  box-shadow: 0 0 0 2px rgba(247, 147, 26, 0.25);
}

/* ================================
   BUTTONS
================================ */
.user-settings__btn {
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}

.user-settings__btn--primary {
  background: linear-gradient(
    135deg,
    var(--accent-bitcoin),
    var(--accent-gold)
  );
  color: #0b1c2d;
}

.user-settings__btn--success {
  background: var(--success);
  color: #0b1c2d;
}

.user-settings__btn--warning {
  background: var(--accent-gold);
  color: #0b1c2d;
}

.user-settings__btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ================================
   ALERTS
================================ */
.user-settings__alert {
  padding: 14px 18px;
  border-radius: 14px;
  margin-bottom: 20px;
  font-weight: 500;
}

.user-settings__alert--success {
  background: rgba(46, 204, 113, 0.15);
  color: var(--success);
}

.user-settings__alert--error {
  background: rgba(231, 76, 60, 0.15);
  color: #e74c3c;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
  .user-profile__row {
    flex-direction: column;
    gap: 6px;
  }

  .user-profile__value {
    text-align: left;
  }
}

/* ================================
   USER HISTORY PAGE (SCOPED)
================================ */
.user-history {
  max-width: 1200px;
  margin: auto;
}

.user-history__title {
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 16px;
}

/* Search input */
.user-history__search-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--bg-main);
  color: var(--text-primary);
}

/* Card */
.user-history__card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  margin-top: 10px;
}

.user-history__card-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue));
  color: var(--text-primary);
  font-weight: 600;
  padding: 16px 20px;
  border-radius: 16px 16px 0 0;
  border-bottom: 1px solid var(--border-color);
}

.user-history__card-body {
  padding: 20px;
  overflow-x: auto;
}

/* Table */
.user-history__table {
  width: 100%;
  border-collapse: collapse;
  color: var(--text-primary);
}

.user-history__table th,
.user-history__table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
}

.user-history__table th {
  background: var(--primary-blue);
  font-weight: 600;
  color: var(--text-primary);
}

.user-history__table tr:nth-child(even) {
  background: var(--bg-main);
}

.user-history__table tr:hover {
  background: rgba(247,147,26,0.1);
}

/* Status badges */
.user-history__status {
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 13px;
}

.user-history__status--active {
  background: rgba(46,204,113,0.2);
  color: var(--success);
}

.user-history__status--paused {
  background: rgba(247,147,26,0.2);
  color: var(--accent-bitcoin);
}

.user-history__status--completed {
  background: rgba(255,209,102,0.2);
  color: var(--accent-gold);
}

/* Pagination */
.user-history__pagination {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}

.user-history__page-btn {
  padding: 8px 14px;
  border-radius: 12px;
  background: var(--primary-blue);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
}

.user-history__page-btn:hover {
  background: var(--accent-bitcoin);
  color: #0B1C2D;
}

/* Empty state */
.user-history__empty {
  color: var(--text-secondary);
  font-style: italic;
  text-align: center;
  padding: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .user-history__table th, .user-history__table td {
    font-size: 13px;
    padding: 8px;
  }
}

/* =========================
   WITHDRAWAL PAGE
========================= */

.withdraw-flex {
    display: flex;
    gap: 30px;
    margin-top: 25px;
}

/* Instructions Card */
.withdraw-instructions {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 22px 25px;
    border-radius: 14px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    min-width: 280px;
}

.withdraw-instructions h5 {
    color: var(--accent-gold);
    margin-bottom: 12px;
    font-weight: 600;
}

.withdraw-instructions ul {
    padding-left: 18px;
}

.withdraw-instructions li {
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

/* Withdrawal Form Card */
.withdraw-card {
    flex: 1;
    background: var(--bg-card);
    border-radius: 14px;
    padding: 25px;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 25px rgba(0,0,0,0.45);
    min-width: 280px;
}

.withdraw-card h4 {
    margin-bottom: 18px;
    color: var(--accent-gold);
    font-weight: 600;
}

/* Labels */
.withdraw-card label {
    margin-top: 14px;
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
}

/* Inputs & Select */
.withdraw-card input,
.withdraw-card select {
    width: 100%;
    padding: 12px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    outline: none;
}

.withdraw-card input:focus,
.withdraw-card select:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 2px rgba(255, 209, 102, 0.15);
}

/* Submit Button */
.btn-glow {
    width: 100%;
    margin-top: 22px;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(
        135deg,
        var(--accent-gold),
        var(--accent-bitcoin)
    );
    color: #000;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 25px rgba(247,147,26,0.35);
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(247,147,26,0.55);
}

/* Messages */
.msg {
    margin-top: 12px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
}

.msg.error {
    background: rgba(231, 76, 60, 0.15);
    color: var(--danger);
    border: 1px solid rgba(231, 76, 60, 0.4);
}

.msg.success {
    background: rgba(46, 204, 113, 0.15);
    color: var(--success);
    border: 1px solid rgba(46, 204, 113, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .withdraw-flex {
        flex-direction: column;
    }
}

/* ==============================
   SWEETALERT2 THEME
============================== */
.rio-swal-popup {
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 0 30px rgba(247,147,26,0.2);
}

.rio-swal-title {
  font-size: 22px;
  font-weight: 600;
}

.rio-swal-text {
  font-size: 14px;
  color: var(--text-secondary);
}

.rio-swal-confirm {
  border-radius: 25px !important;
  padding: 10px 28px !important;
  font-weight: 600;
}

.rio-swal-cancel {
  border-radius: 25px !important;
}

/* ==============================
   TRANSACTION STATUS COLORS
============================== */

.tx-status {
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 13px;
  display: inline-block;
  text-transform: capitalize;
}

/* Pending */
.tx-status.pending {
  color: var(--accent-bitcoin);
}

/* Approved / Paid */
.tx-status.approved,
.tx-status.paid,
.tx-status.success {
  color: var(--success);
}

/* Declined / Rejected */
.tx-status.declined,
.tx-status.rejected,
.tx-status.failed {
  color: #E74C3C;
}

/* ==============================
   CONTACT PAGE
============================== */

.contact-hero {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-dark), var(--bg-main));
}

.contact-hero h1 {
  font-weight: 700;
}

.contact-hero p {
  color: var(--text-secondary);
}

.contact-section {
  padding: 80px 0;
}

/* INFO CARD */
.contact-info-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 30px;
  height: 100%;
  border: 1px solid var(--border-color);
}

.contact-info-card h4 {
  margin-bottom: 25px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--text-secondary);
}

.contact-item i {
  color: var(--accent-gold);
  font-size: 18px;
}

/* FORM CARD */
.contact-form-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 30px;
  border: 1px solid var(--border-color);
}

.contact-form-card h4 {
  margin-bottom: 20px;
}

/* INPUTS */
.contact-form-card .form-control {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: 10px;
  padding: 12px;
}

.contact-form-card .form-control:focus {
  border-color: var(--accent-bitcoin);
  box-shadow: 0 0 0 2px rgba(247,147,26,0.15);
  background: var(--bg-main);
  color: var(--text-primary);
}

/* ==============================
   INPUT PLACEHOLDER VISIBILITY
============================== */

/* Standard */
::placeholder {
  color: #8FA3B8; /* soft light-blue/gray */
  opacity: 1;
}

/* Chrome, Edge */
::-webkit-input-placeholder {
  color: #8FA3B8;
}

/* Firefox */
::-moz-placeholder {
  color: #8FA3B8;
}

/* IE */
:-ms-input-placeholder {
  color: #8FA3B8;
}

/* Focused input placeholder slightly dim */
input:focus::placeholder,
textarea:focus::placeholder {
  color: #6F8499;
}

input::placeholder,
textarea::placeholder {
  transition: color 0.2s ease;
}
.form-control::placeholder {
  color: #6c757d;
  opacity: 1;
}


.tax-alert {
    background: #fff3cd;
    color: #856404;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
}

.tax-alert a {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 12px;
    background: #ffc107;
    color: #000;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
}

.tax-alert.danger {
    background: #f8d7da;
    color: #721c24;
}

.tax-alert.danger a {
    background: #dc3545;
    color: #fff;
}
.tax-header-alert {
    background: #b30000;
    color: #fff;
    padding: 10px;
    text-align: center;
    font-weight: 600;
}
.tax-header-alert a {
    color: #ffd700;
    text-decoration: underline;
}

.tax-container {
  max-width: 900px;
  margin: auto;
  padding: 20px;
}

.tax-card, .fund-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.amount {
  font-size: 24px;
  color: var(--accent-gold);
}

.tax-alert {
  background: #402020;
  padding: 10px;
  border-left: 4px solid red;
}

button {
  background: var(--accent-bitcoin);
  border: none;
  padding: 10px;
  cursor: pointer;
}

.countdown {
  margin-top: 10px;
  font-weight: bold;
  color: var(--accent-gold);
}

#tax-countdown.overdue {
  color: var(--accent-bitcoin);
}

.tax-alert {
  background: rgba(247, 147, 26, 0.15);
  border: 1px solid var(--accent-bitcoin);
  padding: 12px;
  border-radius: 6px;
  color: var(--accent-bitcoin);
  margin-bottom: 15px;
}

.tax-banner {
  background: rgba(247, 147, 26, 0.15);
  border: 1px solid var(--accent-bitcoin);
  color: var(--accent-bitcoin);
  padding: 14px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.tax-banner a {
  color: var(--accent-gold);
  font-weight: bold;
  text-decoration: underline;
}

.disabled-btn {
  pointer-events: none;
  opacity: 0.45;
  filter: grayscale(1);
}

/* ================= TAX PAGE ================= */

.tax-container {
    max-width: 1100px;
    margin: 30px auto;
    padding: 25px;
    background: var(--bg-main);
    color: var(--text-primary);
    border-radius: 14px;
    box-shadow: 0 25px 60px rgba(0,0,0,.45);
    font-family: "Segoe UI", system-ui, sans-serif;
}

.tax-container h2 {
    font-size: 26px;
    margin-bottom: 18px;
    text-align: center;
    color: var(--accent-bitcoin);
}

/* ================= ALERT ================= */

.tax-alert {
    background: linear-gradient(
        135deg,
        rgba(247,147,26,.15),
        rgba(255,209,102,.15)
    );
    border: 1px solid var(--accent-bitcoin);
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
    color: var(--accent-gold);
}

/* ================= CARDS ================= */

.tax-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-bottom: 20px;
}

.tax-card {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.tax-card h4 {
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-size: 14px;
    letter-spacing: .3px;
}

.tax-card .amount {
    font-size: 28px;
    font-weight: bold;
    color: var(--accent-gold);
}

.tax-card small {
    display: block;
    margin-top: 8px;
    color: var(--accent-bitcoin);
}

/* ================= COUNTDOWN ================= */

.countdown {
    background: var(--bg-card);
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
    border: 1px dashed var(--border-color);
}

#tax-countdown {
    color: var(--accent-bitcoin);
    font-weight: bold;
}

/* ================= WALLETS & FUNDING ================= */

.fund-box {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 18px;
    border: 1px solid var(--border-color);
}

.fund-box h4 {
    margin-bottom: 6px;
    color: var(--accent-gold);
}

.fund-box small {
    color: var(--text-secondary);
}

.fund-box p {
    word-break: break-all;
    background: var(--primary-dark);
    padding: 10px;
    border-radius: 6px;
    margin: 10px 0;
    font-size: 14px;
    border: 1px solid var(--border-color);
}

/* ================= INPUTS ================= */

input {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--primary-dark);
    color: var(--text-primary);
    outline: none;
    font-size: 14px;
}

input::placeholder {
    color: var(--text-secondary);
}

input:focus {
    border-color: var(--accent-bitcoin);
}

/* ================= BUTTONS ================= */

button {
    margin-top: 12px;
    padding: 12px;
    /* width: 100%; */
    border: none;
    border-radius: 10px;
    background: linear-gradient(
        135deg,
        var(--accent-bitcoin),
        var(--accent-gold)
    );
    color: var(--primary-dark);
    font-weight: bold;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(247,147,26,.35);
}

.pay-btn {
    background: linear-gradient(
        135deg,
        var(--success),
        #1fa85a
    );
    color: #052e16;
}

/* ================= HISTORY ================= */

#tax-history {
    display: grid;
    gap: 14px;
}

.history-row {
    background: var(--bg-card);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.history-row strong {
    color: var(--accent-bitcoin);
}

.history-row small {
    color: var(--text-secondary);
}

.history-row code {
    display: inline-block;
    margin-top: 6px;
    padding: 4px 8px;
    border-radius: 6px;
    background: var(--primary-dark);
    color: var(--accent-gold);
    border: 1px solid var(--border-color);
    font-size: 12px;
}

.history-row a {
    display: inline-block;
    margin-top: 8px;
    color: var(--accent-bitcoin);
    text-decoration: none;
    font-weight: 600;
}

.history-row a:hover {
    text-decoration: underline;
}

#loadMoreBtn {
    margin-top: 18px;
}

/* ================= QR ================= */

img {
    display: block;
    margin: 15px auto;
    border-radius: 10px;
    background: #fff;
    padding: 8px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 600px) {
    .tax-container {
        padding: 16px;
    }
}

#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  min-width: 260px;
  max-width: 360px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  background: var(--bg-card);
  border-left: 5px solid var(--accent-bitcoin);
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  animation: slideIn .35s ease;
}

.toast.success {
  border-left-color: var(--success);
}

.toast.error {
  border-left-color: #ff4d4d;
}

.toast.info {
  border-left-color: var(--accent-gold);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.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='rgba(255,255,255,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}



/* ================= LEGAL PAGES ================= */

.legal-container {
  max-width: 900px;
  margin: 60px auto;
  padding: 40px;
  background: var(--bg-card);
  border-radius: 14px;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.legal-container h1 {
  font-size: 32px;
  color: var(--accent-gold);
  margin-bottom: 10px;
}

.legal-container .updated {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.legal-container h2 {
  font-size: 22px;
  margin-top: 30px;
  margin-bottom: 12px;
  color: var(--accent-bitcoin);
}

.legal-container p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.legal-container ul {
  margin-left: 20px;
  margin-bottom: 16px;
}

.legal-container ul li {
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.legal-highlight {
  background: var(--primary-blue);
  padding: 16px;
  border-left: 4px solid var(--accent-bitcoin);
  border-radius: 8px;
  margin: 20px 0;
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .legal-container {
    margin: 30px 16px;
    padding: 24px;
  }

  .legal-container h1 {
    font-size: 26px;
  }
}
