:root {
  --tg88-deep: #030815;
  --tg88-navy: #02132d;
  --tg88-blue: #0577ff;
  --tg88-cyan: #1fe6ff;
  --tg88-gold: #ffd35b;
  --tg88-orange: #ff9d1e;
  --tg88-white: #fff;
  --tg88-soft: #d9ecff;
  --tg88-line: rgba(255,255,255,.16);
  --tg88-shadow: 0 24px 60px rgba(0,0,0,.42);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #1d2430;
  color: var(--tg88-white);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

body.tg88-body {
  overflow-x: hidden;
  background: #1d2430;
}

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

img {
  display: block;
  max-width: 100%;
}

.tg88-page {
  width: min(1080px, 100%);
  margin: 0 auto;
  overflow: hidden;
  background: var(--tg88-deep);
}

.tg88-wrap {
  width: min(980px, calc(100% - 56px));
  margin: 0 auto;
}

.tg88-top {
  background: linear-gradient(180deg, #071b3a, #020713);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.tg88-top .tg88-wrap {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.tg88-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.tg88-brand-mark {
  width: 58px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  color: #04122b;
  background: linear-gradient(135deg, var(--tg88-cyan), var(--tg88-gold));
  box-shadow: 0 0 22px rgba(31,230,255,.42), inset 0 -6px 0 rgba(0,0,0,.18);
  font-size: 17px;
}

.tg88-brand-name {
  color: var(--tg88-gold);
  font-size: 43px;
  text-shadow: 0 3px 0 #094aa9, 0 0 22px rgba(255,211,91,.36);
}

.tg88-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tg88-top-actions a,
.tg88-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

.tg88-top-actions a {
  min-width: 118px;
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
}

.tg88-top-actions a:first-child {
  color: #061a37;
  border-color: transparent;
  background: linear-gradient(180deg, #fff2a1, var(--tg88-orange));
  box-shadow: 0 12px 24px rgba(255,157,30,.25);
}

.tg88-nav {
  background: #071331;
  border-bottom: 1px solid rgba(31,230,255,.25);
}

.tg88-nav .tg88-wrap {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  overflow-x: auto;
}

.tg88-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  color: #eaf7ff;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

.tg88-nav a.is-active {
  color: #071331;
  background: linear-gradient(180deg, var(--tg88-cyan), #2c91ff);
  box-shadow: 0 0 22px rgba(31,230,255,.38);
}

.tg88-hero {
  min-height: 520px;
  position: relative;
  background:
    linear-gradient(90deg, rgba(2,8,21,.94) 0%, rgba(2,14,40,.78) 42%, rgba(2,8,21,.08) 70%),
    url("tg88-hero.png") center / cover no-repeat;
  border-bottom: 1px solid rgba(255,211,91,.28);
}

.tg88-hero .tg88-wrap {
  min-height: 520px;
  display: flex;
  align-items: center;
}

.tg88-hero-copy {
  width: 560px;
  padding-top: 10px;
}

.tg88-hero h1 {
  margin: 0 0 20px;
  color: #fff;
  font-size: 60px;
  line-height: 1.05;
  font-weight: 950;
  text-transform: uppercase;
  text-shadow: 0 8px 26px rgba(0,0,0,.62);
}

.tg88-hero h1 span,
.tg88-section-title h2 span,
.tg88-story h2 span,
.tg88-steps h2 span {
  color: var(--tg88-gold);
}

.tg88-hero p {
  margin: 0 0 28px;
  color: #dff6ff;
  font-size: 18px;
  line-height: 1.65;
  font-weight: 800;
}

.tg88-hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}

.tg88-btn {
  padding: 0 24px;
}

.tg88-btn-primary {
  color: #04122b;
  background: linear-gradient(180deg, #fff3a3, var(--tg88-orange));
  box-shadow: 0 14px 28px rgba(255,157,30,.3);
}

.tg88-btn-ghost {
  color: #fff;
  border: 1px solid rgba(31,230,255,.7);
  background: rgba(5,119,255,.14);
}

.tg88-content {
  padding: 34px 0 48px;
  background:
    radial-gradient(circle at 12% 0%, rgba(31,230,255,.2), transparent 32%),
    radial-gradient(circle at 86% 16%, rgba(255,211,91,.14), transparent 36%),
    #031126;
}

.tg88-safe-strip {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(31,230,255,.38);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(5,119,255,.2), rgba(255,211,91,.12));
  box-shadow: var(--tg88-shadow);
}

.tg88-safe-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #071331;
  background: linear-gradient(135deg, var(--tg88-cyan), var(--tg88-gold));
  font-size: 24px;
  font-weight: 950;
}

.tg88-safe-strip h2 {
  margin: 0 0 6px;
  color: var(--tg88-gold);
  font-size: 25px;
  line-height: 1.22;
  font-weight: 950;
}

.tg88-safe-strip p {
  margin: 0;
  color: var(--tg88-soft);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
}

.tg88-section-title {
  margin: 42px 0 22px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.tg88-section-title h2 {
  margin: 0;
  color: #fff;
  font-size: 32px;
  line-height: 1.18;
  font-weight: 950;
}

.tg88-section-title h2 span {
  color: var(--tg88-cyan);
}

.tg88-section-title a {
  color: var(--tg88-gold);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.tg88-category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.tg88-category {
  min-height: 150px;
  padding: 17px 10px;
  border: 1px solid rgba(31,230,255,.28);
  border-radius: 8px;
  text-align: center;
  background: linear-gradient(180deg, #0b2e64, #061a37);
}

.tg88-category-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  border-radius: 8px;
  color: #061a37;
  background: linear-gradient(180deg, #fff4a8, var(--tg88-orange));
  font-size: 24px;
  font-weight: 950;
  box-shadow: 0 0 20px rgba(255,211,91,.26);
}

.tg88-category h3 {
  margin: 0 0 7px;
  color: var(--tg88-gold);
  font-size: 15px;
  font-weight: 950;
  text-transform: uppercase;
}

.tg88-category p {
  margin: 0;
  color: #d6e8ff;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 700;
}

.tg88-split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  margin-top: 40px;
  align-items: start;
}

.tg88-story,
.tg88-steps,
.tg88-table-card,
.tg88-news-card,
.tg88-article-card,
.tg88-article-aside {
  border-radius: 8px;
  border: 1px solid rgba(31,230,255,.28);
  background: rgba(2,8,21,.78);
  box-shadow: var(--tg88-shadow);
}

.tg88-story,
.tg88-steps {
  padding: 26px;
}

.tg88-story h2,
.tg88-steps h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 950;
}

.tg88-story p {
  margin: 0 0 16px;
  color: #d9ecff;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 700;
}

.tg88-mini-banner {
  overflow: hidden;
  margin-top: 18px;
  border-radius: 8px;
  border: 1px solid rgba(255,211,91,.34);
  background: #061a37;
}

.tg88-mini-banner img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center;
}

.tg88-mini-banner strong {
  display: block;
  padding: 12px 14px;
  color: var(--tg88-gold);
  font-size: 13px;
  line-height: 1.4;
}

.tg88-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 96px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(255,211,91,.26);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(5,119,255,.18), rgba(255,211,91,.08));
}

