.page-home{
  --ph-hero-bg: rgba(0, 0, 0, 0.65);
  --ph-card-radius: 28px;
  --ph-card-radius-sm: 18px;
  --ph-grid-line: rgba(242, 247, 242, 0.055);
  --ph-accent-glow: rgba(0, 224, 124, 0.18);
  --ph-orange-glow: rgba(255, 108, 47, 0.12);
  --ph-card-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.075) 0%, rgba(255, 255, 255, 0.028) 100%);
  --ph-card-border: rgba(242, 247, 242, 0.16);
  --ph-font-index: 0.8125rem;
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg);
}

.page-home__preview{
  position: relative;
  z-index: 3;
  background: rgba(11, 31, 26, 0.92);
  border-bottom: 1px solid rgba(242, 247, 242, 0.08);
  padding: 0.65rem 1rem;
  overflow-x: auto;
  backdrop-filter: blur(8px);
}

.page-home__preview-list{
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  gap: 0.4rem 1.4rem;
  max-width: var(--container-width);
  width: max-content;
  min-width: 100%;
  justify-content: space-between;
}

.page-home__preview-link{
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.page-home__preview-link:hover,
.page-home__preview-link:focus-visible{
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.page-home__hero{
  position: relative;
  padding: 2rem 0 3rem;
  overflow: hidden;
}

.page-home__hero-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('{zhanqunpic:h:1080w:1920}');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.45;
  transform: scale(1.02);
  filter: saturate(0.85) contrast(1.1);
}

.page-home__hero-bg::after{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(11, 31, 26, 0.92) 0%, rgba(11, 31, 26, 0.78) 42%, rgba(0, 224, 124, 0.16) 100%);
}

.page-home__hero-grid-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    repeating-linear-gradient(0deg, var(--ph-grid-line) 0px, var(--ph-grid-line) 1px, transparent 1px, transparent 80px),
    repeating-linear-gradient(90deg, var(--ph-grid-line) 0px, var(--ph-grid-line) 1px, transparent 1px, transparent 80px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at 70% 40%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 70% 40%, black 0%, transparent 75%);
  animation: ph-grid-slide 18s linear infinite;
}

@keyframes ph-grid-slide{
  from{
    background-position: 0 0;
  }
  to{
    background-position: 0 48px;
  }
}

.page-home__hero-inner{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.page-home__hero-copy{
  max-width: 680px;
}

.page-home__eyebrow{
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0 0 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.page-home__eyebrow::before{
  content: '';
  width: 32px;
  height: 2px;
  background: var(--color-accent);
  display: inline-block;
}

.page-home__hero-title{
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 0 0 1rem;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.page-home__hero-subtitle{
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
  max-width: 48ch;
}

.page-home__hero-cta{
  display: inline-block;
}

.page-home__quick-cards{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.page-home__card{
  position: relative;
  border-radius: var(--ph-card-radius);
  background: var(--ph-card-bg);
  border: 1px solid var(--ph-card-border);
  box-shadow: var(--shadow-card);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  transform: translateZ(0);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.page-home__card:hover,
.page-home__card:focus-within{
  transform: translateY(-5px);
  border-color: rgba(0, 224, 124, 0.45);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 224, 124, 0.08);
}

.page-home__card--login{
  background:
    linear-gradient(135deg, rgba(0, 224, 124, 0.15) 0%, rgba(0, 0, 0, 0.25) 55%, rgba(255, 108, 47, 0.08) 100%),
    var(--ph-card-bg);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px));
  border-radius: var(--ph-card-radius) var(--ph-card-radius-sm) var(--ph-card-radius-sm) var(--ph-card-radius);
  min-height: 260px;
  justify-content: center;
}

.page-home__card--login::before{
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, var(--ph-orange-glow) 0%, transparent 70%);
  pointer-events: none;
}

.page-home__card-accent{
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0, 224, 124, 0.2), rgba(0, 0, 0, 0.14));
  border: 1px solid rgba(0, 224, 124, 0.25);
  color: var(--color-primary);
  box-shadow: 0 0 24px rgba(0, 224, 124, 0.12);
}

.page-home__card-icon{
  width: 48px;
  height: 48px;
  color: inherit;
}

