@charset "UTF-8";

/* ========================================
   FONT IMPORTS
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Fraunces:ital,opsz,wght@0,9..144,700;0,9..144,800;1,9..144,400&display=swap');

/* ========================================
   CSS VARIABLES — DESIGN TOKENS
   ======================================== */
:root {
  --navy:       #0D1F3C;
  --navy-mid:   #162B50;
  --navy-light: #1E3A6A;
  --gold:       #C9A251;
  --gold-light: #E8C975;
  --gold-pale:  #FBF4E4;
  --teal:       #00B4A0;
  --teal-light: #E0F7F5;
  --red-soft:   #FF5A65;
  --bg-page:    #F2F5FB;
  --bg-card:    #FFFFFF;
  --bg-subtle:  #F7F9FD;
  --border:     #E4ECF7;
  --text-head:  #0D1F3C;
  --text-body:  #3A4A6B;
  --text-muted: #7A8BAD;
  --shadow-sm:  0 2px 8px rgba(13,31,60,.07);
  --shadow-md:  0 8px 28px rgba(13,31,60,.11);
  --shadow-lg:  0 20px 50px rgba(13,31,60,.16);
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
}

/* ========================================
   BASE RESET & TYPOGRAPHY
   ======================================== */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', serif;
  color: var(--text-head);
  line-height: 1.2;
  margin: 0;
}

/* ========================================
   BREADCRUMB NAV
   ======================================== */
.comm-sub-nav {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.comm-sub-nav .nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 52px !important;
}

.nav-box {
  display: flex;
  align-items: center;
  gap: 2px;
  background: none !important;
  padding: 0 !important;
}

.nav-list {
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-list a {
  color: var(--text-muted) !important;
  text-decoration: none;
  transition: color var(--transition);
}

.nav-list a:hover { color: var(--gold) !important; }

.nav-list i {
  color: var(--border) !important;
  margin: 0 6px;
  font-style: normal;
}

/* ========================================
   BROKER CONTAINER — HERO CARD
   ======================================== */
.broker-container {
  max-width: 1280px;
  margin: 28px auto;
  padding: 0 20px;
}

.broker-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  padding: 28px !important;
  box-shadow: var(--shadow-md) !important;
  position: relative;
  overflow: hidden;
}

/* Decorative corner accent */
.broker-row::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 260px; height: 260px;
  background: radial-gradient(circle at top right, rgba(201,162,81,.1) 0%, transparent 70%);
  pointer-events: none;
}

.broker-left  { flex: 0 0 210px; max-width: 210px; flex-shrink: 0; }
.broker-center { flex: 1 1 0%; min-width: 0; }
.broker-right { flex: 0 0 auto; }

/* Logo Box */
.logo-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  position: relative;
  margin-bottom: 14px;
  width: 100%;
  max-width: 220px;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow var(--transition), transform var(--transition);
}
.logo-box:hover { box-shadow: var(--shadow-md); }

.broker-logo { width: 100%; height: 100%; object-fit: contain; }

.regulated-badge {
  position: absolute;
  top: -1px; left: 14px;
  background: linear-gradient(135deg, #00B894, #00A386);
  color: #fff;
  padding: 4px 12px;
  border-radius: 0 0 8px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 3px 10px rgba(0,184,148,.3);
}

/* Score Box */
.score-box {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius-md);
  padding: 14px;
  width: 100%;
  max-width: 220px;
  height: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-label {
  color: rgba(255,255,255,.55);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.info-icon {
  width: 15px; height: 15px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-style: normal;
  color: rgba(255,255,255,.5);
  cursor: help;
}

.score-value {
  font-size: 38px !important;
  font-weight: 800;
  color: var(--gold-light) !important;
  line-height: 1;
  font-family: 'Fraunces', serif;
}

.score-max {
  font-size: 13px;
  color: rgba(255,255,255,.4);
  margin-top: 2px;
}

/* Center Section */
.broker-title {
  font-size: 28px !important;
  font-weight: 800;
  color: var(--text-head) !important;
  margin-bottom: 14px !important;
  font-family: 'Fraunces', serif;
}

.brokers-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.country-flag {
  width: 22px; height: 14px;
  border-radius: 3px;
  border: 1px solid var(--border);
  object-fit: cover;
}

.separator { color: var(--border); font-weight: 300; }

/* Website Box */
.website-boxx {
  background: linear-gradient(135deg, #1A4A8A, #0D3268);
  border-radius: var(--radius-sm);
  padding: 12px 14px !important;
  margin-bottom: 12px;
  width: 100%;
  max-width: 340px;
  height: auto !important;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 6px 22px rgba(13,50,104,.18);
  transition: transform var(--transition), box-shadow var(--transition);
}
.website-boxx:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(13,50,104,.4); }

.website-link { color: #fff !important; text-decoration: none; display: block; }

.website-url {
  font-size: 11.5px;
  opacity: .7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}

.website-label {
  font-size: 11px;
  opacity: .5;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.btn-open {
  background: linear-gradient(135deg, var(--gold), #B8892A);
  color: #fff !important;
  border: none;
  border-radius: var(--radius-sm);
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  flex: 1;
  box-shadow: 0 4px 14px rgba(201,162,81,.35);
  transition: all var(--transition);
  letter-spacing: .02em;
}
.btn-open:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 6px 20px rgba(201,162,81,.5);
  transform: translateY(-1px);
}

.btn-time {
  background: var(--bg-subtle);
  color: var(--text-body);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  flex: 1;
  transition: all var(--transition);
}
.btn-time:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* ========================================
   REGULATION RATING (Right Column)
   ======================================== */
.bg-white.border.rounded-3 {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-sm) !important;
  padding: 20px !important;
  transition: box-shadow var(--transition);
}
.bg-white.border.rounded-3:hover { box-shadow: var(--shadow-md) !important; }

.reg-rating-value { line-height: 1.1; }

.reg-rating-grade {
  display: block;
  font-size: 2.4rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em;
  font-family: 'Fraunces', serif;
}

.reg-rating-label {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-muted) !important;
}

.reg-level-top    { color: #00B894 !important; }
.reg-level-strong { color: #00C985 !important; }
.reg-level-average{ color: #F39C12 !important; }
.reg-level-low    { color: var(--red-soft) !important; }

/* ========================================
   DEALER INFO BOX (Environment / MT4 )
   ======================================== */
.dealer-info-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.dealer-info-box:hover { box-shadow: var(--shadow-md); }

.dealer-info-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}

.dealer-info-title-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-head);
  letter-spacing: .02em;
}

/* Responsive adjustments for broker-row (stack on smaller screens) */
@media (max-width: 992px) {
  .broker-container { padding: 0 12px; margin: 18px auto; }
  .broker-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 18px !important;
  }
  .broker-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    max-width: 100%;
  }
  .logo-box { max-width: 120px; aspect-ratio: 1 / 1; padding: 10px; }
  .score-box { max-width: 120px; padding: 10px; display: flex; flex-direction: column; align-items: center; }
  .broker-center { order: 3; }
  .broker-left { order: 1; }
  .broker-right, .bg-white.border.rounded-3 { order: 2; width: 100%; }
  .website-boxx { max-width: 100%; width: 100%; }
  .action-buttons { width: 100%; }
  .btn-open, .btn-time { padding: 10px; font-size: 14px; }
  .broker-title { font-size: 22px !important; }
}

