/* ===== Style 6: Glassmorphism ===== */
html{ font-size: 100% !important; }
@keyframes mqh_tbfive_gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.mqh_tbfive_glass-wrap {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #fff;
  line-height: 1.75;
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #667eea 100%);
  background-size: 400% 400%;
  animation: mqh_tbfive_gradient-shift 15s ease infinite;
  position: relative;
  min-height: 100vh;
}

/* --- Decorative Background Circles --- */
.mqh_tbfive_glass-wrap::before {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255,0,150,0.25) 0%, transparent 70%);
  border-radius: 50%;
  top: -100px;
  right: -80px;
  z-index: 0;
  pointer-events: none;
}

.mqh_tbfive_glass-wrap::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0,200,255,0.2) 0%, transparent 70%);
  border-radius: 50%;
  bottom: 10%;
  left: -60px;
  z-index: 0;
  pointer-events: none;
}

.mqh_tbfive_glass-wrap > * {
  position: relative;
  z-index: 1;
}

/* --- Glass Card Base --- */
.mqh_tbfive_glass-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 32px;
  margin-bottom: 28px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.mqh_tbfive_glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
}

/* --- Glow border effect --- */
.mqh_tbfive_glow::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.3), transparent 50%, rgba(255,255,255,0.15));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.mqh_tbfive_glow:hover::before {
  opacity: 1;
}

/* --- Hero / Intro Area --- */
.mqh_tbfive_hero {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 44px 36px;
  margin-bottom: 32px;
  text-align: center;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.mqh_tbfive_hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
  margin-bottom: 22px;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.mqh_tbfive_intro-text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  text-align: left;
  margin-bottom: 14px;
  line-height: 1.85;
}

.mqh_tbfive_intro-image {
  width: 100%;
  max-width: 680px;
  margin: 24px auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.15);
}

/* --- Table of Contents --- */
.mqh_tbfive_toc {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 28px 32px;
  margin: 28px 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: border-color 0.3s ease;
}

.mqh_tbfive_toc:hover {
  border-color: rgba(255,255,255,0.4);
}

.mqh_tbfive_toc h2 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 18px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.15);
}

.mqh_tbfive_toc ol {
  list-style: none;
  padding-left: 0;
  counter-reset: toc-num;
}

.mqh_tbfive_toc ol li {
  counter-increment: toc-num;
  margin-bottom: 12px;
  font-size: 1.05rem;
  padding-left: 40px;
  position: relative;
}

.mqh_tbfive_toc ol li::before {
  content: counter(toc-num);
  position: absolute;
  left: 0;
  top: 1px;
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.mqh_tbfive_toc a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: color 0.3s ease, border-color 0.3s ease, text-shadow 0.3s ease;
}

.mqh_tbfive_toc a:hover {
  color: #fff;
  border-bottom-color: #fff;
  text-shadow: 0 0 8px rgba(255,255,255,0.5);
}

/* --- Section Cards --- */
.mqh_tbfive_section {
  position: relative;
}

.mqh_tbfive_section h2 {
  font-size: 1.7rem;
  color: #fff;
  margin-bottom: 18px;
  font-weight: 700;
  text-shadow: 0 1px 8px rgba(0,0,0,0.15);
}

.mqh_tbfive_section h2 .mqh_tbfive_num {
  display: inline-flex;
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  margin-right: 12px;
  vertical-align: middle;
}

.mqh_tbfive_section p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 14px;
  line-height: 1.8;
}

/* --- Floating Image --- */
.mqh_tbfive_float-img {
  float: right;
  width: 38%;
  margin: 0 0 16px 20px;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.2);
}

/* --- Glass Info Box --- */
.mqh_tbfive_info-box {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-left: 4px solid rgba(255,255,255,0.6);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin: 18px 0;
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

/* --- Chart Area --- */
.mqh_tbfive_chart-wrap {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 24px;
  margin: 22px 0;
}

.mqh_tbfive_chart-wrap h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 16px;
  text-align: center;
  text-shadow: 0 1px 6px rgba(0,0,0,0.1);
}

.mqh_tbfive_chart-wrap canvas {
  max-width: 100%;
  margin: 0 auto;
}

/* --- Table --- */
.mqh_tbfive_table-wrap {
  overflow-x: auto;
  margin: 22px 0;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
}

.mqh_tbfive_table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.mqh_tbfive_table-wrap thead th {
  background: rgba(255,255,255,0.15);
  color: #fff;
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  text-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.mqh_tbfive_table-wrap tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.88);
  transition: background 0.25s ease;
}

.mqh_tbfive_table-wrap tbody tr:hover td {
  background: rgba(255,255,255,0.08);
}

.mqh_tbfive_table-wrap tbody tr:nth-child(even) td {
  background: rgba(255,255,255,0.04);
}

.mqh_tbfive_table-wrap tbody tr:nth-child(even):hover td {
  background: rgba(255,255,255,0.1);
}

/* --- FAQ Accordion --- */
.mqh_tbfive_faq-item {
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.mqh_tbfive_faq-item:hover {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
}

.mqh_tbfive_faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 44px 16px 20px;
  font-size: 1.05rem;
  font-family: inherit;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
}

.mqh_tbfive_faq-question:hover {
  color: #fff;
}

.mqh_tbfive_faq-question::after {
  content: "\25B6";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  transition: transform 0.3s ease;
}

.mqh_tbfive_faq-item.active .mqh_tbfive_faq-question::after {
  transform: translateY(-50%) rotate(-90deg);
}

.mqh_tbfive_faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 20px;
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
}

.mqh_tbfive_faq-item.active .mqh_tbfive_faq-answer {
  max-height: 500px;
  padding: 0 20px 18px;
}

/* --- Conclusion --- */
.mqh_tbfive_conclusion {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 36px;
  margin-top: 28px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
  text-align: center;
}

.mqh_tbfive_conclusion h2 {
  font-size: 1.7rem;
  color: #fff;
  margin-bottom: 16px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.mqh_tbfive_conclusion p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 14px;
  line-height: 1.8;
  text-align: left;
}

/* --- Clearfix --- */
.mqh_tbfive-clearfix::after {
  content: "";
  display: table;
  clear: both;
}