.page-home__card--possession .page-home__card-accent,
.page-home__card--goals .page-home__card-accent{
  background: linear-gradient(135deg, rgba(0, 179, 166, 0.18), rgba(0, 0, 0, 0.12));
  border-color: rgba(0, 179, 166, 0.28);
  color: var(--color-primary-soft);
}

.page-home__card-body{
  flex: 1;
}

.page-home__card-index{
  font-family: var(--font-body);
  font-size: var(--ph-font-index);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin: 0 0 0.35rem;
}

.page-home__card--possession .page-home__card-index{
  color: var(--color-primary-soft);
}

.page-home__card--goals .page-home__card-index{
  color: var(--color-purple);
}

.page-home__card-title{
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.1;
  color: var(--color-text);
  margin: 0 0 0.5rem;
}

.page-home__card-desc{
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0;
}

.page-home__card-link{
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.2rem;
  width: fit-content;
  transition: color var(--transition), border-color var(--transition);
}

.page-home__card-link:hover{
  color: var(--color-text);
  border-color: var(--color-primary);
}

.page-home__card-head{
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
}

.page-home__card-head .page-home__card-title{
  margin-bottom: 0;
}

.page-home__chart-image{
  border-radius: var(--radius-small);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  line-height: 0;
}

.page-home__chart-img{
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home__chart-toggle{
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(0, 224, 124, 0.1);
  border: 1px solid rgba(0, 224, 124, 0.3);
  border-radius: var(--radius-pill);
  padding: 0.6rem 1.1rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.page-home__chart-toggle:hover{
  background: var(--color-primary);
  color: var(--color-bg);
  transform: translateY(-2px);
}

.page-home__chart-toggle:active{
  transform: scale(0.96);
}

.page-home__ticker{
  border-top: 1px solid rgba(242, 247, 242, 0.08);
  border-bottom: 1px solid rgba(242, 247, 242, 0.08);
  background: rgba(0, 0, 0, 0.28);
  padding: 0.8rem 0;
  overflow-x: auto;
}

.page-home__ticker-inner{
  display: flex;
  gap: clamp(1.5rem, 4vw, 3rem);
  justify-content: flex-start;
  align-items: center;
  width: max-content;
  min-width: 100%;
  padding: 0 1rem;
}

.page-home__ticker-item{
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  white-space: nowrap;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.page-home__ticker-label{
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.page-home__ticker-value{
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--color-primary);
}

.page-home__section-head{
  margin-bottom: 2rem;
}

.page-home__section-index{
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(3.2rem, 7vw, 5rem);
  line-height: 1;
  color: rgba(242, 247, 242, 0.08);
  margin: 0 0 -0.25rem;
  user-select: none;
  display: block;
}

.page-home__section-title{
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  line-height: 1.08;
  color: var(--color-text);
  margin: 0 0 0.6rem;
  padding-left: 1rem;
  border-left: 4px solid var(--color-primary);
}

.page-home__section-desc{
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 56ch;
}

.page-home__live-stats{
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.page-home__live-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}

.page-home__live-chart{
  position: relative;
  border-radius: var(--radius-large);
  background: linear-gradient(145deg, rgba(0, 224, 124, 0.07) 0%, rgba(0, 0, 0, 0.22) 100%);
  border: 1px solid rgba(0, 224, 124, 0.12);
  padding: 1.25rem;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-home__trajectory{
  width: 100%;
  height: auto;
  max-height: 180px;
}

.page-home__live-caption{
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin: 0.6rem 0 0;
  position: absolute;
  bottom: 1rem;
  left: 1.25rem;
}

.page-home__live-list{
  display: grid;
  gap: 1rem;
}

.page-home__live-item{
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid rgba(242, 247, 242, 0.09);
  border-radius: var(--radius-small);
  padding: 1.1rem 1.25rem;
  border-left: 3px solid var(--color-primary-soft);
  transition: border-color var(--transition), transform var(--transition);
}

.page-home__live-item:nth-child(2){
  border-left-color: var(--color-accent);
}

.page-home__live-item:nth-child(3){
  border-left-color: var(--color-purple);
}

.page-home__live-item:hover{
  transform: translateX(6px);
  border-left-width: 5px;
}

.page-home__live-name{
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
  margin: 0 0 0.25rem;
}

.page-home__live-meta{
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0;
}

.page-home__news{
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
}

.page-home__news-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.page-home__news-card{
  border-radius: var(--ph-card-radius);
  background: var(--ph-card-bg);
  border: 1px solid var(--ph-card-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.page-home__news-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}

.page-home__news-thumb{
  line-height: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.page-home__news-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.page-home__news-card:hover .page-home__news-thumb img{
  transform: scale(1.04);
}

.page-home__news-body{
  padding: 1.25rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.page-home__news-tag{
  align-self: flex-start;
  margin-bottom: 0.75rem;
}

.page-home__news-title{
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1.2;
  color: var(--color-text);
  margin: 0 0 0.5rem;
}

.page-home__news-excerpt{
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0 0 1rem;
  flex: 1;
}

.page-home__news-link{
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition), color var(--transition);
}

.page-home__news-link:hover{
  border-color: var(--color-primary);
  color: var(--color-text);
}

.page-home__rounds{
  padding: 2.5rem 0 4rem;
  background:
    radial-gradient(ellipse at 20% 80%, var(--ph-orange-glow) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, var(--ph-accent-glow) 0%, transparent 55%);
  border-top: 1px solid rgba(242, 247, 242, 0.06);
}

.page-home__section-head--rounds{
  margin-bottom: 1.5rem;
}

.page-home__section-head--rounds .page-home__section-index{
  color: rgba(255, 108, 47, 0.12);
}

.page-home__rounds-panel{
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(242, 247, 242, 0.09);
  border-radius: var(--ph-card-radius);
  padding: 1.25rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.page-home__rounds-slider{
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.65rem;
  margin-bottom: 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.page-home__rounds-btn{
  flex: 0 0 auto;
  min-width: 96px;
  min-height: 44px;
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(242, 247, 242, 0.12);
  border-radius: var(--radius-pill);
  padding: 0.6rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  align-items: flex-start;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.page-home__rounds-btn:hover{
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.page-home__rounds-btn.is-active{
  background: linear-gradient(135deg, var(--color-accent) 0%, #ff8a4d 100%);
  border-color: var(--color-accent);
  box-shadow: 0 6px 20px rgba(255, 108, 47, 0.3);
}

.page-home__rounds-label{
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--color-text);
}

.page-home__rounds-teams{
  font-family: var(--font-body);
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  letter-spacing: 0.03em;
}

.page-home__rounds-btn.is-active .page-home__rounds-label{
  color: var(--color-bg);
}

.page-home__rounds-btn.is-active .page-home__rounds-teams{
  color: rgba(11, 31, 26, 0.75);
}

.page-home__rounds-schedule{
  border-top: 1px solid rgba(242, 247, 242, 0.08);
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.page-home__rounds-schedule-note{
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0;
}

.page-home__rounds-link{
  display: inline-block;
}

.page-home__breadcrumb{
  padding-top: 0;
  margin-top: -1rem;
  padding-bottom: 3rem;
}

@media (min-width: 768px){
  .page-home__quick-cards{
    grid-template-columns: 1fr 1fr;
  }

  .page-home__card--login{
    grid-row: span 2;
    min-height: 420px;
  }

  .page-home__news-grid{
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home__live-grid{
    grid-template-columns: 1.2fr 0.8fr;
  }
}

@media (min-width: 960px){
  .page-home__hero{
    padding: 3rem 0 5rem;
  }

  .page-home__hero-inner{
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3.5rem;
    align-items: center;
  }

  .page-home__hero-copy{
    padding-bottom: 1rem;
  }

  .page-home__quick-cards{
    grid-template-columns: 0.9fr 1fr;
    gap: 1.5rem;
  }

  .page-home__card--login{
    min-height: 460px;
  }

  .page-home__ticker-inner{
    justify-content: space-between;
  }

  .page-home__rounds-panel{
    padding: 1.5rem;
  }

  .page-home__rounds-slider{
    gap: 0.8rem;
  }

  .page-home__rounds-btn{
    min-width: 120px;
  }
}
