:root {
  --bjy6-pri: #52422b;
  --bjy6-acc: #4924b4;
  --bjy6-bg: #0b0914;
  --bjy6-fg: #eae8f0;
  --bjy6-glass-bg: rgba(255, 255, 255, 0.03);
  --bjy6-glass-border: rgba(255, 255, 255, 0.08);
  --bjy6-font-head: 'Kanit', sans-serif;
  --bjy6-font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  background-color: var(--bjy6-bg);
  color: var(--bjy6-fg);
  font-family: var(--bjy6-font-body);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--bjy6-fg); text-decoration: none; transition: all 0.3s ease; }
a:hover { color: #8e6ee8; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

.bjy6-glass {
  background: var(--bjy6-glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--bjy6-glass-border);
  border-radius: 16px;
}

.bjy6-title, .bjy6-sec-title, .bjy6-page-title, .bjy6-hero-title {
  font-family: var(--bjy6-font-head);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 1rem;
}

.bjy6-sec-title {
  font-size: 1.75rem;
  border-left: 4px solid var(--bjy6-acc);
  padding-left: 12px;
}

.bjy6-header {
  background: rgba(11, 9, 20, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--bjy6-pri);
  position: sticky;
  top: 0;
  z-index: 100;
}

.bjy6-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.bjy6-logo {
  font-family: var(--bjy6-font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
}

.bjy6-nav {
  flex-grow: 1;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.bjy6-nav::-webkit-scrollbar { display: none; }

.bjy6-nav-list {
  display: flex;
  gap: 24px;
  white-space: nowrap;
  justify-content: flex-end;
}

.bjy6-nav-link {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 4px;
}
.bjy6-nav-link:hover {
  color: #8e6ee8;
  text-shadow: 0 0 8px var(--bjy6-acc);
}

.bjy6-ticker {
  background: #151025;
  border-bottom: 1px solid var(--bjy6-pri);
  overflow: hidden;
  display: flex;
  padding: 8px 0;
  white-space: nowrap;
}

.bjy6-ticker-track {
  display: flex;
  gap: 40px;
  animation: bjy6-scroll 25s linear infinite;
}

.bjy6-ticker-item {
  font-size: 13px;
  font-weight: 500;
  color: #a99ec4;
}

.bjy6-ticker-link:hover {
  color: #fff;
  text-decoration: underline;
}

@keyframes bjy6-scroll {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

.bjy6-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  flex-grow: 1;
}

.bjy6-hero-magazine {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.bjy6-hero-media {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--bjy6-pri);
}

.bjy6-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bjy6-hero-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bjy6-hero-title {
  font-size: 2.2rem;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 0 10px rgba(73, 36, 180, 0.5);
}

.bjy6-slogan {
  font-size: 1rem;
  color: #c4b9d8;
  margin-bottom: 24px;
}

.bjy6-stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.bjy6-stat {
  background: rgba(82, 66, 43, 0.2);
  border: 1px solid var(--bjy6-pri);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.bjy6-stat-num {
  font-family: var(--bjy6-font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
}

.bjy6-stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #a99ec4;
}

.bjy6-tabs-header {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.bjy6-tab-btn {
  background: var(--bjy6-glass-bg);
  border: 1px solid var(--bjy6-glass-border);
  color: var(--bjy6-fg);
  padding: 10px 24px;
  border-radius: 20px;
  font-family: var(--bjy6-font-head);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.bjy6-tab-btn:hover, .bjy6-tab-btn.bjy6-active {
  background: var(--bjy6-acc);
  border-color: var(--bjy6-acc);
  color: #fff;
  box-shadow: 0 0 15px var(--bjy6-acc);
}

.bjy6-tab-content {
  display: none;
  animation: bjy6-fade 0.4s ease;
}
.bjy6-tab-content.bjy6-active {
  display: block;
}

@keyframes bjy6-fade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.bjy6-tab-msg {
  font-size: 15px;
  color: #a99ec4;
  padding: 20px;
  text-align: center;
  border: 1px dashed var(--bjy6-pri);
  border-radius: 12px;
}

.bjy6-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.bjy6-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.3s ease;
}

.bjy6-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px var(--bjy6-acc), inset 0 0 10px rgba(73, 36, 180, 0.3);
  border-color: #8e6ee8;
}

.bjy6-card-img-wrap {
  position: relative;
  padding-top: 65%;
  overflow: hidden;
  border-bottom: 1px solid var(--bjy6-glass-border);
}

.bjy6-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bjy6-card:hover .bjy6-card-img {
  transform: scale(1.1);
}

.bjy6-card-content {
  padding: 20px;
  position: relative;
  flex-grow: 1;
}

.bjy6-badge {
  position: absolute;
  top: -12px;
  right: 16px;
  background: var(--bjy6-acc);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.bjy6-card-title {
  font-family: var(--bjy6-font-head);
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 8px;
}

.bjy6-card-sub {
  font-size: 13px;
  color: #a99ec4;
}

.bjy6-magazine-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.bjy6-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.bjy6-feature-card {
  padding: 20px;
  transition: transform 0.3s ease;
}
.bjy6-feature-card:hover {
  background: rgba(82, 66, 43, 0.15);
}

.bjy6-feature-title {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 8px;
}

.bjy6-feature-desc {
  font-size: 14px;
  color: #c4b9d8;
}

.bjy6-steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bjy6-step-item {
  background: var(--bjy6-glass-bg);
  border: 1px solid var(--bjy6-glass-border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
}

.bjy6-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  background: var(--bjy6-acc);
  color: #fff;
  font-family: var(--bjy6-font-head);
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(73, 36, 180, 0.5);
}

.bjy6-payments {
  padding: 24px;
  text-align: center;
}

.bjy6-payments .bjy6-sec-title {
  border: none;
  padding: 0;
  margin-bottom: 16px;
}

.bjy6-payments-text {
  font-size: 14px;
  color: #a99ec4;
  line-height: 1.8;
}

.bjy6-article-wrap {
  padding: 32px;
  font-size: 16px;
  line-height: 1.8;
  color: #d1c8e1;
}

.bjy6-article-wrap h2, .bjy6-article-wrap h3 {
  font-family: var(--bjy6-font-head);
  color: #fff;
  margin: 1.5em 0 0.8em;
  text-transform: uppercase;
}

.bjy6-article-wrap h2 { font-size: 1.8rem; border-bottom: 1px solid var(--bjy6-pri); padding-bottom: 8px; }
.bjy6-article-wrap h3 { font-size: 1.4rem; }
.bjy6-article-wrap p { margin-bottom: 1.2em; }
.bjy6-article-wrap ul, .bjy6-article-wrap ol { margin: 0 0 1.5em 1.5em; }
.bjy6-article-wrap li { margin-bottom: 0.5em; }
.bjy6-article-wrap table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; }
.bjy6-article-wrap th, .bjy6-article-wrap td { border: 1px solid var(--bjy6-glass-border); padding: 12px; text-align: left; }
.bjy6-article-wrap th { background: rgba(82, 66, 43, 0.3); font-family: var(--bjy6-font-head); }
.bjy6-article-wrap blockquote { border-left: 4px solid var(--bjy6-acc); padding-left: 16px; margin: 1.5em 0; font-style: italic; color: #a99ec4; }

.bjy6-crumbs-wrap { margin-bottom: 16px; overflow-x: auto; }
.bjy6-crumbs { display: flex; gap: 8px; white-space: nowrap; font-size: 13px; }
.bjy6-crumb-item::after { content: '/'; margin-left: 8px; color: #666; }
.bjy6-crumb-item:last-child::after { display: none; }
.bjy6-crumb-link { color: #a99ec4; }
.bjy6-crumb-link:hover { color: #fff; text-decoration: underline; }

.bjy6-page-header {
  padding: 32px;
  margin-bottom: 30px;
  text-align: center;
}

.bjy6-meta-desc {
  font-size: 15px;
  color: #a99ec4;
  max-width: 800px;
  margin: 0 auto;
}

.bjy6-faq-section { margin-top: 20px; }
.bjy6-faq-wrap { display: flex; flex-direction: column; gap: 12px; }
.bjy6-faq-item {
  background: var(--bjy6-glass-bg);
  border: 1px solid var(--bjy6-glass-border);
  border-radius: 12px;
  overflow: hidden;
}
.bjy6-faq-q {
  padding: 16px 20px;
  font-family: var(--bjy6-font-head);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.bjy6-faq-q::-webkit-details-marker { display: none; }
.bjy6-faq-q::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--bjy6-acc);
}
.bjy6-faq-item[open] .bjy6-faq-q::after { content: '-'; }
.bjy6-faq-a {
  padding: 0 20px 20px;
  font-size: 15px;
  color: #c4b9d8;
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 8px;
  padding-top: 16px;
}

.bjy6-related-grid { display: flex; flex-wrap: wrap; gap: 16px; padding: 20px; }

.bjy6-pager-wrap { margin-top: 30px; display: flex; justify-content: center; }
.bjy6-pager { display: flex; gap: 12px; flex-wrap: wrap; }
.bjy6-pager-link {
  background: var(--bjy6-glass-bg);
  border: 1px solid var(--bjy6-glass-border);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}
.bjy6-pager-link:hover {
  background: var(--bjy6-acc);
  border-color: var(--bjy6-acc);
  color: #fff;
}

.bjy6-footer {
  background: #06050b;
  border-top: 1px solid var(--bjy6-pri);
  padding: 40px 20px;
  margin-top: auto;
}

.bjy6-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.bjy6-footer-brand {
  font-family: var(--bjy6-font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: #52422b;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.bjy6-footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.bjy6-footer-links a {
  font-size: 14px;
  color: #a99ec4;
}
.bjy6-footer-links a:hover { color: #fff; }

.bjy6-footer-legal {
  font-size: 12px;
  color: #666;
  max-width: 800px;
  line-height: 1.6;
}
.bjy6-footer-legal p { margin-bottom: 8px; }

/* Breakpoints */
@media (max-width: 900px) {
  .bjy6-hero-magazine {
    grid-template-columns: 1fr;
  }
  .bjy6-magazine-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .bjy6-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .bjy6-nav {
    width: 100%;
  }
  .bjy6-nav-list {
    justify-content: flex-start;
  }
  .bjy6-stats-row {
    grid-template-columns: 1fr 1fr;
  }
  .bjy6-article-wrap {
    padding: 24px 16px;
  }
  .bjy6-hero-content {
    padding: 24px 16px;
  }
  .bjy6-hero-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 15px;
  }
  .bjy6-main {
    padding: 20px 12px;
    gap: 30px;
  }
  .bjy6-stats-row {
    grid-template-columns: 1fr;
  }
  .bjy6-cards-grid {
    grid-template-columns: 1fr;
  }
  .bjy6-sec-title {
    font-size: 1.5rem;
  }
  .bjy6-footer-brand {
    font-size: 1.5rem;
  }
  .bjy6-tab-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
  .bjy6-step-item {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}
