/* ACGCLOUD_BUILD_132 */
/* ACGCloud web theme styles */
@import url('https://fonts.googleapis.com/css2?family=ZCOOL+KuaiLe&family=Noto+Sans+SC:wght@400;500;700&display=swap');

:root {
  --primary: #ff6b9d;
  --accent: #7aa2ff;
  --ink: #2a2438;
  --muted: #7a7088;
  --paper: #fff5f8;
  --card: rgba(255, 255, 255, 0.82);
  --line: rgba(255, 107, 157, 0.14);
  --shadow: 0 10px 32px rgba(42, 36, 56, 0.08);
  --radius: 16px;
  --nav-h: 68px;
  --font-display: "ZCOOL KuaiLe", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(255, 182, 210, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(163, 196, 255, 0.3), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(255, 214, 230, 0.25), transparent 45%),
    var(--paper);
  min-height: 100vh;
  line-height: 1.6;
}

/* Marquee */
.marquee-bar {
  background: linear-gradient(90deg, #ff6b9d 0%, #c86dd7 45%, #5b8cff 100%);
  color: #fff;
  overflow: hidden;
  height: 36px;
  line-height: 36px;
  font-size: 13px;
}
.marquee-track {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: marquee var(--marquee-duration, 40s) linear infinite;
}
.marquee-track a { color: #fff; }
@keyframes marquee {
  to { transform: translateX(-100%); }
}

.hero-mk {
  background:
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(255, 182, 210, 0.3), transparent 55%),
    radial-gradient(ellipse 50% 60% at 10% 80%, rgba(163, 196, 255, 0.25), transparent 50%),
    linear-gradient(135deg, #fff0f5 0%, #f8f4ff 45%, #eef4ff 100%);
  padding: 56px 0 64px;
}
.hero-mk-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}
.hero-mk-kicker { color: var(--primary); font-weight: 600; margin: 0 0 10px; }
.hero-mk h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  margin: 0 0 12px;
  line-height: 1.2;
}
.hero-mk-sub { color: var(--muted); font-size: 16px; margin: 0 0 24px; max-width: 32em; }
.hero-mk-card {
  background: var(--card);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.75);
}
.hero-mk-card h3 { margin: 0 0 12px; font-family: var(--font-display); }
.hero-hot-list { list-style: none; margin: 0; padding: 0; }
.hero-hot-list li { border-bottom: 1px dashed var(--line); }
.hero-hot-list a {
  display: block;
  padding: 10px 0;
  color: var(--ink);
  font-weight: 500;
}
.hero-hot-list a:hover { color: var(--primary); }

.section-alt {
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(255, 214, 230, 0.2), transparent 60%),
    rgba(255, 255, 255, 0.65);
}
.group-scroll-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.group-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 6px 2px 16px;
  flex: 1;
}
.group-card {
  min-width: 200px;
  background: var(--card);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
  color: var(--ink);
}
.group-card strong { display: block; font-size: 18px; margin-bottom: 8px; font-family: var(--font-display); }
.group-card span { color: var(--primary); font-size: 13px; }
.group-scroll-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255,255,255,0.85); cursor: pointer;
  font-size: 20px; line-height: 1;
  transition: background 0.2s, border-color 0.2s;
}
.group-scroll-btn:hover {
  background: rgba(255, 107, 157, 0.12);
  border-color: rgba(255, 107, 157, 0.35);
}
@media (max-width: 900px) {
  .hero-mk-grid { grid-template-columns: 1fr; }
}
body.has-bg {
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
}
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

/* Announcement */
.announce {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: #fff;
  text-align: center;
  font-size: 13px;
  padding: 8px 16px;
  letter-spacing: 0.02em;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(255, 248, 251, 0.78);
  border-bottom: 1px solid rgba(255, 107, 157, 0.08);
  transition: box-shadow .25s, border-color .25s, background .25s;
}
.site-header.scrolled {
  box-shadow: 0 8px 28px rgba(255, 107, 157, 0.1);
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.92);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.04em;
}
.brand img { height: 40px; width: auto; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 6px 18px rgba(255, 107, 157, 0.4);
}
.nav-links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav-links a {
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(255, 107, 157, 0.12);
  color: var(--primary);
}
.header-actions { display: flex; gap: 8px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14px;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #ff8fb3);
  color: #fff;
  box-shadow: 0 8px 22px rgba(255, 107, 157, 0.38);
}
.btn-primary:hover { color: #fff; box-shadow: 0 10px 28px rgba(255, 107, 157, 0.45); }
.btn-ghost {
  background: rgba(255,255,255,0.65);
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover {
  background: rgba(255, 107, 157, 0.08);
  border-color: rgba(255, 107, 157, 0.25);
}
.nav-toggle {
  display: none;
  width: 42px; height: 42px; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(255,255,255,0.85); cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h) - 34px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 48px 0 64px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 70% 40%, rgba(255, 182, 210, 0.5), transparent 42%),
    radial-gradient(circle at 20% 70%, rgba(163, 196, 255, 0.45), transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(255, 214, 230, 0.3), transparent 50%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}
.hero-copy { animation: rise .8s ease both; }
.hero-kicker {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 107, 157, 0.2);
  color: var(--primary);
  font-size: 13px;
  margin-bottom: 16px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.15;
  margin: 0 0 14px;
  background: linear-gradient(120deg, var(--ink) 15%, var(--primary) 55%, var(--accent) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 34em;
  margin: 0 0 28px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art {
  position: relative;
  min-height: 360px;
  animation: floaty 5s ease-in-out infinite;
}
.hero-art-frame {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  border-radius: 32px;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.85), rgba(255, 214, 230, 0.55)),
    linear-gradient(135deg, var(--primary), var(--accent));
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 20px 48px rgba(255, 107, 157, 0.18);
  overflow: hidden;
  position: relative;
}
.hero-art-frame img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-art-fallback {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 48px;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 8px 24px rgba(42,36,56,0.25);
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.35), transparent 40%),
    linear-gradient(145deg, #ff8fb3, #7aa4ff);
}

