/* theme_015 — sbhk122 unified purple palette */
:root {
  /* Surfaces */
  --t15-bg: #f7f9fb;
  --t15-bg-2: #ffffff;
  --t15-bg-3: #f3eef8;
  --t15-bg-page: #e8e9ed;

  /* Text (slate) */
  --t15-text: #424a66;
  --t15-text-strong: #32394f;
  --t15-muted: #6a7391;
  --t15-muted-2: #67718f;
  --t15-line: rgba(114, 8, 145, 0.12);

  /* One brand purple */
  --t15-brand: #720891;
  --t15-brand-mid: #9b3db8;
  --t15-brand-soft: #d79ee5;
  --t15-brand-pale: #efdff4;
  --t15-brand-wash: #fdfbfe;

  /* Aliases — all accent paths point to purple */
  --t15-purple: var(--t15-brand-soft);
  --t15-purple-deep: var(--t15-brand);
  --t15-purple-light: var(--t15-brand-pale);
  --t15-purple-pale: var(--t15-brand-wash);
  --t15-accent: var(--t15-brand);
  --t15-accent-2: var(--t15-brand-mid);
  --t15-title: var(--t15-muted);
  --t15-title-sub: var(--t15-muted);

  --t15-nav-grad: linear-gradient(181deg, #fdfbfe, #efdff4);
  --t15-menu-grad: linear-gradient(180deg, #e6ccee, #720891);
  --t15-btn-grad: linear-gradient(99deg, #b45fd0, #720891);
  --t15-btn-grad-hover: linear-gradient(99deg, #9b3db8, #5a0673);

  --t15-radius: 14px;
  --t15-wrap: 1200px;
  --t15-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

  /* Hero / shared tokens */
  --banner-title-gradient: linear-gradient(179.24deg, #a73ccb 10%, #720891 88%);
  --primary-color: var(--t15-brand);
  --text-color: var(--t15-text);
  --button-bg: var(--t15-btn-grad);
  --button-bg-hover: var(--t15-btn-grad-hover);
  --button-color: #fff;
  --body-bg-color: var(--t15-bg);
  --banner_1: none;
  --tips: url("../img/site/tips.png");
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

#site,
#games,
#why,
#services,
#download,
#faq,
#news {
  scroll-margin-top: 84px;
}

body.theme-015 {
  margin: 0;
  font-family: var(--t15-font);
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(215, 158, 229, 0.28), transparent 55%),
    linear-gradient(180deg, #fdfbfe 0%, #f7f9fb 18%, #f7f9fb 82%, #efdff4 100%);
  background-color: var(--t15-bg);
  color: var(--t15-text);
  line-height: 1.6;
  min-height: 100vh;
}

/* Continuous page canvas — sections share one surface, no hard cuts */
body.theme-015 main,
body.theme-015 .t15-main {
  background: transparent;
}

body.theme-015 .site,
body.theme-015 .t3-section--value-split,
body.theme-015 .t15-service-section,
body.theme-015 .t15-download-section,
body.theme-015 .t15-faq,
body.theme-015 .t15-section {
  border: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none;
  background: transparent !important;
  background-image: none !important;
  background-color: transparent !important;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.t15-wrap {
  width: min(100% - 2rem, var(--t15-wrap));
  margin-inline: auto;
}

/* Header */
.t15-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  background: rgba(253, 251, 254, 0.88);
  border-bottom: 1px solid rgba(114, 8, 145, 0.1);
  box-shadow: 0 8px 24px rgba(114, 8, 145, 0.06);
}

.t15-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  min-height: 68px;
  padding: 0.55rem 0;
}

.t15-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
  min-width: 0;
  font-weight: 700;
  transition: opacity .18s ease;
}

.t15-brand:hover { opacity: 0.92; }

.t15-brand__logo,
.t15-brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
}

.t15-brand__logo {
  object-fit: contain;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 2px 8px rgba(114, 8, 145, 0.12);
}

.t15-brand__mark {
  display: grid;
  place-items: center;
  background: var(--t15-menu-grad);
  color: #fff;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(114, 8, 145, 0.22);
}

.t15-brand__text {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.t15-brand__name {
  letter-spacing: 0.02em;
  color: var(--t15-text-strong);
  font-size: 1.05rem;
  white-space: nowrap;
}

.t15-brand__badge {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0.05rem;
  min-width: 5.6rem;
  padding: 0.22rem 0.45rem 0.2rem;
  border-radius: 8px;
  background: rgba(215, 158, 229, 0.18);
  border: 1px solid rgba(215, 158, 229, 0.45);
  line-height: 1.05;
  text-align: center;
}

.t15-brand__tag {
  display: block;
  width: 100%;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-indent: 0.18em; /* optically center with letter-spacing */
  color: var(--t15-brand);
  text-align: center;
}

.t15-brand__sub {
  display: block;
  width: 100%;
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--t15-muted);
  white-space: nowrap;
  text-align: center;
}

.t15-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.92rem;
  color: var(--t15-muted);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.t15-nav::-webkit-scrollbar { display: none; }

.t15-nav a {
  position: relative;
  flex-shrink: 0;
  padding: 0.42rem 0.72rem;
  border-radius: 8px;
  white-space: nowrap;
  transition: color .18s ease, background .18s ease;
}

.t15-nav a:hover {
  color: var(--t15-text-strong);
  background: rgba(114, 8, 145, 0.06);
}

.t15-nav a.is-active {
  color: var(--t15-brand);
  font-weight: 700;
  background: rgba(114, 8, 145, 0.08);
  box-shadow: none;
}

.t15-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.15rem;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  transform: translateX(-50%);
  background: var(--t15-btn-grad);
}

.t15-header__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--t15-btn-grad);
  color: #fff !important;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(114, 8, 145, 0.28);
  transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}