@media (max-width: 576px) {
  .logo-box { max-width: 96px; padding: 8px; }
  .score-value { font-size: 28px !important; }
  .broker-title { font-size: 18px !important; }
  .brokers-info { font-size: 13px; flex-wrap: wrap; gap: 8px; }
  .action-buttons { flex-direction: column; }
  .btn-open, .btn-time { width: 100%; }
  .broker-row::before { width: 160px; height: 160px; }
}

.dealer-info-actions { display: flex; gap: 6px; }

.action-btn {
  width: 30px; height: 30px;
  border-radius: 6px;
  cursor: pointer;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: all var(--transition);
}
.action-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.action-btn.refresh { background: var(--navy); color: #fff; border-color: var(--navy); }
.action-btn.like.active { color: var(--red-soft); background: #fff0f1; border-color: #ffc9cc; }

.share-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 6px 0;
  min-width: 140px;
  display: none;
  z-index: 200;
}
.action-btn.share:hover .share-dropdown { display: block; }

.share-item {
  display: flex;
  align-items: center;
  padding: 8px 14px;
  color: var(--text-body);
  text-decoration: none;
  gap: 10px;
  font-size: 13px;
  transition: background var(--transition);
}
.share-item:hover { background: var(--bg-subtle); color: var(--navy); }

.dealer-info-li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}
.dealer-info-li:last-child { border-bottom: none; padding-bottom: 0; }

.dealer-info-li-l, .dealer-info-li-c { width: 40%; padding-right: 10px; }

.dealer-info-li-tl, .dealer-info-li-c-txt {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.dealer-info-li-txt {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-head);
  font-family: 'Fraunces', serif;
}

.dealer-info-li-c-label { display: flex; align-items: center; gap: 8px; }
.dealer-info-li-c-labelson { display: flex; align-items: center; gap: 8px; }
.dealer-info-li-c1 { color: var(--text-head); font-weight: 600; }

.dealer-info-li-c2, .mt-num {
  background: linear-gradient(135deg, var(--teal), #009B8A);
  color: #fff;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}

.dealer-info-li-c4 { color: var(--text-body); font-size: 13px; }
.dealer-info-li-r { width: 24px; color: var(--border); display: flex; align-items: center; }

.dealer-info-pfzsbox {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  height: 280px;
  margin-bottom: 14px;
  width: 100%;
  max-width: 320px;
  box-shadow: var(--shadow-sm);
}

.dealer-info-boxtwo {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  width: 100%;
  max-width: 320px;
  height: auto;
  min-height: 200px;
  box-shadow: var(--shadow-sm);
}

/* ========================================
   AVATRADE INFO SECTION
   ======================================== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

.avatrade-info-wrapper {
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 28px 0;
  background: transparent;
  align-items: flex-start;
}

.avatrade-info-left {
  flex: 1 1 60%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.avatrade-info-right {
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

/* Card base */
.avatrade-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 22px 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.avatrade-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-head);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: .02em;
}

.badge {
  background: var(--gold-pale);
  color: var(--gold);
  border-radius: 6px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 700;
  margin-left: 6px;
  border: 1px solid rgba(201,162,81,.25);
}

