/*
Theme Name: CoinPoker China
Theme URI: https://coinpokerchina.com/
Author: AsiaCoinPoker Ops
Description: 中文 SEO 内容站主题，适用于 CoinPoker 中文介绍、下载注册、玩法教程和德州扑克策略内容站。
Version: 0.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: coinpokerchina
Tags: blog, custom-logo, custom-menu, featured-images, one-column, two-columns
*/

:root {
  --cp-bg: #050607;
  --cp-panel: #0d1114;
  --cp-panel-2: #12171b;
  --cp-panel-3: #182026;
  --cp-line: #243039;
  --cp-text: #ffffff;
  --cp-muted: #95a3ad;
  --cp-soft: #d7dde2;
  --cp-red: #d7283c;
  --cp-red-2: #971427;
  --cp-red-dark: #3b0d16;
  --cp-blue: #7f8ea3;
  --cp-green: #e25567;
  --cp-gold: #d9a24a;
  --cp-radius: 8px;
  --cp-shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cp-bg);
  color: var(--cp-text);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

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

img {
  max-width: 100%;
  height: auto;
}

.cp-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.cp-site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(6, 8, 10, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.cp-header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cp-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.cp-brand-logo {
  display: block;
  width: 138px;
  height: auto;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}

.cp-brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b3f4c, var(--cp-red-dark));
  box-shadow: 0 0 18px rgba(217, 32, 56, 0.18);
}

.cp-brand-mark::before {
  content: "C";
  font-weight: 900;
  color: #fff;
}

.cp-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--cp-muted);
  font-size: 14px;
  font-weight: 700;
}

.cp-nav a:hover,
.cp-nav .current-menu-item > a {
  color: #fff;
}

.cp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(180deg, var(--cp-red), var(--cp-red-2));
  box-shadow: 0 14px 34px rgba(151, 20, 39, 0.24);
  white-space: nowrap;
}

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

.cp-btn-block {
  width: 100%;
}

.cp-btn-large {
  min-height: 58px;
  padding: 0 34px;
  font-size: 20px;
}

.cp-btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(215, 40, 60, 0.3);
  box-shadow: none;
}

.cp-hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  padding: 78px 0 60px;
  background:
    linear-gradient(180deg, rgba(7, 7, 8, 0.24) 0%, rgba(7, 7, 8, 0.08) 34%, rgba(7, 7, 8, 0.44) 100%),
    #090405 url("https://asiacoinpoker.com/wp-content/uploads/2026/04/homepage-hero-english-banner.webp") center top / contain no-repeat;
}

.cp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 4, 5, 0.98) 0%, rgba(9, 4, 5, 0.86) 8%, rgba(9, 4, 5, 0.18) 22%, rgba(9, 4, 5, 0.02) 44%, rgba(9, 4, 5, 0.02) 56%, rgba(9, 4, 5, 0.18) 78%, rgba(9, 4, 5, 0.86) 92%, rgba(9, 4, 5, 0.98) 100%),
    linear-gradient(180deg, rgba(9, 4, 5, 0.04), rgba(9, 4, 5, 0.12) 70%, rgba(9, 4, 5, 0.44) 100%);
  pointer-events: none;
}

.cp-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(430px, 0.88fr);
  gap: 0;
  align-items: center;
  min-height: 560px;
}

.cp-hero h1 {
  margin: 0 0 20px;
  max-width: 720px;
  font-size: 62px;
  line-height: 1.03;
  letter-spacing: 0;
}

.cp-hero p {
  margin: 0;
  max-width: 640px;
  color: var(--cp-soft);
  font-size: 17px;
}

.cp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.cp-hero-copy {
  max-width: 680px;
  padding: 0;
  margin-top: -12px;
}

.cp-hero-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.cp-hero-list li {
  position: relative;
  padding-left: 54px;
  min-height: 30px;
  color: var(--cp-soft);
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.cp-hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(230, 48, 70, 0.18), rgba(161, 20, 38, 0.18)),
    var(--cp-hero-icon) center / 22px 22px no-repeat,
    linear-gradient(180deg, #e63046, #a11426);
  box-shadow: 0 0 18px rgba(215, 40, 60, 0.24);
}

.cp-hero-list-rewards {
  --cp-hero-icon: url("assets/images/bonus-icon.png");
}

.cp-hero-list-withdrawals {
  --cp-hero-icon: url("assets/images/withdrawals-icon.png");
}

.cp-hero-list-secure {
  --cp-hero-icon: url("assets/images/secure-locked.png");
}

.cp-hero-list-bonus {
  --cp-hero-icon: url("assets/images/bonus-icon.png");
  padding-left: 60px;
  color: #ffe8ec;
}

.cp-hero-list-bonus::before {
  content: "";
}

.cp-section-why {
  background:
    linear-gradient(180deg, rgba(20, 23, 28, 0.9), rgba(9, 10, 13, 0.98)),
    radial-gradient(circle at 20% 100%, rgba(121, 18, 30, 0.14), transparent 32%),
    #07080b;
}

