:root {
  --bg-main: #0a0b0e;
  --bg-hub: #0f1015;
  --card-bg: linear-gradient(145deg, #181a22 0%, #12131a 100%);
  --border-color: #2a2e3d;
  --text-main: #f0f2f5;
  --text-muted: #d1d5db;
  --accent-orange: #ff9900;
  --accent-green: #00ff88;
  --accent-blue: #00b8ff;
  --accent-red: #ff0055;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  margin: 0;
  padding: 20px 10px;
}

.container {
  max-width: 920px;
  margin: 10px auto 0 auto;
}

/* Primary Container */
.mb-hub {
  background: var(--bg-hub);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Card System */
.mb-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.mb-card:last-child {
  margin-bottom: 0;
}

/* Top Accent Line Colors */
.mb-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-red));
}

.mb-card.green-border::before {
  background: linear-gradient(90deg, var(--accent-green), var(--accent-blue));
}

.mb-card.blue-border::before {
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-red));
}

.mb-card.gold-border::before {
  background: linear-gradient(90deg, #ffb700, var(--accent-orange));
}

/* Typography & SEO Headings */
h1 {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px 0;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

h2 {
  font-size: 19px;
  font-weight: 650;
  color: #ffffff;
  margin: 0 0 12px 0;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

p,
li {
  color: var(--text-muted);
  font-size: 14px;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
}

/* Highlights & Quotes */
.mb-quote {
  background: rgba(255, 153, 0, 0.08);
  border-left: 4px solid var(--accent-orange);
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--text-muted);
}

.mb-quote.green {
  background: rgba(0, 255, 136, 0.06);
  border-color: var(--accent-green);
}

.mb-quote.blue {
  background: rgba(0, 184, 255, 0.06);
  border-color: var(--accent-blue);
}

/* Grid Layouts */
.mb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.mb-grid-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 14px;
  font-size: 13px;
  line-height: 1.4;
  transition:
    transform 0.2s,
    border-color 0.2s;
}

.mb-grid-item:hover {
  transform: translateY(-2px);
  border-color: var(--accent-orange);
}

.mb-grid-item strong {
  color: #fff;
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.mb-item-title {
  display: block;
  margin-bottom: 5px;
  color: #f0f2f5;
  font-size: 14px;
  font-weight: 600;
}

/* Steps List */
.mb-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
}

.mb-step-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
}

.mb-step-num {
  background: var(--accent-orange);
  color: #000;
  font-weight: 700;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Table Styling */
.mb-table-wrapper {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  margin: 16px 0;
}

.mb-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.mb-table th {
  background: #1f2330;
  color: #9ca3af;
  font-weight: 700;
  padding: 12px 16px;
  font-size: 11px;
  letter-spacing: 0.5px;
}

.mb-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  background: #151720;
}

.mb-table tr:last-child td {
  border-bottom: none;
}

.mb-table tr:hover td {
  background: #1c1f2c;
}

.mb-rtp {
  color: var(--accent-green);
  font-weight: 650;
  background: rgba(0, 255, 136, 0.1);
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-block;
}

.mb-time {
  color: var(--accent-blue);
  font-weight: 700;
}

/* FAQ System */
.mb-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mb-faq-item {
  background: #151720;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 16px;
}

.mb-faq-q {
  font-weight: 650;
  font-size: 15px;
  color: var(--accent-orange);
  margin-bottom: 8px;
}

.mb-faq-a {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

body {
  padding: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #0c0e14;
  border-bottom: 1px solid var(--border-color);
}

.site-header-inner {
  width: min(920px, calc(100% - 24px));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-slot {
  width: 220px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #596174;
  border-radius: 10px;
  color: #b7bdc9;
  font-size: 13px;
  text-align: center;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.header-button {
  height: 52px;
  min-width: 150px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--accent-orange);
  color: #111 !important;
  font-size: 15px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none !important;
  border: none;
}

.header-button.secondary {
  background: #314f7a;
  color: #fff !important;
}

.site-footer {
  margin-top: 24px;
  padding: 28px 16px;
  border-top: 1px solid var(--border-color);
  background: #0c0e14;
  color: var(--text-muted);
  text-align: center;
  font-size: 14px;
}

@media (max-width: 640px) {
  .site-header-inner {
    min-height: auto;
    padding: 10px 0;
    align-items: stretch;
    flex-direction: column;
  }
  .logo-slot {
    width: 100%;
    height: 48px;
  }
  .header-actions {
    width: 100%;
  }
  .header-button {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding: 0 12px;
  }
}

.logo img {
  display: block;
  max-width: 100%;
  height: auto;
}
