/* Elite360Markets - site-wide additions on top of the compiled Tailwind sheet (_app/immutable/assets/0.*.css).
   Only classes that the compiled sheet does not provide live here: brand wordmark, nav behaviour, mobile menu
   states, and the "e-" page components used by the marketing pages. Tokens mirror the Tailwind theme. */
:root {
  --e-surface: #000f26;
  --e-surface-2: #021648;
  --e-brand-100: #8dddff;
  --e-brand-200: #59cdff;
  --e-brand-300: #00b2ff;
  --e-brand-400: #3385ff;
  --e-brand-600: #1c64cf;
  --e-line: rgba(255, 255, 255, 0.10);
  --e-line-strong: rgba(255, 255, 255, 0.18);
  --e-card: rgba(255, 255, 255, 0.05);
  --e-card-hover: rgba(255, 255, 255, 0.08);
  --e-text-dim: rgba(255, 255, 255, 0.72);
  --e-radius: 24px;
  --e-grad: linear-gradient(180deg, var(--e-brand-100) 0%, var(--e-brand-400) 100%);
}
html { scroll-behavior: smooth; }
body { background: var(--e-surface); color: #fff; }
main { display: block; }
html.menu-open { overflow: hidden; }

/* ---------- Brand wordmark (no bitmap logo exists for this brand) ---------- */
.brand { text-decoration: none; color: #fff; line-height: 1; white-space: nowrap; }
.brand-word { font-family: "Sansation", ui-sans-serif, system-ui, sans-serif; font-weight: 700; font-size: 22px; letter-spacing: -0.01em; }
.brand-accent { background: var(--e-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-tail { font-weight: 300; margin-left: 0.12em; }
.brand--lg .brand-word { font-size: 28px; }
@media (min-width: 1024px) { .brand-word { font-size: 25px; } }

/* ---------- Header / primary nav ---------- */
.site-header { transition: background-color 0.4s ease; }
.site-header.is-scrolled { background: rgba(0, 15, 38, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.site-nav { display: none; }
@media (min-width: 1024px) {
  .site-nav { display: flex; gap: 1.1rem; font-size: 14px; padding: 0.75rem 1.25rem; }
  .site-nav .nav-contact { display: none; }
}
@media (min-width: 1280px) {
  .site-nav { gap: 1.6rem; font-size: 15px; padding: 0.75rem 1.6rem; }
}
@media (min-width: 1536px) {
  /* Only centre the pill absolutely when there is room for logo, pill, language switcher and auth buttons. */
  .site-nav { position: absolute; left: 50%; transform: translateX(-50%); gap: 2.25rem; padding: 0.75rem 2rem; }
  .site-nav .nav-contact { display: inline; }
}
.site-nav-link { position: relative; white-space: nowrap; }
.site-nav { flex-wrap: nowrap; }
.site-nav-link.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--e-grad); }
.nav-text-grad { background: var(--e-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 19px; padding: 0.75rem 1.5rem; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15px; color: #fff; background: var(--e-grad); box-shadow: 0 4px 24px -8px rgba(51, 133, 255, 0.6); transition: transform 0.4s ease, opacity 0.4s ease; white-space: nowrap; }
.nav-btn:hover { transform: scale(1.02); }
.nav-btn:active { transform: scale(0.98); }
.nav-btn--ghost { background: rgba(255, 255, 255, 0.08); box-shadow: none; border: 1px solid var(--e-line-strong); }

/* ---------- Mobile menu ---------- */
.mobile-nav { visibility: hidden; opacity: 0; transition: opacity 0.3s ease, visibility 0.3s ease; }
.mobile-nav.is-open { visibility: visible; opacity: 1; }
.mob-backdrop { background: rgba(0, 0, 0, 0.6); }
.mob-panel { background: linear-gradient(180deg, var(--e-surface-2) 0%, var(--e-surface) 55%, var(--e-surface) 100%); transform: translateY(-10px); transition: transform 0.35s ease; }
.mobile-nav.is-open .mob-panel { transform: none; }
.mob-glow { position: absolute; top: -8rem; left: 50%; width: 480px; height: 480px; transform: translateX(-50%); border-radius: 9999px; background: radial-gradient(circle, rgba(141, 221, 255, 0.22) 0%, rgba(0, 15, 38, 0) 60%); filter: blur(40px); pointer-events: none; }
.mob-link { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 1.1rem 0; text-align: left; }
.mob-link-label { font-size: 26px; font-weight: 700; line-height: 1; }
#menu-open[aria-expanded="true"] .bar-top { transform: translateY(8px) rotate(45deg); }
#menu-open[aria-expanded="true"] .bar-mid { opacity: 0; }
#menu-open[aria-expanded="true"] .bar-bot { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Page components ---------- */
.e-container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 1.5rem; }
.e-container--narrow { max-width: 900px; }
.e-container--wide { max-width: 1440px; }
.e-section { padding-block: 4rem; }
.e-section--tight { padding-block: 2.5rem; }
@media (min-width: 640px) { .e-section { padding-block: 5rem; } }
@media (min-width: 1024px) { .e-section { padding-block: 6.5rem; } }

/* Hero: clears the fixed header (56px mobile / ~96px desktop) */
.e-hero { position: relative; isolation: isolate; overflow: hidden; padding: 7.5rem 0 3.5rem; text-align: center; }
@media (min-width: 640px) { .e-hero { padding: 9rem 0 4.5rem; } }
@media (min-width: 1024px) { .e-hero { padding: 11rem 0 5.5rem; } }
.e-hero--left { text-align: left; }
.e-hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.55; }
.e-hero-fade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 15, 38, 0.55) 0%, rgba(0, 15, 38, 0.35) 45%, var(--e-surface) 100%); }
.e-glow { position: absolute; left: 50%; top: 40%; z-index: -1; width: 720px; height: 720px; transform: translate(-50%, -50%); border-radius: 9999px; background: radial-gradient(circle, rgba(51, 133, 255, 0.22) 0%, rgba(0, 15, 38, 0) 60%); filter: blur(40px); pointer-events: none; }
.e-glow--right { left: auto; right: -200px; top: 10%; transform: none; }

.e-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--e-text-dim); }
.e-h1 { font-weight: 700; font-style: italic; line-height: 1.05; font-size: clamp(2.4rem, 6vw, 4.5rem); margin: 0.6rem 0 0; }
.e-h2 { font-weight: 700; line-height: 1.1; font-size: clamp(1.8rem, 3.6vw, 2.75rem); margin: 0; }
.e-h3 { font-weight: 700; line-height: 1.2; font-size: clamp(1.2rem, 2vw, 1.5rem); margin: 0; }
.e-grad { background: linear-gradient(180deg, #ffffff 0%, var(--e-brand-100) 55%, var(--e-brand-400) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.e-lead { font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, 0.9); margin: 1.25rem auto 0; max-width: 680px; }
@media (min-width: 640px) { .e-lead { font-size: 19px; } }
.e-copy { font-size: 16px; line-height: 1.65; color: rgba(255, 255, 255, 0.85); }
.e-copy p + p { margin-top: 1rem; }
.e-muted { color: var(--e-text-dim); }
.e-center { text-align: center; }
.e-mt-sm { margin-top: 1rem; } .e-mt { margin-top: 2rem; } .e-mt-lg { margin-top: 3rem; } .e-mt-xl { margin-top: 4rem; }
.e-mb { margin-bottom: 2rem; } .e-mb-lg { margin-bottom: 3rem; }
.e-max-sm { max-width: 640px; margin-inline: auto; } .e-max-md { max-width: 820px; margin-inline: auto; }

.e-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .e-grid--2, .e-grid--3, .e-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .e-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .e-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .e-grid--split { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 3rem; } }

.e-card { position: relative; border-radius: var(--e-radius); border: 1px solid var(--e-line); background: var(--e-card); padding: 1.75rem; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform 0.35s ease, border-color 0.35s ease, background-color 0.35s ease; }
.e-card:hover { transform: translateY(-3px); border-color: var(--e-line-strong); background: var(--e-card-hover); }
.e-card--static:hover { transform: none; }
.e-card--accent { border-color: rgba(51, 133, 255, 0.45); box-shadow: 0 20px 60px -30px rgba(51, 133, 255, 0.55); }
.e-card--solid { background: linear-gradient(160deg, rgba(2, 22, 72, 0.9) 0%, rgba(0, 15, 38, 0.95) 100%); }
.e-card h3 + p, .e-card h4 + p { margin-top: 0.6rem; }
.e-card p { font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.82); margin: 0; }
.e-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--e-grad); color: #fff; margin-bottom: 1.1rem; box-shadow: 0 10px 30px -14px rgba(51, 133, 255, 0.9); }
.e-icon svg { width: 26px; height: 26px; }
.e-icon--ring { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--e-line-strong); box-shadow: none; color: var(--e-brand-100); }
.e-step-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 9999px; background: var(--e-grad); font-weight: 700; margin-bottom: 1rem; }

