body { font-family: Inter, sans-serif; }
.glow:hover { box-shadow: 0 0 50px rgba(56,189,248,.35); }
.floating { animation: float 6s ease-in-out infinite; }
@keyframes float {
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-14px)}
}

:root {
  --bg: #0b0f19;
  --card: #111827;
  --border: rgb(255,255,255,0.2);
  --text: #e5e7eb;
  --muted: #9ca3af;
}

[data-theme="light"] {
  --bg: #f8fafc;
  --card:  rgba(252, 252, 248, 1);
  --border: #e5e7eb;
  --text: #0f172a;
  --muted: #475569;
}

body {
  background: var(--bg);
  color: var(--text);
  min-width: 1200px;
  overflow-x: auto;
  transition: background .3s ease, color .3s ease;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
}




/* Body background with overlay */
body {
  background: url('background.png') no-repeat center center fixed;
  background-size: cover;
  background-attachment: fixed;
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  transition: all 0.3s ease;
  position: relative;
}

/* Overlay default: light mode */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-color: rgba(252, 252, 248, 0.85); /* light overlay */
  z-index: -1;
  transition: background-color 0.3s ease;
}

/* CARDS - default light mode */
.card {
  background-color: rgba(252, 252, 248, 1);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
  color: #111;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

/* Text & headings */
body {
  color: #111; /* light mode default */
}

h2, h3, h4, p {
  color: inherit;
}

/* Buttons */
button, .btn {
  background: #2563eb;
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

button:hover, .btn:hover {
  background: #3b82f6;
}

/* Inputs */
.input-field {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #111;
  outline: none;
  transition: all 0.3s ease;
}

.input-field::placeholder {
  color: #666;
}

.input-field:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37,99,235,0.3);
}

/* DARK MODE */
body.dark-mode {
  color: #fff;
}

body.dark-mode::before {
  background-color: rgba(0, 32, 96, 0.8); /* dark blue overlay */
}

body.dark-mode .card {
  background-color: rgba(0,0,0,0.8);
  color: #fff;
}

body.dark-mode .input-field {
  background-color: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}

body.dark-mode .input-field::placeholder {
  color: #ccc;
}
  /* TESTIMONIAL MARQUEE */
.testimonial-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.testimonial-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: scrollTestimonials 40s linear infinite;
}

.testimonial-marquee:hover .testimonial-track {
  animation-play-state: paused;
}

.testimonial-card {
  min-width: 320px;
  max-width: 320px;
  padding: 28px;
  border-radius: 18px;
}

.testimonial-card p {

  line-height: 1.6;
  margin-bottom: 18px;
}

.testimonial-card h4 {
  font-weight: 700;
  margin-bottom: 2px;
}

.testimonial-card span {
  font-size: 0.85rem;
  color: #9ca3af;
}

@keyframes scrollTestimonials {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

  /* MARKET DASHBOARD */
.market-tab {
  padding: 12px 24px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 600;
  transition: all 0.3s ease;
}

.market-tab:hover {
  background: rgba(59, 130, 246, 0.2);
}

.market-tab.active {
  background: #2563eb;
  color: #fff;
}

.chart-box {
  background: linear-gradient(180deg, rgba(37,99,235,0.15), rgba(0,0,0,0.3));
  border: 1px solid rgba(255,255,255,0.08);
}

.market-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
}

.market-item h4 {
  font-weight: 700;
}

.market-item span {
  font-size: 0.8rem;
  color: #9ca3af;
}

  /* PURCHASE COIN SECTION INPUTS */
.input-field {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  outline: none;
  transition: 0.3s;
}

.input-field::placeholder {
  color: #9ca3af;
}

.input-field:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37,99,235,0.3);
}

/* Full-width hero section */
#hero-section {
  position: relative;
  width: 100vw;        /* full viewport width */
  max-width: 100%;      /* ensures it doesn’t overflow */
  margin: 0;            /* remove parent margins */
  
  background: url('cover.png') no-repeat center center;
  background-size: cover;
  overflow: hidden;
  padding: 6rem 6rem;      /* vertical spacing */
  box-sizing: border-box; /* include padding in width */
}
/* Overlay */
#hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,0.4); /* overlay for readability */
  z-index: 0;
  transition: background-color 0.3s ease;
}

/* Content wrapper stays centered */
#hero-section .hero-content {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem; /* optional small side padding for small screens */
}

#hero-section::before {
  background-color: rgba(0, 0, 0, 0.85);

}
/* Dark mode overlay */
body.dark-mode #hero-section::before {
  background-color: rgba(0, 0, 0, 0.85);
}

/* FOOTER */
.footer-section {
  margin-top: 6rem;
  padding: 4rem 1.5rem 2rem;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
}

body:not(.dark-mode) .footer-section {
  background: rgba(255, 255, 255, 0.65);
}

