/*
Theme Name: BG666 Login Theme
Theme URI: https://bg666login.net/
Author: You
Description: Single landing theme for BG666 Login – official-style India guide for BG 666 Game.
Version: 1.0
Text Domain: bg666-login
*/

:root {
  --bg-body: #050818;
  --bg-section: #0a0f24;
  --bg-card: #101632;
  --accent: #f7b733;
  --accent-soft: rgba(247, 183, 51, 0.12);
  --accent-2: #4c6fff;
  --text-main: #f5f7ff;
  --text-muted: #a5b0d4;
  --border-soft: rgba(255,255,255,0.08);
  --radius-lg: 18px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.45);
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #11193b 0, #050818 55%, #02030a 100%);
  color: var(--text-main);
  line-height: 1.6;
}

/* ===== 通用布局 ===== */

.bg-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.bg-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.bg-main {
  flex: 1 0 auto;
  padding: 24px 0 48px;
}

/* ===== 顶部 Header & 按钮 ===== */

.bg-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(5,8,24,0.98), rgba(5,8,24,0.9));
  border-bottom: 1px solid var(--border-soft);
}

.bg-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 12px;
}

.bg-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bg-logo-circle {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 20%, #ffe6a3, #f7b733 40%, #f15a24 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 16px;
  color: #21150b;
  box-shadow: 0 12px 28px rgba(0,0,0,0.55);
}

.bg-brand-text {
  display: flex;
  flex-direction: column;
}

.bg-brand-title {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bg-brand-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.bg-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.bg-chip {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
}

.bg-btn {
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

.bg-btn-login {
  background: transparent;
  border-color: var(--border-soft);
  color: var(--text-main);
}

.bg-btn-login:hover {
  border-color: var(--accent);
}

.bg-btn-primary {
  background: linear-gradient(135deg, #f7b733, #f15a24);
  color: #20120a;
  box-shadow: 0 10px 26px rgba(0,0,0,0.5);
}

.bg-btn-primary:hover {
  filter: brightness(1.05);
}

/* ===== Hero 区 ===== */

.bg-hero {
  padding-top: 28px;
}

.bg-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.7fr);
  gap: 32px;
  align-items: center;
}

.bg-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(76,111,255,0.18);
  color: var(--text-muted);
  font-size: 11px;
  border: 1px solid rgba(76,111,255,0.3);
}

.bg-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #4c6fff;
}

.bg-hero-title {
  margin: 12px 0 10px;
  font-size: 28px;
  line-height: 1.2;
}

.bg-hero-title span {
  color: var(--accent);
}

.bg-hero-text {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 520px;
}

.bg-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.bg-badge {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
}

.bg-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.bg-hero-note {
  font-size: 11px;
  color: var(--text-muted);
}

/* Hero 右侧卡片 */

.bg-hero-card {
  background: radial-gradient(circle at top, #1f264a 0, #101632 46%, #050818 100%);
  border-radius: 22px;
  padding: 18px 18px 16px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.bg-hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.bg-pill {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.4);
  font-size: 11px;
  color: var(--text-muted);
  border: 1px solid var(--border-soft);
}

.bg-hero-amount {
  font-size: 20px;
  font-weight: 700;
  color: #ffdf8a;
}

.bg-hero-card-body {
  margin-top: 8px;
}

.bg-hero-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  padding: 4px 0;
}

.bg-hero-row strong {
  color: var(--text-main);
}

/* ===== 内容 Sections ===== */

.bg-section {
  margin-top: 36px;
  padding: 22px 20px 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(19,26,60,0.95), rgba(5,8,24,0.98));
  border: 1px solid var(--border-soft);
}

.bg-section h1,
.bg-section h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.bg-section p {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.bg-section ul {
  margin: 6px 0 0 18px;
  padding: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.bg-section li + li {
  margin-top: 4px;
}

/* ===== 表格（邀请码等） ===== */

.bg-table-wrapper {
  margin-top: 10px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: rgba(6,10,32,0.9);
}

.bg-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.bg-table th,
.bg-table td {
  padding: 10px 12px;
  text-align: left;
}

.bg-table thead {
  background: rgba(247, 183, 51, 0.12);
}

.bg-table th {
  color: var(--accent);
  font-weight: 600;
}

.bg-table tbody tr:nth-child(even) {
  background: rgba(255,255,255,0.02);
}

/* ===== FAQ ===== */

.bg-faq-item + .bg-faq-item {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-soft);
}

.bg-faq-q {
  font-size: 14px;
  font-weight: 600;
}

.bg-faq-a {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== Footer ===== */

.bg-footer {
  border-top: 1px solid var(--border-soft);
  padding: 18px 0 24px;
  background: rgba(2,3,10,0.96);
  margin-top: 32px;
}

.bg-footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.bg-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}

.bg-footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.bg-footer-links a:hover {
  color: var(--accent);
}

.bg-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: var(--text-muted);
}

/* ===== 小工具 ===== */

.bg-pill-outline {
  border-radius: 999px;
  border: 1px dashed var(--border-soft);
  padding: 3px 9px;
  font-size: 11px;
  color: var(--text-muted);
}

/* ===== 自适应 ===== */

@media (max-width: 880px) {
  .bg-hero-grid {
    grid-template-columns: minmax(0,1fr);
  }
  .bg-hero {
    padding-top: 18px;
  }
}

@media (max-width: 720px) {
  .bg-header-inner {
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .bg-header-actions {
    flex: 1 1 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .bg-header-actions::-webkit-scrollbar {
    display: none;
  }

  .bg-btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  .bg-chip {
    display: none;
  }
}

@media (max-width: 640px) {
  .bg-hero-title {
    font-size: 22px;
  }
  .bg-hero-text {
    font-size: 13px;
  }
  .bg-section {
    padding: 16px 14px 14px;
  }
}
/* 首页大图位置 */

.bg-hero-banner {
  margin-top: 24px;
}

.bg-hero-banner-inner {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: radial-gradient(circle at top, #1a2045 0, #050818 60%, #02030a 100%);
  box-shadow: var(--shadow-soft);
}

.bg-hero-figure {
  margin: 0;
}

.bg-hero-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.bg-hero-figure figcaption {
  padding: 8px 14px 10px;
  font-size: 11px;
  color: var(--text-muted);
}