.e-pill { display: inline-flex; align-items: center; gap: 0.4rem; border-radius: 9999px; border: 1px solid var(--e-line-strong); background: rgba(255, 255, 255, 0.06); padding: 0.35rem 0.85rem; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.e-pill--brand { background: var(--e-grad); border-color: transparent; }

.e-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; border-radius: 19px; padding: 0.8rem 1.4rem; font-weight: 700; color: #fff; text-decoration: none; cursor: pointer; border: 0; transition: transform 0.4s ease, background-color 0.4s ease, opacity 0.4s ease; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.e-btn--primary { background: var(--e-grad); box-shadow: 0 4px 24px -8px rgba(51, 133, 255, 0.6); }
.e-btn--primary:hover { transform: scale(1.02); }
.e-btn--primary:active { transform: scale(0.98); }
.e-btn--ghost { border: 2px solid #fff; background: rgba(255, 255, 255, 0.5); font-style: italic; }
.e-btn--ghost:hover { background: rgba(255, 255, 255, 0.6); }
.e-btn--outline { border: 1px solid var(--e-line-strong); background: rgba(255, 255, 255, 0.06); }
.e-btn--outline:hover { background: rgba(255, 255, 255, 0.12); }
.e-btn--lg { padding: 1rem 1.9rem; font-size: 17px; }
.e-btn--block { width: 100%; }
.e-btn svg { width: 16px; height: 16px; transition: transform 0.3s ease; }
.e-btn:hover svg { transform: translateX(2px); }
.e-actions { display: flex; flex-direction: column; gap: 1rem; align-items: center; justify-content: center; margin-top: 2.25rem; }
@media (min-width: 640px) { .e-actions { flex-direction: row; gap: 1.25rem; } }
.e-actions--left { justify-content: flex-start; align-items: flex-start; }

.e-stats { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .e-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.e-stat { border-radius: 20px; border: 1px solid var(--e-line); background: var(--e-card); padding: 1.25rem; text-align: center; }
.e-stat-value { font-family: "Teko", "Sansation", sans-serif; font-weight: 600; font-size: 2.6rem; line-height: 1; }
.e-stat-label { margin-top: 0.3rem; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--e-text-dim); }

.e-table-wrap { overflow-x: auto; border-radius: var(--e-radius); border: 1px solid var(--e-line); background: var(--e-card); }
.e-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.e-table th, .e-table td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--e-line); vertical-align: top; }
.e-table thead th { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--e-text-dim); background: rgba(255, 255, 255, 0.04); }
.e-table tbody tr:last-child td { border-bottom: 0; }
.e-table td strong { color: #fff; }
.e-table .is-highlight { background: rgba(51, 133, 255, 0.10); }

.e-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.65rem; }
.e-list li { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, 0.88); }
.e-list li::before { content: ""; flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; border-radius: 9999px; background: var(--e-grad) center / 10px 6px no-repeat; box-shadow: inset 0 0 0 0 transparent; }
.e-list li::before { background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23001a3d%22 stroke-width=%223.5%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M20 6L9 17l-5-5%22/%3E%3C/svg%3E"), var(--e-grad); background-size: 11px 11px, 100% 100%; background-position: center, center; background-repeat: no-repeat, no-repeat; }
.e-list--plain li::before { display: none; }

.e-faq { display: grid; gap: 0.75rem; }
.e-faq details { border-radius: 18px; border: 1px solid var(--e-line); background: var(--e-card); padding: 0 1.25rem; transition: border-color 0.3s ease; }
.e-faq details[open] { border-color: rgba(51, 133, 255, 0.45); }
.e-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; font-weight: 700; font-size: 16px; }
.e-faq summary::-webkit-details-marker { display: none; }
.e-faq summary::after { content: "+"; flex: 0 0 auto; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9999px; background: rgba(255, 255, 255, 0.08); font-weight: 400; transition: transform 0.3s ease; }
.e-faq details[open] summary::after { transform: rotate(45deg); }
.e-faq .e-faq-body { padding: 0 0 1.2rem; font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, 0.85); }
.e-faq .e-faq-body p + p { margin-top: 0.75rem; }
.e-faq-group + .e-faq-group { margin-top: 3rem; }

