.page-home{
  background:var(--c-bg);
  color:var(--c-text);
  scroll-behavior:smooth;
}

/* ===== Hero 海报式首屏 ===== */
.page-home .home-hero{
  position:relative;
  overflow:hidden;
  color:#fff;
  padding:28px 0 72px;
  background:
    radial-gradient(circle at 82% 18%, rgba(57,255,20,.13) 0, transparent 26%),
    linear-gradient(118deg, var(--c-secondary) 0%, #141F38 62%, #0F182E 100%);
}

.page-home .home-hero::after{
  content:"";
  position:absolute;
  right:0;
  bottom:-10%;
  width:44%;
  height:26%;
  background:linear-gradient(100deg, transparent 0%, var(--c-primary) 30%, var(--c-accent) 130%);
  clip-path:polygon(12% 28%, 100% 0, 88% 100%, 0 100%);
  opacity:.18;
  pointer-events:none;
}

.page-home .home-hero__inner{
  position:relative;
  z-index:1;
}

.page-home .home-hero__crumbs{
  margin-bottom:18px;
}

.page-home .home-hero__kicker{
  color:var(--c-accent);
  font-weight:800;
}

.page-home .home-hero__title{
  font-family:var(--font-head);
  font-size:clamp(48px, 9vw, 92px);
  line-height:1.04;
  letter-spacing:-1px;
  text-transform:uppercase;
  margin:10px 0 14px;
  color:#fff;
}

.page-home .home-hero__title-accent{
  color:var(--c-primary);
  position:relative;
}

.page-home .home-hero__lead{
  max-width:540px;
  color:rgba(255,255,255,.86);
  font-size:16px;
  line-height:1.7;
}

.page-home .home-hero__actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:24px;
}

.page-home .home-hero__actions .btn--outline{
  border-color:rgba(255,255,255,.4);
  color:#fff;
}

.page-home .home-hero__actions .btn--outline:hover{
  border-color:var(--c-accent);
  color:var(--c-accent);
}

.page-home .home-hero__tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:20px;
}

.page-home .home-hero__media{
  position:relative;
  margin-top:40px;
}

.page-home .home-hero__media-card{
  border-radius:var(--radius-lg);
  overflow:hidden;
  clip-path:polygon(0 8%, 100% 0, 100% 92%, 0 100%);
  box-shadow:var(--shadow-md);
}

.page-home .home-hero__media-card img{
  display:block;
  width:100%;
  height:auto;
}

.page-home .home-hero__float-card{
  position:absolute;
  right:14px;
  top:10%;
  background:var(--c-primary);
  color:#fff;
  padding:14px 20px 16px;
  clip-path:polygon(0 0, 100% 0, 100% 100%, 10% 100%, 0 88%);
  box-shadow:0 10px 30px rgba(255,75,43,.35);
  max-width:220px;
}

.page-home .home-hero__float-card span{
  display:block;
  font-size:12px;
  opacity:.9;
}

.page-home .home-hero__float-card strong{
  display:block;
  font-family:var(--font-head);
  font-size:40px;
  line-height:1.1;
  margin-top:4px;
}

.page-home .home-hero__float-card em{
  font-style:normal;
  font-size:14px;
  font-family:var(--font-body);
  margin-left:4px;
}

.page-home .home-hero__media-note{
  position:absolute;
  left:18px;
  bottom:8%;
  display:flex;
  align-items:baseline;
  gap:10px;
  background:rgba(29,42,74,.88);
  color:#fff;
  border-radius:999px;
  padding:10px 16px;
  font-size:13px;
  border:1px solid rgba(255,255,255,.2);
}

.page-home .home-hero__media-note strong{
  color:var(--c-accent);
  font-size:20px;
  font-family:var(--font-head);
}

/* ===== 最新更新公告 ===== */
.page-home .home-update{
  padding:64px 0;
  position:relative;
}

.page-home .home-update::before{
  content:"";
  display:block;
  height:8px;
  width:100%;
  margin-bottom:48px;
  background:linear-gradient(90deg, var(--c-primary) 0%, var(--c-primary-dark) 28%, var(--c-secondary) 28%, var(--c-secondary) 70%, var(--c-accent) 70%, var(--c-accent) 100%);
  clip-path:polygon(0 0, 100% 0, 98% 100%, 2% 100%);
}

