/* =============================================
   开云体育官方网站 - 主样式表
   Domain: zg-login-kaiyun.com
   ============================================= */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif; color: #1a1a2e; background: #fff; line-height: 1.7; }
a { color: inherit; text-decoration: none; transition: color .25s; }
a:hover { color: #e63946; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ---- CSS Variables ---- */
:root {
  --primary: #0a2463;
  --accent:  #e63946;
  --gold:    #f4a261;
  --light-bg: #f0f4ff;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(10,36,99,.12);
  --transition: .3s ease;
}

/* ---- Container ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-pad { padding: 72px 0; }
.section-title { font-size: 2rem; font-weight: 700; color: var(--primary); text-align: center; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--text-muted); margin-bottom: 48px; font-size: 1.05rem; }
.section-title span { color: var(--accent); }

/* ---- Header / Navbar ---- */
#header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(10,36,99,.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { width: 42px; height: 42px; background: linear-gradient(135deg,#e63946,#f4a261); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 900; color: #fff; }
.logo-text { font-size: 1.3rem; font-weight: 800; color: #fff; letter-spacing: 1px; }
.logo-text span { color: var(--gold); }
.nav-menu { display: flex; gap: 6px; align-items: center; }
.nav-menu a { color: rgba(255,255,255,.88); font-size: .95rem; padding: 8px 14px; border-radius: 6px; transition: background var(--transition); }
.nav-menu a:hover, .nav-menu a.active { background: rgba(255,255,255,.15); color: #fff; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); }

/* ---- Search Bar ---- */
.search-bar-wrap { background: #0d2d6e; padding: 10px 0; }
.search-bar-inner { display: flex; justify-content: center; }
.search-form { display: flex; width: 100%; max-width: 600px; border-radius: 30px; overflow: hidden; border: 2px solid rgba(255,255,255,.25); transition: border-color var(--transition); }
.search-form:focus-within { border-color: var(--gold); }
.search-form input { flex: 1; padding: 10px 20px; background: rgba(255,255,255,.1); color: #fff; border: none; outline: none; font-size: .95rem; }
.search-form input::placeholder { color: rgba(255,255,255,.5); }
.search-form button { padding: 10px 24px; background: var(--accent); color: #fff; border: none; cursor: pointer; font-size: .95rem; font-weight: 600; transition: background var(--transition); }
.search-form button:hover { background: #c1121f; }

/* ---- Hero Banner / Slider ---- */
.hero-slider { position: relative; overflow: hidden; height: 540px; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,36,99,.82) 0%, rgba(10,36,99,.35) 60%, transparent 100%); }
.slide-content { position: absolute; top: 50%; left: 8%; transform: translateY(-50%); max-width: 560px; }
.slide-content h1 { font-size: 2.2rem; font-weight: 900; color: #fff; line-height: 1.3; margin-bottom: 16px; }
.slide-content p { color: rgba(255,255,255,.88); font-size: 1.05rem; margin-bottom: 28px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.hero-tag { background: rgba(255,255,255,.15); color: #fff; padding: 5px 14px; border-radius: 20px; font-size: .85rem; border: 1px solid rgba(255,255,255,.3); }
.btn-primary { display: inline-block; padding: 14px 32px; background: var(--accent); color: #fff; border-radius: 30px; font-weight: 700; font-size: 1rem; transition: transform var(--transition), box-shadow var(--transition); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(230,57,70,.45); color: #fff; }
.btn-outline { display: inline-block; padding: 13px 30px; border: 2px solid rgba(255,255,255,.7); color: #fff; border-radius: 30px; font-weight: 600; font-size: 1rem; margin-left: 12px; transition: background var(--transition); }
.btn-outline:hover { background: rgba(255,255,255,.15); color: #fff; }
.slider-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.slider-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; transition: background var(--transition); }
.slider-dot.active { background: var(--gold); }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.2); border: none; color: #fff; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; transition: background var(--transition); z-index: 10; }
.slider-arrow:hover { background: var(--accent); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* ---- Stats Bar ---- */
.stats-bar { background: var(--primary); padding: 24px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item { text-align: center; padding: 10px; border-right: 1px solid rgba(255,255,255,.15); }
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 2rem; font-weight: 900; color: var(--gold); display: block; }
.stat-label { color: rgba(255,255,255,.75); font-size: .88rem; margin-top: 4px; }

/* ---- About Section ---- */
.about-section { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img-wrap { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-img-wrap img { width: 100%; height: 380px; object-fit: cover; }
.about-badge { position: absolute; bottom: 20px; right: 20px; background: var(--accent); color: #fff; padding: 12px 20px; border-radius: 8px; text-align: center; }
.about-badge strong { display: block; font-size: 1.8rem; font-weight: 900; }
.about-badge span { font-size: .8rem; }
.about-text h2 { font-size: 1.9rem; font-weight: 800; color: var(--primary); margin-bottom: 16px; }
.about-text p { color: #4b5563; margin-bottom: 16px; }
.about-milestones { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.milestone { background: var(--light-bg); border-radius: 8px; padding: 16px; border-left: 3px solid var(--accent); }
.milestone h4 { font-size: .95rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.milestone p { font-size: .85rem; color: var(--text-muted); margin: 0; }

/* ---- Services Section ---- */
.services-section { background: var(--light-bg); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card { background: #fff; border-radius: var(--radius); padding: 32px 24px; text-align: center; box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition); }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(10,36,99,.18); }
.service-icon { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg,var(--primary),#1d4ed8); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.8rem; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.service-card p { color: var(--text-muted); font-size: .9rem; }

/* ---- Video Grid Section ---- */
.video-section { background: #0a2463; }
.video-section .section-title { color: #fff; }
.video-section .section-sub { color: rgba(255,255,255,.65); }
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.video-card { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: #111; }
.video-card img { width: 100%; height: 220px; object-fit: cover; transition: transform .4s ease, opacity .4s ease; }
.video-card:hover img { transform: scale(1.05); opacity: .75; }
.video-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(0); width: 60px; height: 60px; background: rgba(230,57,70,.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform .3s ease; }
.video-play-btn svg { width: 24px; height: 24px; fill: #fff; margin-left: 4px; }
.video-card:hover .video-play-btn { transform: translate(-50%,-50%) scale(1); }
.video-info { padding: 16px; background: #111; }
.video-category { display: inline-block; background: var(--accent); color: #fff; font-size: .75rem; padding: 3px 10px; border-radius: 20px; margin-bottom: 8px; }
.video-info h3 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.video-stats { display: flex; gap: 16px; color: rgba(255,255,255,.55); font-size: .82rem; }
.video-stats span { display: flex; align-items: center; gap: 4px; }

/* ---- News Section ---- */
.news-section { background: #fff; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform var(--transition); }
.news-card:hover { transform: translateY(-4px); }
.news-img { overflow: hidden; height: 180px; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-img img { transform: scale(1.06); }
.news-body { padding: 20px; }
.news-tag { display: inline-block; background: var(--light-bg); color: var(--primary); font-size: .78rem; padding: 3px 10px; border-radius: 20px; margin-bottom: 10px; font-weight: 600; }
.news-body h3 { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; line-height: 1.5; }
.news-body p { font-size: .88rem; color: var(--text-muted); margin-bottom: 12px; }
.news-meta { font-size: .8rem; color: #9ca3af; }

/* ---- Reviews Section ---- */
.reviews-section { background: var(--light-bg); }
.reviews-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.review-card { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.review-stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 12px; }
.review-text { color: #4b5563; font-size: .9rem; line-height: 1.7; margin-bottom: 16px; }
.review-user { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg,var(--primary),#1d4ed8); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 1rem; }
.review-name { font-weight: 700; color: var(--primary); font-size: .9rem; }
.review-date { color: #9ca3af; font-size: .78rem; }

/* ---- FAQ Section ---- */
.faq-section { background: #fff; }
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; cursor: pointer; background: #fff; transition: background var(--transition); }
.faq-question:hover { background: var(--light-bg); }
.faq-question h3 { font-size: 1rem; font-weight: 600; color: var(--primary); }
.faq-icon { width: 24px; height: 24px; border-radius: 50%; background: var(--light-bg); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.1rem; font-weight: 700; transition: transform var(--transition), background var(--transition); flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; }
.faq-answer p { padding: 0 22px 18px; color: var(--text-muted); font-size: .93rem; }
.faq-item.open .faq-answer { max-height: 200px; }

/* ---- Partners Section ---- */
.partners-section { background: var(--light-bg); }
.partners-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 48px; }
.partner-logo { background: #fff; border-radius: 8px; padding: 16px 28px; box-shadow: 0 2px 8px rgba(0,0,0,.07); font-weight: 700; color: var(--primary); font-size: .95rem; border: 1px solid var(--border); transition: box-shadow var(--transition); }
.partner-logo:hover { box-shadow: var(--shadow); }
.coop-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.coop-step { text-align: center; }
.step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 1.2rem; font-weight: 900; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.coop-step h4 { font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.coop-step p { font-size: .88rem; color: var(--text-muted); }

/* ---- Contact Section ---- */
.contact-section { background: var(--primary); }
.contact-section .section-title { color: #fff; }
.contact-section .section-sub { color: rgba(255,255,255,.65); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info { color: rgba(255,255,255,.88); }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact-item-icon { width: 44px; height: 44px; border-radius: 8px; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.contact-item-text h4 { font-weight: 700; margin-bottom: 4px; color: #fff; }
.contact-item-text p { font-size: .9rem; color: rgba(255,255,255,.7); }
.contact-map { background: rgba(255,255,255,.08); border-radius: var(--radius); height: 300px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.5); font-size: 1rem; border: 1px dashed rgba(255,255,255,.2); }

/* ---- Footer ---- */
#footer { background: #060f2e; color: rgba(255,255,255,.7); padding: 48px 0 24px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: .88rem; line-height: 1.8; max-width: 300px; }
.footer-col h4 { color: #fff; font-weight: 700; margin-bottom: 16px; font-size: 1rem; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: .88rem; color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--gold); }
.footer-qr { display: flex; gap: 20px; margin-top: 20px; }
.qr-item { text-align: center; }
.qr-box { width: 80px; height: 80px; background: rgba(255,255,255,.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; font-size: .6rem; color: rgba(255,255,255,.4); border: 1px dashed rgba(255,255,255,.2); }
.qr-item span { font-size: .78rem; color: rgba(255,255,255,.5); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: .82rem; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: .82rem; color: rgba(255,255,255,.5); }
.footer-links a:hover { color: var(--gold); }
.footer-update { font-size: .82rem; color: rgba(255,255,255,.4); }

/* ---- Breadcrumb ---- */
.breadcrumb { background: var(--light-bg); padding: 12px 0; }
.breadcrumb-inner { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--text-muted); }
.breadcrumb-inner a { color: var(--primary); }
.breadcrumb-inner span { color: #9ca3af; }

/* ---- Inner Page Hero ---- */
.inner-hero { background: linear-gradient(135deg,var(--primary) 0%,#1d4ed8 100%); padding: 60px 0; text-align: center; }
.inner-hero h1 { font-size: 2.2rem; font-weight: 900; color: #fff; margin-bottom: 12px; }
.inner-hero p { color: rgba(255,255,255,.8); font-size: 1.05rem; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--primary); padding: 16px; gap: 4px; }
  .nav-menu.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero-slider { height: 400px; }
  .slide-content h1 { font-size: 1.5rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .coop-steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section-title { font-size: 1.6rem; }
}
@media (max-width: 480px) {
  .slide-content { left: 5%; right: 5%; }
  .btn-outline { display: none; }
  .coop-steps { grid-template-columns: 1fr; }
}