.e-form { display: grid; gap: 1rem; }
.e-form--2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .e-form--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .e-form .e-span-2 { grid-column: span 2; } }
.e-label { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--e-text-dim); margin-bottom: 0.45rem; }
.e-input, .e-textarea, .e-select { width: 100%; border-radius: 14px; border: 1px solid var(--e-line-strong); background: rgba(255, 255, 255, 0.06); color: #fff; padding: 0.85rem 1rem; font: inherit; font-size: 15px; outline: none; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.e-input::placeholder, .e-textarea::placeholder { color: rgba(255, 255, 255, 0.45); }
.e-input:focus, .e-textarea:focus, .e-select:focus { border-color: var(--e-brand-300); box-shadow: 0 0 0 4px rgba(0, 178, 255, 0.18); }
.e-textarea { min-height: 150px; resize: vertical; }
.e-field-error { display: block; margin-top: 0.35rem; font-size: 13px; color: #ff9db0; }
.e-alert { border-radius: 16px; padding: 0.9rem 1.1rem; font-size: 15px; border: 1px solid rgba(141, 221, 255, 0.4); background: rgba(51, 133, 255, 0.14); }

.e-prose { font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, 0.88); }
.e-prose h2 { font-size: 1.5rem; font-weight: 700; margin: 2.25rem 0 0.75rem; color: #fff; }
.e-prose h3 { font-size: 1.15rem; font-weight: 700; margin: 1.6rem 0 0.5rem; color: #fff; }
.e-prose p { margin: 0 0 1rem; }
.e-prose ul, .e-prose ol { margin: 0 0 1rem 1.25rem; padding: 0; }
.e-prose li { margin: 0.35rem 0; }
.e-prose a { color: var(--e-brand-100); text-decoration: underline; text-underline-offset: 3px; }
.e-prose strong { color: #fff; }
.e-divider { height: 1px; background: var(--e-line); margin: 2.5rem 0; }

.e-media { border-radius: var(--e-radius); overflow: hidden; border: 1px solid var(--e-line); background: var(--e-card); }
.e-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.e-media--tall img { aspect-ratio: 4 / 3; }
.e-cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: 3rem 1.5rem; text-align: center; background: linear-gradient(135deg, var(--e-brand-300) 0%, var(--e-brand-600) 100%); }
@media (min-width: 640px) { .e-cta-band { padding: 4rem 3rem; border-radius: 41px; } }
.e-cta-band .e-h2 { color: #fff; }
.e-cta-band .e-lead { color: rgba(255, 255, 255, 0.92); }
.e-news-item { display: grid; gap: 0.5rem; }
.e-date { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--e-brand-100); }
.e-badge-row { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-top: 1.5rem; }
.e-kv { display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 1rem; font-size: 15px; }
.e-kv dt { color: var(--e-text-dim); }
.e-kv dd { margin: 0; color: #fff; font-weight: 600; }
.e-up { color: #5ef0a5; } .e-down { color: #ff8da1; }

/* ---------- Home hero (photo background + framed trading visual) ---------- */
.hero-tint { background: linear-gradient(180deg, rgba(0, 15, 38, 0.62) 0%, rgba(0, 15, 38, 0.42) 45%, rgba(0, 15, 38, 0) 100%); }
.hero-eyebrow { margin-bottom: 1rem; }
.hero-visual { position: relative; width: 100%; max-width: 980px; margin-top: 2.25rem; border-radius: 24px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.16); background: #04102a; box-shadow: 0 50px 140px -50px rgba(0, 178, 255, 0.65), 0 20px 60px -30px rgba(0, 0, 0, 0.8); }
@media (min-width: 640px) { .hero-visual { border-radius: 28px; margin-top: 2.75rem; } }
.hero-visual img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; }
.hero-visual::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 15, 38, 0) 55%, rgba(0, 15, 38, 0.85) 100%); }
.hero-chips { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin: 0; padding: 0.9rem 1rem; list-style: none; }
.hero-chips li { display: inline-flex; align-items: center; gap: 0.4rem; border-radius: 9999px; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.10); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 0.4rem 0.85rem; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; }
.hero-chips li::before { content: ""; width: 8px; height: 8px; border-radius: 9999px; background: var(--e-grad); box-shadow: 0 0 10px rgba(141, 221, 255, 0.9); }
@media (max-width: 639px) {
  .hero-eyebrow { font-size: 11px; letter-spacing: 0.18em; }
  .hero-visual img { aspect-ratio: 4 / 3; }
  .hero-chips { gap: 0.4rem; padding: 0.7rem 0.6rem; }
  .hero-chips li { font-size: 12px; padding: 0.3rem 0.65rem; }
}