/* Sections */
.section { padding: 72px 0; }
.section-head {
  text-align: center;
  margin-bottom: 36px;
  animation: rise .7s ease both;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 8px;
}
.section-head p { margin: 0; color: var(--muted); }

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feature-card,
.product-card,
.stat-card,
.content-card,
.news-item {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  transition: transform .25s, box-shadow .25s;
}
.feature-card:hover,
.product-card:hover,
.news-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(255, 107, 157, 0.14);
}
.feature-card { padding: 24px; }
.feature-icon {
  width: 48px; height: 48px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.15), rgba(122, 162, 255, 0.12));
  font-size: 22px;
  margin-bottom: 14px;
}
.feature-card h3 { margin: 0 0 8px; font-size: 18px; font-family: var(--font-display); }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.stat-card { padding: 22px; text-align: center; }
.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--primary);
}
.stat-card span { color: var(--muted); font-size: 13px; }

.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.product-card {
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.product-card.recommend {
  border-color: rgba(255, 107, 157, 0.45);
  box-shadow: 0 16px 40px rgba(255, 107, 157, 0.2);
}
.badge {
  position: absolute; top: 16px; right: 16px;
  background: linear-gradient(135deg, var(--primary), #ff8fb3);
  color: #fff;
  font-size: 12px; padding: 4px 12px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.35);
}
.product-card h3 { margin: 0 0 12px; font-size: 22px; font-family: var(--font-display); }
.product-card .price {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--accent);
  margin-bottom: 16px;
}
.product-card .price small { font-size: 14px; color: var(--muted); font-family: var(--font-body); }
.product-card ul {
  margin: 0 0 20px; padding: 0; list-style: none;
  color: var(--muted); font-size: 14px;
}
.product-card li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}
.product-card .btn { width: 100%; }

/* Slider */
.slider {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 220px;
  background: linear-gradient(120deg, rgba(255,107,157,0.22), rgba(91,140,255,0.28));
  margin-bottom: 48px;
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.slide {
  display: none;
  padding: 48px 40px;
  min-height: 220px;
  color: var(--ink);
  background-size: cover;
  background-position: center;
}
.slide.active { display: block; animation: fadein .5s ease; }
.slide h3 { font-family: var(--font-display); font-size: 32px; margin: 0 0 8px; }
.slide p { margin: 0 0 16px; color: var(--muted); max-width: 36em; }
.slider-dots {
  position: absolute; bottom: 14px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 8px;
}
.slider-dots button {
  width: 8px; height: 8px; border-radius: 50%;
  border: 0; background: rgba(42,36,56,0.2); cursor: pointer;
  transition: background 0.2s, width 0.2s;
}
.slider-dots button.active { background: var(--primary); width: 22px; border-radius: 999px; }

/* Page banner / content */
.page-banner {
  padding: 56px 0 40px;
  text-align: center;
  position: relative;
}
.page-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  margin: 0 0 10px;
}
.page-banner p { margin: 0; color: var(--muted); }
.content-card { padding: 28px; margin-bottom: 20px; }
.content-card h2 { margin-top: 0; font-family: var(--font-display); }
.news-list { display: grid; gap: 12px; }
.news-item {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 18px 20px; align-items: center;
}
.news-item h3 { margin: 0; font-size: 16px; color: var(--ink); }
.news-item time { color: var(--muted); font-size: 13px; white-space: nowrap; }
.empty-hint { color: var(--muted); text-align: center; padding: 40px 20px; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.contact-item { padding: 20px; }
.contact-item strong { display: block; margin-bottom: 6px; }

/* Footer */
.site-footer {
  margin-top: 40px;
  padding: 48px 0 28px;
  background: linear-gradient(180deg, transparent, rgba(255,245,248,0.85));
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 28px;
  margin-bottom: 8px;
}
.footer-grid h4 { margin: 0 0 12px; font-family: var(--font-display); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: var(--primary); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-top: 18px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 13px;
}

/* Float */
.float-panel {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-btn {
  min-width: 52px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 107, 157, 0.15);
  box-shadow: var(--shadow);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.float-btn:hover { color: var(--primary); background: rgba(255,255,255,0.95); }

/* Particles */
#particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.petal {
  position: absolute;
  top: -20px;
  width: 10px; height: 10px;
  background: rgba(255, 107, 157, 0.55);
  border-radius: 60% 40% 60% 40%;
  animation: fall linear infinite;
}
.petal:nth-child(3n) {
  background: rgba(122, 162, 255, 0.45);
  border-radius: 40% 60% 40% 60%;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fall {
  to { transform: translateY(110vh) rotate(360deg); opacity: 0.2; }
}

@media (max-width: 960px) {
  .features, .stats, .products { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .footer-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; min-height: 260px; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-links, .header-actions {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(255,252,254,0.97);
    backdrop-filter: blur(16px);
    padding: 12px 16px 16px;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
  }
  .site-header.open .nav-links,
  .site-header.open .header-actions { display: flex; }
}
@media (max-width: 600px) {
  .features, .stats, .products { grid-template-columns: 1fr; }
  .news-item { flex-direction: column; align-items: flex-start; }
}
