/**
 * @fileoverview 618 × 端午节活动专题页样式。
 * 独立视觉：米白底、薄荷绿与天蓝主色、端午水感纹理，清新海报式排版。
 */

:root {
  --paper: #f7faf9;
  --paper-2: #ecfdf5;
  --ink: #134e4a;
  --ink-soft: #475569;
  --mint: #059669;
  --mint-deep: #047857;
  --sky: #0ea5e9;
  --sky-deep: #0284c7;
  --coral: #f97316;
  --line: rgba(5, 150, 105, 0.14);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "SF Mono", "Consolas", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 13px,
      rgba(14, 165, 233, 0.035) 13px,
      rgba(14, 165, 233, 0.035) 14px
    ),
    linear-gradient(180deg, #f0fdf4 0%, var(--paper) 45%, #f0f9ff 100%);
  line-height: 1.65;
  min-height: 100vh;
}

a {
  color: var(--mint-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--sky-deep);
}

/* 顶栏 */
.act618-top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: rgba(247, 250, 249, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.act618-top a.back {
  font-size: 0.875rem;
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.act618-top a.back:hover {
  color: var(--mint);
}

.act618-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--mint);
  border: 1px solid var(--mint);
  padding: 0.2rem 0.5rem;
}

/* 主区域 */
.act618-wrap {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.act618-hero {
  margin-bottom: 2.75rem;
  position: relative;
}

/* 角落大号水印，降低存在感 */
.act618-hero::before {
  content: "618";
  position: absolute;
  right: -0.5rem;
  top: -1.75rem;
  font-family: var(--font-mono);
  font-size: clamp(5rem, 22vw, 9rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(5, 150, 105, 0.08);
  pointer-events: none;
  letter-spacing: -0.06em;
}

.act618-kicker {
  font-size: 0.8125rem;
  letter-spacing: 0.22em;
  color: var(--coral);
  margin-bottom: 0.5rem;
}

.act618-title {
  font-size: clamp(1.75rem, 5.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 1rem;
}

.act618-lead {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 38ch;
}

/* 区块卡片 */
.act618-section {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.35rem 1.35rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow:
    0 1px 0 rgba(5, 150, 105, 0.06),
    0 8px 24px rgba(14, 165, 233, 0.08);
}

.act618-section h2 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0 0 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--mint);
  display: inline-block;
}

.act618-section p {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.act618-section p:last-child {
  margin-bottom: 0;
}

/* 优惠码一行 */
.act618-code-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: var(--paper-2);
  border: 1px dashed var(--line);
  border-radius: 4px;
}

.act618-code {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  word-break: break-all;
  color: var(--mint-deep);
}

.act618-copy {
  font-family: inherit;
  font-size: 0.8125rem;
  padding: 0.4rem 0.85rem;
  cursor: pointer;
  border: 1px solid var(--mint-deep);
  background: var(--mint-deep);
  color: #fff;
  border-radius: 4px;
  letter-spacing: 0.06em;
}

.act618-copy:hover {
  background: var(--sky-deep);
  border-color: var(--sky-deep);
}

.act618-copy:active {
  transform: translateY(1px);
}

.act618-copy.copied {
  background: var(--coral);
  border-color: var(--coral);
}

/* 列表 */
.act618-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.act618-list li {
  margin-bottom: 0.35rem;
}

.act618-list li:last-child {
  margin-bottom: 0;
}

/* 抽奖外链入口 */
.act618-lottery-cta {
  margin: 1rem 0 0.75rem !important;
}

.act618-lottery-link {
  display: inline-block;
  padding: 0.55rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #fff !important;
  text-decoration: none !important;
  background: linear-gradient(135deg, var(--mint) 0%, var(--sky) 100%);
  border-radius: 4px;
  border: 1px solid var(--mint-deep);
  box-shadow:
    0 1px 0 rgba(5, 150, 105, 0.08),
    0 4px 12px rgba(14, 165, 233, 0.25);
}

.act618-lottery-link:hover {
  background: linear-gradient(135deg, var(--mint-deep) 0%, var(--sky-deep) 100%);
  border-color: var(--sky-deep);
  color: #fff !important;
}

.act618-lottery-link:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(14, 165, 233, 0.2);
}

.act618-note {
  margin-top: 0.85rem !important;
  font-size: 0.8125rem !important;
  color: #64748b !important;
  border-left: 3px solid var(--sky);
  padding-left: 0.65rem;
}

.act618-foot {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: #64748b;
  text-align: center;
}

@media (min-width: 640px) {
  .act618-wrap {
    padding-top: 3.25rem;
  }

  .act618-section {
    padding: 1.5rem 1.65rem 1.65rem;
  }
}