/* ---------- Home: live AI bot ledger ---------- */
.bf-wrap { position: relative; overflow: hidden; display: grid; gap: 2.5rem; border-radius: 32px; border: 1px solid rgba(255, 255, 255, 0.10); background: linear-gradient(135deg, rgba(3, 39, 126, 0.55) 0%, #071d46 45%, var(--e-surface) 100%); padding: 2.25rem 1.5rem; box-shadow: 0 40px 120px -50px rgba(0, 178, 255, 0.45); }
@media (min-width: 640px) { .bf-wrap { padding: 3rem 2.5rem; } }
@media (min-width: 1024px) { .bf-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 3.5rem; padding: 3.5rem; } }
.bf-glow { position: absolute; right: -120px; top: -140px; width: 420px; height: 420px; border-radius: 9999px; background: radial-gradient(circle, rgba(0, 178, 255, 0.22) 0%, rgba(0, 15, 38, 0) 65%); filter: blur(30px); pointer-events: none; }
.bf-copy { position: relative; z-index: 1; }
.bf-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; margin-top: 2rem; }
.bf-stat { border-radius: 18px; border: 1px solid var(--e-line); background: rgba(255, 255, 255, 0.05); padding: 1rem 1.1rem; }
.bf-stat-value { display: block; font-family: "Teko", "Sansation", sans-serif; font-weight: 600; font-size: 2.3rem; line-height: 1; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }
.bf-stat-label { display: block; margin-top: 0.35rem; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--e-text-dim); }
.bf-feed { position: relative; z-index: 1; border-radius: 24px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(2, 10, 30, 0.85); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 30px 80px -40px rgba(0, 0, 0, 0.8); padding: 1.1rem 1rem 1rem; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
@media (min-width: 640px) { .bf-feed { padding: 1.4rem 1.4rem 1.2rem; } }
.bf-feed-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.bf-live { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; }
.bf-live-dot { width: 9px; height: 9px; border-radius: 9999px; background: #5ef0a5; box-shadow: 0 0 0 0 rgba(94, 240, 165, 0.7); animation: bf-pulse 1.8s ease-out infinite; }
@keyframes bf-pulse { 0% { box-shadow: 0 0 0 0 rgba(94, 240, 165, 0.7); } 70% { box-shadow: 0 0 0 9px rgba(94, 240, 165, 0); } 100% { box-shadow: 0 0 0 0 rgba(94, 240, 165, 0); } }
.bf-feed-sub { font-size: 12px; color: var(--e-text-dim); }
.bf-spark { display: block; width: 100%; height: 90px; margin-top: 0.9rem; overflow: visible; }
.bf-spark #bf-spark-dot { opacity: 0; filter: drop-shadow(0 0 6px rgba(141, 221, 255, 0.9)); transition: opacity 0.4s ease; }
.bf-spark #bf-spark-dot.is-on { opacity: 1; }
.bf-rows { list-style: none; margin: 0.9rem 0 0; padding: 0; display: grid; gap: 0.5rem; }
.bf-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "icons main pl" "icons prices badge"; column-gap: 0.75rem; row-gap: 0.25rem; align-items: center; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.04); padding: 0.65rem 0.8rem; font-size: 14px; }
@media (min-width: 640px) { .bf-row { grid-template-columns: auto minmax(0, 1.1fr) auto minmax(0, 1.4fr) auto; grid-template-areas: "icons main badge prices pl"; column-gap: 0.9rem; } }
.bf-icons { grid-area: icons; display: inline-flex; }
.bf-icons img { width: 26px; height: 26px; border-radius: 9999px; background: #fff; border: 2px solid #04102a; }
.bf-icons img + img { margin-left: -9px; }
.bf-main { grid-area: main; display: flex; flex-direction: column; min-width: 0; }
.bf-pair { font-weight: 700; }
.bf-bot { font-size: 12px; color: var(--e-text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bf-badge { grid-area: badge; justify-self: start; display: inline-block; min-width: 50px; text-align: center; border-radius: 9999px; padding: 0.2rem 0.6rem; font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; }
@media (min-width: 640px) { .bf-badge { justify-self: center; } }
.bf-badge--buy { color: #5ef0a5; background: rgba(94, 240, 165, 0.12); border: 1px solid rgba(94, 240, 165, 0.3); }
.bf-badge--sell { color: #ff8da1; background: rgba(255, 141, 161, 0.12); border: 1px solid rgba(255, 141, 161, 0.3); }
.bf-prices { grid-area: prices; display: flex; flex-direction: column; min-width: 0; font-variant-numeric: tabular-nums; }
.bf-time { font-size: 12px; color: var(--e-text-dim); }
.bf-pl { grid-area: pl; justify-self: end; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bf-row--in { animation: bf-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes bf-in { 0% { opacity: 0; transform: translateY(-14px); } 100% { opacity: 1; transform: none; } }
.bf-row--out { animation: bf-out 0.4s ease forwards; }
@keyframes bf-out { to { opacity: 0; transform: translateY(10px); height: 0; padding-top: 0; padding-bottom: 0; margin-top: -0.5rem; } }
.bf-empty { border-radius: 14px; border: 1px dashed var(--e-line-strong); padding: 1.5rem 1rem; text-align: center; color: var(--e-text-dim); font-size: 14px; }
.bf-foot { margin: 0.9rem 0 0; font-size: 11.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.55); }
@media (prefers-reduced-motion: reduce) { .bf-live-dot, .bf-row--in, .bf-row--out { animation: none; } }

/* ---------- Home: funding methods orbit (crypto logos + bank) ---------- */
.fund-orbit { --w: min(100vw - 48px, 720px); --r-outer: calc(var(--w) * 0.43); --r-inner: calc(var(--w) * 0.23); --coin: clamp(60px, calc(var(--w) * 0.14), 100px); position: relative; width: var(--w); height: var(--w); }
.fund-ring { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 9999px; border: 1px solid rgba(51, 133, 255, 0.28); pointer-events: none; }
.fund-ring--1 { width: calc(var(--r-inner) * 2); height: calc(var(--r-inner) * 2); border-style: dashed; }
.fund-ring--2 { width: calc(var(--r-outer) * 2); height: calc(var(--r-outer) * 2); }
.fund-ring--3 { width: 100%; height: 100%; border-color: rgba(51, 133, 255, 0.14); }
.fund-glow { position: absolute; left: 50%; top: 50%; width: 30%; height: 30%; transform: translate(-50%, -50%); border-radius: 9999px; background: rgba(36, 123, 255, 0.45); filter: blur(50px); pointer-events: none; }
.fund-center { position: absolute; left: 50%; top: 50%; width: 22%; max-width: 140px; transform: translate(-50%, -50%); z-index: 2; }
.fund-center img { display: block; width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5)); }
.fund-track { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; animation: fund-spin 90s linear infinite; }
.fund-track--inner { animation-duration: 60s; animation-direction: reverse; }
.fund-track li { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.fund-track--outer li { transform: rotate(var(--a)) translate(var(--r-outer)) rotate(calc(-1 * var(--a))); }
.fund-track--inner li { transform: rotate(var(--a)) translate(var(--r-inner)) rotate(calc(-1 * var(--a))); }
.fund-coin { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; align-items: center; gap: 0.35rem; width: var(--coin); transform: translate(-50%, -50%); text-decoration: none; color: rgba(255, 255, 255, 0.9); animation: fund-counter 90s linear infinite; }
.fund-track--inner .fund-coin { animation: fund-counter-rev 60s linear infinite; }
.fund-coin img { display: block; width: 100%; aspect-ratio: 1 / 1; border-radius: 9999px; box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.75), 0 0 0 5px rgba(255, 255, 255, 0.07); transition: transform 0.4s ease, box-shadow 0.4s ease; background: #0b1a3a; }
.fund-coin:hover img { transform: scale(1.1); box-shadow: 0 18px 40px -12px rgba(0, 178, 255, 0.7), 0 0 0 6px rgba(141, 221, 255, 0.25); }
.fund-coin span { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; white-space: nowrap; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8); }
@media (max-width: 639px) { .fund-coin span { display: none; } }
@keyframes fund-spin { to { transform: rotate(360deg); } }
@keyframes fund-counter { to { transform: translate(-50%, -50%) rotate(-360deg); } }
@keyframes fund-counter-rev { to { transform: translate(-50%, -50%) rotate(360deg); } }
.fund-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 0.75rem; margin: 2.5rem auto 0; padding: 0; list-style: none; max-width: 900px; }
.fund-legend li { border-radius: 9999px; border: 1px solid var(--e-line-strong); background: rgba(255, 255, 255, 0.06); padding: 0.35rem 0.85rem; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.88); }
@media (prefers-reduced-motion: reduce) { .fund-track, .fund-coin { animation: none; } }

/* ---------- Brand logo image (replaces the text wordmark) ---------- */
.brand-img { display: block; height: 28px; width: auto; }
@media (min-width: 1024px) { .brand-img { height: 32px; } }
.brand--lg .brand-img { height: 38px; }

/* ---------- Header fit on small laptops (1024-1279px): logo, pill, language switcher and auth buttons in one row ---------- */
.site-header .nav-text-grad { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1279px) {
  .site-header > div { padding-inline: 1.25rem; gap: 0.75rem; }
  .site-header .brand-img { height: 26px; }
  .site-nav { gap: 0.8rem; font-size: 13.5px; padding: 0.7rem 1.1rem; }
  .site-header .lang-code { display: none; }
  .site-header .lang-btn { padding: 0 0.55rem; gap: 0.3rem; }
  .site-header .hidden.lg\:flex { gap: 0.9rem; }
  .nav-btn { padding: 0.7rem 0.95rem; font-size: 14px; }
}
