.page-home {
  background: var(--color-light);
  color: var(--text-color);
  overflow-x: hidden;
}

.page-home a {
  color: inherit;
  text-decoration: none;
}

.page-home a:focus-visible,
.page-home button:focus-visible,
.page-home summary:focus-visible {
  outline: 3px solid var(--color-cyan);
  outline-offset: 3px;
}

.page-home .home-welcome {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(150deg, var(--color-dark) 0%, var(--color-primary) 52%, var(--color-green) 100%);
  padding: 2rem 0 2.5rem;
}

.page-home .home-welcome::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, .45);
  box-shadow: 0 0 0 34px rgba(212, 175, 55, .06), 0 0 0 68px rgba(212, 175, 55, .04);
  pointer-events: none;
}

.page-home .home-welcome::after {
  content: "";
  position: absolute;
  bottom: -180px;
  left: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 204, .28);
  box-shadow: 0 0 0 26px rgba(0, 229, 204, .03);
  pointer-events: none;
}

.page-home .home-welcome .container {
  position: relative;
  z-index: 2;
}

.page-home .home-welcome-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 0;
  opacity: .2;
}

.page-home .home-welcome-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .home-welcome-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.page-home .home-statement {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(26, 11, 46, .35);
  border: 1px solid rgba(212, 175, 55, .35);
  backdrop-filter: blur(14px);
}

.page-home .home-statement .lead {
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 1rem 0 1.5rem;
}

.page-home .home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.page-home .home-directory {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(245, 243, 247, .12);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(10px);
}

.page-home .directory-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.page-home .directory-head .section-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--color-gold);
}

.page-home .directory-head .section-subtitle {
  font-size: .875rem;
  color: rgba(255, 255, 255, .7);
}

.page-home .directory-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .65rem;
}

.page-home .directory-list li {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: baseline;
  padding: .65rem .85rem;
  background: rgba(255, 255, 255, .08);
  border-radius: 1rem;
}

.page-home .directory-list a {
  color: #fff;
  font-weight: 700;
}

.page-home .directory-list a:hover,
.page-home .directory-list a:focus-visible {
  color: var(--color-cyan);
}

.page-home .home-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  margin-top: 1.5rem;
}

.page-home .stat-item {
  padding: .9rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(212, 175, 55, .3);
  text-align: center;
}

.page-home .stat-item .data-text {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-gold);
}

.page-home .stat-item span:last-child {
  font-size: .8rem;
  color: rgba(255, 255, 255, .82);
}

.page-home .section {
  padding: var(--space-section) 0;
}

.page-home .section-heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.page-home .section-heading-row h2,
.page-home .brand-manifesto-section h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin: .4rem 0 .6rem;
  line-height: 1.2;
}

.page-home .section-subtitle {
  max-width: 44rem;
  color: #4b5563;
  line-height: 1.7;
}

.page-home .badge {
  display: inline-flex;
  align-items: center;
  padding: .35rem .75rem;
  border-radius: var(--radius-pill);
  font-size: .78rem;
  font-weight: 700;
  background: rgba(123, 47, 190, .12);
  color: var(--color-primary);
}

.page-home .badge-gold {
  background: rgba(212, 175, 55, .16);
  color: #8a6d1a;
}

.page-home .card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(123, 47, 190, .18);
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 10px 24px rgba(26, 11, 46, .08);
}

.page-home .filter-item {
  transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease;
}

.page-home .filter-item:hover,
.page-home .filter-item:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(123, 47, 190, .14);
}

.page-home .category-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-green));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.page-home .card-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin: 0 0 .5rem;
}

.page-home .card-text {
  color: #4b5563;
  line-height: 1.7;
  margin: 0;
}

.page-home .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: 1rem;
}

.page-home .tag-list .badge {
  background: var(--color-light);
  color: var(--color-green);
  border: 1px solid rgba(27, 77, 62, .18);
}

.page-home .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0 0 1.5rem;
}

.page-home .filter-btn {
  padding: .5rem 1.05rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(123, 47, 190, .28);
  background: #fff;
  color: var(--color-primary);
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.page-home .filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(123, 47, 190, .2);
}

.page-home .filter-btn.is-active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.page-home .content-center-grid {
  display: grid;
  gap: 1.25rem;
}

.page-home .content-center-pic {
  margin-top: 1.5rem;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

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

.page-home .activity-section {
  background: linear-gradient(180deg, rgba(255, 78, 80, .08) 0%, transparent 100%);
}

.page-home .activity-grid {
  display: grid;
  gap: 1.25rem;
}

.page-home .activity-card {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid rgba(255, 78, 80, .18);
  transition: transform .25s ease, box-shadow .25s ease;
}

.page-home .activity-card:hover,
.page-home .activity-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, .1);
}

.page-home .activity-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin: .8rem 0 .5rem;
}

.page-home .activity-card p {
  line-height: 1.7;
  color: #4b5563;
  margin: 0 0 1rem;
}

.page-home .activity-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.page-home .activity-rule {
  border-top: 4px solid var(--color-accent);
}

.page-home .activity-challenge {
  border-top: 4px solid var(--color-primary);
}

.page-home .activity-season {
  border-top: 4px solid var(--color-gold);
}

