:root {
  --bg-main: #020818;
  --bg-card: rgba(10, 25, 55, 0.9);
  --accent: #1e90ff;
  --accent-soft: rgba(30, 144, 255, 0.35);
  --text-main: #f3f7ff;
  --text-muted: #9fb4d9;
}

/* GLOBAL */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  position: relative;
}

/* Background grid */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(transparent 0 1px, rgba(255, 255, 255, 0.03) 1px 100%),
    linear-gradient(90deg, transparent 0 1px, rgba(255, 255, 255, 0.03) 1px 100%);
  background-size: 80px 80px;
  opacity: 0.4;
  pointer-events: none;
  z-index: -4;
}

/* Soft glow */
body::after {
  content: "";
  position: fixed;
  width: 40rem;
  height: 40rem;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(30, 144, 255, 0.35), transparent 60%);
  top: -8rem;
  right: -15rem;
  z-index: -5;
}

/* Orbits (light blobs) */
.bg-orbit {
  position: fixed;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  pointer-events: none;
  z-index: -3;
  opacity: 0.4;
  filter: blur(2px);
  animation: float-orbit 18s ease-in-out infinite alternate;
}

.bg-orbit-left {
  background: radial-gradient(circle, rgba(69, 169, 255, 0.4), transparent 55%);
  top: 40%;
  left: -6rem;
}

.bg-orbit-right {
  background: radial-gradient(circle, rgba(120, 150, 255, 0.4), transparent 55%);
  bottom: -4rem;
  right: -6rem;
}

@keyframes float-orbit {
  from {
    transform: translateY(0px) translateX(0px);
  }
  to {
    transform: translateY(-40px) translateX(20px);
  }
}

/* Rain overlay */

.bg-rain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  opacity: 0.25;
  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.35) 0,
      rgba(255, 255, 255, 0.15) 20%,
      transparent 60%
    );
  background-size: 2px 80px;
  background-repeat: repeat;
  transform: skewX(-12deg);
  animation: rain-fall 7s linear infinite;
}

@keyframes rain-fall {
  from {
    background-position: 0 -80px;
  }
  to {
    background-position: 0 80px;
  }
}

/* NAVBAR / GLASS EFFECT */

.glass-header {
  background: radial-gradient(circle at top, rgba(20, 60, 140, 0.25), rgba(2, 8, 24, 0.88));
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid rgba(163, 196, 255, 0.24);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.glass-header.scrolled {
  background: radial-gradient(circle at top, rgba(20, 60, 140, 0.7), rgba(2, 8, 24, 0.96));
  border-color: rgba(163, 196, 255, 0.45);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.85);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-main);
}