.page-home .home-update__grid{
  display:grid;
  gap:16px;
  margin-top:32px;
}

.page-home .home-update__card{
  position:relative;
  padding:26px 22px 22px;
  overflow:hidden;
}

.page-home .home-update__index{
  font-family:var(--font-head);
  font-size:64px;
  line-height:1;
  color:var(--c-bg);
  position:absolute;
  right:18px;
  top:8px;
  opacity:.5;
  -webkit-text-stroke:1px rgba(29,42,74,.12);
}

.page-home .home-update__card .stat{
  position:relative;
  margin-top:8px;
}

.page-home .home-update__note{
  position:relative;
  margin-top:8px;
  font-size:14px;
  color:var(--c-muted);
  line-height:1.6;
}

/* ===== 赛事分类直通 ===== */
.page-home .home-sports{
  padding:0 0 72px;
}

.page-home .home-sports__grid{
  margin-top:32px;
}

.page-home .home-sports__card{
  overflow:hidden;
  text-decoration:none;
  color:inherit;
  transition:transform .22s ease, box-shadow .22s ease;
}

.page-home .home-sports__card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-md);
}

.page-home .home-sports__media{
  clip-path:polygon(0 0, 100% 0, 100% 94%, 0 100%);
}

.page-home .home-sports__media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.page-home .home-sports__icon{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:146px;
  background:linear-gradient(135deg, var(--c-secondary), var(--c-secondary-light));
  clip-path:polygon(0 0, 100% 0, 100% 94%, 0 100%);
}

.page-home .home-sports__icon svg{
  width:76px;
  height:76px;
}

.page-home .home-sports__body{
  padding:20px 20px 24px;
}

.page-home .home-sports__body h3{
  font-size:24px;
  margin:8px 0 6px;
}

.page-home .home-sports__body p{
  font-size:14px;
  color:var(--c-muted);
  line-height:1.6;
}

.page-home .home-sports__link{
  display:inline-block;
  margin-top:12px;
  font-weight:700;
  font-size:14px;
  color:var(--c-primary);
}

.page-home .home-sports__card:hover .home-sports__link{
  text-decoration:underline;
}

/* ===== 近30天价格波动概览 ===== */
.page-home .home-trend{
  background:
    linear-gradient(135deg, rgba(255,75,43,.08), transparent 32%),
    var(--c-secondary);
  color:#fff;
  padding:64px 0;
}

.page-home .home-trend .section-head{
  color:#fff;
}

.page-home .home-trend .kicker{
  color:var(--c-accent);
}

.page-home .home-trend .lead{
  color:rgba(255,255,255,.75);
}

.page-home .home-trend__tabs{
  margin-top:32px;
}

.page-home .home-trend__radio{
  position:absolute;
  opacity:0;
  width:1px;
  height:1px;
}

.page-home .home-trend__label{
  display:inline-block;
  padding:8px 20px;
  margin:4px 6px 4px 0;
  border-radius:999px;
  background:rgba(255,255,255,.1);
  color:rgba(255,255,255,.75);
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  border:1px solid transparent;
  transition:background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.page-home .home-trend__radio:checked + .home-trend__label{
  background:var(--c-primary);
  color:#fff;
  box-shadow:0 6px 18px rgba(255,75,43,.35);
}

.page-home .home-trend__panel{
  display:none;
  width:100%;
  margin-top:18px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--radius-lg);
  padding:20px 18px 24px;
  background:linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
}

.page-home #t-football:checked ~ .home-trend__panel--football,
.page-home #t-basketball:checked ~ .home-trend__panel--basketball,
.page-home #t-tennis:checked ~ .home-trend__panel--tennis,
.page-home #t-badminton:checked ~ .home-trend__panel--badminton,
.page-home #t-tabletennis:checked ~ .home-trend__panel--tabletennis,
.page-home #t-swim:checked ~ .home-trend__panel--swim{
  display:block;
}

.page-home .home-trend__meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
}

.page-home .home-trend__range{
  border:1px solid rgba(57,255,20,.35);
  background:rgba(57,255,20,.14);
  color:var(--c-accent);
  padding:5px 12px;
  border-radius:999px;
  font-size:13px;
  font-weight:700;
}

.page-home .home-trend__direction{
  font-size:13px;
  color:rgba(255,255,255,.75);
}

