/* Tencent Games — styles (cyan gaming theme, unique class names) */
:root {
  --bg: #F5F8FA;
  --surface: #FFFFFF;
  --ink: #16222B;
  --muted: #5E6B76;
  --primary: #0891B2;
  --primary-ink: #FFFFFF;
  --accent: #F59E0B;
  --line: #E3E9EE;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(22,34,43,.05), 0 10px 26px rgba(22,34,43,.07);
  --font-head: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.72;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-head); line-height: 1.16; margin: 0 0 .55em; font-weight: 600; }
h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.tg-wrap { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.tg-narrow { max-width: 720px; }

/* Header */
.tg-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
}
.tg-header .tg-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.tg-logo { font-family: var(--font-head); font-weight: 700; font-size: 1.28rem; color: var(--ink); }
.tg-logo:hover { text-decoration: none; }
.tg-logo .tg-mark { color: var(--primary); }
.tg-menu { display: flex; align-items: center; gap: 22px; }
.tg-menu a { color: var(--muted); font-weight: 500; font-size: .95rem; }
.tg-menu a:hover { color: var(--ink); text-decoration: none; }
.tg-menu .tg-cta { background: var(--primary); color: var(--primary-ink); padding: 9px 18px; border-radius: 8px; font-weight: 600; }
.tg-menu .tg-cta:hover { text-decoration: none; opacity: .92; }

/* Hero */
.tg-hero { padding: 68px 0 48px; text-align: center; }
.tg-badge { display: inline-block; background: #E0F5FA; color: var(--primary); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; padding: 6px 15px; border-radius: 999px; margin-bottom: 20px; }
.tg-hero p.tg-lead { color: var(--muted); font-size: 1.16rem; max-width: 620px; margin: 0 auto 28px; }
.tg-btn { display: inline-block; background: var(--primary); color: var(--primary-ink); font-weight: 600; padding: 14px 30px; border-radius: 8px; font-size: 1.02rem; }
.tg-btn:hover { text-decoration: none; opacity: .92; }

/* Section */
.tg-section { padding: 54px 0; }
.tg-section-soft { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tg-head { max-width: 620px; margin-bottom: 32px; }
.tg-head.tg-center { margin-left: auto; margin-right: auto; text-align: center; }
.tg-muted { color: var(--muted); }

/* Guide */
.tg-guide p:first-of-type { font-size: 1.08rem; }
.tg-guide h3 { color: var(--primary); margin-top: 1.5em; }
.tg-guide .tg-fact {
  margin: 1.4em 0; padding: 16px 18px; background: #F0F8FB; border: 1px solid #D3E9F0;
  border-radius: var(--radius); color: var(--muted); font-size: .98rem;
}

/* Topics */
.tg-grid { display: grid; gap: 20px; }
.tg-grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.tg-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.tg-card h3 { margin-bottom: 8px; }
.tg-card p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Subscribe */
.tg-subscribe { background: var(--ink); color: #DCE6EC; border-radius: var(--radius); padding: 46px 32px; text-align: center; }
.tg-subscribe h2 { color: #fff; }
.tg-subscribe p { color: #A9B9C4; max-width: 520px; margin: 0 auto 24px; }
.tg-subscribe form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; flex-wrap: wrap; }
.tg-subscribe input[type=email] { flex: 1 1 200px; padding: 13px 16px; border: 1px solid #3A4A56; border-radius: 8px; font-size: 1rem; font-family: var(--font-body); background: #fff; color: var(--ink); }
.tg-subscribe button { background: var(--accent); color: #1A2A33; border: none; border-radius: 8px; padding: 13px 26px; font-weight: 700; font-size: 1rem; cursor: pointer; font-family: var(--font-body); }
.tg-subscribe button:hover { opacity: .92; }
.tg-subscribe .tg-hint { font-size: .8rem; color: #8295A1; margin: 16px 0 0; }

/* Footer */
.tg-footer { background: #101A22; color: #A9B9C4; padding: 46px 0 30px; margin-top: 56px; }
.tg-footer a { color: #E8F0F5; }
.tg-footer .tg-inner { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.tg-footer .tg-logo { color: #fff; }
.tg-footer .tg-cols { display: flex; flex-direction: column; gap: 10px; font-size: .95rem; }
.tg-footer .tg-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 20px; font-size: .82rem; opacity: .6; }
.tg-footer .tg-disclaimer { font-size: .8rem; opacity: .5; max-width: 520px; margin-top: 14px; }

/* Simple page */
.tg-pagehead { padding: 56px 0 20px; }
.tg-prose { max-width: 720px; }
.tg-prose h2 { margin-top: 1.6em; }
.tg-prose a { text-decoration: underline; }

/* Contact form */
.tg-form { margin-top: 8px; max-width: 520px; }
.tg-form label { display: block; font-weight: 600; margin: 16px 0 6px; font-size: .92rem; }
.tg-form input, .tg-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--font-body); font-size: 1rem; background: var(--surface); color: var(--ink); }
.tg-form input:focus, .tg-form textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: var(--primary); }
.tg-form button { margin-top: 18px; background: var(--primary); color: var(--primary-ink); border: none; border-radius: 8px; padding: 13px 28px; font-weight: 600; font-size: 1rem; cursor: pointer; font-family: var(--font-body); }
.tg-form button:hover { opacity: .92; }

@media (max-width: 700px) {
  .tg-menu a { display: none; }
  .tg-menu a.tg-cta { display: inline-block; }
}