.tg88-step-no {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #071331;
  background: linear-gradient(180deg, #fff4a8, var(--tg88-orange));
  font-size: 15px;
  font-weight: 950;
}

.tg88-step h3 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 17px;
  font-weight: 950;
}

.tg88-step p {
  margin: 0;
  color: #cde5ff;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
}

.tg88-table-card {
  overflow: hidden;
  margin-top: 36px;
}

.tg88-table-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: linear-gradient(90deg, #0057d7, #05c7ff 56%, #f2b43a);
}

.tg88-table-title h2 {
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 950;
}

.tg88-table-title small {
  color: #061a37;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.tg88-info-table {
  width: 100%;
  border-collapse: collapse;
}

.tg88-info-table th,
.tg88-info-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.55;
}

.tg88-info-table th {
  width: 24%;
  color: var(--tg88-gold);
  background: #061a37;
  font-weight: 950;
}

.tg88-info-table td {
  color: #e3f3ff;
  font-weight: 700;
}

.tg88-news {
  padding: 48px 0 54px;
  background: #020713;
  border-top: 1px solid rgba(31,230,255,.22);
}

.tg88-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tg88-news-card {
  overflow: hidden;
}

.tg88-news-media {
  position: relative;
  height: 170px;
  display: block;
  background: #061a37 url("tg88-hero.png") center / cover no-repeat;
}

.tg88-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 8px;
  color: #061a37;
  background: linear-gradient(180deg, #fff3a3, var(--tg88-orange));
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.tg88-news-body {
  padding: 18px 16px 20px;
}

.tg88-news-card h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 18px;
  line-height: 1.28;
  font-weight: 950;
}

.tg88-news-card p {
  margin: 0 0 16px;
  color: #cde5ff;
  font-size: 13px;
  line-height: 1.58;
  font-weight: 700;
}

.tg88-readmore {
  color: var(--tg88-gold);
  font-size: 13px;
  font-weight: 950;
}

.tg88-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.tg88-pagination li,
.tg88-pagination a,
.tg88-pagination span {
  min-width: 38px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(31,230,255,.34);
  border-radius: 8px;
  padding: 0 10px;
  background: #061a37;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.tg88-pagination a:hover,
.tg88-pagination .thisclass,
.tg88-pagination li.active a {
  color: #061a37;
  border-color: var(--tg88-cyan);
  background: var(--tg88-cyan);
}

.tg88-footer {
  padding: 42px 0 18px;
  background: linear-gradient(180deg, #071331, #020713);
  border-top: 1px solid rgba(255,255,255,.1);
}

.tg88-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 34px;
}

.tg88-footer-logo {
  margin-bottom: 14px;
  color: var(--tg88-gold);
  font-size: 40px;
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 2px 0 #094aa9;
}

.tg88-footer p {
  margin: 0;
  color: #d9ecff;
  font-size: 13px;
  line-height: 1.7;
  font-weight: 700;
}

.tg88-footer h3 {
  margin: 0 0 14px;
  color: var(--tg88-cyan);
  font-size: 16px;
  font-weight: 950;
  text-transform: uppercase;
}

.tg88-footer a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
  color: #f2fbff;
  font-size: 13px;
  font-weight: 800;
}