/* License list */
.license-list { display: flex; flex-direction: column; gap: 14px; }

.license-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  padding: 10px 12px;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: border-color var(--transition);
}
.license-item:hover { border-color: var(--gold); }

.license-flag {
  width: 26px; height: 18px;
  border-radius: 3px;
  border: 1px solid var(--border);
  object-fit: cover;
}

.license-type { font-weight: 700; font-size: 13px; }
.license-type.asic { color: #1967D2; }
.license-type.fsa  { color: var(--red-soft); }

.license-status.regulated {
  background: var(--teal-light);
  color: var(--teal);
  border-radius: 5px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  margin-left: 4px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.license-desc { color: var(--text-muted); font-size: 13px; margin-left: 4px; }

/* VPS Card */
.vps-card .vps-desc { color: var(--text-muted); font-size: 13.5px; margin-bottom: 18px; line-height: 1.5; }

.vps-icons { display: flex; gap: 30px; margin-top: 4px; flex-wrap: wrap; }

.vps-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12.5px;
  color: var(--text-body);
  gap: 6px;
  background: var(--bg-subtle);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  min-width: 62px;
  font-weight: 600;
  transition: all var(--transition);
}
.vps-icon:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.vps-icon img { width: 36px; height: 36px; }

/* Basic Info Card */
.basic-info-card { min-height: 160px; }
.basic-info-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-head);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

.basic-info-row {
  display: flex;
  gap: 32px;
  margin-bottom: 16px;
}

.info-label {
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 5px;
}

.info-value {
  font-size: 14.5px;
  color: var(--text-head);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.info-flag { width: 20px; height: 14px; border-radius: 2px; border: 1px solid var(--border); }

.basic-info-row a {
  color: #1967D2;
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition);
}
.basic-info-row a:hover { color: var(--gold); text-decoration: underline; }

/* ========================================
   SURVEY / RESEARCH CARD
   ======================================== */
.survey-card {
  padding: 0 !important;
  overflow: hidden;
  border-radius: var(--radius-md) !important;
}

.img-box-jaf {
  display: flex;
  position: relative;
  gap: 0;
}

.deal-img {
  width: 150px !important;
  height: 130px !important;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  margin: 8px;
  border-radius: var(--radius-sm);
}

.survey-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  border-radius: var(--radius-sm);
}

.deal-img:hover .survey-img { transform: scale(1.07); }

.deal-info {
  flex: 1;
  padding: 18px;
  background: var(--bg-card);
  color: var(--text-body);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.deal-name span:first-child {
  color: var(--gold) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  display: block;
  margin-bottom: 4px;
}

.deal-name .overhide2 { font-size: 14px; color: var(--text-body); }

.tag {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--teal), #009B8A) !important;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.bottom-cell { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.bottom-cell img { width: 18px; height: 12px; border-radius: 2px; }
.country { font-size: 13px; color: var(--text-muted); }

/* ========================================
   AD CAROUSEL
   ======================================== */
.ad-card { padding: 0 !important; overflow: hidden; border-radius: var(--radius-md) !important; }

.el-carousel { position: relative; border-radius: var(--radius-md); overflow: hidden; }
.el-carousel__container { position: relative; height: 190px !important; overflow: hidden; }

.el-carousel__arrow {
  border: none;
  outline: none;
  padding: 0;
  height: 34px; width: 34px;
  cursor: pointer;
  border-radius: 50%;
  background: rgba(13,31,60,.45);
  color: #fff;
  position: absolute;
  top: 50%;
  z-index: 10;
  transform: translateY(-50%);
  text-align: center;
  font-size: 13px;
  transition: background var(--transition);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.15);
}
.el-carousel__arrow--left  { left: 12px; }
.el-carousel__arrow--right { right: 12px; }
.el-carousel__arrow:hover  { background: rgba(13,31,60,.75); }

.el-carousel__item {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  display: inline-block;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
}

.dealer-ad-a { display: block; width: 100%; height: 100%; }
.dealer-ad-a img { width: 100%; height: 100%; object-fit: cover; }

.el-carousel__indicators {
  position: absolute;
  list-style: none;
  margin: 0; padding: 0;
  bottom: 10px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 8px;
}

.el-carousel__indicator { display: inline-block; cursor: pointer; }

.el-carousel__button {
  display: block;
  width: 20px; height: 3px;
  background: rgba(255,255,255,.5);
  border: none; outline: none;
  padding: 0; margin: 0;
  cursor: pointer;
  border-radius: 2px;
  transition: all var(--transition);
}
.el-carousel__indicator.is-active .el-carousel__button {
  background: #fff;
  width: 28px;
}

/* ========================================
   STICKY NAV TABS
   ======================================== */
.overflow-hidden.sticky {
  position: sticky !important;
  top: 0;
  z-index: 80 !important;
  background: var(--bg-card) !important;
  border-bottom: 2px solid var(--border);
  box-shadow: 0 4px 16px rgba(13,31,60,.08);
}

.dealer-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.dealer-tabs::-webkit-scrollbar { display: none; }

.dealer-tabs-bar { max-width: 1280px; margin: 0 auto; }

.fix-tab-content {
  overflow-x: auto;
  display: flex;
  gap: 0;
  border-bottom: none !important;
  min-width: unset;
}

.dealerFixedMenu {
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  padding: 14px 18px;
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: .02em;
}