.footer-container {
  max-width: 1200px;
  margin: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}

.footer-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fc7c16;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.6rem;
  font-size: 14px;
}

.footer-links a {
  text-decoration: none;
  color: inherit;
  opacity: 0.8;
  transition: 0.3s;
}

.footer-links a:hover {
  opacity: 1;
  color: #2563eb;
}

.footer-socials {
  margin-top: 1rem;
}

.footer-socials a {
  margin-right: 12px;
  font-size: 16px;
  color: #2563eb;
  transition: transform 0.3s;
}

.footer-socials a:hover {
  transform: translateY(-3px);
}

.footer-logo {
  max-width: 220px;
}

.footer-text {
  font-size: 14px;
  opacity: 0.85;
  margin: 1rem 0;
}

.footer-subtitle {
  font-size: 13px;
  margin-top: 1.5rem;
  color: #fc7c16;
  text-transform: uppercase;
}

.footer-payments img {
  height: 28px;
  margin-right: 2px;
  margin-top: 10px;
  display: inline;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  font-size: 13px;
  opacity: 0.75;
}



/* HERO STATS */
.hero-stats-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

/* STATS ROW */
.bitcoin-stats {
  display: flex;
  gap: 3rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

/* SINGLE STAT */
.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: fadeUp 0.7s ease forwards;
  opacity: 0;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.25s; }
.stat-item:nth-child(3) { animation-delay: 0.4s; }
.stat-item:nth-child(4) { animation-delay: 0.55s; }

/* ORANGE CIRCLE */
.stat-circle {
  width: 64px;
  height: 64px;
  background: #fff;
  border-radius: 50%;
  border: 2px solid #fc7c16;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* ICON */
.stat-icon {
  font-size: 35px;
  color: #fc7c16;
}

/* HOVER (VERY SUBTLE LIKE LINK) */
.stat-item:hover .stat-circle {
  transform: scale(1.05);
  box-shadow: 0 0 0 6px rgba(252,124,22,0.15);
}

/* TEXT */
.stat-text h6 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color:#fff;
}

.stat-text span {
  font-size: 12px;
  opacity: 0.7;
  color:#fff;
}

/* ENTRY ANIMATION */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* DARK MODE */
body.dark-mode .stat-text span {
  opacity: 0.6;
}

/* MOBILE */
@media (max-width: 768px) {
  .bitcoin-stats {
    gap: 1.8rem;
  }
}



/* PURCHASE COIN SECTION */
#purchase-coin-section {
  margin-top: 5rem;
  text-align: center;
  background: none;
}

/* TITLE */
#purchase-coin-section h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

#purchase-coin-section p {
  max-width: 520px;
  margin: 0 auto 2.2rem;
  font-size: 14px;
  opacity: 0.75;
}

/* BUTTON GROUP */
#purchase-coin-section .btn-group {
  display: inline-flex;
  gap: 12px;
  background: rgba(255,255,255,0.04);
  padding: 8px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

/* BUTTONS */
#purchase-coin-section .btn-group .btn {
  border: none;
  background: transparent;
  color: inherit;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

/* ACTIVE BUTTON */
#purchase-coin-section .btn-group .btn.active {
  background: #fc7c16;
  color: #fff;
  box-shadow: 0 8px 20px rgba(252,124,22,0.35);
}

/* HOVER */
#purchase-coin-section .btn-group .btn:hover {
  transform: translateY(-1px);
}

/* LOGO ROW */
.logo-carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

/* LOGOS */
.logo-carousel img {
  height: 34px;
  opacity: 0.55;
  filter: grayscale(100%);
  transition: 
    opacity 0.35s ease,
    filter 0.35s ease,
    transform 0.35s ease;
}

/* LOGO HOVER */
.logo-carousel img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-4px);
}

/* DARK MODE */
body.dark-mode #purchase-coin-section p {
  opacity: 0.65;
}

body.dark-mode #purchase-coin-section .btn-group {
  background: rgba(255,255,255,0.06);
}

/* MOBILE */
@media (max-width: 768px) {
  #purchase-coin-section h2 {
    font-size: 1.7rem;
  }

  #purchase-coin-section .btn-group {
    flex-wrap: wrap;
    justify-content: center;
  }
}



/* THEME TOGGLE BUTTON */
.theme-toggle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fc7c16;
  font-size: 18px;
  transition: 
    transform 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.theme-toggle:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 30px rgba(252,124,22,0.35);
}

/* DARK MODE STYLE */
body.dark-mode .theme-toggle {
  background: rgba(0, 0, 0, 0.4);
  color: #facc15;
}