.cp-section-head-stack {
  display: block;
}

.cp-section-head-stack h2 {
  margin-bottom: 0;
}

.cp-section {
  padding: 74px 0;
}

.cp-section-alt {
  background: linear-gradient(180deg, #15181d 0%, #0f1115 100%);
}

.cp-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 28px;
}

.cp-section-head h2,
.cp-page-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
}

.cp-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--cp-muted);
  font-size: 14px;
}

.cp-breadcrumb a:hover {
  color: #fff;
}

.cp-section-head p {
  margin: 0;
  max-width: 520px;
  color: var(--cp-muted);
}

.cp-why-radial {
  position: relative;
  min-height: 720px;
}

.cp-why-intro h2 {
  margin: 0 0 16px;
  font-size: 58px;
  line-height: 1;
}

.cp-why-intro p {
  margin: 0;
  max-width: 420px;
  color: var(--cp-soft);
  font-size: 18px;
}

.cp-why-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(390px, 100%);
  text-align: center;
  transform: translate(-50%, -50%);
}

.cp-benefit-card {
  position: absolute;
  width: min(410px, calc(50% - 38px));
  min-height: 184px;
  padding: 28px 30px;
  border: 1px solid rgba(0, 230, 69, 0.58);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(15, 18, 22, 0.96), rgba(10, 12, 15, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(61, 239, 87, 0.06),
    -18px 0 34px rgba(0, 230, 69, 0.08);
}

.cp-benefit-card::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 36px;
  width: 14px;
  height: 48px;
  border-radius: 999px;
  background: #00f05b;
  filter: blur(7px);
  opacity: 0.92;
}

.cp-benefit-card h3 {
  margin: 0 0 14px;
  font-size: 22px;
}

.cp-benefit-card p {
  margin: 0;
  color: var(--cp-muted);
  line-height: 1.9;
}

.cp-benefit-card-a {
  left: 7%;
  top: 40px;
}

.cp-benefit-card-b {
  right: 3%;
  top: 40px;
}

.cp-benefit-card-c {
  left: 0;
  bottom: 92px;
}

.cp-benefit-card-d {
  right: 0;
  bottom: 92px;
}

.cp-benefit-card-e {
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

.cp-section-payments,
.cp-section-steps {
  background: #06070a;
}

.cp-center-head {
  text-align: center;
}

.cp-center-head h2 {
  margin: 0 0 18px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
}

.cp-center-head > p {
  margin: 0 auto;
  max-width: 980px;
  color: var(--cp-soft);
  font-size: 18px;
}

.cp-payment-grid {
  display: grid;
  gap: 16px;
  margin-top: 42px;
}

.cp-payment-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.cp-payment-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 70px;
  padding: 18px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.cp-payment-row .cp-payment-item:last-child {
  border-right: 0;
}

.cp-payment-row-fiat .cp-payment-item {
  min-width: 138px;
}

.cp-token {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.cp-token::before {
  content: "$";
}

.cp-token-usdt {
  background: #27a17b;
}

.cp-token-usdc {
  background: #2775ca;
}

.cp-token-btc {
  background: #f7931a;
}

.cp-token-btc::before {
  content: "B";
}

.cp-token-eth {
  background: #627eea;
}

.cp-token-eth::before {
  content: "E";
}

.cp-token-sol {
  border-radius: 6px;
  background: linear-gradient(135deg, #00ffa3, #9945ff);
}

.cp-token-sol::before {
  content: "S";
}

.cp-token-bnb {
  background: #f3ba2f;
}

.cp-token-bnb::before {
  content: "B";
}

.cp-token-pol {
  background: #8247e5;
}

.cp-token-pol::before {
  content: "P";
}

.cp-payment-wordmark {
  font-size: 22px;
  font-style: italic;
}

.cp-steps-line {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 28px;
  align-items: start;
  margin-top: 58px;
}

.cp-step-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
}

.cp-step-num {
  display: inline-flex;
  margin-bottom: 16px;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.1;
}

.cp-step-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.cp-step-card p {
  margin: 0;
  color: var(--cp-muted);
  font-size: 18px;
}

.cp-step-arrow {
  padding-top: 22px;
  color: #ff4ec8;
  font-size: 86px;
  line-height: 1;
  text-shadow: 0 0 18px rgba(255, 78, 200, 0.4);
}

.cp-steps-cta {
  justify-content: center;
  margin-top: 42px;
}

.cp-faq-stack {
  display: grid;
  gap: 14px;
}

.cp-faq-item {
  padding: 22px 24px;
  border: 1px solid var(--cp-line);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(14, 18, 22, 0.96), rgba(9, 11, 14, 0.98));
}

.cp-faq-item h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.cp-faq-item p {
  margin: 0;
  color: var(--cp-muted);
}

.cp-post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.cp-post-card {
  overflow: hidden;
  border: 1px solid var(--cp-line);
  border-radius: var(--cp-radius);
  background: var(--cp-panel);
}

.cp-post-thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(215, 40, 60, 0.16), rgba(24, 32, 38, 0.76)), url("assets/images/card-bg.png") center/cover;
}

