/* kywinzone.com - 开云体育官网 */
:root {
  --brand: #0a7a3e;
  --brand-dark: #065c2e;
  --brand-light: #12a855;
  --accent: #e8b84a;
  --ink: #1a1f1c;
  --muted: #5a635e;
  --line: #d8e0db;
  --bg: #f4f7f5;
  --bg-deep: #0d2818;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 8px 28px rgba(13, 40, 24, 0.08);
  --max: 1120px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--brand-dark);
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

/* Top ads bar */
.ads-wrap {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 10px 0 6px;
  position: relative;
  z-index: 90;
}

#ads {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 6px 4px;
  background: transparent;
  margin: 0;
}

#ads > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70px;
  box-sizing: border-box;
}

#ads figure {
  margin: 0;
  text-align: center;
}

#ads img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(24, 24, 24, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
  display: block;
  border: none;
  background: linear-gradient(135deg, #fff, #fff);
}

#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, 0.18);
}

#ads figcaption,
#ads .caption {
  height: 15px;
  font-size: 11px;
  color: #666;
  text-align: center;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 4px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.logo span {
  font-family: var(--display);
  letter-spacing: 0.02em;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-desktop a {
  color: var(--ink);
  padding: 8px 12px;
  font-size: 0.92rem;
  border-radius: 6px;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--brand);
  background: rgba(10, 122, 62, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  color: var(--white);
  box-shadow: 0 4px 14px rgba(10, 122, 62, 0.28);
}

.btn-primary:hover {
  color: var(--white);
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 1.5px solid var(--brand);
}

.btn-outline:hover {
  background: rgba(10, 122, 62, 0.08);
  color: var(--brand-dark);
}

.btn-accent {
  background: var(--accent);
  color: var(--ink);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--white);
  padding: 12px 16px 20px;
}

.nav-mobile.is-open {
  display: block;
}

.nav-mobile a {
  display: block;
  padding: 12px 8px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}

.nav-mobile a:last-child {
  border-bottom: none;
}

.nav-mobile .mobile-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.nav-mobile .mobile-actions .btn {
  flex: 1;
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(420px, 72vh, 620px);
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(180deg, rgba(13, 40, 24, 0.35) 0%, rgba(13, 40, 24, 0.82) 100%),
    url("/开云体育首页.jpg") center / cover no-repeat;
  color: var(--white);
  overflow: hidden;
}

.hero-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 48px 0 56px;
  animation: fadeUp 0.7s ease both;
}

.hero-brand {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  line-height: 1.2;
}

.hero h1 {
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 500;
  margin-bottom: 14px;
  max-width: 720px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
}

.hero-desc {
  max-width: 640px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--white);
}

.section-dark {
  background: linear-gradient(160deg, var(--bg-deep), #163d28);
  color: var(--white);
}

.section-dark a {
  color: var(--accent);
}

.section-title {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  margin-bottom: 12px;
  color: inherit;
  line-height: 1.35;
}

.section-lead {
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 36px;
  font-size: 1.02rem;
}

.section-dark .section-lead {
  color: rgba(255, 255, 255, 0.72);
}

.prose {
  max-width: 820px;
}

.prose p {
  margin-bottom: 1.1em;
  color: var(--ink);
}

.prose h2,
.prose h3 {
  font-family: var(--display);
  margin: 1.6em 0 0.7em;
  line-height: 1.35;
}

.prose h2 {
  font-size: 1.45rem;
  color: var(--brand-dark);
}

.prose h3 {
  font-size: 1.18rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1.2em 1.2em;
}

.prose li {
  margin-bottom: 0.45em;
  list-style: disc;
}

.prose ol li {
  list-style: decimal;
}

/* Feature / category grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-block {
  padding: 8px 0 24px;
}

.feature-block img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 16px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.feature-block h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--brand-dark);
}

.feature-block p {
  color: var(--muted);
  font-size: 0.98rem;
}

.cat-item {
  text-align: center;
  transition: transform 0.25s ease;
}

.cat-item:hover {
  transform: translateY(-4px);
}

.cat-item img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 10px;
  box-shadow: var(--shadow);
}

.cat-item h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.cat-item p {
  font-size: 0.88rem;
  color: var(--muted);
}

.advantage-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.advantage-item {
  padding: 22px 20px;
  background: var(--white);
  border-left: 4px solid var(--brand);
  box-shadow: var(--shadow);
}

.advantage-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--brand-dark);
}

.advantage-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

.partner-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.partner-row img {
  height: 48px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  background: var(--white);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.partner-clubs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.partner-clubs img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

/* Download */
.download-box {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.download-visual img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
}

.download-steps {
  margin: 20px 0 28px;
  padding-left: 1.2em;
}

.download-steps li {
  list-style: decimal;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.88);
}

/* FAQ */
.faq-list {
  max-width: 820px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.faq-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--brand-dark);
}

.faq-item p {
  color: var(--muted);
  font-size: 0.96rem;
}

/* TOC */
.toc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 36px;
}

.toc h2 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  font-family: var(--display);
}

.toc ol {
  padding-left: 1.3em;
}

.toc li {
  list-style: decimal;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

/* Breadcrumb */
.breadcrumb {
  padding: 16px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb span {
  margin: 0 6px;
  color: var(--line);
}

/* Page hero (inner) */
.page-hero {
  background: linear-gradient(135deg, #0d2818 0%, #1a5c38 100%);
  color: var(--white);
  padding: 48px 0 40px;
}

.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 10px;
}

.page-hero p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.78);
}

/* Auth */
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 48px 0 64px;
}

.auth-form-wrap {
  background: var(--white);
  padding: 32px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.auth-form-wrap h2 {
  font-family: var(--display);
  font-size: 1.45rem;
  margin-bottom: 8px;
}

.auth-form-wrap .form-lead {
  color: var(--muted);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--bg);
}

.form-group input:focus {
  outline: 2px solid rgba(10, 122, 62, 0.35);
  border-color: var(--brand);
}

.form-hint {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

.auth-seo h2 {
  font-family: var(--display);
  font-size: 1.35rem;
  margin-bottom: 14px;
  color: var(--brand-dark);
}

.auth-seo h3 {
  font-size: 1.08rem;
  margin: 1.3em 0 0.5em;
}

.auth-seo p {
  color: var(--muted);
  margin-bottom: 0.9em;
  font-size: 0.98rem;
}

.auth-seo ul {
  margin: 0 0 1em 1.2em;
}

.auth-seo li {
  list-style: disc;
  margin-bottom: 0.4em;
  color: var(--muted);
}

/* Error pages */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 16px;
}

.error-page .code {
  font-family: var(--display);
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--brand);
  line-height: 1;
  margin-bottom: 8px;
}

.error-page h1 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.error-page p {
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 420px;
  margin-inline: auto;
}

/* Footer */
.site-footer {
  background: var(--bg-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 48px 0 24px;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col h3 {
  color: var(--white);
  font-size: 0.98rem;
  margin-bottom: 14px;
  font-family: var(--display);
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* CTA strip */
.cta-strip {
  text-align: center;
  padding: 48px 0;
}

.cta-strip .section-title {
  margin-bottom: 10px;
}

.cta-strip .section-lead {
  margin-inline: auto;
  margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 960px) {
  .nav-desktop,
  .header-actions .btn {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .grid-3,
  .grid-4,
  .advantage-list,
  .download-box,
  .auth-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .section {
    padding: 44px 0;
  }

  .hero-inner {
    padding: 36px 0 44px;
  }

  .header-actions {
    display: none;
  }
}
