/* template16 - hhpoker官方首页下载丨 HHPOKER官网俱乐部下载 (赛博极夜 · 竞技对抗大厅版) */
:root {
  --bg-main: #060911;
  --bg-surface: #0e1322;
  --bg-surface-elevated: #161e33;
  --primary: #06b6d4;
  --primary-gradient: linear-gradient(135deg, #06b6d4 0%, #a855f7 100%);
  --accent: #a855f7;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border: rgba(6, 182, 212, 0.3);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --font-heading: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(0,0,0,0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
}

.btn-outline {
  background: rgba(255,255,255,0.05);
  border-color: var(--border);
  color: var(--text-main);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 15, 29, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0.3rem 0;
}

.main-nav a:hover,
.main-nav a.active {
  color: #ffffff;
}

.main-nav a.active::after,
.main-nav a:hover::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-gradient);
  border-radius: 2px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
}

.mobile-drawer ul {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Common Sections */
.section-padding {
  padding: 5rem 0;
}

.section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 3.5rem;
}

.section-head h2 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1rem;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.25rem;
  letter-spacing: 0.5px;
}

/* Breadcrumb & Inner Pages */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 2rem 0;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.page-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 3rem;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item[open] {
  border-color: var(--accent);
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-content {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* Footer */
.site-footer {
  background: rgba(5, 8, 16, 0.95);
  border-top: 1px solid var(--border);
  padding: 4.5rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-column a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Archetype 7: Tournament Arena */
.hero-arena {
  padding: 5rem 0 3.5rem;
  text-align: center;
}
.podium-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: flex-end;
  margin: 3.5rem 0;
}
.podium-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
}
.podium-card.first {
  border-color: #eab308;
  background: var(--bg-surface-elevated);
  transform: translateY(-20px);
  box-shadow: 0 15px 35px rgba(234, 179, 8, 0.2);
}
.podium-card.second {
  border-color: #94a3b8;
}
.podium-card.third {
  border-color: #b45309;
}
.match-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2.5rem 0;
}
.match-table th, .match-table td {
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--border);
  text-align: center;
}
.match-table th {
  background: var(--bg-surface-elevated);
  color: #ffffff;
}

@media (max-width: 992px) {
  .podium-grid-3 {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .podium-card.first {
    transform: none;
  }
}