.navbar-brand img {
  height: 36px;
  width: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.nav-link:hover,
.nav-link:focus {
  color: #ffffff;
}

.navbar-toggler-icon {
  color: #ffffff;
}

/* Buttons */

.btn-discord {
  background: linear-gradient(135deg, #5865f2, #3b45c6);
  border: none;
  border-radius: 999px;
  padding-inline: 1.4rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
}

.btn-primary-gradient {
  background: linear-gradient(120deg, #1e90ff, #4fc3f7);
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 12px 30px rgba(30, 144, 255, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary-gradient:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(30, 144, 255, 0.75);
}

.btn-outline-soft {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-muted);
  background-color: rgba(4, 13, 40, 0.85);
  font-size: 0.9rem;
  padding: 0.7rem 1.4rem;
}

/* HERO */

.hero {
  padding-top: 7.4rem;
  padding-bottom: 4rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: radial-gradient(circle at top left, rgba(30, 144, 255, 0.2), transparent 65%);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.hero-title {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-title span {
  background: linear-gradient(120deg, #ffffff, #45a9ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: var(--text-muted);
  max-width: 540px;
  font-size: 0.98rem;
}

.hero-stats {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.85rem;
}

.hero-stat-pill {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(6, 18, 52, 0.9);
}

.hero-stat-pill i {
  color: var(--accent);
}

.hero-cta-group {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero-badge-row span {
  padding: 0.18rem 0.75rem;
  border-radius: 999px;
  background-color: rgba(6, 21, 60, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Hero right panel */

.hero-panel {
  background-color: var(--bg-card);
  border-radius: 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.2rem 1.1rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: translateX(-100%) skewX(-20deg);
  opacity: 0;
  pointer-events: none;
}

.hero-panel:hover::before {
  animation: sweep 0.9s ease-out forwards;
}

.hero-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.hero-panel-header .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1de9b6;
  box-shadow: 0 0 12px rgba(29, 233, 182, 0.9);
}

.hero-panel-body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.88rem;
}

.hero-rate-row {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  background-color: rgba(8, 24, 68, 0.8);
  border-radius: 0.8rem;
  padding: 0.55rem 0.85rem;
}

.hero-panel-footer {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Sections */

section {
  padding-block: 3.5rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-inline: auto;
}

.section-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Feature / floating cards */

.floating-card {
  animation: float-card 6s ease-in-out infinite alternate;
}

@keyframes float-card {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-6px);
  }
}

.feature-card {
  background-color: var(--bg-card);
  border-radius: 1.2rem;
  padding: 1.4rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at top left, rgba(86, 194, 255, 0.25), transparent 60%);
  opacity: 0.3;
}

.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Currency cards */

.currency-card {
  position: relative;
  background-color: var(--bg-card);
  border-radius: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 1.4rem 1.2rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(18px);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.currency-card:hover {
  transform: translateY(-4px);
  border-color: rgba(100, 181, 246, 0.9);
  box-shadow: 0 20px 48px rgba(6, 33, 78, 0.9);
}

.currency-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.22),
    transparent
  );
  transform: translateX(-100%) skewX(-20deg);
  opacity: 0;
}

.currency-card:hover::before {
  animation: sweep 0.9s ease-out forwards;
}

.currency-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.currency-header h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin: 0;
}

.pill {
  font-size: 0.7rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(6, 21, 60, 0.9);
}

.pill-green {
  border-color: rgba(76, 175, 80, 0.7);
}

.pill-blue {
  border-color: rgba(100, 181, 246, 0.9);
}

.pill-purple {
  border-color: rgba(171, 71, 188, 0.9);
}

.currency-text {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}

.currency-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}

.chip {
  font-size: 0.78rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background-color: rgba(2, 11, 37, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Rates marquee strip */

.rates-strip {
  margin-top: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(135, 176, 255, 0.5);
  background: radial-gradient(circle at top, rgba(46, 125, 255, 0.4), rgba(10, 20, 60, 0.9));
  overflow: hidden;
  padding: 0.35rem 0;
}

.rates-strip-inner {
  white-space: nowrap;
  animation: marquee 22s linear infinite;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Steps */

.step-card {
  background-color: var(--bg-card);
  border-radius: 1.1rem;
  padding: 1.4rem 1.2rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

.step-number {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  font-size: 2.5rem;
  font-weight: 700;
  opacity: 0.06;
}

.step-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
}

/* Security */

.security-card {
  background-color: var(--bg-card);
  border-radius: 1.3rem;
  padding: 1.6rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.security-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.security-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.security-list i {
  margin-top: 0.04rem;
  color: #64ffda;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.security-mini-card {
  padding: 0.9rem 0.8rem;
  border-radius: 1rem;
  background-color: rgba(5, 18, 48, 0.95);
  border: 1px solid rgba(166, 196, 255, 0.28);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.security-mini-card i {
  font-size: 1.2rem;
  color: var(--accent);
}

/* Testimonials */

.testimonial-card {
  background-color: var(--bg-card);
  border-radius: 1.2rem;
  padding: 1.3rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: -10px;
  left: 12px;
  font-size: 3rem;
  opacity: 0.06;
}

.testimonial-name {
  display: block;
  margin-top: 0.8rem;
  font-size: 0.78rem;
  color: var(--text-main);
}

/* FAQ */

.accordion-item {
  background-color: rgba(3, 11, 33, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.accordion-button {
  background-color: transparent;
  color: var(--text-main);
}

.accordion-button:not(.collapsed) {
  color: var(--text-main);
  background-color: rgba(6, 20, 59, 0.9);
}

.accordion-body {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* Contact */

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0.5rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.contact-list li {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.contact-list i {
  font-size: 0.5rem;
  margin-top: 0.35rem;
}

.contact-card {
  background-color: var(--bg-card);
  border-radius: 1.2rem;
  padding: 1.4rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.contact-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
}

.contact-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: var(--text-muted);
}

.contact-note {
  font-size: 0.8rem;
  margin-top: 0.8rem;
  color: var(--text-muted);
}

/* Footer glass */

.footer {
  padding-block: 1.8rem;
}

.glass-footer {
  background: radial-gradient(circle at bottom, rgba(20, 60, 140, 0.28), rgba(2, 7, 22, 0.85));
  backdrop-filter: blur(20px) saturate(160%);
  border-top: 1px solid rgba(163, 196, 255, 0.3);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.75);
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-left img {
  height: 30px;
  width: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-text {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-link {
  margin-left: 0.8rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-copy {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Animations */

@keyframes sweep {
  0% {
    transform: translateX(-100%) skewX(-20deg);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: translateX(260%) skewX(-20deg);
    opacity: 0;
  }
}

/* Small screens */

@media (max-width: 767px) {
  .hero {
    padding-top: 6.4rem;
  }

  .hero-panel {
    margin-top: 0.8rem;
  }

  .footer-left {
    margin-bottom: 0.5rem;
  }
}