.t15-header__cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 8px 20px rgba(114, 8, 145, 0.36);
  color: #fff !important;
}

/* Hero — site-info block, sbhk122 purple wash */
.site {
  width: 100%;
}

.site .site-info-container {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: transparent;
  padding-bottom: 0;
}

.site .site-info-container::before {
  content: none;
  display: none;
}

.site .site-info-container::after {
  content: none;
  display: none;
}

.site .site-info-container .site-info-wrapper {
  width: 1200px;
  min-width: 1200px;
  min-height: 680px;
  position: relative;
  z-index: 2;
  margin: 0 auto;
  padding-top: 70px;
  box-sizing: border-box;
}

.site .site-info-container .site-info-wrapper .site-info {
  display: flex;
  flex-direction: column;
}

.site .site-info-container .site-info-wrapper .site-info .site-info-title {
  font-style: normal;
  font-weight: 700;
  font-size: 80px;
  line-height: normal;
  margin: 0;
  width: fit-content;
  background: var(--banner-title-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: rgba(0, 0, 0, 0);
  background-clip: text;
}

.site .site-info-container .site-info-wrapper .site-info .site-info-subtitle {
  font-style: normal;
  font-weight: 400;
  font-size: 32px;
  margin: 0;
  width: fit-content;
  background: var(--banner-title-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: rgba(0, 0, 0, 0);
  background-clip: text;
}

.site .site-info-container .site-info-wrapper .site-desc {
  padding: 16px 0 20px;
  max-width: 450px;
  margin: 0;
  font-size: 16px;
  line-height: 26px;
  position: relative;
  display: block;
}

.site .site-info-container .site-info-wrapper .site-desc p {
  color: var(--text-color);
  margin: 0 0 0 14px;
  font-size: 15px;
  line-height: 26px;
  position: relative;
}

.site .site-info-container .site-info-wrapper .site-desc p::before {
  content: "";
  width: 5px;
  height: 5px;
  position: absolute;
  background: var(--primary-color);
  z-index: 1;
  left: -14px;
  top: 11px;
}

.site .site-info-container .site-info-wrapper .site-tips {
  display: flex;
  align-items: center;
  position: relative;
  width: max-content;
  min-width: 270px;
  height: 24px;
  padding: 0 10px 0 25px;
  border-radius: 15.5px;
  font-size: 12px;
  background: var(--button-bg);
  color: var(--button-color);
}

.site .site-info-container .site-info-wrapper .site-tips:hover {
  background: var(--button-bg-hover);
}

.site .site-info-container .site-info-wrapper .site-tips::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  left: 8px;
  top: 5px;
  background: center / cover var(--tips);
}

.site .site-info-container .site-info-wrapper .site-sponsor {
  margin-top: 22px;
  max-width: 500px;
}

.site .site-info-container .site-info-wrapper .site-sponsor img {
  max-width: 500px;
  max-height: 55px;
  height: auto;
  width: auto;
}

.site .site-info-container .site-info-wrapper .site-figure {
  position: absolute;
  z-index: 1;
  left: 520px;
  bottom: 40px;
  width: 640px;
  height: auto;
  max-width: none;
  object-fit: contain;
}

@media (max-width: 1240px) {
  .site .site-info-container .site-info-wrapper {
    width: 100%;
    min-width: 0;
    min-height: 0;
    padding: 48px 24px 36px;
    overflow: hidden;
  }

  .site .site-info-container .site-info-wrapper .site-info .site-info-title {
    font-size: clamp(36px, 7vw, 64px);
  }

  .site .site-info-container .site-info-wrapper .site-info .site-info-subtitle {
    font-size: clamp(20px, 4vw, 28px);
  }

  .site .site-info-container .site-info-wrapper .site-figure {
    position: relative;
    left: 0;
    bottom: auto;
    width: min(100%, 640px);
    height: auto;
    margin: 20px auto 0;
    display: block;
  }
}

@media (max-width: 720px) {
  .site .site-info-container .site-info-wrapper {
    padding: 28px 16px 24px;
  }

  .site .site-info-container .site-info-wrapper .site-info .site-info-title {
    font-size: 32px;
    letter-spacing: -0.5px;
  }

  .site .site-info-container .site-info-wrapper .site-info .site-info-subtitle {
    font-size: 18px;
  }

  .site .site-info-container .site-info-wrapper .site-desc {
    max-width: none;
    padding-top: 12px;
  }

  .site .site-info-container .site-info-wrapper .site-desc p {
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 6px;
  }

  .site .site-info-container .site-info-wrapper .site-tips {
    margin-top: 12px;
    min-width: 0;
    width: auto;
    max-width: 100%;
  }

  .site .site-info-container .site-info-wrapper .site-sponsor {
    margin-top: 14px;
  }

  .site .site-info-container .site-info-wrapper .site-sponsor img {
    max-width: 100%;
  }
}

.t15-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--t15-accent);
}