.dealerFixedMenu a {
  color: inherit;
  text-decoration: none;
}

.dealerFixedMenu:hover { color: var(--navy); background: var(--bg-subtle); }

.dealerFixedMenu.active,
.dealerFixedMenu[style*="border-bottom: 3px solid"] {
  color: var(--navy) !important;
  font-weight: 700 !important;
  border-bottom: 3px solid var(--gold) !important;
  background: transparent;
}

/* ========================================
   DEALER TABS CONTENT SECTIONS
   ======================================== */
.dealer-tabss {
  background: var(--bg-subtle) !important;
  padding: 8px 0;
}

.dealer-tab-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  margin-top: 20px;
  box-shadow: var(--shadow-sm);
}

.dealer-tab-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-head);
  font-family: 'Fraunces', serif;
}

/* License Row */
.dealer-tab-license-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  background: none;
}

.dealer-tab-license {
  background: linear-gradient(135deg, #E8FBF7, #D0F7EF);
  color: var(--teal);
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(0,180,160,.2);
  font-family: 'Fraunces', serif;
}
.dealer-tab-license.success {
  background: linear-gradient(135deg, #E8FBF7, #D0F7EF);
  color: var(--teal);
}

.dealer-tab-license-info {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 36px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 500;
}

.dealer-tab-license-info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 100px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}

.dealer-tab-license-info-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-head);
  line-height: 1;
  font-family: 'Fraunces', serif;
}

.dealer-tab-license-info-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
  text-align: center;
}

.dealer-tab-license-info-arrow {
  color: var(--gold);
  font-size: 18px;
  margin-left: 4px;
  vertical-align: middle;
}

.dealer-tab-desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 22px;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 18px;
  line-height: 1.7;
}

/* Platform Slider */
.dealer-tab-platforms-slider,
.dealer-tab-servers-slider {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 22px;
  width: 100%;
}

.platforms-arrow, .servers-arrow {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 34px; height: 34px;
  font-size: 18px;
  color: var(--navy);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  margin: 0 8px;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  z-index: 2;
}
.platforms-arrow:hover, .servers-arrow:hover {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.platforms-arrow:disabled, .servers-arrow:disabled {
  opacity: .3; cursor: not-allowed;
}
.platforms-arrow:disabled:hover, .servers-arrow:disabled:hover {
  background: var(--bg-card); color: var(--navy); border-color: var(--border);
}

.dealer-tab-platforms, .dealer-tab-servers {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
  padding: 6px 2px;
}
.dealer-tab-platforms::-webkit-scrollbar,
.dealer-tab-servers::-webkit-scrollbar { display: none; }

.dealer-tab-platform {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 18px 14px;
  min-width: 140px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--transition);
  flex-shrink: 0;
}
.dealer-tab-platform:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.dealer-tab-platform-icon { width: 44px; height: 44px; margin-bottom: 8px; }
.dealer-tab-platform-name { font-size: 14px; font-weight: 700; margin-bottom: 6px; color: var(--text-head); }

.dealer-tab-platform-status {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.dealer-tab-platform-status.perfect { background: var(--teal-light); color: var(--teal); }
.dealer-tab-platform-status.good    { background: #EAF1FB; color: #1967D2; }

/* Server Tabs */
.dealer-tab-server-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.dealer-tab-server-tab {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  color: var(--text-muted);
  transition: all var(--transition);
}
.dealer-tab-server-tab:hover { border-color: var(--navy); color: var(--navy); }
.dealer-tab-server-tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* Server Cards */
.dealer-tab-server-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  min-width: 300px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
  transition: all var(--transition);
}
.dealer-tab-server-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.dealer-tab-server-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-head);
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.server-type.mt4 {
  background: linear-gradient(135deg, #00B4A0, #009185);
  color: #fff;
  border-radius: 5px;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
}
.server-type.mt5 {
  background: linear-gradient(135deg, #1967D2, #1253A8);
  color: #fff;
  border-radius: 5px;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
}

.server-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-head);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.server-count {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 1px 8px;
  border-radius: 20px;
}

.dealer-tab-server-info-row { display: flex; justify-content: space-between; gap: 16px; }
.dealer-tab-server-info-col { flex: 1; min-width: 0; }
.dealer-tab-server-info-label { color: var(--text-muted); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; }
.dealer-tab-server-info-value { color: var(--text-head); font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 5px; }

.server-flag { width: 16px; height: 11px; vertical-align: middle; margin-right: 3px; border-radius: 2px; }

.dealer-tab-server-meta-box {
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-head);
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--border);
}

.dealer-tab-server-meta-row { display: flex; justify-content: space-between; align-items: center; }
.dealer-tab-server-meta-label { color: var(--text-muted); font-size: 11.5px; font-weight: 500; margin-right: 4px; }
.dealer-tab-server-meta-value { color: var(--text-head); font-size: 14px; font-weight: 700; }

.ping        { color: var(--teal) !important; font-weight: 700; margin-left: 2px; }
.ping-dot    { display: inline-block; width: 8px; height: 8px; background: var(--teal); border-radius: 50%; margin-left: 5px; vertical-align: middle; animation: pulse 2s infinite; }

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,180,160,.5); }
  70%  { box-shadow: 0 0 0 6px rgba(0,180,160,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,180,160,0); }
}