/* MODERN WITHDRAW POPUP */
.withdraw-popup {
  position: fixed;
  top:65%;
  left: 24px;
  z-index: 9999;

  display: flex;
  align-items: center;
  gap: 14px;

  padding: 16px 18px;
  width: 320px;
  

  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.9),
    rgba(248,248,248,0.85)
  );
  backdrop-filter: blur(16px);

  border-radius: 18px;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.12),
    inset 0 0 0 1px rgba(255,255,255,0.6);

  font-family: 'Poppins', sans-serif;

  opacity: 0;
  pointer-events: none;
  transform: translateY(25px) scale(0.97);

  transition:
    opacity 0.45s ease,
    transform 0.45s cubic-bezier(.22,1,.36,1);
}

/* SHOW STATE */
.withdraw-popup.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* ICON AVATAR */
.popup-avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(135deg, #fc7c16, #ff9a3c);
  color: white;
  font-size: 18px;

  box-shadow: 0 8px 20px rgba(252,124,22,0.45);
}

/* CONTENT */
.popup-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.popup-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color:green;
}

.popup-text {
  font-size: 14px;
  line-height: 1.35;
  color: #111827;
}

.popup-text strong {
  font-weight: 700;

}

/* DARK MODE */
body.dark-mode .withdraw-popup {
  background: linear-gradient(
    145deg,
    rgba(18,18,18,0.9),
    rgba(25,25,25,0.85)
  );
  box-shadow:
    0 15px 40px rgba(0,0,0,0.6),
    inset 0 0 0 1px rgba(255,255,255,0.05);
}

body.dark-mode .popup-title {
  color: green;
}

body.dark-mode .popup-text {
  color: #fff!important ;
}

/* MOBILE */
@media (max-width: 640px) {
  .withdraw-popup {
    left: 16px;
    right: 16px;
    width: auto;
  }
}


/* CHATBOT BUTTON */
.chatbot-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fc7c16, #ff9a3c);
  color: #fff;
  font-size: 34px;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(252,124,22,0.45);
  z-index: 9999;
}

/* CHAT WINDOW */
.chatbot {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 340px;
  height: 420px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(18px);
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: all 0.4s ease;
  z-index: 9999;
}

/* SHOW */
.chatbot.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* HEADER */
.chatbot-header {
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.chatbot-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fc7c16, #ff9a3c);
  display: grid;
  place-items: center;
  color: #fff;
}

.chatbot-title {
  font-weight: 700;
  font-size: 14px;
}

.chatbot-status {
  font-size: 12px;
  color: #16a34a;
}

#chatbot-close {
  margin-left: auto;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

/* BODY */
.chatbot-body {
  flex: 1;
  padding: 14px;
  overflow-y: auto;
}

.bot-msg {
  background: rgba(252,124,22,0.1);
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  max-width: 85%;
}

/* FOOTER */
.chatbot-footer {
  padding: 12px;
  display: flex;
  gap: 8px;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.chatbot-footer input {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ddd;
  outline: none;
}

.chatbot-footer button {
  background: #fc7c16;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0 14px;
  cursor: pointer;
}

/* CHAT MESSAGES */
.user-msg {
  margin-left: auto;
  background: linear-gradient(135deg, #fc7c16, #ff9a3c);
  color: #fff;
  padding: 10px 12px;
  border-radius: 14px 14px 4px 14px;
  font-size: 14px;
  max-width: 80%;
}

.bot-msg {
  background: rgba(252,124,22,0.12);
  padding: 10px 12px;
  border-radius: 14px 14px 14px 4px;
  font-size: 14px;
  max-width: 80%;
}

/* TYPING DOTS */
.typing {
  display: inline-flex;
  gap: 4px;
}

.typing span {
  width: 6px;
  height: 6px;
  background: #fc7c16;
  border-radius: 50%;
  animation: typing 1.2s infinite ease-in-out;
}

.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }

@keyframes typing {
  0%, 80%, 100% { opacity: 0.3; }
  40% { opacity: 1; }
}


.stat{
background:#111827;border:1px solid #1f2937;padding:20px;border-radius:14px;
text-align:center;font-size:12px;color:#9ca3af
}
.stat span{display:block;margin-top:8px;font-size:20px;color:#fff;font-weight:800}

.plan{
background:#111827;border:1px solid #1f2937;border-radius:18px;
padding:30px;transition:.35s
}
.plan:hover{transform:translateY(-10px);box-shadow:0 0 50px rgba(56,189,248,.3)}
.plan h3{font-size:20px;font-weight:800}
.plan p{color:#38bdf8;font-weight:700;margin:6px 0 18px}
.plan ul{font-size:14px;color:#9ca3af}
.plan li{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px dashed #1f2937}
.plan span{color:#e5e7eb}
.plan button{
margin-top:20px;width:100%;padding:14px;border-radius:10px;
background:#2563eb;font-weight:700
}
.featured{outline:2px solid #38bdf8}