.page-home .download-section {
  background: linear-gradient(135deg, rgba(123, 47, 190, .92), rgba(27, 77, 62, .92));
  color: #fff;
}

.page-home .download-layout {
  display: grid;
  gap: 1.75rem;
}

.page-home .download-copy {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(10px);
}

.page-home .download-copy h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin: .4rem 0 .75rem;
}

.page-home .download-lead {
  line-height: 1.8;
  color: rgba(255, 255, 255, .9);
  margin: 0;
}

.page-home .platform-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  display: grid;
  gap: .6rem;
}

.page-home .platform-list li {
  display: flex;
  gap: .5rem;
  align-items: baseline;
  color: rgba(255, 255, 255, .85);
}

.page-home .platform-list li::before {
  content: "";
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--color-gold);
  flex: 0 0 auto;
  align-self: center;
}

.page-home .download-visual {
  text-align: center;
}

.page-home .qr-frame {
  overflow: hidden;
  border-radius: 1.75rem;
  border: 1px solid rgba(212, 175, 55, .45);
  margin: 0 auto;
  max-width: 300px;
  transition: transform .25s ease;
}

.page-home .qr-frame:hover {
  transform: scale(1.04);
}

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

.page-home .qr-caption {
  margin-top: .8rem;
  color: rgba(255, 255, 255, .8);
  font-size: .9rem;
}

.page-home .login-help-section {
  background: var(--color-light);
}

.page-home .login-help-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.page-home .step-card {
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid rgba(27, 77, 62, .16);
  transition: transform .25s ease, box-shadow .25s ease;
}

.page-home .step-card:hover,
.page-home .step-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(27, 77, 62, .1);
}

.page-home .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--color-green);
  color: #fff;
  font-family: var(--font-data);
  font-weight: 700;
  margin-bottom: .8rem;
}

.page-home .step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin: 0 0 .4rem;
}

.page-home .step-card p {
  color: #4b5563;
  line-height: 1.7;
  margin: 0;
}

.page-home .step-card details {
  margin-top: .8rem;
}

.page-home .step-card summary {
  cursor: pointer;
  color: var(--color-primary);
  font-weight: 700;
  list-style: none;
}

.page-home .step-card summary::-webkit-details-marker {
  display: none;
}

.page-home .login-help-media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
}

.page-home .login-help-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .brand-manifesto-section {
  position: relative;
  overflow: hidden;
  background: var(--color-dark);
  color: #fff;
  padding: var(--space-section) 0;
}

.page-home .brand-manifesto-section::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -180px;
  top: -120px;
  border: 1px solid rgba(212, 175, 55, .35);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(212, 175, 55, .06), 0 0 0 68px rgba(212, 175, 55, .03);
  pointer-events: none;
}

.page-home .manifesto-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
}

.page-home .manifesto-text-col h2 {
  color: #fff;
}

.page-home .manifesto-text {
  font-size: 1.1rem;
  line-height: 2;
  color: rgba(255, 255, 255, .85);
  max-width: 46rem;
  margin: 0;
}

.page-home .manifesto-sub {
  color: rgba(255, 255, 255, .72);
  line-height: 1.8;
  max-width: 40rem;
  margin: 1rem 0 0;
}

.page-home .manifesto-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.page-home .honor-panel {
  padding: 1.6rem;
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(212, 175, 55, .3);
  text-align: center;
}

.page-home .honor-mark {
  display: grid;
  width: 3.75rem;
  height: 3.75rem;
  margin: 0 auto .75rem;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold), #b8902a);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.4rem;
}

.page-home .honor-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin: 0 0 .5rem;
}

.page-home .honor-note {
  color: rgba(255, 255, 255, .7);
  font-size: .9rem;
  line-height: 1.7;
  margin: 0;
}

.page-home .btn {
  padding: .8rem 1.4rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.page-home .btn:hover,
.page-home .btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(212, 175, 55, .55);
}

.page-home .btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.page-home .btn-accent {
  background: linear-gradient(135deg, var(--color-accent), #ff7a2f);
  color: #fff;
}

.page-home .btn-ghost {
  background: transparent;
  border: 1px solid rgba(123, 47, 190, .4);
  color: var(--color-primary);
}

.page-home .home-statement .btn-ghost,
.page-home .download-copy .btn-ghost {
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
}

.page-home .btn-sm {
  padding: .55rem 1rem;
  font-size: .88rem;
}

@media (min-width: 768px) {
  .page-home .home-welcome {
    padding: 4rem 0 3rem;
  }

  .page-home .home-welcome-grid {
    grid-template-columns: 1.06fr .94fr;
    gap: 1.5rem;
  }

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

  .page-home .content-center-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .page-home .download-layout {
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
  }

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

  .page-home .manifesto-inner {
    grid-template-columns: 1.4fr .6fr;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .page-home .home-welcome {
    min-height: 640px;
    display: flex;
    align-items: center;
  }

  .page-home .home-welcome .container {
    width: 100%;
  }

  .page-home .home-welcome-grid {
    grid-template-columns: 1.12fr .88fr;
  }

  .page-home .section-heading-row h2,
  .page-home .brand-manifesto-section h2 {
    font-size: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home * {
    animation: none !important;
    transition: none !important;
  }
}