.dealer-tab-server-meta-company {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  margin-top: 4px;
  border-top: 1px dashed var(--border);
  padding-top: 6px;
}

/* ========================================
   ENVIRONMENT SECTION
   ======================================== */
.environment-section {
  background: var(--bg-subtle);
  padding: 36px 0;
}

.environment-section .container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px;
}

.section-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-head);
  margin-bottom: 22px;
  font-family: 'Fraunces', serif;
}

.environment-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
  flex-wrap: wrap;
}
.environment-tabs::-webkit-scrollbar { display: none; }

.env-tab {
  padding: 8px 16px;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
  font-family: 'DM Sans', sans-serif;
}
.env-tab:hover { border-color: var(--navy); color: var(--navy); }
.env-tab.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: 0 4px 12px rgba(13,31,60,.25);
}

/* Speed / Info Grid */
.flex.sm\:flex-col { display: flex; gap: 24px; }
.warp-left { flex: 1.5; min-width: 0; }
.warp-right { flex: 0.6; min-width: 220px; }

.speed-pane.pane-block { padding: 0; }

.speed-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.info-item {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color var(--transition);
}
.info-item:hover { border-color: var(--gold); }

.item-tlt {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 6px;
  line-height: 1.4;
}

.item-ctx {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-head);
  font-family: 'Fraunces', serif;
}

.status-badge.good {
  background: var(--teal-light);
  color: var(--teal);
  border-radius: 4px;
  font-size: 11px;
  padding: 1px 6px;
  font-weight: 700;
  margin-left: 4px;
}

.info-side {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.side-top { display: flex; flex-direction: column; align-items: center; }

.gauge-wrapper {
  position: relative;
  width: 110px;
  margin: 0 auto 6px;
}

.gauge-label {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -20%);
  font-size: 20px;
  font-weight: 900;
  color: var(--text-head);
  font-family: 'Fraunces', serif;
}

.gauge-rank {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  font-weight: 500;
}
.gauge-rank i { font-style: normal; font-weight: 800; color: var(--navy); }

.right-line { border: none; border-top: 1px dashed var(--border); }

.right-info { display: flex; flex-direction: column; gap: 8px; }

.r-info-item {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.r-info-item span {
  color: var(--text-head);
  font-weight: 700;
}

.data-source {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.update-time {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-muted);
}

/* ========================================
   DATA TABS SECTION
   ======================================== */
.data-tabs-bg {
  background: var(--bg-subtle);
  padding: 32px 0;
}

.data-tabs-container {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin: 0 auto;
  max-width: 1200px;
  box-shadow: var(--shadow-sm);
  min-height: 400px;
  overflow: hidden;
}

.data-tabs-header {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 0 28px;
}

.data-tab-btn {
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 16px 24px 14px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
}
.data-tab-btn:hover { color: var(--text-head); }
.data-tab-btn.active {
  color: var(--navy);
  font-weight: 700;
  border-bottom: 3px solid var(--gold);
}

.data-tabs-content-row { display: flex; flex: 1; min-height: 350px; }

.data-tabs-left {
  flex: 1.5;
  padding: 28px 24px;
  border-right: 1px solid var(--border);
}

.data-tabs-right {
  flex: .65;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg-subtle);
}

.data-tab-content, .data-tab-right-content { display: none; }
.data-tab-content.active, .data-tab-right-content.active { display: block; }

/* ========================================
   MARKETING TABS SECTION
   ======================================== */
.marketing-tabs-bg { background: var(--bg-subtle); padding: 0 0 32px; }

.marketing-tabs-container {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin: 0 auto 24px;
  max-width: 1200px;
  box-shadow: var(--shadow-sm);
  min-height: 260px;
  overflow: hidden;
}

.marketing-tabs-header {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 0 28px;
}

.marketing-tab-btn {
  background: none; border: none;
  font-size: 15px; font-weight: 600;
  color: var(--text-muted);
  padding: 16px 24px 14px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
}
.marketing-tab-btn:hover { color: var(--text-head); }
.marketing-tab-btn.active { color: var(--navy); font-weight: 700; border-bottom: 3px solid var(--gold); }

.marketing-tabs-content-row { width: 100%; padding: 24px 28px 28px; }
.marketing-tab-content { display: none; }
.marketing-tab-content.active { display: block; }

/* Percentage bars */

/* ==========================
   RESPONSIVE UPDATES
   ========================== */
@media (max-width: 1200px) {
  .broker-container, .container, .data-tabs-container { padding: 0 16px; }
  .broker-row { padding: 20px; }
  .avatrade-info-right { flex: 0 0 300px; }
}

@media (max-width: 992px) {
  .broker-row { flex-direction: column; gap: 18px; padding: 18px; }
  .broker-left, .broker-right { max-width: 100%; flex: 0 0 auto; }
  .broker-left { order: 1; }
  .broker-center { order: 2; }
  .broker-right { order: 3; }
  .logo-box { margin: 0 auto; }
  .score-box { margin: 0 auto; }
  .dealer-info-pfzsbox, .dealer-info-boxtwo { max-width: 100%; width: 100%; }
  .avatrade-info-wrapper { flex-direction: column-reverse; }
  .avatrade-info-right { width: 100%; flex: 1 1 0%; }
  .data-tabs-content-row { flex-direction: column; }
  .data-tabs-left { border-right: none; padding: 16px; }
}

