/* 开云体育 k-y.lat 全局样式 */
:root {
  --primary: #1a6b3c;
  --primary-dark: #0f4a28;
  --primary-light: #2d9a5a;
  --accent: #f5a623;
  --bg: #f8faf9;
  --bg-card: #ffffff;
  --text: #1a1a2e;
  --text-muted: #5a6270;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --radius: 12px;
  --max-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
}

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-light); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

.site-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 16px;
}

.logo-link { display: flex; align-items: center; gap: 12px; color: #fff; }
.logo-link:hover { color: #fff; opacity: .9; }
.logo-img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }
.logo-text { font-size: 1.25rem; font-weight: 700; white-space: nowrap; }

.main-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.main-nav a {
  color: rgba(255,255,255,.9);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: .9rem;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { background: rgba(255,255,255,.15); color: #fff; }

.header-actions { display: flex; gap: 8px; flex-shrink: 0; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all .2s;
}
.btn-primary { background: var(--accent); color: #1a1a2e; }
.btn-primary:hover { background: #e09510; color: #1a1a2e; }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-green { background: var(--primary-light); color: #fff; }
.btn-green:hover { background: var(--primary); color: #fff; }

.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1e8a4a 100%);
  color: #fff;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/images/开云体育首页.jpg') center/cover no-repeat;
  opacity: .12;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero h1 { font-size: 2.2rem; line-height: 1.3; margin-bottom: 16px; }
.hero-desc { font-size: 1.05rem; opacity: .92; margin-bottom: 28px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-img { border-radius: var(--radius); box-shadow: var(--shadow); }

.download-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.download-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  padding: 10px 18px;
  border-radius: 8px;
  color: #fff;
  font-size: .9rem;
}
.download-badge:hover { background: rgba(255,255,255,.25); color: #fff; }

section { padding: 56px 0; }
section:nth-child(even) { background: #fff; }

.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: 1.75rem; color: var(--primary-dark); margin-bottom: 10px; }
.section-header p { color: var(--text-muted); max-width: 640px; margin: 0 auto; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
  border: 1px solid var(--border);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,.12); }
.card-img { width: 100%; height: 180px; object-fit: cover; }
.card-body { padding: 20px; }
.card-body h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--primary-dark); }
.card-body p { color: var(--text-muted); font-size: .92rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.feature-item {
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow);
}
.feature-item h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--primary-dark); }
.feature-item p { color: var(--text-muted); font-size: .92rem; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  counter-reset: step;
}
.step-item {
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
  padding-top: 48px;
}
.step-item::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 16px;
  left: 20px;
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
}
.step-item h3 { font-size: 1rem; margin-bottom: 8px; color: var(--primary-dark); }
.step-item p { color: var(--text-muted); font-size: .9rem; }

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  align-items: center;
}
.partner-grid img {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: transform .2s;
}
.partner-grid img:hover { transform: scale(1.03); }

.article-content { max-width: 860px; margin: 0 auto; }
.article-content h2 { font-size: 1.5rem; color: var(--primary-dark); margin: 32px 0 14px; }
.article-content h3 { font-size: 1.2rem; color: var(--primary); margin: 24px 0 10px; }
.article-content p { margin-bottom: 16px; color: var(--text); }
.article-content ul, .article-content ol { margin: 12px 0 16px 24px; color: var(--text-muted); }
.article-content li { margin-bottom: 6px; }

.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 24px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after { content: '+'; font-size: 1.2rem; color: var(--primary); }
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-answer { padding: 0 24px 18px; color: var(--text-muted); font-size: .93rem; }

.breadcrumb {
  padding: 14px 0;
  font-size: .85rem;
  color: var(--text-muted);
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--primary); }
.breadcrumb span { margin: 0 6px; }

.page-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 40px 0;
  text-align: center;
}
.page-header h1 { font-size: 1.8rem; margin-bottom: 8px; }
.page-header p { opacity: .85; font-size: .95rem; }

.form-page { padding: 48px 0; }
.form-wrapper {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg-card);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .9rem; }
.form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: .95rem;
  transition: border-color .2s;
}
.form-group input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,107,60,.12); }
.form-footer { text-align: center; margin-top: 16px; font-size: .9rem; color: var(--text-muted); }
.form-seo-content { max-width: 800px; margin: 40px auto 0; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  color: #fff;
  padding: 48px;
  border-radius: var(--radius);
  text-align: center;
  margin: 40px 0;
}
.cta-banner h2 { margin-bottom: 12px; }
.cta-banner p { opacity: .9; margin-bottom: 20px; }

.site-footer {
  background: #0d1f14;
  color: rgba(255,255,255,.75);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand p { font-size: .88rem; margin-top: 12px; line-height: 1.7; }
.footer-col h4 { color: #fff; margin-bottom: 14px; font-size: .95rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,.65); font-size: .88rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  text-align: center;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}

.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}
.error-code { font-size: 6rem; font-weight: 800; color: var(--primary); line-height: 1; }
.error-title { font-size: 1.5rem; margin: 16px 0 8px; }
.error-desc { color: var(--text-muted); margin-bottom: 24px; }

.internal-links {
  background: #edf7f1;
  padding: 24px;
  border-radius: var(--radius);
  margin: 24px 0;
}
.internal-links h3 { font-size: 1rem; margin-bottom: 10px; color: var(--primary-dark); }
.internal-links ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.internal-links a { font-size: .9rem; }

/* Ads bar */
.ads-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  position: sticky;
  top: 72px;
  z-index: 900;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
#ads {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px 12px;
  background: transparent;
}
#ads > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 76px;
  box-sizing: border-box;
}
#ads img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(24,24,24,.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
  display: block;
  border: none;
  background: linear-gradient(135deg,#fff,#fff);
  cursor: pointer;
}
#ads a {
  display: inline-block;
  text-decoration: none;
  border-radius: 15px;
}
#ads img:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 10px 24px rgba(24,24,24,.18);
}
#ads figcaption,
#ads .caption {
  height: 15px;
  font-size: 11px;
  color: #666;
  text-align: center;
  max-width: 76px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .hero-grid, .two-col, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .hero h1 { font-size: 1.6rem; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .header-inner { flex-wrap: wrap; }
}
.hero-grid {
  background-color: #0f4a28;
}
.hero-desc a{
  color: #e09510;
}