.page-home .home-trend__note{
  margin-left:auto;
  font-size:12px;
  color:rgba(255,255,255,.45);
}

.page-home .home-trend__chart{
  width:100%;
  height:auto;
  max-height:260px;
}

.page-home .home-trend__grid{
  stroke:rgba(255,255,255,.12);
  stroke-width:1;
  stroke-dasharray:4 6;
}

.page-home .home-trend__line{
  fill:none;
  stroke:var(--c-primary);
  stroke-width:4;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-dasharray:100;
  stroke-dashoffset:100;
  animation:home-draw-line 1.6s cubic-bezier(.22,.7,.25,1) .1s forwards;
}

@keyframes home-draw-line{
  to{stroke-dashoffset:0;}
}

.page-home .home-trend__dot{
  fill:#fff;
  stroke:var(--c-primary);
  stroke-width:2;
}

.page-home .home-trend__dot--last{
  fill:var(--c-accent);
  stroke:none;
}

.page-home .home-trend__axis{
  font-family:var(--font-body);
  font-size:11px;
  fill:rgba(255,255,255,.5);
}

.page-home .home-trend__link{
  display:inline-block;
  margin-top:12px;
  color:var(--c-accent);
  font-weight:700;
  font-size:14px;
  text-decoration:none;
}

.page-home .home-trend__link:hover{
  text-decoration:underline;
}

/* ===== 热门套餐推荐 ===== */
.page-home .home-packages{
  padding:72px 0;
}

.page-home .home-packages__grid{
  margin-top:36px;
}

.page-home .home-packages__card{
  position:relative;
  overflow:hidden;
  padding:28px 22px 26px;
}

.page-home .home-packages__card::before{
  content:"";
  display:block;
  height:5px;
  margin-bottom:20px;
  background:linear-gradient(90deg, var(--c-primary), var(--c-accent));
  clip-path:polygon(0 0, 100% 0, 96% 100%, 0 100%);
}

.page-home .home-packages__card--dark{
  background:var(--c-secondary);
  color:#fff;
}

.page-home .home-packages__save{
  position:absolute;
  top:18px;
  right:18px;
  z-index:1;
  background:var(--c-accent);
  color:var(--c-secondary);
  font-size:12px;
  font-weight:800;
  padding:5px 12px;
  border-radius:999px;
  transform:rotate(2deg);
  box-shadow:0 4px 12px rgba(57,255,20,.3);
  transition:transform .2s ease, box-shadow .2s ease;
}

.page-home .home-packages__card:hover .home-packages__save{
  transform:rotate(0deg) scale(1.07);
  box-shadow:0 6px 18px rgba(57,255,20,.45);
}

.page-home .home-packages__card h3{
  font-size:22px;
  margin:14px 0 6px;
}

.page-home .home-packages__price{
  font-family:var(--font-head);
  font-size:56px;
  line-height:1;
  color:var(--c-primary);
  margin:16px 0;
}

.page-home .home-packages__price small{
  font-family:var(--font-body);
  font-size:14px;
  font-weight:400;
  color:var(--c-muted);
  margin-left:6px;
}

.page-home .home-packages__card--dark .home-packages__price small{
  color:rgba(255,255,255,.5);
}

.page-home .home-packages__currency{
  font-size:24px;
  vertical-align:top;
  margin-right:2px;
}

.page-home .home-packages__list{
  list-style:none;
  padding:0;
  margin:0 0 24px;
}

.page-home .home-packages__list li{
  position:relative;
  padding:6px 0 6px 22px;
  font-size:14px;
  color:var(--c-text);
}

.page-home .home-packages__list li::before{
  content:"";
  position:absolute;
  left:0;
  top:12px;
  width:10px;
  height:10px;
  background:var(--c-primary);
  clip-path:polygon(50% 0, 100% 100%, 0 100%);
}

.page-home .home-packages__card--dark .home-packages__list li{
  color:rgba(255,255,255,.82);
}

/* ===== 服务承诺与信任标志 ===== */
.page-home .home-trust{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(57,255,20,.14), transparent 28%),
    var(--c-secondary);
  color:#fff;
  padding:60px 0;
}

.page-home .home-trust__media{
  position:relative;
  margin-bottom:36px;
}

.page-home .home-trust__media::before{
  content:"";
  position:absolute;
  inset:-4% 6% 6% -4%;
  background:var(--c-primary);
  clip-path:polygon(4% 0, 100% 0, 100% 96%, 0 100%);
  z-index:0;
  opacity:.5;
}

