/* Exchange landing extras — matches Elementor kit (dark + #FFBE0B) */
.mm-exchange {
  --mm-bg: #0a0a12;
  --mm-panel: #12121c;
  --mm-line: rgba(255, 190, 11, 0.22);
  --mm-gold: #ffbe0b;
  --mm-text: #ffffff;
  --mm-muted: #a7a7cd;
  --mm-up: #3dd68c;
  --mm-down: #ff6b6b;
  font-family: Roboto, sans-serif;
  color: var(--mm-text);
}

.mm-exchange__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 72px 20px 80px;
}

.mm-exchange__eyebrow {
  margin: 0 0 10px;
  color: var(--mm-gold);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

.mm-exchange__title {
  margin: 0 0 12px;
  font-family: "Source Sans 3", Roboto, sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-transform: capitalize;
}

.mm-exchange__lead {
  margin: 0 auto 40px;
  max-width: 640px;
  color: var(--mm-muted);
  font-size: 17px;
  line-height: 1.6;
  text-align: center;
}

/* Hero trust chips */
.mm-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 8px;
}

.mm-hero-chips span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--mm-line);
  border-radius: 999px;
  background: rgba(255, 190, 11, 0.06);
  color: #e8e8f0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(10px);
  animation: mmChipIn 0.55s ease forwards;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.mm-hero-chips span:nth-child(1) { animation-delay: 0.15s; }
.mm-hero-chips span:nth-child(2) { animation-delay: 0.28s; }
.mm-hero-chips span:nth-child(3) { animation-delay: 0.41s; }

.mm-hero-chips span:hover {
  border-color: rgba(255, 190, 11, 0.55);
  background: rgba(255, 190, 11, 0.12);
  transform: translateY(-2px);
}

.mm-hero-chips span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mm-gold);
  box-shadow: 0 0 8px rgba(255, 190, 11, 0.7);
  animation: mmDotPulse 2s ease-in-out infinite;
}

/* Hero section polish + motion */
.elementor-element-003bf21 .elementor-element-9e7cc99 .elementor-button {
  box-shadow: 0 0 0 0 rgba(255, 190, 11, 0.45);
  animation: mmCtaPulse 2.6s ease-in-out infinite;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.elementor-element-003bf21 .elementor-element-9e7cc99 .elementor-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px rgba(255, 190, 11, 0.35);
  animation: none;
}

.elementor-element-003bf21 .elementor-element-e019a8e .elementor-button {
  background: transparent !important;
  border: 1px solid rgba(255, 190, 11, 0.55) !important;
  color: #fff !important;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.elementor-element-003bf21 .elementor-element-e019a8e .elementor-button:hover {
  background: rgba(255, 190, 11, 0.12) !important;
  border-color: #ffbe0b !important;
  transform: translateY(-2px);
}

.elementor-element-003bf21 .elementor-element-24b0d36 .elementor-widget-container {
  position: relative;
}

.mm-hero-slider {
  position: relative;
  width: 100%;
  min-height: 320px;
  overflow: hidden;
}

.mm-hero-slider img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 689px;
  margin: 0 auto;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%) translateY(8px) scale(0.98);
  transition: opacity 0.7s ease, transform 0.7s ease, visibility 0.7s;
  filter: drop-shadow(0 18px 40px rgba(255, 190, 11, 0.12));
  pointer-events: none;
}

.mm-hero-slider img.is-active {
  position: relative;
  left: auto;
  opacity: 1;
  visibility: visible;
  transform: translateX(0) translateY(0) scale(1);
  animation: mmHeroFloat 5.5s ease-in-out infinite;
  pointer-events: auto;
}

.mm-hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  position: relative;
  z-index: 2;
}

.mm-hero-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.mm-hero-dots button.is-active,
.mm-hero-dots button:hover {
  background: #ffbe0b;
  transform: scale(1.2);
}

.elementor-element-003bf21 .elementor-element-24b0d36 .elementor-widget-container::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 8%;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 190, 11, 0.22), transparent 70%);
  animation: mmHeroGlow 5.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes mmChipIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes mmDotPulse {
  0%, 100% { box-shadow: 0 0 6px rgba(255, 190, 11, 0.5); transform: scale(1); }
  50% { box-shadow: 0 0 12px rgba(255, 190, 11, 0.95); transform: scale(1.15); }
}

@keyframes mmCtaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 190, 11, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(255, 190, 11, 0); }
}