.t15-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.t15-btn:hover { transform: translateY(-1px); }

.t15-btn--primary {
  background: var(--t15-btn-grad);
  color: #fff;
  border: 1px solid transparent;
}

.t15-btn--primary:hover {
  background: var(--button-bg-hover);
  border-color: transparent;
}

.t15-btn--ghost {
  border-color: var(--t15-line);
  background: var(--t15-bg-2);
  color: var(--t15-text);
}

/* Sections */
.t15-section { padding: 3rem 0; }
.t15-section--muted { background: transparent; }

.t15-section__head { margin-bottom: 1.5rem; }
.t15-section__head h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
}

.t15-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.85rem;
}

.t15-cat-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: var(--t15-radius);
  background: var(--t15-bg-2);
  border: 1px solid var(--t15-line);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.t15-cat-card:hover {
  border-color: rgba(215, 158, 229, 0.55);
  background: var(--t15-purple-pale);
}

.t15-cat-card__name { font-weight: 600; }
.t15-cat-card__go { color: var(--t15-brand); }

.t15-article-list {
  display: grid;
  gap: 0.65rem;
}

.t15-article-row {
  border: 0;
  border-bottom: 1px solid var(--t15-line);
  border-radius: 0;
  background: transparent;
}

.t15-article-row:last-child {
  border-bottom: 0;
}

