/* Bing Gen3: independent portal layout inspired by the supplied kaiyun HTML */
:root {
  --g3-ink: #120d14;
  --g3-ink-2: #1b141d;
  --g3-panel: #261b27;
  --g3-panel-2: #312231;
  --g3-line: rgba(247, 201, 176, .22);
  --g3-text: #fff7f1;
  --g3-soft: #dec7bd;
  --g3-gold: #ffc7a5;
  --g3-amber: #f0a66e;
  --g3-red: #b84d43;
  --g3-blue: #1b2a42;
  --g3-green: #10b981;
  --g3-shadow: 0 20px 54px rgba(0, 0, 0, .28);
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--g3-text);
  background:
    radial-gradient(circle at 12% 10%, rgba(184, 77, 67, .22), transparent 28%),
    radial-gradient(circle at 90% 28%, rgba(255, 199, 165, .14), transparent 30%),
    linear-gradient(180deg, #0f0b12 0%, #18111a 48%, #0f0b12 100%);
  font-size: 16px;
  line-height: 1.74;
  letter-spacing: 0;
}
a { color: var(--g3-gold); text-decoration: none; }
a:hover { color: #fff; }
.container { max-width: 1190px; }
img { max-width: 100%; height: auto; }

.g3-header,
.ky-nav,
.header .navbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #20252a !important;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  box-shadow: none;
}
.g3-nav {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(72px, 18vw, 380px);
}
.g3-brand,
.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 120px;
  min-height: 42px;
  padding: 7px 14px;
  background: linear-gradient(180deg, #dff3ff, #f4eadc);
  color: #172029 !important;
  font-weight: 800;
  line-height: 1.1;
  border-radius: 0;
}
.g3-logo-mark {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #74ccef;
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  font-style: italic;
}
.g3-brand small { display: block; color: #3574e8; font-size: 12px; font-weight: 800; }
.header-logo { max-height: 42px !important; max-width: 150px !important; object-fit: contain; }
.g3-menu,
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.g3-menu a,
.header .nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 66px;
  padding: 0 !important;
  border-radius: 0;
  background: transparent;
  color: #cbd2d8 !important;
  font-size: 14px;
  font-weight: 500;
}
.g3-menu a:hover,
.header .nav-link:hover { background: transparent; color: #fff !important; }
.g3-login {
  background: #c76714 !important;
  color: #fff !important;
}

.g3-section { padding: clamp(48px, 7vw, 86px) 0; }
.g3-section.tight { padding: clamp(34px, 5vw, 58px) 0; }
.g3-panel,
.g3-card,
.ky-card,
.card,
.single-post,
.author-box,
.sidebar-widgets .card {
  background: linear-gradient(180deg, rgba(43, 31, 45, .96), rgba(26, 19, 28, .96)) !important;
  border: 1px solid var(--g3-line) !important;
  border-radius: 20px !important;
  box-shadow: var(--g3-shadow) !important;
  color: var(--g3-text);
}
.g3-panel { padding: clamp(24px, 4vw, 42px); }
.g3-eyebrow {
  color: var(--g3-gold);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: uppercase;
}
.g3-title {
  margin: 8px 0 16px;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: 0;
}
.g3-title.bar,
.ky-card h2 {
  border-left: 4px solid var(--g3-gold);
  padding-left: 16px;
}
.g3-lead,
.g3-copy,
.ky-card p,
.news-card p,
.post-content {
  color: var(--g3-soft);
}
.g3-copy { max-width: 760px; }

.g3-btn,
.btn-cta,
.ky-btn,
.hero-buttons .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--g3-gold), var(--g3-amber));
  color: #231117 !important;
  font-weight: 900;
}
.g3-btn.secondary,
.ky-btn.ghost {
  background: transparent;
  color: var(--g3-gold) !important;
  border-color: var(--g3-line);
}

.g3-hero { padding: clamp(42px, 7vw, 92px) 0 62px; }
.g3-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, .97fr);
  gap: 34px;
  align-items: center;
}
.g3-hero-media {
  position: relative;
  min-height: 360px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--g3-line);
  background: #211823;
}
.g3-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}
.g3-domain-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(7, 8, 12, .88);
  border: 2px solid rgba(255,255,255,.85);
  color: #fff;
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 900;
}
.g3-quick {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.g3-quick a,
.g3-mini-card {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.055);
  color: var(--g3-text);
  font-weight: 800;
}