@media (max-width: 768px) {
  .comm-sub-nav .nav { padding: 0 12px; }
  .broker-container { margin: 18px auto; }
  .broker-row { padding: 14px; }
  .logo-box { aspect-ratio: 3 / 2; padding: 10px; }
  .broker-title { font-size: 22px; }
  .score-value { font-size: 32px !important; }
  .website-boxx { max-width: 100%; }
  .dealer-tab-content { padding: 18px 14px; }
  .el-carousel__container { height: 160px !important; }
  .dealer-tab-platform { min-width: 120px; }
  .speed-info { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  body { font-size: 14px; }
  .broker-row { border-radius: 12px; padding: 12px; }
  .logo-box { max-width: 160px; aspect-ratio: 4/3; }
  .broker-title { font-size: 18px; }
  .brokers-info { font-size: 13px; }
  .score-value { font-size: 26px !important; }
  .dealer-tab-content { padding: 14px 12px; }
  .avatrade-info-wrapper { padding: 12px 0; }
  .vps-icons { gap: 12px; }
  .vps-icon { min-width: 48px; padding: 10px; font-size: 12px; }
  .el-carousel__container { height: 120px !important; }
  .speed-info { grid-template-columns: 1fr; }
  .data-tabs-container { min-height: unset; }
}

/* Utility: make images fluid */
.broker-logo, .dealer-ad-a img, .survey-img, .group\/box1 img { width: 100%; height: auto; max-height: none; }

/* ===== AVATRADE RIGHT COLUMN & COMPANY SUMMARY FIXES ===== */
.avatrade-info-right {
  flex: 0 0 320px;
  max-width: 320px;
  box-sizing: border-box;
}

.company-summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 18px;
  margin: 18px 0;
}

.company-summary-container {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
}

.company-summary-left { flex: 1 1 60%; min-width: 0; }
.company-summary-right { flex: 0 0 240px; max-width: 260px; }

.company-summary-video iframe {
  width: 100%;
  height: auto;
  max-width: 480px;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
}

/* fallback for browsers without aspect-ratio support */
.video-wrapper { position: relative; width: 100%; padding-top: 56.25%; }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.company-summary-btn {
  margin-top: 12px;
  background: linear-gradient(135deg,var(--gold),var(--gold-light));
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 992px) {
  .avatrade-info-right { flex: 1 1 100%; max-width: 100%; order: 3; }
  .avatrade-info-left { order: 2; }
  .avatrade-info-wrapper { flex-direction: column; }
  .company-summary-container { flex-direction: column; }
  .company-summary-right { max-width: 100%; width: 100%; }
  .company-summary-video iframe { max-width: 100%; height: auto; }
}

@media (max-width: 480px) {
  .company-summary-video iframe { aspect-ratio: 16 / 9; height: auto; }
  .company-summary-title { font-size: 18px; }
  .company-summary-container { gap: 12px; }
}

.percentage-data-container h6 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-head);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.block { margin-bottom: 14px; }
.name {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 5px;
}

.outline-border {
  background: var(--border);
  border-radius: 20px;
  height: 6px;
  overflow: hidden;
}

[class^="value-border"] {
  height: 100%;
  border-radius: 20px;
  transition: width 0.8s cubic-bezier(.4,0,.2,1);
}

/* ========================================
   BIZ AREA SECTION
   ======================================== */
.bizarea-bg { background: var(--bg-subtle); padding: 0 0 32px; }

.bizarea-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 1200px;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-sm);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.bizarea-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.bizarea-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-head);
  font-family: 'Fraunces', serif;
}

.bizarea-influence {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 3px 12px;
  border-radius: 20px;
}

.bizarea-tabs { display: flex; gap: 8px; }

.bizarea-tab-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 22px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  font-family: 'DM Sans', sans-serif;
}
.bizarea-tab-btn:hover { border-color: var(--navy); color: var(--navy); }
.bizarea-tab-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.bizarea-content { display: none; }
.bizarea-content.active { display: block; }

.bizarea-map-bar-wrap, .bizarea-donut-bar-wrap {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* ========================================
   WEBSITE SECTION
   ======================================== */
.website-se { background: var(--bg-subtle); padding: 0 0 32px; }

.website-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
  padding: 32px;
}

.website-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-head);
  margin-bottom: 22px;
  font-family: 'Fraunces', serif;
  display: flex;
  align-items: center;
  gap: 12px;
}
.website-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.website-visited p { color: var(--text-muted); font-size: 12.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }

.website-country-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; margin-bottom: 28px; }

.website-country-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13.5px;
  color: var(--text-body);
  font-weight: 500;
  transition: all var(--transition);
}
.website-country-item:hover { border-color: var(--gold); color: var(--navy); }

.website-domain-list { margin-top: 0; }

.website-domain-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
  background: var(--bg-card);
  transition: all var(--transition);
}
.website-domain-item:hover { border-color: rgba(201,162,81,.4); box-shadow: var(--shadow-sm); }
.website-domain-item.expanded { border-color: var(--gold); }

.website-domain-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  cursor: pointer;
  background: var(--bg-subtle);
  border-bottom: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-head);
  transition: background var(--transition);
}
.website-domain-header:hover { background: var(--gold-pale); }