.tg88-copyright {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: #9db8d4;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.tg88-article-hero {
  padding: 66px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(2,8,21,.94), rgba(2,14,40,.76), rgba(2,8,21,.42)),
    url("tg88-hero.png") center / cover no-repeat;
  border-bottom: 1px solid rgba(255,211,91,.28);
}

.tg88-article-hero h1 {
  max-width: 760px;
  margin: 0 0 14px;
  color: #fff;
  font-size: 42px;
  line-height: 1.16;
  font-weight: 950;
  text-shadow: 0 8px 26px rgba(0,0,0,.62);
}

.tg88-article-hero p {
  max-width: 650px;
  margin: 0;
  color: #dff6ff;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 800;
}

.tg88-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  padding: 42px 0 54px;
}

.tg88-article-card {
  padding: 28px;
}

.tg88-article-meta {
  margin-bottom: 20px;
  color: var(--tg88-gold);
  font-size: 13px;
  font-weight: 900;
}

.tg88-article-body {
  color: #eff8ff;
  font-size: 16px;
  line-height: 1.82;
  font-weight: 500;
}

.tg88-article-body h2,
.tg88-article-body h3 {
  color: var(--tg88-cyan);
  line-height: 1.25;
}

.tg88-article-body a {
  color: var(--tg88-gold);
  font-weight: 850;
}

.tg88-article-body img {
  height: auto;
  margin: 20px auto;
  border-radius: 8px;
}

.tg88-article-aside {
  align-self: start;
  padding: 22px;
}

.tg88-article-aside h2 {
  margin: 0 0 15px;
  color: var(--tg88-cyan);
  font-size: 22px;
  font-weight: 950;
}

.tg88-article-aside a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: #f3fbff;
  font-size: 14px;
  font-weight: 850;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 960px) {
  .tg88-category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .tg88-split,
  .tg88-news-grid,
  .tg88-footer-grid,
  .tg88-article-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .tg88-page {
    width: 100%;
    max-width: 100vw;
  }

  .tg88-wrap {
    width: calc(100% - 28px);
    max-width: calc(100vw - 28px);
  }

  .tg88-top .tg88-wrap {
    min-height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
    justify-content: center;
  }

  .tg88-brand {
    width: 100%;
    justify-content: center;
  }

  .tg88-brand-name {
    font-size: 32px;
  }

  .tg88-brand-mark {
    width: 46px;
    height: 38px;
    font-size: 14px;
  }

  .tg88-top-actions {
    width: 100%;
    justify-content: center;
    gap: 10px;
  }

  .tg88-top-actions a {
    min-width: 104px;
    min-height: 36px;
    font-size: 12px;
  }

  .tg88-nav .tg88-wrap {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 8px 0;
    overflow-x: visible;
  }

  .tg88-nav a {
    width: 100%;
    min-height: 32px;
    padding: 0 6px;
    font-size: 11px;
    white-space: normal;
    text-align: center;
  }

  .tg88-hero,
  .tg88-hero .tg88-wrap {
    min-height: 480px;
  }

  .tg88-hero {
    background-position: center;
  }

  .tg88-hero-copy {
    width: 100%;
  }

  .tg88-hero h1 {
    font-size: 31px;
  }

  .tg88-hero p {
    font-size: 15px;
  }

  .tg88-hero-actions,
  .tg88-section-title,
  .tg88-table-title {
    align-items: stretch;
    flex-direction: column;
  }

  .tg88-safe-strip {
    grid-template-columns: 1fr;
  }

  .tg88-btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .tg88-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tg88-story,
  .tg88-steps,
  .tg88-article-card {
    padding: 22px 18px;
  }

  .tg88-section-title h2,
  .tg88-story h2,
  .tg88-steps h2,
  .tg88-article-hero h1 {
    font-size: 25px;
  }

  .tg88-hero h1,
  .tg88-safe-strip h2,
  .tg88-safe-strip p,
  .tg88-section-title h2,
  .tg88-story h2,
  .tg88-steps h2,
  .tg88-news-card h3,
  .tg88-article-hero h1,
  .tg88-article-body,
  .tg88-info-table td {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .tg88-info-table th,
  .tg88-info-table td {
    display: block;
    width: 100%;
  }
}

.tg88-terms-news .tg88-news-media {
  display: none;
}

.tg88-terms-news .tg88-news-body {
  padding-top: 24px;
}