.g3-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.g3-stat {
  padding: 22px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 199, 165, .16);
}
.g3-stat strong {
  display: block;
  color: var(--g3-gold);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  font-weight: 900;
}
.g3-stat span { color: var(--g3-soft); font-size: 14px; }

.g3-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .86fr);
  gap: 34px;
  align-items: center;
}
.g3-split.reverse { grid-template-columns: minmax(300px, .86fr) minmax(0, 1fr); }
.g3-split img,
.g3-image {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--g3-line);
  object-fit: cover;
}
.g3-grid,
.ky-feature-grid,
.cards-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.g3-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g3-card { padding: 22px; }
.g3-card h3 {
  color: #fff;
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-weight: 900;
}
.g3-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #3267f6, #18b884);
  color: #fff;
  font-weight: 900;
}
.g3-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 16px;
}
.g3-table th,
.g3-table td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  color: var(--g3-soft);
}
.g3-table th { color: var(--g3-gold); background: rgba(255,255,255,.06); }
.g3-tag {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16,185,129,.16);
  color: #80f2bf;
  font-size: 12px;
  font-weight: 900;
}

.g3-news-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .95fr);
  gap: 18px;
}
.g3-news-list {
  display: grid;
  gap: 14px;
}
.g3-news-item {
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,199,165,.14);
}
.g3-date { color: var(--g3-gold); font-size: 13px; font-weight: 800; }
.g3-news-item h3 { margin: 6px 0 8px; color: #fff; font-size: 1.04rem; }

.g3-app-band {
  background: linear-gradient(180deg, rgba(83, 42, 39, .88), rgba(31, 22, 31, .92));
}
.g3-app-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.g3-phone {
  padding: 22px;
  border-radius: 26px;
  background: #142137;
  border: 1px solid rgba(255,255,255,.12);
}
.g3-phone img { aspect-ratio: 4 / 3; object-fit: cover; }

.single-page,
.category-page { background: transparent; }
.single-post { padding: clamp(24px, 4vw, 42px) !important; }
.single-post h1,
.post-title { color: #fff; letter-spacing: 0; }
.post-meta {
  border-top: 1px solid var(--g3-line);
  border-bottom: 1px solid var(--g3-line);
  padding-block: 12px;
  color: var(--g3-soft);
}
.post-content h2,
.post-content h3 {
  color: var(--g3-gold);
  border-left: 4px solid var(--g3-gold);
  padding-left: 12px;
  letter-spacing: 0;
}
.post-content a { font-weight: 800; }
.sidebar-widgets .card { margin-bottom: 18px; }

.g3-footer,
.footer-section,
footer {
  background: #09070c !important;
  color: var(--g3-soft) !important;
  border-top: 1px solid var(--g3-line);
}
.g3-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(160px, 1fr));
  gap: 24px;
}
.g3-footer h3,
.g3-footer h4 { color: #fff; font-weight: 900; }
.g3-footer a { display: block; margin: 7px 0; color: var(--g3-soft); }
.g3-footer a:hover { color: var(--g3-gold); }

@media (max-width: 991.98px) {
  .g3-nav { align-items: flex-start; flex-direction: column; padding: 14px 0; }
  .g3-hero-grid,
  .g3-split,
  .g3-split.reverse,
  .g3-news-feature { grid-template-columns: 1fr; }
  .g3-stats,
  .g3-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3-grid,
  .ky-feature-grid,
  .cards-grid,
  .news-grid { grid-template-columns: 1fr; }
  .g3-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 575.98px) {
  body { font-size: 15px; background-position: top; }
  .g3-menu { gap: 7px; }
  .g3-menu a { padding: 7px 10px !important; font-size: 13px; }
  .g3-quick,
  .g3-stats,
  .g3-footer-grid { grid-template-columns: 1fr; }
  .g3-panel,
  .g3-card { border-radius: 16px !important; padding: 20px; }
  .g3-btn { width: 100%; }
  .g3-hero-media,
  .g3-hero-media img { min-height: 260px; }
}