.page-home .home-trust__media img{
  position:relative;
  z-index:1;
  display:block;
  width:100%;
  height:auto;
  clip-path:polygon(0 5%, 100% 0, 100% 95%, 0 100%);
}

.page-home .home-trust .section-head{
  color:#fff;
}

.page-home .home-trust .kicker{
  color:var(--c-accent);
}

.page-home .home-trust .lead{
  color:rgba(255,255,255,.75);
}

.page-home .home-trust__stats{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:18px;
  margin:30px 0 24px;
}

.page-home .home-trust__stat{
  border-left:3px solid var(--c-primary);
  padding-left:14px;
}

.page-home .home-trust__stat-num{
  display:block;
  font-family:var(--font-head);
  font-size:42px;
  line-height:1;
  color:#fff;
}

.page-home .home-trust__stat-num::after{
  content:"";
  display:inline-block;
  width:10px;
  height:10px;
  margin-left:10px;
  background:var(--c-accent);
  clip-path:polygon(50% 0, 100% 100%, 0 100%);
}

.page-home .home-trust__stat-label{
  font-size:13px;
  color:rgba(255,255,255,.6);
}

.page-home .home-trust__badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:28px;
}

.page-home .home-trust .btn--outline{
  border-color:rgba(255,255,255,.4);
  color:#fff;
}

.page-home .home-trust .btn--outline:hover{
  border-color:var(--c-accent);
  color:var(--c-accent);
}

/* ===== 继续探索 ===== */
.page-home .home-links{
  padding:56px 0 64px;
}

.page-home .home-links__inner{
  display:grid;
  gap:16px;
}

.page-home .home-links__card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:22px 24px;
  text-decoration:none;
  color:inherit;
  transition:transform .2s ease;
}

.page-home .home-links__card:hover{
  transform:translateX(4px);
}

.page-home .home-links__title{
  font-size:20px;
  font-weight:800;
  color:var(--c-secondary);
}

.page-home .home-links__title::before{
  content:"";
  display:inline-block;
  width:12px;
  height:12px;
  margin-right:10px;
  background:var(--c-primary);
  clip-path:polygon(50% 0, 100% 100%, 0 100%);
}

.page-home .home-links__desc{
  font-size:13px;
  color:var(--c-muted);
  text-align:right;
}

/* ===== 平板与桌面断点 ===== */
@media (min-width: 720px){
  .page-home .home-update__grid{
    grid-template-columns:repeat(2, 1fr);
    gap:20px;
  }

  .page-home .home-trust__stats{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media (min-width: 960px){
  .page-home .home-hero{
    padding:40px 0 96px;
  }

  .page-home .home-hero__inner{
    display:grid;
    grid-template-columns:1.05fr .95fr;
    gap:56px;
    align-items:center;
  }

  .page-home .home-hero__media{
    margin-top:0;
  }

  .page-home .home-update__grid{
    grid-template-columns:repeat(4, 1fr);
    gap:20px;
  }

  .page-home .home-update__card{
    padding:30px 26px 24px;
  }

  .page-home .home-sports__body{
    padding:24px;
  }

  .page-home .home-trend__tabs{
    max-width:var(--content-max);
    margin-left:auto;
    margin-right:auto;
  }

  .page-home .home-trend__panel{
    padding:30px 28px 32px;
  }

  .page-home .home-trend__chart{
    max-height:300px;
  }

  .page-home .home-packages__grid{
    gap:24px;
  }

  .page-home .home-packages__card{
    padding:32px 28px 28px;
  }

  .page-home .home-trust__inner{
    display:grid;
    grid-template-columns:.9fr 1.1fr;
    gap:56px;
    align-items:center;
  }

  .page-home .home-trust__media{
    margin-bottom:0;
  }

  .page-home .home-trust__stats{
    grid-template-columns:repeat(4, 1fr);
  }

  .page-home .home-links__inner{
    grid-template-columns:repeat(3, 1fr);
    gap:20px;
  }
}

@media (prefers-reduced-motion: reduce){
  .page-home .home-trend__line{
    animation:none;
    stroke-dashoffset:0;
  }

  .page-home *{
    transition-duration:.01ms !important;
    animation-duration:.01ms !important;
  }
}
