@font-face {
  font-family: "Pretendard";
  src: url("/fonts/pretendard/Pretendard-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Pretendard";
  src: url("/fonts/pretendard/Pretendard-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Pretendard";
  src: url("/fonts/pretendard/Pretendard-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Pretendard";
  src: url("/fonts/pretendard/Pretendard-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Pretendard";
  src: url("/fonts/pretendard/Pretendard-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

.reveal-on-scroll { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-on-scroll.is-revealed { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll { opacity: 1; transform: none; transition: none; }
}
body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", "Malgun Gothic", sans-serif;
  color: #1e293b;
  background: #ffffff;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: normal;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1332px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 640px; }
.trade-subtitle { white-space: nowrap; }
@media (max-width: 720px) {
  .trade-subtitle { white-space: normal; font-size: 13px !important; }
  .trade-subtitle.trade-subtitle--en { font-size: 12px !important; }
  .home-hero-h2 { font-size: 22px !important; }
  .home-hexagon-logo { width: 71px !important; }
}

.header-topbar {
  background: #ffffff;
  color: #64748b;
  font-size: 12px;
  border-bottom: 1px solid #e2e8f0;
}
.topbar-inner {
  display: grid;
  grid-template-columns: 1fr minmax(0, auto) 1fr;
  align-items: center;
  height: 32px;
}
.topbar-inner p { grid-column: 2; min-width: 0; text-align: center; font-size: 16px; font-weight: 700; color: #ff8f29; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-inner p strong { color: #000; font-weight: 700; }
.topbar-inner .lang-flags { grid-column: 3; justify-self: end; }
.lang-flags { display: flex; gap: 8px; align-items: center; }
.lang-flags img { width: 16px; height: 16px; object-fit: cover; border-radius: 2px; cursor: pointer; opacity: 0.85; }
.lang-flags img:hover { opacity: 1; }

.site-header {
  position: sticky;
  top: 0;
  background: #003588;
  z-index: 10;
}
.header--support .site-header { background: #0077d9; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 114px;
}
.logo { display: flex; align-items: center; }
.logo img { display: block; width: 152px; height: auto; }
.logo .logo-mobile { display: none; }

.nav { display: flex; gap: 8px; height: 100%; }
.nav-item { position: relative; display: flex; align-items: center; height: 100%; padding: 0 15px; cursor: default; }
.nav-item > a { display: flex; align-items: center; height: 100%; }
.nav-item > span, .nav-item > a > span { font-size: 15px; font-weight: 800; color: #ffffff; letter-spacing: 0; }
.nav-item:hover > span, .nav-item > a:hover > span { color: #ff7a00; }
.nav-item .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #fff;
  border: none;
  border-radius: 3px;
  box-shadow: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-item .dropdown a {
  padding: 12px 20px;
  border-radius: 0;
  font-size: 12px;
  font-weight: 600;
  color: #212121;
  white-space: nowrap;
}
.nav-item .dropdown a:hover { background: #ff7a00; color: #fff; }

.dropdown-submenu { position: relative; }
.dropdown-submenu > span, .dropdown-submenu > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 0;
  font-size: 12px;
  font-weight: 600;
  color: #212121;
  white-space: nowrap;
  cursor: default;
}
.dropdown-submenu > span::after, .dropdown-submenu > a::after { content: "\25B8"; font-size: 10px; color: #94a3b8; }
.dropdown-submenu:hover > span, .dropdown-submenu:hover > a { background: #ff7a00; color: #fff; }
.dropdown-submenu:hover > span::after, .dropdown-submenu:hover > a::after { color: #fff; }
.dropdown-flyout {
  position: absolute;
  top: -8px;
  left: 100%;
  min-width: 180px;
  background: #fff;
  border: none;
  border-radius: 3px;
  box-shadow: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateX(4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.dropdown-submenu:hover .dropdown-flyout { opacity: 1; visibility: visible; transform: translateX(0); }
.dropdown-flyout a {
  padding: 12px 20px;
  border-radius: 0;
  font-size: 12px;
  font-weight: 600;
  color: #212121;
  white-space: nowrap;
}
.dropdown-flyout a:hover { background: #ff7a00; color: #fff; }

.nav-item.is-active > span, .nav-item.is-active > a > span, .nav-item--cta.is-active > span { color: #ff5702; font-weight: 800; }

.header-cta { display: flex; align-items: center; gap: 8px; }

.platform-btn { padding: 0; height: auto; }
.platform-btn > span {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #f97316;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 7px;
  letter-spacing: 0;
}
.platform-btn > span::after { content: "▾"; font-size: 10px; }
.platform-btn > span:hover { background: #ea580c; }
.platform-btn .dropdown { left: auto; right: 0; }

@media (max-width: 1080px) and (min-width: 961px) {
  .platform-btn { display: none; }
}

.lang-globe { display: none; position: relative; }
.lang-globe-btn {
  display: flex;
  align-items: center;
  gap: 2px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  color: #fff;
}
.lang-globe-btn svg { width: 20px; height: 20px; display: block; }
.lang-globe-btn::after { content: "▾"; font-size: 9px; color: #fff; }
.lang-globe-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 150px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
  padding: 8px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 20;
}
.lang-globe.is-open .lang-globe-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-globe-dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
}
.lang-globe-dropdown a:hover { background: #eff6ff; color: #1d4ed8; }
.lang-globe-dropdown img { width: 15px; height: 15px; object-fit: cover; border-radius: 2px; }
.btn-outline, .btn-primary {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.btn-outline { border: 1px solid #cbd5e1; color: #334155; }
.btn-outline:hover { border-color: #1d4ed8; color: #1d4ed8; }
.btn-primary { background: #1d4ed8; color: #fff; }
.btn-primary:hover { background: #1e40af; }

.btn-mt5 { display: inline-block; padding: 16px 32px; border-radius: 8px; font-size: 18px; font-weight: 700; background: #ff7a00; color: #fff; }
.btn-mt5:hover { background: #e56b00; }

.btn-view-more { display: inline-block; padding: 13px 26px; border-radius: 6px; font-size: 15px; font-weight: 700; background: #ff7a00; color: #fff; }
.btn-view-more:hover { background: #e56b00; }

.mobile-nav { display: none; }
.mobile-subnav { display: none; }

@media (max-width: 960px) {
  .nav { display: none; }
  .btn-outline { display: none; }
  .header-topbar { display: none; }
  .header-inner { gap: 8px; }
  .header-cta { gap: 6px; flex-shrink: 0; }
  .platform-btn { display: flex !important; }
  .platform-btn > span { font-size: 11px; padding: 7px 9px; gap: 3px; }
  .lang-globe { display: block; }
  .lang-globe-btn { color: #1a1e24; }
  .lang-globe-btn::after { color: #1a1e24; }
  .site-header, .header--support .site-header { background: #fff; }
  .logo .logo-desktop { display: none; }
  .logo .logo-mobile { display: block; width: 50px; }
  .header-inner { height: 70px; }
  .mobile-nav {
    display: flex;
    width: 100%;
    background: #fff;
    border-top: 1px solid #e2e8f0;
  }
  .mobile-nav-item {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    padding: 12px 4px;
  }
  .mobile-nav-item span {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #1a1e24;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mobile-nav-item.is-active span { color: #0177d9; }

  .mobile-subnav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 12px 16px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
  }
  .mobile-subnav-item {
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
    padding-bottom: 6px;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
  }
  .mobile-subnav-item.is-active { color: #1a1e24; font-weight: 700; border-bottom-color: #ff7a00; }
}

@media (max-width: 400px) {
  .platform-btn > span { font-size: 10px; padding: 6px 7px; }
}

.hero-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 0.5934579439252337;
  max-height: 700px;
  overflow: hidden;
  background: #0f172a;
}
.hero-slides { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide--dark {
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
  justify-content: space-between;
  padding: 0 6%;
}
.hero-slide--dark .hero-slide-text { color: #fff; max-width: 420px; }
.hero-eyebrow { font-size: 15px; opacity: 0.8; margin-bottom: 8px; }
.hero-slide--dark h2 { font-size: 40px; font-weight: 800; }
.hero-devices {
  width: auto !important;
  height: 78% !important;
  max-width: 55%;
  object-fit: contain !important;
}
.hero-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 24px;
  background: linear-gradient(0deg, rgba(15,23,42,0.75), transparent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.hero-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  padding: 0;
}
.hero-dots button.is-active { background: #fff; }

.hero-carousel--mobile { display: none; }

@media (max-width: 720px) {
  .hero-carousel { max-height: none; margin: 0 -24px; width: calc(100% + 48px); }
  .hero-carousel--desktop { display: none; }
  .hero-carousel--mobile { display: block; aspect-ratio: 390 / 454; }
  .hero-slide > img { object-fit: cover; }
  .hero-slide--dark { flex-direction: column; justify-content: center; gap: 16px; padding: 24px; text-align: center; }
  .hero-slide--dark .hero-slide-text { max-width: none; }
  .hero-devices { max-width: 100%; height: 55% !important; }
}

.section { padding: 64px 0; }
.section h1 { font-size: 28px; margin-bottom: 16px; }
.section h2 { font-size: 20px; margin: 32px 0 12px; }

.notice-popup {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1001;
}
.notice-popup.is-open { display: block; }
.notice-popup-item {
  position: relative;
  width: 500px;
  max-width: 90vw;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.notice-popup-item img { display: block; width: 100%; }
.notice-popup-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}
.notice-popup-actions { display: flex; }
.notice-popup-actions button {
  flex: 1;
  padding: 12px 0;
  border: none;
  border-top: 1px solid #e2e8f0;
  background: #fff;
  color: #334155;
  font-size: 13px;
  cursor: pointer;
}
.notice-popup-actions button:first-child { border-right: 1px solid #e2e8f0; }
.notice-popup-actions button:hover { background: #f8fafc; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  display: block;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08); transform: translateY(-2px); }
.card h3 { color: #1d4ed8; margin-bottom: 8px; }
.card p { color: #64748b; font-size: 14px; }

.link-list { list-style: none; }
.link-list li { padding: 10px 0; border-bottom: 1px solid #f1f5f9; }
.link-list a { color: #1d4ed8; font-weight: 600; }

.form { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: #475569; }
.form input, .form textarea, .form select {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
}
.form button {
  align-self: flex-start;
  background: #ff7a00;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.form button:hover { background: #e56d00; }

.alert-success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857; padding: 10px 14px; border-radius: 8px; margin-bottom: 12px; }
.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; padding: 10px 14px; border-radius: 8px; margin-bottom: 12px; }

.site-footer {
  padding: 40px 0 24px;
  color: #ffffff;
  font-size: 12px;
  background: #383838;
}
.footer-col { max-width: 75%; }
@media (max-width: 720px) {
  .footer-col { max-width: 100%; }
}
.site-footer p { margin-bottom: 4px; line-height: 1.7; }
.muted { color: #b3b3b3; }
.footer-lede { font-weight: 400; color: #ffffff; margin-bottom: 16px; }
.footer-info { margin-bottom: 16px; }
.footer-info p:last-child { margin-top: 16px; }
.footer-riskwarning { margin-bottom: 16px; }
.footer-riskwarning p { margin-bottom: 16px; }
.footer-riskwarning p:first-child { font-weight: 400; color: #ffffff; }
.footer-bottom { }

/* ---- reusable content-page components ---- */
.page-hero {
  background: #ffffff;
  color: #0f172a;
  padding: 72px 0 56px;
  text-align: center;
}
.page-hero h1 { font-size: 60px; margin-bottom: 14px; font-weight: 800; }
.page-hero p { color: #475569; }
.page-hero .eyebrow { color: #f97316; }
.account-hero-lede { color: #1a1e24; font-weight: 700; font-size: 20px; }
.support-hero-lede { font-size: 20px; font-weight: 700; color: #1a1e24; line-height: 1.8; }
.support-hero-lede--mobile { display: none; }
.mt5-download-eyebrow--mobile { display: none; }
.mt5-download-title--mobile { display: none; }
.mt5-hero-h1--mobile { display: none; }
.mtr-hero-h1--mobile { display: none; }
.about-h48--partners-mobile { display: none; }
.about-experts-mobile-img { display: none; }
.mtr-title-break--mobile { display: none; }
.trading-mobile-break { display: none; }
.desktop-only-break { display: none; }
@media (min-width: 721px) {
  .desktop-only-break { display: block; }
}
@media (max-width: 720px) {
  .page-hero h1 { font-size: 34px !important; }
  .legal-hero { padding: 32px 0 24px !important; }
  .legal-hero h1 { font-size: 24px !important; }
  .hero-h1-60 { font-size: 34px !important; }
  .mt5-hero-h1--desktop { display: none; }
  .mt5-hero-h1--mobile { display: block; }
  .mtr-hero-lede--desktop { display: none; }
  .page-hero h1.mtr-hero-h1--desktop { display: none; }
  .page-hero h1.mtr-hero-h1--mobile { display: block; font-size: 20px !important; }
  .mtr-title-break--mobile { display: block; }
  .mtr-section-title { font-size: 30px !important; }
  .mtr-section-title.mtr-section-title--en { font-size: 20px !important; }
  .mtr-section-intro { font-size: 18px !important; }
  .mtr-section-detail { font-size: 14px !important; }
  .mtr-section-intro, .mtr-section-detail { text-align: left !important; }
  .grid-2 img { order: -1; }
  .page-hero h1.account-hero-title { font-size: 30px !important; }
  .account-hero-lede { font-size: 14px; }
  .account-hero-lede-thanks { display: none; }
  h1.support-hero-eyebrow { font-size: 16px !important; font-weight: 400; }
  .support-hero-headline { font-size: 24px !important; }
  .support-hero-icon { width: 150px !important; }
  .support-hero-lede--desktop { display: none; }
  .support-hero-lede--mobile { display: block; font-size: 16px; }
  .market-prices-lede { font-size: 15px !important; width: calc(100% + 18px) !important; margin-left: -9px !important; margin-right: -9px !important; }
  .ib-topbar h2 { font-size: 24px !important; }
  .promo-winners-title--en { font-size: 22px !important; }
  .promo-winners-subtitle--en { font-size: 15px !important; }
  .promo-schedule-band h3 { font-size: 22px !important; }
  .data-table th { font-size: 11px !important; }
  .market-insight-h2 { font-size: 36px !important; }
  .promo-rules-band ol li { font-size: 14px !important; }
  .trading-mobile-break { display: block; }
  .mt5-download-eyebrow--desktop { display: none; }
  .mt5-download-eyebrow--mobile { display: block; }
  .mt5-download-title--desktop { display: none; }
  .mt5-download-title--mobile { display: block; }
}
.page-hero--photo {
  background-size: cover;
  background-position: center;
  position: relative;
}
.page-hero--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.88), rgba(29,78,216,0.75));
}
.page-hero--photo .container { position: relative; z-index: 1; }

.eyebrow { font-size: 13px; font-weight: 700; color: #1d4ed8; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 24px; }
.feature-card { border: 1px solid #e2e8f0; border-radius: 12px; padding: 22px; transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }
.feature-card h3 { font-size: 16px; margin-bottom: 8px; color: #0f172a; }
.feature-card p { font-size: 14px; color: #64748b; }

.feature-grid--3col { grid-template-columns: repeat(3, 1fr); }
.feature-grid--3col .feature-card:hover { border-color: #f97316; box-shadow: 0 8px 24px rgba(249, 115, 22, 0.12); background: #fff7ed; }
.feature-grid--3col .feature-card img { transition: transform 0.2s ease; }
.feature-grid--3col .feature-card:hover img { transform: scale(1.08); }
@media (max-width: 860px) {
  .feature-grid--3col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .feature-grid--3col { grid-template-columns: 1fr; }
}

.fs-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; }
.fs-card { padding: 40px 32px; text-align: center; border: 1px solid #e2e8f0; }
.fs-card img { height: 120px; margin-bottom: 16px; }
.fs-card h3 { font-size: 36px; font-weight: 800; color: #0f172a; line-height: 1.3; margin-bottom: 16px; }
.fs-card hr { border: none; border-top: 1px solid #e2e8f0; margin-bottom: 16px; }
.fs-card p { font-size: 14px; color: #4e5968; text-align: left; line-height: 1.6; }

@media (max-width: 720px) {
  .fs-card h3 { font-size: 24px !important; }
  .fs-card p { text-align: center !important; }
  .fs-h48 { font-size: 22px !important; }
}
.fs-card--orange { background: #ff8f29; }
.fs-card--orange h3, .fs-card--orange p { color: #fff; }
.fs-card--orange hr { border-top-color: rgba(255,255,255,0.3); }

.ctrader-hero {
  background-size: cover;
  background-position: center;
  aspect-ratio: 1920 / 661;
  max-height: 460px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  text-align: right;
  color: #fff;
  padding-right: 64px;
}
.ctrader-hero p { font-size: 20px; }
.ctrader-hero h1 { font-size: 48px; font-weight: 700; margin-top: 8px; line-height: 1.3; }

.ctrader-download-row { display: flex; justify-content: center; gap: 40px; margin-top: 24px; flex-wrap: wrap; }
.ctrader-download-row a { text-align: center; color: #4e5968; font-size: 13px; font-weight: 600; }
.ctrader-download-icon {
  display: flex; align-items: center; justify-content: center;
  width: 90px; height: 90px; margin: 0 auto 8px;
}
.ctrader-download-icon img { width: 100%; height: 100%; object-fit: contain; }

.ctrader-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 20px; margin-top: 24px; }
.ctrader-feature-item img { width: 60px; height: 60px; object-fit: contain; margin-bottom: 10px; }
.ctrader-feature-item p { color: #0077d9; font-weight: 700; font-size: 20px; line-height: 1.4; }
@media (max-width: 720px) {
  .ctrader-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .ctrader-hero { aspect-ratio: auto; max-height: none; padding: 32px 24px; align-items: center; text-align: center; }
  .ctrader-hero p { font-size: 15px; }
  .ctrader-hero h1 { font-size: 26px; }
}

.ctrader-cta-card { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; background: #ebebeb; border-radius: 16px; padding: 40px; }
.ctrader-cta-card img { width: 100%; }
@media (max-width: 720px) {
  .ctrader-cta-card { grid-template-columns: 1fr; text-align: center; }
}

.ctrader-adv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 40px; margin-top: 24px; }
.ctrader-adv-item { display: flex; align-items: flex-start; gap: 20px; text-align: left; }
.ctrader-adv-item img { width: 110px; flex-shrink: 0; }
.ctrader-adv-item h3 { font-size: 18px; margin-bottom: 8px; color: #0f172a; }
.ctrader-adv-item p { font-size: 13px; color: #64748b; line-height: 1.6; }
@media (max-width: 720px) {
  .ctrader-adv-grid { grid-template-columns: 1fr; }
}

.ctrader-detail-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.ctrader-detail-row + .ctrader-detail-row { margin-top: 56px; }
.ctrader-detail-row--narrow { grid-template-columns: 4fr 8fr; }
.ctrader-detail-row h2 { font-size: 28px; margin-bottom: 12px; }
.ctrader-detail-row p { font-size: 14px; color: #4e5968; line-height: 1.7; }
.ctrader-detail-row img { width: 100%; }
.ctrader-detail-row .ctrader-badge-row { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.ctrader-detail-row .ctrader-badge-row img { width: auto; height: 40px; }
@media (max-width: 720px) {
  .ctrader-detail-row, .ctrader-detail-row--narrow { grid-template-columns: 1fr; }
}

.mt5-hero-top { background: #05070d url("/images/trading/mt5-hero-glow.png") center center/cover no-repeat; padding-bottom: 40px; }
.mt5-hero-screens { max-width: 686px; width: 100%; margin: 32px auto; display: block; }
@media (max-width: 720px) {
  .mt5-hero-screens { max-width: 340px; }
}

.mt5-bullet-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin-top: 24px; }
.mt5-bullet-row span { font-size: 18px; color: #fff; position: relative; padding-left: 20px; }
.mt5-bullet-row span::before { content: "\2713"; position: absolute; left: 0; color: #ff7a00; }
.mt5-bullet-icon { display: none; }
@media (min-width: 721px) {
  .mt5-bullet-row span { padding-left: 0; }
  .mt5-bullet-row span::before { display: none; }
  .mt5-bullet-icon { display: inline-block; width: 18px; height: 18px; vertical-align: middle; margin-right: 8px; }
}

.mt5-step-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.mt5-step { border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 12px; padding: 24px; }
.mt5-step-head { display: flex; align-items: center; gap: 12px; }
.mt5-step-num {
  flex-shrink: 0;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(180deg, #8fb4ec, #3f6fc4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mt5-step-head h3 { color: #fff; font-size: 22px; font-weight: 700; margin: 0; }
.mt5-step p { color: rgba(255, 255, 255, 0.7); font-size: 14px; line-height: 1.6; margin-top: 14px; }
@media (max-width: 720px) {
  .mt5-step-row { grid-template-columns: 1fr; }
  .mt5-step-num { font-size: 56px; }
}
@media (min-width: 721px) {
  .mt5-step-row { gap: 30px; }
  .mt5-step { padding: 32px; }
  .mt5-step-num { font-size: 48px; }
  .mt5-step-head h3 { font-size: 28px; }
  .mt5-step p { font-size: 16px; margin-top: 18px; }
}

.mt5-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
.mt5-feature-item { text-align: left; }
.mt5-feature-img-wrap { position: relative; display: block; border-radius: 10px; overflow: hidden; background: #0b1f45; }
.mt5-feature-img-wrap img { width: 100%; display: block; }
.mt5-feature-caption { padding: 16px 0 0; }
.mt5-feature-caption h3 { font-size: 20px; margin-bottom: 8px; color: #fff; }
.mt5-feature-caption p { font-size: 14px; color: rgba(255, 255, 255, 0.7); line-height: 1.6; }
@media (min-width: 721px) {
  .mt5-feature-img-wrap { background: transparent; }
  .mt5-feature-img-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
  }
  .mt5-feature-img-wrap:hover::after { opacity: 1; }
}
@media (max-width: 720px) {
  .mt5-feature-grid { grid-template-columns: 1fr; }
  .mt5-feature-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px 20px 18px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.45) 70%, transparent);
  }
  .mt5-feature-caption h3 { font-size: 16px; }
  .mt5-feature-caption p { font-size: 13px; color: #fff; }
}

.mt5-download-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.mt5-download-row img { height: 100px; }
@media (max-width: 720px) {
  .mt5-download-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .mt5-download-row img { width: 100%; height: auto; }
  .mt5-download-row a:last-child { grid-column: 1 / -1; display: flex; justify-content: center; }
  .mt5-download-row a:last-child img { width: calc(50% - 12px); }
}

.fs-cta-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.fs-cta-row img { width: 100%; border-radius: 12px; }
@media (max-width: 720px) {
  .fs-cta-row { grid-template-columns: 1fr; text-align: center; }
  .fs-cta-text { order: 2; text-align: center !important; }
  .fs-cta-img { order: 1; }
  .fs-cta-h2 { font-size: 30px !important; text-align: center !important; }
  .fs-cta-text p { text-align: center !important; }
}
@media (max-width: 860px) {
  .fs-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .fs-card-grid { grid-template-columns: 1fr; }
}

.feature-grid--icons { text-align: center; margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 20px; }
.feature-grid--icons .feature-card { border: none; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.feature-grid--icons .feature-card img { width: 90px; height: 90px; object-fit: contain; }
.feature-grid--icons .feature-card p { font-size: 14px; color: #1e293b; font-weight: 600; }

.feature-list-mobile { display: none; }
.mtr-ctrader-mobile-only, .anytime-mobile-only { display: none; }

.mt5-heading { font-size: 60px; }
.mt5-heading-icon { height: 135px; }
.mt5-subheading { font-size: 30px; }

@media (max-width: 720px) {
  .feature-grid--icons { display: none; }
  .feature-list-mobile { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 12px; margin-top: 24px; text-align: left; }
  .feature-list-mobile-item { display: flex; align-items: center; gap: 12px; }
  .feature-list-mobile-item img { width: 50px; height: 50px; object-fit: contain; flex-shrink: 0; }
  .feature-list-mobile-item p { font-size: 14px; color: #1e293b; font-weight: 400; max-width: 72px; word-break: keep-all; }

  .mtr-ctrader-desktop-only, .anytime-desktop-only { display: none; }
  .mtr-ctrader-mobile-only, .anytime-mobile-only { display: block; }

  .mt5-heading { font-size: 28px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
  .mt5-heading-icon { height: 64px; }
  .mt5-subheading { font-size: 17px; }

  .home-two-col-grid { grid-template-columns: 1fr !important; text-align: center !important; }
  .home-two-col-grid h2 { font-size: 36px !important; }
  .home-two-col-grid h2.mtr-ctrader-mobile-only { font-size: 24px !important; }
  .home-two-col-grid h2.home-anytime-h2 { font-size: 28px !important; }

  .grid-2 { grid-template-columns: 1fr !important; }
}

.mt5-promo { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: center; margin-top: 32px; }
.mt5-promo-gallery { aspect-ratio: 1 / 0.45652173913043476; max-height: 460px; border-radius: 12px; background: #0b1f45; }
.mt5-promo-copy .check-list li { font-size: 16px; line-height: 2.3; }
.mt5-promo-copy .check-list li img { width: 21px; height: 21px; }
@media (max-width: 720px) {
  .mt5-promo-copy .check-list li.check-list-shrink-mobile { font-size: 14px; }
}
.check-list { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; color: #fff; font-size: 15px; font-weight: 600; text-align: left; }
.check-list li img { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }
.check-list--dark { max-width: 640px; margin: 32px auto 0; }
.check-list--dark li { color: #252e3a; font-weight: 400; font-size: 14px; }
.check-list--dark li img { width: 22px; height: 22px; }
.check-list--2col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 24px; max-width: none; }
.check-list--2col .check-list-item--full { grid-column: 1 / -1; }
@media (max-width: 720px) {
  .check-list--2col { grid-template-columns: 1fr; }
  .check-list--en li { font-size: 12px !important; }
}

.about-experts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.about-experts-item { display: flex; flex-direction: column; align-items: stretch; }
.about-experts-item img:not(.about-experts-mobile-img) { width: 100%; height: auto; object-fit: cover; border-radius: 8px; margin-bottom: 24px; }
.about-experts-item h3 { font-size: 30px; margin-bottom: 8px; }
.about-experts-item p { font-size: 14px; color: #8b95a1; line-height: 1.6; }

.about-exec-img--mobile { display: none !important; }
.about-title-mobile { display: none; }

@media (max-width: 720px) {
  .about-exec-img--desktop { display: none !important; }
  .about-exec-img--mobile { display: block !important; }
  .about-title-mobile { display: block; text-align: center; font-size: 36px; font-weight: 700; color: #ff7a00; line-height: 1.25; margin: 24px 0; padding: 0 24px; }
  .about-content-h2 { font-size: 16px !important; }
  .about-content-p { font-size: 14px !important; }
  .about-h48--partnership { font-size: 30px !important; }
  .about-h48--licenses { font-size: 24px !important; }
  .about-h48--partners { font-size: 26px !important; }
  .about-h48--partners-desktop { display: none; }
  .about-h48--partners-mobile { display: block; }
  .about-h48--whoweare { font-size: 30px !important; }
  .about-partners-caption { font-size: 14px !important; }
  .about-experts-item h3 { font-size: 24px !important; }
  .about-experts-item p { font-size: 13px !important; color: #1a1e24 !important; }
}
@media (max-width: 720px) {
  .about-experts-grid { grid-template-columns: 1fr; }
  .about-experts-item { flex-direction: column; }
  .about-experts-item > img:not(.about-experts-mobile-img) { display: none; }
  .about-experts-item img.about-experts-mobile-img { display: block; width: 100% !important; height: auto !important; border-radius: 8px; margin-bottom: 16px; }
}

.cfd-icon-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; width: 100%; }
.cfd-icon-item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cfd-icon-item img { width: 100%; max-width: 300px; height: auto; object-fit: contain; }
.cfd-icon-item p { text-align: center; font-size: 24px; font-weight: 700; color: #0f172a; }
@media (max-width: 720px) {
  .cfd-icon-row { grid-template-columns: 1fr; }
  .cfd-icon-item { flex-direction: row; justify-content: flex-start; gap: 16px; }
  .cfd-icon-item img { max-width: 80px; width: 80px; }
  .cfd-icon-item p { font-size: 18px; }
  .cfd-icon-text--en { font-size: 15px !important; }
}

.legacy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 24px; }
.legacy-grid-item { aspect-ratio: 178 / 100; overflow: hidden; border-radius: 8px; position: relative; cursor: pointer; }
.legacy-grid-item::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0); transition: background 0.25s ease; }
.legacy-grid-item:hover::after { background: rgba(0, 0, 0, 0.25); }
.legacy-grid-item img { transition: transform 0.3s ease; }
.legacy-grid-item:hover img { transform: scale(1.08); }
.partnership-grid { grid-template-columns: repeat(3, 1fr); }
.partnership-grid .legacy-grid-item { aspect-ratio: 4 / 3; }
@media (max-width: 720px) {
  .partnership-grid { grid-template-columns: repeat(2, 1fr); }
}
.legacy-grid-item img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 720px) {
  .legacy-grid { grid-template-columns: repeat(3, 1fr); }
}

.legacy-lightbox { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.9); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 60px 24px; }
.legacy-lightbox[hidden] { display: none; }
.legacy-lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 8px; object-fit: contain; }
.legacy-lightbox-close, .legacy-lightbox-prev, .legacy-lightbox-next { position: absolute; background: none; border: none; color: #fff; cursor: pointer; line-height: 1; padding: 12px; }
.legacy-lightbox-close { top: 16px; right: 24px; font-size: 32px; }
.legacy-lightbox-prev, .legacy-lightbox-next { top: 50%; transform: translateY(-50%); font-size: 40px; }
.legacy-lightbox-prev { left: 8px; }
.legacy-lightbox-next { right: 8px; }
@media (max-width: 560px) {
  .legacy-lightbox-close { top: 8px; right: 8px; font-size: 26px; }
  .legacy-lightbox-prev, .legacy-lightbox-next { font-size: 30px; }
}

@media (max-width: 860px) {
  .mt5-promo { grid-template-columns: 1fr; }
  .feature-grid--icons { grid-template-columns: repeat(3, 1fr); gap: 20px 12px; }
  .feature-grid--icons .feature-card img { width: 44px; height: 44px; }
  .feature-grid--icons .feature-card p { font-size: 12px; }
}

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; margin-top: 24px; text-align: center; }
.stat-card { padding: 20px; border-radius: 12px; background: #f8fafc; }
.stat-card .stat-num { font-size: 28px; font-weight: 800; color: #1d4ed8; }
.stat-card .stat-label { font-size: 13px; color: #64748b; margin-top: 4px; }

.timeline { position: relative; margin-top: 32px; padding-left: 24px; border-left: 2px solid #e2e8f0; }
.timeline-item { position: relative; padding-bottom: 28px; }
.timeline-item::before { content: ""; position: absolute; left: -29px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: #1d4ed8; }
.timeline-item h4 { font-size: 15px; margin-bottom: 4px; color: #0f172a; }
.timeline-item p { font-size: 13px; color: #64748b; }

.delete-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.delete-step img { width: 100%; border-radius: 12px; border: 1px solid #e2e8f0; margin-bottom: 10px; }
.delete-step p { font-size: 13px; text-align: center; color: #334155; }
@media (max-width: 720px) {
  .delete-steps { grid-template-columns: repeat(2, 1fr); }
}

.history-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.history-card-img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; margin-bottom: 12px; background: #f1f5f9; }
.history-card-img img { width: 100%; height: 100%; object-fit: cover; }
.history-card h4 { font-size: 15px; margin-bottom: 6px; color: #0f172a; line-height: 1.4; }
.history-card p { font-size: 12px; color: #64748b; line-height: 1.6; }
@media (max-width: 860px) {
  .history-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .history-grid { grid-template-columns: 1fr; }
}

.market-tabs {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 14px 16px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}
.market-tabs-item { font-size: 13px; font-weight: 600; color: rgba(26, 30, 36, 0.7); }
.market-tabs-item.is-active { color: #1a1e24; font-weight: 700; }

@media (max-width: 960px) {
  #stocks { display: none; }
}

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0; border-bottom: 1px solid #e2e8f0; }
.tab-btn { padding: 10px 16px; font-size: 14px; font-weight: 700; color: #64748b; border-bottom: 2px solid transparent; cursor: pointer; background: none; border-top: none; border-left: none; border-right: none; }
.tab-btn.is-active { color: #1d4ed8; border-bottom-color: #1d4ed8; }

.market-cat-nav { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin: 40px 0 56px; }
.market-cat-nav a {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  font-size: 15px; font-weight: 600; color: #1e293b; text-align: center;
}
.market-cat-nav img { width: 100%; max-width: 150px; aspect-ratio: 1/1; object-fit: contain; }
@media (max-width: 860px) {
  .market-cat-nav { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .market-cat-nav { grid-template-columns: repeat(2, 1fr); }
}
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

.market-chart-wrap { max-width: 1200px; margin: 0 auto; }
.market-symbol-tabs { display: flex; gap: 4px; overflow-x: auto; background: #0f172a; border-left: 1px solid #e0e0e0; border-right: 1px solid #e0e0e0; }
.market-symbol-tabs .tab-btn { color: rgba(255, 255, 255, 0.6); padding: 14px 20px; white-space: nowrap; }
.market-symbol-tabs .tab-btn.is-active { color: #fff; border-bottom-color: #ff7a00; }
.tv-chart-container { height: 610px; background: #0f172a; border: 1px solid #e0e0e0; border-top: none; border-radius: 0 0 8px 8px; overflow: hidden; }
@media (max-width: 720px) {
  .tv-chart-container { height: 420px; }
}

.data-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 13px; }
.data-table th, .data-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #f1f5f9; }
.data-table th { color: #64748b; font-weight: 700; background: #f8fafc; }

.compare-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 13px; }
.compare-table th, .compare-table td { padding: 12px; border: 1px solid #e2e8f0; vertical-align: top; }
.compare-table th { background: #f8fafc; }

.contact-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 24px; }
.contact-method { border: 1px solid #e2e8f0; border-radius: 12px; padding: 18px; text-align: center; }
.contact-method .label { font-size: 12px; color: #94a3b8; margin-bottom: 4px; }
.contact-method .value { font-weight: 700; color: #0f172a; }

.support-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.support-form-row > img { width: 100%; max-width: 260px; height: auto; }
.support-form-row--solo { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
.support-form button { background: #ff7a00; }
.support-form button:hover { background: #e56d00; }
.phone-group { display: flex; align-items: center; gap: 8px; }
.phone-group input { width: 100%; text-align: center; }
.phone-group span { color: #94a3b8; }

.support-contact-icon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 320px));
  justify-content: center;
  gap: 40px 80px;
  text-align: center;
}
.support-contact-icon-grid .label { font-size: 16px; color: #4e5968; }
.support-contact-icon-grid img { width: 120px; margin: 12px 0; }
.support-contact-icon-grid .value { font-size: 18px; font-weight: 700; color: #1a1e24; }
.support-contact-icon-grid a { color: inherit; }
@media (max-width: 720px) {
  .support-form-row { grid-template-columns: 1fr; }
  .support-contact-icon-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .support-contact-icon-grid img { width: 64px; }
  .support-contact-icon-grid .label { font-size: 13px; }
  .support-contact-icon-grid .value { font-size: 13px; word-break: break-all; }
}

.legal-doc h2 { font-size: 16px; margin: 28px 0 8px; color: #0f172a; }
.legal-doc p, .legal-doc li { font-size: 13px; color: #475569; margin-bottom: 8px; line-height: 1.8; }
.legal-doc ul, .legal-doc ol { padding-left: 20px; }

.winners-box { background: #f8fafc; border-radius: 12px; padding: 20px; margin: 24px 0; }
.winners-box h3 { font-size: 14px; margin-bottom: 10px; }
.winners-box ul { list-style: none; font-size: 13px; color: #475569; }
.winners-box li { padding: 4px 0; }

.rules-box { border: 1px solid #fde68a; background: #fffbeb; border-radius: 12px; padding: 18px; margin: 20px 0; font-size: 13px; color: #78350f; }
.rules-box p { margin-bottom: 6px; }

.promo-winners-box { background: #f6f4f4; border-radius: 12px; padding: 32px 24px; margin: 48px auto 0; max-width: 640px; text-align: center; }
.promo-winners-title { color: #ff7a00; font-size: 30px; font-weight: 800; }
.promo-winners-subtitle { font-size: 18px; font-weight: 700; margin-top: 8px; }
.promo-winners-list { list-style: none; margin-top: 16px; }
.promo-winners-list li { font-size: 20px; font-weight: 700; padding: 3px 0; }
.promo-winners-done { font-size: 20px; font-weight: 700; margin-top: 20px; }

.promo-cta-text { text-align: center; font-size: 30px; font-weight: 800; margin: 48px 0 0; }
.promo-cta-text .emoji { color: #ff7a00; }

.promo-entry-row { display: grid; grid-template-columns: 6fr 5fr; gap: 56px; margin-top: 48px; align-items: start; }
.promo-participate { display: grid; grid-template-columns: 6fr 5fr; grid-template-areas: "heading heading" "form rules"; gap: 8px 56px; margin-top: 48px; }
.promo-participate .pp-heading { grid-area: heading; margin: 0 0 24px; }
.promo-participate .pp-form { grid-area: form; }
.promo-participate .pp-rules { grid-area: rules; }
@media (max-width: 720px) {
  .promo-participate { grid-template-columns: 1fr; grid-template-areas: "rules" "heading" "form"; }
}
.promo-form mark { background: #f2f1b0; padding: 0 2px; }
.promo-lookup { background: #f6f4f4; border-radius: 8px; padding: 16px; margin-bottom: 20px; }
.promo-lookup-title { font-size: 15px; font-weight: 700; color: #1a1e24; margin-bottom: 10px; }
.promo-lookup-form { display: flex; gap: 8px; flex-wrap: wrap; }
.promo-lookup-form input { flex: 1 1 120px; min-width: 0; padding: 8px 10px; border: 1px solid #e2e8f0; border-radius: 6px; font-size: 14px; }
.promo-lookup-form button { flex: 0 0 auto; background: #1a1e24; color: #fff; font-weight: 700; font-size: 14px; padding: 8px 16px; border-radius: 6px; }
.promo-lookup-result { margin-top: 12px; padding-top: 12px; border-top: 1px solid #e2e8f0; }
.promo-lookup-result p { font-size: 14px; color: #1a1e24; margin: 2px 0; }
.promo-lookup-empty { margin-top: 12px; padding-top: 12px; border-top: 1px solid #e2e8f0; font-size: 14px; color: #6b7684; }
.promo-rules { font-size: 16px; line-height: 1.8; padding-top: 8px; }
.promo-rules p { margin-bottom: 12px; }
.promo-rules p strong { font-size: 18px; }
.promo-rules mark { background: #f2f1b0; padding: 0 2px; }

.promo-media { position: relative; width: 100%; max-width: 1332px; margin: 0 auto; background-size: cover; background-position: center; container-type: inline-size; }
.promo-media--hero { aspect-ratio: 1920 / 1010; }
.promo-media--band { aspect-ratio: 1920 / 480; }
.promo-media-text { position: absolute; }
.promo-media--hero .promo-media-text { left: 9.6%; top: 36%; width: 58%; }
.promo-media--band .promo-media-text { left: 50%; top: 36%; width: 55%; transform: translateX(-50%); text-align: center; }
.promo-media-text .eyebrow { font-size: 2.3cqw; font-weight: 700; color: #0f172a; margin: 0 0 0.6cqw; }
.promo-media-text h2 { font-size: 5cqw; font-weight: 800; line-height: 1.22; margin: 0 0 1.4cqw; color: #0f172a; }
.promo-media-text p { font-size: 1.6cqw; line-height: 1.6; color: #0f172a; margin: 0; }
.promo-media--band .promo-media-text h2 { font-size: 3.2cqw; white-space: nowrap; }

.promo-schedule-band { padding: 48px 0; text-align: center; }
.promo-schedule-band .eyebrow { font-size: 24px; color: #0f172a; }
.promo-schedule-band h3 { font-size: 34px; font-weight: 800; margin: 4px 0 24px; color: #0f172a; }
.promo-schedule-band .divider { width: 40px; height: 4px; background: #0f172a; margin: 0 auto 24px; }

.promo-rules-band .container { background: #f6f6f6; padding-top: 24px; padding-bottom: 56px; }
.promo-rules-band ol { padding-left: 22px; margin: 0 0 32px; }
.promo-rules-band ol li { margin-bottom: 20px; line-height: 1.8; font-size: 16px; color: #1a1e24; }
.promo-rules-band ol li strong { color: #e11d2e; }
.promo-rules-band .promo-warning { color: #e11d2e; font-weight: 800; font-size: 22px; margin: 32px 0 16px; }
.promo-rules-band .promo-chart-example { max-width: 100%; margin: 16px 0 24px; display: block; }
.promo-rules-band .promo-examples p { font-size: 15px; margin-bottom: 8px; }
.promo-rules-band .promo-examples mark { background: none; color: #e11d2e; font-weight: 700; }
.promo-rules-band .promo-logo-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 32px auto 0; }
.promo-rules-band .promo-logo-row img { width: 44px; height: auto; }
.promo-rules-band .promo-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.promo-rules-band .promo-logo-title { font-size: 20px; font-weight: 800; color: #0f172a; letter-spacing: 0.02em; }
.promo-rules-band .promo-logo-sub { font-size: 10px; font-weight: 700; color: #0f172a; letter-spacing: 0.12em; text-align: center; }

.ib-topbar { padding: 32px 0; }
.ib-topbar h2 { font-size: 32px; font-weight: 800; color: #1a1e24; margin: 0; }

.ib-media-hero { position: relative; max-width: 1920px; margin: 0 auto; background: linear-gradient(120deg, #1b2337 0%, #232d4a 55%, #2c3a63 100%); overflow: hidden; container-type: inline-size; }
.ib-media-hero .ib-media-photo { position: absolute; right: 0; top: 0; height: 100%; width: 43.75%; object-fit: cover; }
.ib-media-hero-text { position: relative; max-width: 54%; padding: 7cqw 0 7cqw 7.8%; color: #fff; }
.ib-media-hero-text h2 { font-size: 3.4cqw; font-weight: 800; line-height: 1.4; margin: 0 0 2.5cqw; }
.ib-media-hero-text p { font-size: 1.4cqw; line-height: 1.8; color: rgba(255, 255, 255, 0.88); margin: 0; }

.ib-section-title { font-size: 26px; font-weight: 800; color: #0f172a; margin-bottom: 0; text-align: left; padding: 20px 0; border-top: 1px solid #cbd5e1; border-bottom: 1px solid #cbd5e1; }
.ib-benefit-list { display: flex; flex-direction: column; }
.ib-benefit-item { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid #e2e8f0; }
.ib-benefit-label { font-weight: 700; color: #0f172a; text-align: center; }
.ib-benefit-item p { font-size: 15px; color: #1a1e24; line-height: 1.7; margin: 0; }
@media (max-width: 720px) {
  .ib-benefit-item { grid-template-columns: 1fr; gap: 8px; text-align: left; }
  .ib-benefit-label { text-align: left; }
}

.ib-media-band { position: relative; max-width: 1920px; margin: 0 auto; background-size: cover; background-position: center; container-type: inline-size; aspect-ratio: 1920 / 640; }
.ib-media-band-text { position: absolute; top: 42%; height: 34%; width: 16.7%; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; font-weight: 700; font-size: 1.4cqw; line-height: 1.4; padding: 0 1cqw; }
.ib-media-band-text:nth-child(1) { left: 15.6%; }
.ib-media-band-text:nth-child(2) { left: 42.2%; }
.ib-media-band-text:nth-child(3) { left: 68.75%; }

.ib-component-list { display: flex; flex-direction: column; gap: 0; }
.ib-component-item { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 24px 0; border-top: 1px solid #e2e8f0; }
.ib-component-item:last-child { border-bottom: 1px solid #e2e8f0; }
.ib-component-label { font-weight: 700; color: #0f172a; }
.ib-component-item p { font-size: 14px; color: #4e5968; line-height: 1.7; margin: 0; }
@media (max-width: 720px) {
  .ib-component-item { grid-template-columns: 1fr; gap: 8px; }
}

.exec-team-title { font-size: 26px; font-weight: 800; color: #0f172a; margin: 0 0 24px; padding-bottom: 16px; border-bottom: 2px solid #0f172a; }
.exec-team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 64px; }
.exec-team-card { display: flex; gap: 20px; }
.exec-team-avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.exec-team-body .exec-role { font-size: 13px; color: #64748b; font-weight: 600; }
.exec-team-body .exec-name { font-size: 18px; font-weight: 800; color: #0f172a; margin-left: 4px; }
.exec-team-body .exec-title { font-size: 13px; color: #64748b; margin: 2px 0 12px; }
.exec-team-label { font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid #e2e8f0; display: inline-block; padding-bottom: 4px; margin: 10px 0 6px; }
.exec-team-body p { font-size: 13px; color: #334155; line-height: 1.7; margin: 0; }
@media (max-width: 720px) {
  .exec-team-grid { grid-template-columns: 1fr; gap: 28px 16px; }
  .exec-team-card { gap: 10px; }
  .exec-team-avatar { width: 56px; height: 56px; }
  .exec-team-body .exec-role { font-size: 11px; }
  .exec-team-body .exec-name { font-size: 14px; margin-left: 2px; }
  .exec-team-body .exec-title { font-size: 11px; margin: 1px 0 8px; }
  .exec-team-label { font-size: 10px; margin: 8px 0 4px; }
  .exec-team-body p { font-size: 11px; line-height: 1.5; }
}
@media (max-width: 720px) {
  .promo-entry-row { grid-template-columns: 1fr; }
}

.embed-frame { width: 100%; min-height: 480px; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; margin-top: 16px; }
.embed-frame iframe { width: 100%; height: 480px; border: none; display: block; }

.consent-title { font-size: 14px; font-weight: 600; color: #1a1e24; margin-bottom: 8px; }
.consent-box { max-height: 200px; overflow-y: auto; border: 1px solid #e2e8f0; border-radius: 8px; padding: 14px; margin-bottom: 12px; }
.consent-box p { font-size: 13px; color: #475569; line-height: 1.8; margin-bottom: 8px; }
.form .consent-checkbox { display: flex; flex-direction: row; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #334155; cursor: pointer; margin-bottom: 12px; }
.consent-checkbox input { width: 16px; height: 16px; flex-shrink: 0; }

/* required-field indicator dot, matches production's small red/orange marker next to required labels */
.icon-required { display: inline-block; width: 5px; height: 5px; margin-left: 5px; vertical-align: 2px; border-radius: 50%; background: rgb(242, 86, 86); }

.insight-hero-row { display: grid; grid-template-columns: 43% 57%; gap: 32px; align-items: center; }
.insight-hero-row img { width: 100%; }
@media (max-width: 720px) {
  .insight-hero-row { grid-template-columns: 1fr; }
}

.account-benefit-title { text-align: center; font-size: 48px; font-weight: 800; color: #0f172a; margin-bottom: 40px; }
.account-benefit-title .emoji { margin-right: 4px; }
@media (max-width: 720px) {
  .account-benefit-title { font-size: 18px; }
  .consent-title { font-size: 13px; }
  .form .consent-checkbox { font-size: 11px; }
}
.account-benefit-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.account-benefit-images { display: flex; flex-direction: column; gap: 16px; }
.account-benefit-images img { width: 100%; border-radius: 12px; }
.account-benefit-images hr { border: none; border-top: 2px solid rgba(0, 0, 0, 0.05); margin: 0; }

.bonus-card { position: relative; overflow: hidden; border-radius: 12px; padding: 32px 28px; color: #fff; text-align: center; }
.bonus-card--signup { background: linear-gradient(135deg, #4361ee 0%, #7b2ff7 55%, #ff8a3d 100%); }
.bonus-card--deposit { background: linear-gradient(135deg, #3aa0ff 0%, #7b5cf0 60%, #c94fd8 100%); }
.bonus-card-eyebrow { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.bonus-card-panel { background: #fff; color: #0f172a; border-radius: 10px; padding: 20px 16px; margin: 0 auto; max-width: 260px; }
.bonus-card-badge { display: inline-block; background: #0f172a; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.02em; padding: 6px 14px; border-radius: 999px; margin-bottom: 12px; }
.bonus-card-amount { font-size: 56px; font-weight: 800; line-height: 1; }
.bonus-card-suffix { font-size: 22px; font-weight: 800; margin-top: 12px; }
.account-radio-group { display: flex; flex-direction: column; gap: 10px; }
.account-radio-group label { display: flex; flex-direction: row; align-items: center; gap: 6px; font-weight: 500; cursor: pointer; }
.account-radio-group input { width: 16px; height: 16px; }
.account-datetime-row { display: flex; gap: 12px; }
.account-datetime-row input { flex: 1; }

.dtpicker { position: relative; flex: 1; }
.dtpicker-input { width: 100%; cursor: pointer; background: #fff; }
.dtpicker-panel { display: none; position: absolute; top: calc(100% + 6px); left: 0; z-index: 50; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12); padding: 12px; }
.dtpicker-panel.is-open { display: block; }

.dtpicker-cal-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; font-weight: 700; font-size: 14px; color: #0f172a; }
.dtpicker-panel .dtpicker-cal-header button { align-self: auto; background: none; border: none; font-size: 18px; line-height: 1; font-weight: 400; cursor: pointer; color: #64748b; padding: 4px 8px; border-radius: 6px; }
.dtpicker-panel .dtpicker-cal-header button:hover { background: #f1f5f9; }
.dtpicker-cal-grid { display: grid; grid-template-columns: repeat(7, 32px); gap: 2px; }
.dtpicker-cal-weekday { text-align: center; font-size: 11px; color: #94a3b8; font-weight: 700; padding: 4px 0; }
.dtpicker-panel .dtpicker-cal-day { align-self: auto; width: 32px; height: 32px; border: none; background: none; border-radius: 6px; font-size: 13px; font-weight: 400; cursor: pointer; color: #1e293b; padding: 0; }
.dtpicker-panel .dtpicker-cal-day:hover { background: #eff6ff; }
.dtpicker-panel .dtpicker-cal-day.is-today { font-weight: 800; color: #1d4ed8; }
.dtpicker-cal-day--empty { cursor: default; }

.dtpicker-time-list { max-height: 240px; overflow-y: auto; display: flex; flex-direction: column; min-width: 140px; }
.dtpicker-panel .dtpicker-time-item { align-self: auto; text-align: left; background: none; border: none; padding: 8px 10px; font-size: 13px; font-weight: 400; cursor: pointer; color: #1e293b; }
.dtpicker-panel .dtpicker-time-item:hover { background: #eff6ff; color: #1d4ed8; }
@media (max-width: 720px) {
  .account-benefit-row { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .grid-3 { grid-template-columns: 1fr; }
}

/* ---- /trading overview (imweb placeholder page, replicated verbatim) ---- */
.trading-ov-hero { background-color: #171c26; background-image: url('/images/trading-overview/hero-bg.jpg'); background-size: cover; background-position: center; padding: 64px 0; overflow: hidden; }
.trading-ov-hero-text { max-width: 820px; z-index: 1; }
.trading-ov-eyebrow { font-size: 16px; font-weight: 400; color: #ff7a00; margin: 0 0 12px; }
.trading-ov-h1 { font-size: 60px; font-weight: 700; color: #e9e9e9; line-height: 1.1; margin: 0; }
.trading-ov-hero-photo { max-width: 100%; width: 100%; display: block; border-radius: 4px; }
.trading-ov-hero-photo--mobile { display: none; }
.trading-ov-hero-photo-wrap { width: calc(100% - 256px); margin: 32px auto 0; }

.trading-ov-quote { text-align: left; padding-top: 64px; padding-bottom: 48px; }
.trading-ov-quote-text { font-size: 36px; font-weight: 400; color: #1a1e24; line-height: 1.2; margin: 0; }
.trading-ov-quote-byline { display: flex; align-items: center; justify-content: flex-start; gap: 16px; margin-top: 24px; }
.trading-ov-quote-byline img { width: 85px; height: 85px; border-radius: 50%; object-fit: cover; }
.trading-ov-quote-byline > div { text-align: left; }
.trading-ov-quote-name { font-size: 24px; font-weight: 700; color: #1a1e24; margin: 0; }
.trading-ov-quote-role { font-size: 14px; color: #6b7684; margin: 4px 0 0; }

.section .trading-ov-h2 { font-size: 48px; font-weight: 700; color: #1a1e24; line-height: 1.2; margin: 0; }
.trading-ov-h3 { font-size: 24px; font-weight: 700; color: #1a1e24; line-height: 1.2; margin: 0 0 16px; }
.trading-ov-split-inner { display: flex; gap: 64px; align-items: flex-start; }
.trading-ov-split-inner > .trading-ov-h2 { flex: 0 0 640px; }
.trading-ov-split-right { flex: 1; min-width: 0; }
.trading-ov-body { font-size: 14px; color: #4e5968; line-height: 1.6; margin: 0 0 24px; }
.trading-ov-body--lg { font-size: 16px; }
.trading-ov-band-img { width: 100%; border-radius: 8px; display: block; margin: 24px 0; }
.trading-ov-yard-img { width: 400px; margin: 0; flex: 0 0 400px; }
.trading-ov-split .trading-ov-split-inner .trading-ov-yard-img + .trading-ov-split-right { flex: 1; }

.trading-ov-map-section { text-align: left; }
.trading-ov-map-img { width: 100%; border-radius: 8px; display: block; }
.trading-ov-map-img--mobile { display: none; }
.trading-ov-doc-links { display: flex; gap: 40px; margin-top: 8px; flex-wrap: wrap; }
.trading-ov-doc-link { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: #4e5968; }
.trading-ov-doc-link img { width: 20px; height: 24px; }

.trading-ov-stats-section { background: #fff; }
.trading-ov-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 48px; }
.trading-ov-stat-label { font-size: 14px; color: #8b95a1; margin: 0; }
.trading-ov-stat-num { font-size: 72px; font-weight: 400; color: #1a1e24; margin: 8px 0; line-height: 1.1; }
.trading-ov-stat-body { font-size: 14px; color: #4e5968; line-height: 1.6; margin: 0; }
.trading-ov-stat-body--mobile { display: none; }

.trading-ov-footnote { font-size: 14px; color: #b0b8c1; margin: 0 0 8px; }

.trading-ov-cta { background: #003588; padding: 64px 0; }
.trading-ov-cta .trading-ov-cta-title { color: #fff; font-size: 32px; font-weight: 700; line-height: 1.5; margin: 0 0 32px; }
.trading-ov-cta-btn { display: inline-block; background: #ff7a00; color: #fff; font-weight: 700; font-size: 16px; padding: 16px 40px; border-radius: 8px; }
.trading-ov-cta-btn:hover { background: #e56d00; }
@media (max-width: 720px) {
  .trading-ov-cta { padding: 48px 0; }
  .trading-ov-cta .container { padding-left: 12px; padding-right: 12px; }
  .trading-ov-cta .trading-ov-cta-title { font-size: 17px; margin-bottom: 24px; }
  .trading-ov-cta-btn { padding: 14px 32px; font-size: 15px; }
}

.trading-ov-careers-section { padding: 48px 0 0; text-align: center; }
.trading-ov-small-logo { width: 50px; margin-bottom: 32px; }
.trading-ov-careers-img { width: 100%; display: block; }
.trading-ov-careers-img--mobile { display: none; }

@media (max-width: 860px) {
  .trading-ov-h1 { font-size: 44px; }
  .trading-ov-split-inner > .trading-ov-h2 { flex: 0 0 260px; }
}

@media (max-width: 720px) {
  .trading-ov-hero { padding: 32px 0; background-image: none; }
  .trading-ov-hero-photo-wrap { width: 100%; margin-top: 24px; }
  .trading-ov-eyebrow { font-size: 12px; }
  .trading-ov-h1 { font-size: 32px; color: #fff; }
  .trading-ov-hero-photo--desktop { display: none; }
  .trading-ov-hero-photo--mobile { display: block; }

  .trading-ov-quote { padding-top: 40px; padding-bottom: 32px; }
  .trading-ov-quote-text { font-size: 24px; }
  .trading-ov-quote-text.trading-ov-quote-text--en { font-size: 17px; }
  .trading-ov-quote-byline img { width: 56px; height: 56px; }
  .trading-ov-quote-name { font-size: 20px; }

  .section .trading-ov-h2 { font-size: 36px; }
  .section .trading-ov-h2--vision { font-size: 30px; }
  .section .trading-ov-h2--innov { font-size: 20px; }
  .trading-ov-h3 { font-size: 20px; }
  .trading-ov-split-inner { flex-direction: column; gap: 0; }
  .trading-ov-split-inner > .trading-ov-h2 { flex: none; margin-bottom: 24px; }
  .trading-ov-yard-img { flex: none; width: 100%; margin-bottom: 24px; }

  .trading-ov-map-img--desktop { display: none; }
  .trading-ov-map-img--mobile { display: block; }
  .trading-ov-doc-links { flex-direction: column; gap: 16px; margin-top: 16px; }
  .trading-ov-doc-link { font-size: 14px; }

  .trading-ov-stat-grid { grid-template-columns: 1fr; gap: 0; margin-top: 24px; }
  .trading-ov-stat { border-top: 1px solid #e2e8f0; padding-top: 24px; }
  .trading-ov-stat + .trading-ov-stat { margin-top: 24px; }
  .trading-ov-stat-num { font-size: 48px; }
  .trading-ov-stat-body--desktop { display: none; }
  .trading-ov-stat-body--mobile { display: block; }

  .trading-ov-careers-img--desktop { display: none; }
  .trading-ov-careers-img--mobile { display: block; }
}

/* ---- Event landing page (account2~8, kjh, jst, MT5, recipe, etc. share this) ---- */
.event-detail-picture, .event-detail-picture img { display: block; width: 100%; max-width: 860px; margin: 0 auto; }
.event-detail-mobile-only { display: none; width: 100%; }
@media (max-width: 720px) {
  .event-detail-mobile-only { display: block; }
}
.event-banners { display: flex; gap: 24px; justify-content: center; }
.event-banners picture { display: block; flex: 1; min-width: 0; max-width: 159px; }
.event-banners picture img { display: block; width: 100%; }
@media (min-width: 721px) {
  .event-banners { flex-direction: column; align-items: center; gap: 30px; }
  .event-banners picture { flex: none; width: 100%; max-width: 483px; }
}