.website-domain-item.expanded .website-domain-header {
  background: var(--gold-pale);
  border-bottom-color: rgba(201,162,81,.2);
}

.website-domain-header .icon-arrow-down {
  transition: transform var(--transition);
  font-size: 16px;
  color: var(--text-muted);
  margin-left: auto;
}
.website-domain-item.expanded .icon-arrow-down { transform: rotate(180deg); color: var(--gold); }

.website-domain-details {
  display: none;
  padding: 16px 20px;
  animation: fadeIn 0.2s ease;
}
.website-domain-item.expanded .website-domain-details { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.website-detail-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.website-detail-row:last-child { border-bottom: none; }
.website-detail-row .website-detail-value { margin-left: auto; color: var(--text-head); font-weight: 600; }

.website-domain-view-more-wrap { display: flex; justify-content: center; margin-top: 14px; }

.website-domain-view-more {
  cursor: pointer;
  background: var(--bg-subtle);
  color: var(--text-body);
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 36px;
  transition: all var(--transition);
  font-family: 'DM Sans', sans-serif;
}
.website-domain-view-more:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.website-domain-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}

/* ========================================
   RELEVANT ENTERPRISES
   ======================================== */
.relevant-enterprises-section { background: var(--bg-subtle); padding: 32px 0; }

.re-section-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-head);
  margin-bottom: 20px !important;
  margin-left: 0 !important;
  font-family: 'Fraunces', serif;
}

.re-nav-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  max-width: 1200px;
  margin: 0 auto;
}

.re-nav { display: flex; gap: 6px; margin-bottom: 18px; }

.re-nav-tab {
  font-size: 13px;
  padding: 6px 18px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  font-weight: 600;
  transition: all var(--transition);
  font-family: 'DM Sans', sans-serif;
}
.re-nav-tab:hover { border-color: var(--navy); color: var(--navy); }
.re-nav-tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.re-table-scroll { overflow-x: auto; border-radius: var(--radius-sm); }

.re-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.re-table thead tr {
  background: var(--navy);
  color: #fff;
}

.re-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
}

.re-table td {
  padding: 14px 16px;
  text-align: left;
  font-size: 13.5px;
  vertical-align: middle;
  color: var(--text-body);
}

.re-table tbody tr { border-bottom: 1px solid var(--border); transition: background var(--transition); }
.re-table tbody tr:hover { background: var(--bg-subtle); }
.re-table tbody tr:last-child { border-bottom: none; }

.re-company-cell { display: flex; align-items: center; gap: 12px; }
.re-company-logo-wrap { position: relative; width: 40px; height: 40px; flex-shrink: 0; }
.re-company-logo { width: 40px; height: 40px; border-radius: var(--radius-sm); object-fit: cover; border: 1px solid var(--border); }
.re-company-flag { position: absolute; right: -6px; bottom: -6px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--bg-card); object-fit: cover; }

.re-company-name { font-size: 14px; font-weight: 600; color: var(--text-head); }
.re-company-tags { display: flex; gap: 6px; margin-top: 4px; }
.re-tag { font-size: 11px; padding: 2px 8px; border-radius: 4px; border: 1px solid var(--border); color: var(--text-muted); background: var(--bg-subtle); }
.re-tag-active { color: #1967D2; background: #EAF1FB; border-color: rgba(25,103,210,.2); }
.re-tag-country { color: var(--text-muted); }

.d-none { display: none !important; }

/* ========================================
   COMPANY SUMMARY SECTION
   ======================================== */
.company-summary-section { background: var(--bg-subtle); padding: 32px 0; }

.company-summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 36px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.company-summary-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.company-summary-left { flex: 1; display: flex; flex-direction: column; align-items: center; }

.company-summary-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-head);
  margin-bottom: 24px;
  align-self: flex-start;
  font-family: 'Fraunces', serif;
}

.company-summary-video {
  width: 100%;
  max-width: 480px;
  height: 270px;
  background: var(--navy);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
}

.company-summary-btn {
  padding: 11px 40px;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  color: var(--text-body);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  font-family: 'DM Sans', sans-serif;
}
.company-summary-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.company-summary-right {
  min-width: 280px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 52px;
}

.company-summary-keywords-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-head);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.company-summary-keywords-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }

.company-summary-keywords-list li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-body);
  font-size: 13.5px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.company-summary-keywords-list li::before {
  content: '✦';
  color: var(--gold);
  font-size: 10px;
  flex-shrink: 0;
}
.company-summary-keywords-list li:hover { border-color: var(--gold); color: var(--navy); }

/* ========================================
   NEWS SECTION
   ======================================== */
.news-section { background: var(--bg-subtle); padding: 32px 0 40px; }

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.news-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-head);
  margin-bottom: 24px;
  padding-left: 0;
  font-family: 'Fraunces', serif;
  border-bottom: 2px solid var(--border);
  padding-bottom: 16px;
}

.news-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.news-item {
  width: calc(50% - 7px);
  padding: 0;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
}
.news-item:hover .news-headline { color: var(--gold) !important; }

.news-item-inner {
  display: flex;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  gap: 16px;
  height: 140px;
  overflow: hidden;
  transition: all var(--transition);
}
.news-item:hover .news-item-inner {
  border-color: rgba(201,162,81,.4);
  box-shadow: var(--shadow-sm);
  background: var(--bg-card);
}