.t15-article-row__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
}

.t15-article-row__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.t15-article-row__meta {
  flex-shrink: 0;
  color: var(--t15-muted);
  font-size: 0.85rem;
}

.t15-empty {
  margin: 0;
  color: var(--t15-muted);
  padding: 1.25rem;
  border: 1px dashed var(--t15-line);
  border-radius: var(--t15-radius);
}

/* Footer — sbhk122 lavender bar */
.t15-footer {
  margin-top: 0;
  border-top: none;
  background: linear-gradient(180deg, transparent 0%, rgba(215, 158, 229, 0.28) 22%, #d79ee5 100%);
  padding: 2.75rem 0 1.15rem;
  color: #32394f;
}

.t15-footer__grid {
  display: grid;
  grid-template-columns: 1.55fr 0.9fr 0.9fr 1.05fr;
  gap: 1.75rem 1.5rem;
  align-items: start;
}

.t15-footer__brand-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem 0.7rem;
  margin-bottom: 0.7rem;
}

.t15-footer__brand {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  color: var(--t15-text-strong);
}

.t15-footer__badge {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  min-width: 5.2rem;
  padding: 0.18rem 0.42rem 0.16rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(114, 8, 145, 0.22);
  line-height: 1.05;
  text-align: center;
}

.t15-footer__badge-main {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  color: var(--t15-brand);
}

.t15-footer__badge-sub {
  font-size: 0.48rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--t15-muted);
}

.t15-footer__blurb,
.t15-footer__fine {
  margin: 0;
  color: rgba(50, 57, 79, 0.82);
  font-size: 0.88rem;
  line-height: 1.7;
}

.t15-footer__blurb { max-width: 36rem; }

.t15-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: var(--t15-btn-grad);
  color: #fff !important;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 16px rgba(114, 8, 145, 0.28);
  transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}

.t15-footer__cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 8px 20px rgba(114, 8, 145, 0.36);
  color: #fff !important;
}

.t15-footer__h {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--t15-brand);
}

.t15-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.t15-footer__links a {
  color: rgba(50, 57, 79, 0.82);
  font-size: 0.9rem;
  transition: color .16s ease;
}

.t15-footer__links a:hover { color: var(--t15-brand); }

.t15-footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(114, 8, 145, 0.16);
  color: rgba(50, 57, 79, 0.7);
  font-size: 0.8rem;
}

.t15-footer__bar-host {
  opacity: 0.85;
  word-break: break-all;
}

@media (max-width: 800px) {
  .t15-header__inner {
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem 0.75rem;
    min-height: 0;
    padding: 0.7rem 0 0.55rem;
  }

  .t15-brand__name { font-size: 0.98rem; }

  .t15-nav {
    order: 3;
    flex: 1 1 100%;
    justify-content: flex-start;
    gap: 0.15rem;
    padding-bottom: 0.15rem;
    margin: 0 -0.15rem;
  }

  .t15-nav a {
    padding: 0.38rem 0.62rem;
    font-size: 0.86rem;
  }

  .t15-header__cta {
    margin-left: auto;
    padding: 0.48rem 0.95rem;
    font-size: 0.84rem;
  }

  .t15-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem 1.1rem;
  }

  .t15-footer__col--brand {
    grid-column: 1 / -1;
  }

  .t15-article-row__link { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
}

@media (max-width: 560px) {
  .t15-footer__grid {
    grid-template-columns: 1fr;
  }

  .t15-footer__bar {
    flex-direction: column;
    align-items: flex-start;
  }
}