.cp-post-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cp-post-body {
  padding: 20px;
}

.cp-post-body h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.35;
}

.cp-post-meta {
  color: var(--cp-gold);
  font-size: 13px;
  font-weight: 800;
}

.cp-post-body p {
  color: var(--cp-muted);
}

.cp-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.cp-topic-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--cp-radius);
  background:
    radial-gradient(circle at 18% 0%, rgba(220, 36, 49, 0.22), transparent 34%),
    linear-gradient(160deg, rgba(28, 34, 40, 0.98), rgba(8, 10, 13, 0.98));
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.26);
}

.cp-topic-card::after {
  position: absolute;
  right: -38px;
  bottom: -48px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(233, 37, 55, 0.38);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 37, 55, 0.16), transparent 62%);
  content: "";
}

.cp-topic-kicker {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 215, 93, 0.28);
  border-radius: 999px;
  color: var(--cp-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.cp-topic-card h3 {
  margin: 0 0 12px;
  font-size: 26px;
}

.cp-topic-card p {
  margin: 0 0 20px;
  color: var(--cp-muted);
}

.cp-topic-links {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cp-topic-links li {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cp-topic-links a,
.cp-topic-links span {
  color: var(--cp-text);
  font-weight: 700;
}

.cp-topic-links a:hover,
.cp-topic-more:hover {
  color: var(--cp-red-bright);
}

.cp-topic-more {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-top: 24px;
  color: var(--cp-gold);
  font-weight: 800;
}

.cp-cta-band {
  padding: 46px;
  background: linear-gradient(135deg, rgba(151, 20, 39, 0.54), rgba(14, 19, 23, 0.96)), url("assets/images/cta-decoration.png") center/cover;
  border: 1px solid rgba(215, 40, 60, 0.16);
  border-radius: 14px;
}

.cp-cta-band h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 44px);
}

.cp-cta-band p {
  margin: 0 0 24px;
  max-width: 720px;
  color: var(--cp-soft);
}

.cp-section-articles {
  padding-top: 16px;
}

.cp-site-footer {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--cp-muted);
  background: #060809;
}

.cp-footer-simple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cp-footer-simple p {
  margin: 0;
}

.cp-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-weight: 700;
}

.cp-footer-links a {
  color: var(--cp-soft);
}

.cp-footer-links a:hover {
  color: #fff;
}

.cp-page-hero {
  padding: 64px 0 34px;
  background:
    radial-gradient(circle at 80% 0%, rgba(215, 40, 60, 0.14), transparent 32%),
    #07090b;
}

.cp-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 44px;
  align-items: start;
}

.cp-article {
  color: #f5f6ff;
}

.cp-article h2,
.cp-article h3 {
  line-height: 1.25;
}

.cp-article p,
.cp-article li {
  color: #d6daea;
}

.cp-article a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

.cp-sidebar {
  position: sticky;
  top: 96px;
  padding: 22px;
  background: var(--cp-panel);
  border: 1px solid var(--cp-line);
  border-radius: var(--cp-radius);
}

.cp-sidebar h3 {
  margin-top: 0;
}

.cp-sidebar ul {
  margin: 0;
  padding-left: 18px;
  color: var(--cp-muted);
}

@media (max-width: 900px) {
  .cp-header-inner,
  .cp-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .cp-nav {
    overflow-x: auto;
    width: 100%;
    padding-bottom: 8px;
  }

  .cp-hero-grid,
  .cp-content-layout {
    grid-template-columns: 1fr;
  }

  .cp-post-grid,
  .cp-topic-grid,
  .cp-payment-row {
    grid-template-columns: 1fr;
  }

  .cp-hero {
    padding-top: 42px;
    padding-bottom: 22px;
    min-height: auto;
  }

  .cp-hero h1,
  .cp-center-head h2,
  .cp-why-intro h2 {
    font-size: 38px;
  }

  .cp-steps-line {
    grid-template-columns: 1fr;
  }

  .cp-why-radial {
    display: grid;
    min-height: 0;
    gap: 16px;
  }

  .cp-why-center,
  .cp-benefit-card,
  .cp-benefit-card-e {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none;
  }

  .cp-why-center {
    text-align: left;
    margin-bottom: 10px;
  }

  .cp-benefit-card {
    min-height: 0;
  }

  .cp-payment-item {
    justify-content: flex-start;
    width: 100%;
    min-height: 58px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .cp-step-arrow {
    display: none;
  }

  .cp-cta-band {
    padding: 28px;
  }

  .cp-footer-simple {
    align-items: flex-start;
    flex-direction: column;
  }

  .cp-footer-links {
    justify-content: flex-start;
  }
}