@keyframes mmHeroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes mmHeroGlow {
  0%, 100% { opacity: 0.45; transform: scaleX(1); }
  50% { opacity: 0.85; transform: scaleX(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .mm-hero-chips span,
  .elementor-element-003bf21 .elementor-element-9e7cc99 .elementor-button,
  .mm-hero-slider img.is-active,
  .elementor-element-003bf21 .elementor-element-24b0d36 .elementor-widget-container::after {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

/* Markets board */
.mm-markets {
  background: linear-gradient(180deg, #05050a 0%, #0d0d18 100%);
  border-top: 1px solid rgba(255, 190, 11, 0.12);
  border-bottom: 1px solid rgba(255, 190, 11, 0.12);
}

.mm-markets__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mm-pair {
  position: relative;
  overflow: hidden;
  padding: 22px 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  background: linear-gradient(145deg, #151520 0%, #0f0f18 100%);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.mm-pair:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 190, 11, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.mm-pair__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.mm-pair__name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
}

.mm-pair__badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #111;
  background: var(--mm-gold);
}

.mm-pair__change {
  font-size: 13px;
  font-weight: 600;
}

.mm-pair__change.up { color: var(--mm-up); }
.mm-pair__change.down { color: var(--mm-down); }

.mm-pair__price {
  margin: 0 0 4px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mm-pair__vol {
  margin: 0 0 16px;
  color: var(--mm-muted);
  font-size: 13px;
}

.mm-pair__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 190, 11, 0.35);
  background: transparent;
  color: var(--mm-gold);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background 0.2s ease, color 0.2s ease;
}

.mm-pair__cta:hover {
  background: var(--mm-gold);
  color: #111;
}

.mm-markets__foot {
  margin-top: 28px;
  text-align: center;
}

.mm-markets__foot a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  background: var(--mm-gold);
  color: #111;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mm-markets__foot a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 190, 11, 0.35);
}

/* Exchange tools */
.mm-tools {
  background: #000;
}

.mm-tools__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.mm-tool {
  padding: 28px 22px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: radial-gradient(120% 120% at 0% 0%, rgba(255, 190, 11, 0.12) 0%, #12121a 45%);
  min-height: 180px;
}

.mm-tool__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 190, 11, 0.15);
  color: var(--mm-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.mm-tool h3 {
  margin: 0 0 8px;
  font-family: "Source Sans 3", Roboto, sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.mm-tool p {
  margin: 0;
  color: var(--mm-muted);
  font-size: 14px;
  line-height: 1.55;
}

/* Soft entrance */
@keyframes mmFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.mm-pair,
.mm-tool {
  animation: mmFadeUp 0.55s ease both;
}

.mm-pair:nth-child(2),
.mm-tool:nth-child(2) { animation-delay: 0.06s; }
.mm-pair:nth-child(3),
.mm-tool:nth-child(3) { animation-delay: 0.12s; }
.mm-pair:nth-child(4),
.mm-tool:nth-child(4) { animation-delay: 0.18s; }
.mm-pair:nth-child(5) { animation-delay: 0.24s; }
.mm-pair:nth-child(6) { animation-delay: 0.3s; }

@media (max-width: 991px) {
  .mm-markets__grid { grid-template-columns: repeat(2, 1fr); }
  .mm-tools__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .mm-exchange__inner { padding: 56px 16px 64px; }
  .mm-markets__grid,
  .mm-tools__grid { grid-template-columns: 1fr; }
  .mm-hero-chips { justify-content: flex-start; }
}

/* Mobile nav: full-screen dark drawer (ElementsKit defaults to a 350px white panel) */
@media (max-width: 1024px) {
  .ekit-wid-con .elementskit-menu-container.elementskit-menu-offcanvas-elements.active {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: auto !important;
    max-width: none !important;
    height: 100vh !important;
    height: 100dvh !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #0c0c14 !important;
    z-index: 1000000 !important;
    padding: 16px 20px 28px !important;
    overflow: auto !important;
    box-shadow: none !important;
  }

  body:has(.elementskit-menu-offcanvas-elements.active) #google_translate_element {
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .elementskit-menu-offcanvas-elements.active .elementskit-nav-identity-panel {
    order: -1;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    float: none;
    margin: 0 0 18px;
  }

  .elementskit-menu-offcanvas-elements.active .elementskit-site-title,
  .elementskit-menu-offcanvas-elements.active .elementskit-menu-close {
    float: none !important;
    margin: 0 !important;
  }

  .elementskit-menu-offcanvas-elements.active .elementskit-nav-logo img {
    display: block;
    height: 40px !important;
    width: auto !important;
    max-width: 220px !important;
    object-fit: contain;
    background: #fff;
    border-radius: 12px;
    padding: 6px 12px;
  }

  .elementskit-menu-offcanvas-elements.active .elementskit-menu-close {
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0 !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #ffbe0b, #e6a800) !important;
    color: #111 !important;
    font-weight: 800;
    font-size: 16px;
    line-height: 42px;
    text-align: center;
    cursor: pointer;
  }

  .elementskit-menu-offcanvas-elements.active .elementskit-navbar-nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    height: auto !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
  }

  .elementskit-menu-offcanvas-elements.active .elementskit-navbar-nav > li {
    width: 100%;
  }

  .elementskit-menu-offcanvas-elements.active .elementskit-navbar-nav > li > a {
    color: #f4f4f8 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    padding: 14px 4px !important;
    height: auto !important;
  }

  .elementskit-menu-offcanvas-elements.active .elementskit-navbar-nav > li.current-menu-ancestor > a,
  .elementskit-menu-offcanvas-elements.active .elementskit-navbar-nav > li.current-menu-parent > a,
  .elementskit-menu-offcanvas-elements.active .elementskit-navbar-nav > li > a:hover {
    color: #ffbe0b !important;
  }

  .elementskit-menu-offcanvas-elements.active .hide-on-desktop {
    margin: 10px 0 0 !important;
    width: 100%;
  }

  .elementskit-menu-offcanvas-elements.active .hide-on-desktop .elementor-button {
    width: 100% !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #ffbe0b, #e6a800) !important;
  }

  .elementskit-menu-offcanvas-elements.active .hide-on-desktop .elementor-button-text {
    color: #111 !important;
    font-weight: 700;
  }
}