.news-img-wrap {
  width: 140px;
  height: 95px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--border);
  flex-shrink: 0;
}

.news-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.news-item:hover .news-img { transform: scale(1.06); }

.news-content { flex: 1; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }

.news-headline {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-head);
  margin-bottom: 0;
  line-height: 1.45;
  transition: color var(--transition);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-badge {
  background: linear-gradient(135deg, #F39C12, #E67E22);
  color: #fff;
  font-size: 10px;
  border-radius: 4px;
  padding: 2px 7px;
  font-weight: 700;
  letter-spacing: .05em;
  margin-right: 6px;
  text-transform: uppercase;
  flex-shrink: 0;
  vertical-align: middle;
}

.news-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-meta {
  display: flex;
  align-items: center;
  font-size: 11.5px;
  color: var(--text-muted);
  gap: 4px;
  margin-top: 4px;
}

.news-date { font-weight: 500; }

.news-view-more-wrap { display: flex; justify-content: center; margin-top: 20px; }

.news-view-more {
  cursor: pointer;
  background: var(--bg-subtle);
  color: var(--text-body);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 44px;
  transition: all var(--transition);
  font-family: 'DM Sans', sans-serif;
}
.news-view-more:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.hidden-news { display: none; }

/* ========================================
   MISC UTILITIES & LICENSE VALUE
   ======================================== */
.license-value {
  font-weight: 800;
  font-size: 1.05em;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Fraunces', serif;
}

.mb-20 { margin-bottom: 20px; }

/* ========================================
   RESPONSIVE — TABLET (max-width: 1100px)
   ======================================== */
@media (max-width: 1100px) {
  .broker-row { flex-wrap: wrap; }
  .broker-left  { width: 200px; }
  .logo-box     { width: 190px !important; height: 140px !important; }
  .score-box    { width: 190px !important; }
  .website-boxx { max-width: 100%; }
  .speed-info   { grid-template-columns: repeat(2, 1fr); }
  .company-summary-container { flex-direction: column; }
  .company-summary-right { margin-top: 0; width: 100%; }
  .news-item { width: 100%; }
  .avatrade-info-wrapper { flex-direction: column; }
}

/* ========================================
   RESPONSIVE — MOBILE (max-width: 768px)
   ======================================== */
@media (max-width: 768px) {
  :root { --radius-lg: 14px; }

  .comm-sub-nav .nav { padding: 0 14px; }
  .nav-list { font-size: 12px; }

  .broker-container { padding: 0 12px; margin: 14px auto; }
  .broker-row { flex-direction: column; padding: 16px !important; }
  .broker-left, .broker-center, .broker-right { width: 100%; }
  .broker-center { order: -1; }
  .logo-box { width: 100% !important; height: auto !important; min-height: 120px; }
  .score-box { width: 100% !important; height: 80px !important; }
  .broker-title { font-size: 22px !important; }
  .action-buttons { flex-direction: column; gap: 8px; }
  .website-boxx { max-width: 100%; }

  .dealer-tab-content { padding: 18px 14px; }
  .dealer-tab-license-row { flex-direction: column; align-items: flex-start; }
  .dealer-tab-license { width: 100%; padding: 12px 18px; font-size: 16px; }
  .dealer-tab-license-info { margin-left: 0; flex-wrap: wrap; gap: 12px; width: 100%; }
  .dealer-tab-license-info-item { min-width: auto; flex: 1; }

  .news-item { width: 100%; }
  .news-item-inner { height: auto; flex-direction: column; }
  .news-img-wrap { width: 100%; height: 160px; }

  .speed-info { grid-template-columns: 1fr 1fr; }
  .flex.sm\:flex-col { flex-direction: column; }
  .warp-right { width: 100%; }

  .data-tabs-content-row { flex-direction: column; }
  .data-tabs-left { border-right: none; border-bottom: 1px solid var(--border); }

  .company-summary-container { flex-direction: column; gap: 20px; padding: 0; }
  .company-summary-video { max-width: 100%; height: 200px; }
  .company-summary-right { margin-top: 0; min-width: 0; width: 100%; }

  .bizarea-header { flex-direction: column; gap: 12px; align-items: flex-start; }
  .bizarea-map-bar-wrap, .bizarea-donut-bar-wrap { flex-direction: column; }

  .basic-info-row { flex-direction: column; gap: 14px; }

  .reg-rating-grade { font-size: 1.8rem !important; }
  .reg-rating-label { font-size: 0.8rem; }

  #basic { display: none; }
  #ta    { display: none; }
  #tp    { display: block; }
  #basi  { display: block; }
}

/* ========================================
   SMALL MOBILE (max-width: 480px)
   ======================================== */
@media (max-width: 480px) {
  .broker-title { font-size: 18px !important; }
  .news-item-inner { padding: 12px; gap: 12px; }
  .score-value { font-size: 32px !important; }
  .dealer-tab-server-card { min-width: 260px; }
  .speed-info { grid-template-columns: 1fr; }
  .data-tabs-header, .marketing-tabs-header { padding: 0 14px; gap: 0; overflow-x: auto; }
  .dealerFixedMenu { padding: 12px 12px; font-size: 13px; }
  .reg-rating-grade { font-size: 1.5rem !important; }
}