﻿:root {
  --ww-ink: #17283e;
  --ww-muted: #5c6f83;
  --ww-line: rgba(23, 40, 62, 0.14);
  --ww-paper: #ffffff;
  --ww-sky: #dff6ff;
  --ww-leaf: #2f9b67;
  --ww-mint: #bdecc8;
  --ww-violet: #7056c7;
  --ww-plum: #4f378f;
  --ww-coral: #ef6b57;
  --ww-gold: #f7c84b;
  --ww-shadow: 0 18px 42px rgba(35, 78, 108, 0.16);
}

body.wordweave-home {
  color: var(--ww-ink);
  background: #f5fbf4;
}

.wordweave-home .site-header {
  border-bottom: 1px solid rgba(47, 155, 103, 0.18);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 28px rgba(24, 59, 86, 0.1);
}

.wordweave-home .site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 14px 34px rgba(24, 59, 86, 0.16);
}

.wordweave-home .brand-mark,
.wordweave-home .footer-brand__mark {
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(47, 155, 103, 0.14);
}

.wordweave-home .brand-name,
.wordweave-home .footer-brand__identity strong {
  color: var(--ww-ink);
}

.wordweave-home .nav-links a {
  border-radius: 8px;
  color: #35506a;
}

.wordweave-home .nav-links a:hover,
.wordweave-home .nav-links a.active {
  background: #e8f8ee;
  color: #227c55;
}

.wordweave-home .btn-signup,
.ww-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 1.15rem;
  border: 2px solid rgba(255, 255, 255, 0.94);
  border-radius: 8px;
  background: linear-gradient(180deg, #42c47e, #25895d);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 6px 0 #176a47, 0 16px 26px rgba(47, 155, 103, 0.22);
  text-shadow: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.wordweave-home .btn-signup:hover,
.ww-button:hover {
  color: #ffffff;
  filter: brightness(1.04);
  transform: translateY(2px);
  box-shadow: 0 4px 0 #176a47, 0 12px 22px rgba(47, 155, 103, 0.2);
}

.wordweave-home .account-link {
  border-color: rgba(47, 155, 103, 0.25);
  border-radius: 8px;
  background: #f7fff9;
}

.wordweave-home .account-avatar {
  background: linear-gradient(180deg, #8e77e8, var(--ww-violet));
}

.wordweave-home .account-copy small,
.wordweave-home .account-arrow {
  color: var(--ww-leaf);
}

.ww-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.34rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ww-plum);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(24, 59, 86, 0.1);
}

.ww-hero {
  position: relative;
  min-height: clamp(720px, 94vh, 900px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 2rem) 0 8.5rem;
  background: #94dcf2;
}

.ww-hero__banners,
.ww-hero .hero-banner {
  position: absolute;
  inset: 0;
}

.ww-hero .hero-banner {
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 0.8s ease, transform 4.8s ease;
}

.ww-hero .hero-banner.is-active {
  opacity: 1;
  transform: scale(1);
}

.ww-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(15, 34, 53, 0.92) 0%, rgba(23, 69, 78, 0.74) 40%, rgba(255, 255, 255, 0.06) 78%),
    linear-gradient(180deg, rgba(11, 35, 48, 0.1) 0%, rgba(244, 252, 239, 0.92) 100%);
}

.ww-hero__content {
  position: relative;
  z-index: 2;
}

.ww-hero__copy {
  max-width: 670px;
}

.ww-hero h1 {
  margin-top: 1.05rem;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 7vw, 6.2rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: 0;
  text-shadow: 0 5px 0 rgba(31, 93, 94, 0.54), 0 18px 34px rgba(8, 27, 40, 0.34);
}

.ww-hero__lead {
  max-width: 620px;
  margin-top: 1.15rem;
  color: #ffffff;
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  font-weight: 900;
  line-height: 1.44;
  text-shadow: 0 2px 0 rgba(8, 27, 40, 0.22);
}

.ww-hero__text {
  max-width: 560px;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.75;
}

.ww-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.ww-secondary-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.ww-secondary-link:hover {
  background: rgba(255, 255, 255, 0.26);
  color: #ffffff;
}

.ww-hero-strip {
  position: absolute;
  right: max(1.25rem, calc((100vw - var(--max)) / 2));
  bottom: 1.45rem;
  z-index: 2;
  display: grid;
  width: min(560px, calc(100% - 2.5rem));
  grid-template-columns: 1.2fr 1.2fr 0.75fr;
  gap: 0.75rem;
}

.ww-hero-strip img {
  width: 100%;
  height: 126px;
  object-fit: cover;
  border: 3px solid #ffffff;
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(8, 27, 40, 0.2);
}

.ww-flow,
.ww-showcase,
.ww-store-note,
.ww-gallery {
  padding: 5rem 0;
}

.ww-flow {
  background:
    linear-gradient(180deg, #f4fcef 0%, #e9fbff 100%),
    repeating-linear-gradient(90deg, rgba(47, 155, 103, 0.06) 0 1px, transparent 1px 70px);
}

.ww-flow__grid,
.ww-store-note__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: 3rem;
}

.ww-flow__media,
.ww-store-note__media {
  overflow: hidden;
  border: 1px solid var(--ww-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--ww-shadow);
}

.ww-flow__media img,
.ww-store-note__media img {
  width: 100%;
  aspect-ratio: 33 / 14;
  object-fit: cover;
}

.ww-flow__copy h2,
.ww-section-head h2,
.ww-rewards__copy h2,
.ww-store-note__copy h2,
.wordweave-home .section-title {
  margin-top: 0.85rem;
  color: var(--ww-ink);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
}

.ww-flow__copy p:not(.ww-kicker),
.ww-rewards__copy p:not(.ww-kicker),
.ww-store-note__copy p:not(.ww-kicker) {
  max-width: 620px;
  margin-top: 1rem;
  color: var(--ww-muted);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.8;
}

.ww-steps {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.ww-steps span {
  display: grid;
  min-height: 54px;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--ww-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ww-ink);
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(35, 78, 108, 0.08);
}

.ww-steps strong {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: #efe9ff;
  color: var(--ww-violet);
}

.ww-showcase {
  background: linear-gradient(180deg, #e9fbff 0%, #fff9e8 100%);
}

.ww-section-head {
  max-width: 760px;
}

.ww-showcase__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.ww-scene {
  overflow: hidden;
  border: 1px solid var(--ww-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 30px rgba(35, 78, 108, 0.1);
}

.ww-scene img {
  width: 100%;
  /* aspect-ratio: 9 / 13.5; */
  object-fit: cover;
}

.ww-scene h3 {
  padding: 1rem 1rem 0;
  color: var(--ww-ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.25;
}

.ww-scene p {
  padding: 0.55rem 1rem 1.1rem;
  color: var(--ww-muted);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.6;
}

.ww-rewards {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #7bd3ec;
}

.ww-rewards > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ww-rewards::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(13, 34, 55, 0.84) 0%, rgba(13, 34, 55, 0.34) 54%, rgba(13, 34, 55, 0.05) 100%),
    linear-gradient(90deg, rgba(13, 34, 55, 0.5), rgba(13, 34, 55, 0.05));
}

.ww-rewards__copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding-bottom: 4rem;
}

.ww-rewards__copy h2,
.ww-rewards__copy p:not(.ww-kicker) {
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(10, 31, 45, 0.22);
}

.ww-store-note {
  background: linear-gradient(180deg, #fff9e8 0%, #f4fcef 100%);
}

.ww-store-note__grid {
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.08fr);
}

.ww-store-note__media img {
  aspect-ratio: 9 / 13;
  max-height: 620px;
  object-fit: cover;
  object-position: top;
}

.ww-store-note__media {
  justify-self: center;
  width: min(360px, 100%);
}

.ww-gallery {
  background:
    linear-gradient(180deg, #f4fcef 0%, #e9fbff 100%),
    repeating-linear-gradient(90deg, rgba(112, 86, 199, 0.05) 0 1px, transparent 1px 70px);
}

.ww-gallery__heading {
  align-items: flex-end;
}

.wordweave-home .games-track {
  display: flex;
  grid-auto-flow: initial;
  grid-auto-columns: initial;
  align-items: center;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.25rem 0 1.1rem;
  scroll-snap-type: x mandatory;
}

.wordweave-home .game-slide {
  --game-slide-height: 300px;
  --game-slide-width: clamp(330px, 44vw, 560px);
  flex: 0 0 var(--game-slide-width);
  width: var(--game-slide-width);
  height: var(--game-slide-height);
  aspect-ratio: var(--game-slide-ratio, 16 / 9);
  overflow: hidden;
  border: 4px solid #ffffff;
  border-radius: 8px;
  background: linear-gradient(180deg, #f8fff6, #e8f8ff);
  box-shadow: 0 14px 28px rgba(35, 78, 108, 0.14);
  scroll-snap-align: start;
}

.wordweave-home .game-slide.is-portrait {
  --game-slide-width: clamp(150px, 18vw, 220px);
}

.wordweave-home .game-slide.is-landscape {
  --game-slide-width: clamp(330px, 44vw, 560px);
}

.wordweave-home .games-track .game-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: linear-gradient(180deg, #f8fff6, #e8f8ff);
}

.wordweave-home .games-carousel__button {
  border-radius: 8px;
  background: linear-gradient(180deg, #8d73e7, #6044b4);
  color: #ffffff;
  box-shadow: 0 5px 0 #463286;
}

.wordweave-home .games-carousel__button:disabled {
  opacity: 0.42;
}

.wordweave-home .site-footer {
  border-top: 1px solid rgba(47, 155, 103, 0.18);
  background: linear-gradient(180deg, #f6fff6 0%, #ffffff 100%);
}



.wordweave-home .footer-brand__identity small,
.wordweave-home .footer-policy-list a:hover,
.wordweave-home .footer-contact > a:hover {
  color: var(--ww-leaf);
}

.wordweave-home .footer-policy-list a::before {
  background: var(--ww-gold);
}

.wordweave-home .footer-bottom {
  background: #f4fbf8;
}

@media (max-width: 1100px) {
  .ww-flow__grid,
  .ww-store-note__grid {
    grid-template-columns: 1fr;
  }

  .ww-showcase__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ww-store-note__media {
    justify-self: start;
  }
}

@media (max-width: 780px) {
  .ww-hero {
    min-height: 680px;
    align-items: start;
    padding: calc(var(--nav-h) + 2.2rem) 0 10.2rem;
  }

  .ww-hero::before {
    background:
      linear-gradient(180deg, rgba(13, 34, 55, 0.88) 0%, rgba(17, 66, 72, 0.72) 56%, rgba(244, 252, 239, 0.96) 100%);
  }

  .ww-hero__lead {
    font-size: 1.08rem;
  }

  .ww-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ww-button,
  .ww-secondary-link {
    width: 100%;
  }

  .ww-hero-strip {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    width: auto;
    grid-template-columns: 1fr 1fr 0.82fr;
    gap: 0.5rem;
  }

  .ww-hero-strip img {
    height: 96px;
    border-width: 2px;
  }

  .ww-flow,
  .ww-showcase,
  .ww-store-note,
  .ww-gallery {
    padding: 3.5rem 0;
  }

  .ww-showcase__grid {
    grid-template-columns: 1fr;
  }

  .ww-scene {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    align-items: start;
  }

  .ww-scene img {
    grid-row: 1 / span 2;
    height: 100%;
    min-height: 190px;
    aspect-ratio: auto;
  }

  .ww-scene h3,
  .ww-scene p {
    grid-column: 2;
  }

  .ww-rewards {
    min-height: 480px;
  }

  .ww-rewards__copy {
    padding-bottom: 2.5rem;
  }

  .wordweave-home .game-slide {
    --game-slide-height: 280px;
  }

  .wordweave-home .game-slide.is-portrait {
    --game-slide-width: clamp(132px, 34vw, 180px);
  }

  .ww-gallery__heading {
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width: 520px) {
  .wordweave-home .btn-signup {
    min-width: 92px;
    padding-inline: 0.8rem;
    font-size: 0.72rem;
  }

  .ww-hero {
    min-height: 650px;
    padding-bottom: 9rem;
  }

  .ww-hero h1 {
    font-size: 2.85rem;
  }

  .ww-hero-strip img {
    height: 76px;
  }

  .ww-flow__media img {
    aspect-ratio: 16 / 10;
  }

  .ww-scene {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .ww-scene img {
    min-height: 168px;
  }

  .ww-scene h3 {
    font-size: 0.98rem;
    padding: 0.95rem 0.9rem 0;
  }

  .ww-scene p {
    font-size: 0.88rem;
    padding: 0.5rem 0.9rem 0.95rem;
  }

  .wordweave-home .game-slide {
    --game-slide-height: 245px;
  }

  .wordweave-home .game-slide.is-portrait {
    --game-slide-width: clamp(118px, 42vw, 158px);
  }
}

body.shop-product-page,
body.checkout-page,
body.payment-page,
body.payment-result-page,
body.account-center-page,
body.auth-page,
body.legal-page,
body.system-message-page,
body.coda-payment-page,
body.external-result-page {
  color: var(--ww-ink);
  background:
    linear-gradient(180deg, #edfaff 0%, #f7fff3 46%, #fff9e8 100%),
    repeating-linear-gradient(90deg, rgba(47, 155, 103, 0.045) 0 1px, transparent 1px 72px);
}

.shop-product-page .site-header,
.checkout-page .site-header,
.payment-page .site-header,
.payment-result-page .site-header,
.legal-page .site-header {
  border-bottom: 1px solid rgba(47, 155, 103, 0.18);
  background: rgba(255, 255, 255, 0.93);
}

.shop-product-page .shop-banner {
  min-height: 420px;
  background: #bdecc8;
}

.shop-product-page .shop-banner > img,
.account-game-banner > img,
.payment-success-game img,
.system-message__media img,
.auth-showcase__visual img {
  object-fit: cover;
  object-position: center;
}

.shop-product-page .shop-banner__overlay {
  background:
    linear-gradient(90deg, rgba(15, 34, 53, 0.86) 0%, rgba(21, 77, 79, 0.56) 45%, rgba(255, 255, 255, 0.04) 78%),
    linear-gradient(180deg, transparent, rgba(247, 255, 243, 0.82));
  box-shadow: inset 0 -80px 70px rgba(247, 255, 243, 0.9);
}

.shop-banner__content p,
.checkout-heading p,
.checkout-panel__heading p,
.checkout-game-id__heading p,
.checkout-delivery p,
.checkout-summary__heading p,
.payment-status__copy p,
.payment-panel__heading p,
.payment-summary__heading p,
.payment-success-complete__copy p,
.payment-success-banner__copy p,
.payment-success-order__heading p,
.payment-success-game__copy p,
.account-page-heading p,
.account-section-heading p,
.account-summary__heading p,
.account-status-hero p,
.auth-showcase__copy p,
.auth-heading p,
.legal-page .legal-eyebrow,
.system-message__eyebrow,
.coda-payment__status p,
.external-result__status-copy p {
  color: var(--ww-violet);
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0;
}

.shop-banner__content h1,
.shop-catalog__heading h2,
.shop-order__heading h2,
.checkout-heading h1,
.checkout-panel__heading h2,
.checkout-game-id__heading h2,
.checkout-delivery h2,
.checkout-summary__heading h2,
.payment-status__copy h1,
.payment-panel__heading h2,
.payment-summary__heading h2,
.payment-success-complete__copy h1,
.payment-success-banner__copy h1,
.account-page-heading h1,
.account-game-banner__content h2,
.account-section-heading h2,
.account-summary__heading h2,
.account-status-hero h2,
.auth-heading h1,
.auth-showcase__copy strong,
.legal-page .legal-hero h1,
.legal-page .legal-article h2,
.system-message__content h1,
.coda-payment__status h1,
.external-result__status-copy h1 {
  color: var(--ww-ink);
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0;
}

.shop-banner__content h1,
.shop-banner__content > span {
  color: #ffffff;
  text-shadow: 0 3px 0 rgba(13, 34, 55, 0.45);
}

.shop-category-bar,
.shop-product-card,
.shop-order,
.checkout-panel,
.checkout-game-id,
.checkout-delivery,
.checkout-summary,
.payment-panel,
.payment-summary,
.payment-status,
.payment-success-order,
.payment-success-game,
.payment-success-banner,
.account-page-heading,
.account-game-banner,
.account-metric,
.account-section,
.account-table-wrap,
.account-detail-panel,
.account-summary,
.account-empty,
.auth-showcase__copy,
.auth-form-wrap,
.legal-page .legal-article,
.legal-page .legal-toc,
.legal-page .legal-policy-nav,
.system-message,
.coda-payment,
.external-result {
  border-radius: 8px;
}

.shop-category-bar,
.shop-product-card,
.shop-order,
.checkout-panel,
.checkout-game-id,
.checkout-delivery,
.checkout-summary,
.payment-panel,
.payment-summary,
.payment-status,
.payment-success-order,
.payment-success-game,
.payment-success-banner,
.account-page-heading,
.account-game-banner,
.account-metric,
.account-section,
.account-table-wrap,
.account-detail-panel,
.account-summary,
.account-empty,
.legal-page .legal-article,
.system-message,
.coda-payment,
.external-result {
  border: 1px solid var(--ww-line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--ww-shadow);
}

.shop-category.is-active,
.payment-method.is-selected,
.account-status.is-paid,
.account-status.is-complete {
  border-color: rgba(47, 155, 103, 0.35);
  background: #e8f8ee;
  color: var(--ww-leaf);
}

.shop-checkout,
.checkout-submit,
.payment-submit,
.payment-result-action.is-primary,
.system-message__action--primary,
.coda-payment__button.is-primary,
.account-button.is-primary,
.auth-submit,
.auth-switch-link {
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  background: linear-gradient(180deg, #42c47e, #25895d);
  color: #ffffff;
  box-shadow: 0 6px 0 #176a47, 0 16px 26px rgba(47, 155, 103, 0.2);
  text-shadow: none;
}

.shop-checkout:hover:not(:disabled),
.checkout-submit:hover:not(:disabled),
.payment-submit:hover:not(:disabled),
.payment-result-action.is-primary:hover,
.system-message__action--primary:hover,
.coda-payment__button.is-primary:hover,
.account-button.is-primary:hover,
.auth-submit:hover:not(:disabled),
.auth-switch-link:hover {
  background: linear-gradient(180deg, #50cf8a, #2b9667);
  color: #ffffff;
  transform: translateY(2px);
  box-shadow: 0 4px 0 #176a47, 0 12px 22px rgba(47, 155, 103, 0.2);
}

.account-button.is-secondary,
.payment-result-action,
.system-message__action,
.account-text-link,
.auth-home-link,
.payment-check a {
  color: var(--ww-violet);
}

.shop-product-card.is-selected,
.shop-product-card:hover,
.account-nav__link.active,
.account-nav__link:hover,
.payment-method:hover {
  border-color: rgba(112, 86, 199, 0.36);
  background: #f3efff;
}

.shop-product-card__visual,
.shop-order__product img,
.account-product-cell img,
.payment-method__logo,
.auth-brand__mark,
.account-brand img,
.account-mobile-brand img {
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 18px rgba(35, 78, 108, 0.1);
}

.shop-order,
.checkout-summary,
.payment-summary,
.account-sidebar {
  background: linear-gradient(180deg, #20304a, #13243a);
  color: #ffffff;
}

.shop-order h2,
.checkout-summary h2,
.payment-summary h2,
.account-sidebar strong,
.account-sidebar span {
  color: #ffffff;
}

.shop-order__row span,
.shop-order__quantity label,
.shop-order__total span,
.checkout-summary__row span,
.checkout-summary__total span,
.payment-summary__details dt,
.payment-summary__total span {
  color: rgba(255, 255, 255, 0.68);
}

.shop-order__product span,
.shop-order__product small,
.shop-order__delivery {
  color: #bdecc8;
}

.shop-order__total strong,
.checkout-summary__total strong,
.payment-summary__total strong,
.payment-result-total strong {
  color: var(--ww-gold);
}

.auth-page {
  background:
    linear-gradient(110deg, rgba(24, 40, 62, 0.92) 0%, rgba(24, 40, 62, 0.78) 42%, rgba(237, 250, 255, 0.98) 42%),
    url("/public/upload/banner/20260917/1ea17914b6c2148ee13ac222f22b9a60.png") center / cover fixed;
}

.auth-showcase {
  background: linear-gradient(180deg, rgba(11, 31, 48, 0.1), rgba(11, 31, 48, 0.34));
}

.auth-showcase__visual {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(8, 27, 40, 0.24);
}

.auth-showcase__copy {
  background: rgba(255, 255, 255, 0.92);
}

.auth-input-wrap,
.checkout-game-id__field input,
.account-search {
  border: 1px solid var(--ww-line);
  border-radius: 8px;
  background: #ffffff;
}



.payment-result-mark.is-success,
.payment-status__mark,
.auth-complete-mark,
.system-message__mark {
  background: linear-gradient(180deg, #8d73e7, #6044b4);
  box-shadow: 0 8px 0 rgba(70, 50, 134, 0.28);
}

.payment-result-mark.is-success::after,
.payment-status__mark::after,
.auth-complete-mark::after {
  border-color: #ffffff;
}

.legal-page .legal-hero {
  background:
    linear-gradient(90deg, rgba(15, 34, 53, 0.88), rgba(47, 155, 103, 0.45)),
    url("/public/upload/banner/20260917/1ea17914b6c2148ee13ac222f22b9a60.png") center / cover;
}

.legal-page .legal-hero h1,
.legal-page .legal-summary {
  color: #ffffff;
}

.system-message-page {
  background:
    linear-gradient(90deg, rgba(15, 34, 53, 0.78), rgba(237, 250, 255, 0.9)),
    url("/public/upload/banner/20260917/42fd0f5344d9885a17ba07694580c1e7.png") center / cover;
}

@media (max-width: 760px) {
  .auth-page {
    background: linear-gradient(180deg, #eefaff, #f8fff4);
  }

  .shop-order,
  .checkout-summary,
  .payment-summary {
    background: linear-gradient(180deg, #20304a, #13243a);
  }
}

/* Account center readability refinements */
.account-sidebar .account-nav__link {
  color: rgba(255, 255, 255, 0.88);
}

.account-sidebar .account-nav__link strong {
  color: inherit;
}

.account-sidebar .account-nav__link > span {
  color: #dff6ff;
}

.account-sidebar .account-nav__link:hover,
.account-sidebar .account-nav__link:focus-visible {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.account-sidebar .account-nav__link.active,
.account-sidebar .account-nav__link.active:hover,
.account-sidebar .account-nav__link.active:focus-visible {
  border-color: rgba(112, 86, 199, 0.45);
  background: linear-gradient(180deg, #ffffff, #edf8ff);
  color: #17283e;
  box-shadow: 0 7px 0 rgba(23, 40, 62, 0.18), 0 14px 24px rgba(23, 40, 62, 0.16);
}

.account-sidebar .account-nav__link.active strong,
.account-sidebar .account-nav__link.active:hover strong,
.account-sidebar .account-nav__link.active:focus-visible strong {
  color: #17283e;
}

.account-sidebar .account-nav__link.active > span,
.account-sidebar .account-nav__link.active:hover > span,
.account-sidebar .account-nav__link.active:focus-visible > span {
  background: linear-gradient(180deg, #f7c84b, #ee9f22);
  color: #17283e;
}

.account-game-banner {
  background: #dff6ff;
}


.account-game-banner__content {
  min-height: 280px;
  margin: 24px;
  padding: 24px 26px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: #17283e;
  box-shadow: 0 18px 38px rgba(23, 40, 62, 0.18);
}

.account-game-banner__content p {
  color: #2f9b67;
}

.account-game-banner__content h2 {
  color: #17283e;
  text-shadow: none;
}

.account-game-banner__content > span {
  color: #40566c;
}

@media (max-width: 760px) {
 
  .account-game-banner__content {
    min-height: 0;
    margin: 18px;
    padding: 20px;
  }
}

/* Checkout polish */
.checkout-layout {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: clamp(24px, 4vw, 44px);
}

.checkout-summary {
  overflow: hidden;
  border: 1px solid rgba(47, 155, 103, 0.22);
  border-top: 6px solid var(--ww-leaf);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ww-ink);
  box-shadow: 0 18px 44px rgba(35, 78, 108, 0.15);
}

.checkout-summary__heading {
  padding: 24px 24px 20px;
  border-bottom: 1px solid rgba(47, 155, 103, 0.16);
  background:
    linear-gradient(135deg, rgba(223, 246, 255, 0.92), rgba(232, 248, 238, 0.92));
}

.checkout-summary__heading p {
  color: var(--ww-violet);
}

.checkout-summary__heading h2,
.checkout-summary h2 {
  color: var(--ww-ink);
}

.checkout-summary__body {
  padding: 22px 24px 24px;
}

.checkout-summary__row {
  min-height: 46px;
  border-bottom: 1px solid rgba(23, 40, 62, 0.1);
}

.checkout-summary__row span,
.checkout-summary__total span {
  color: #4b6176;
}

.checkout-summary__row strong {
  color: var(--ww-ink);
}

.checkout-summary__total {
  min-height: 78px;
  margin: 18px 0;
  padding: 16px 18px;
  border: 1px solid rgba(247, 200, 75, 0.55);
  border-radius: 8px;
  background: #fff8dc;
}

.checkout-summary__total strong {
  color: #b06811;
  font-size: clamp(26px, 2.6vw, 34px);
}

.checkout-submit {
  min-height: 54px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  background: linear-gradient(180deg, #42c47e, #25895d);
  color: #ffffff;
  box-shadow: 0 6px 0 #176a47, 0 16px 26px rgba(47, 155, 103, 0.2);
}

.checkout-submit:hover:not(:disabled),
.checkout-submit:focus-visible {
  background: linear-gradient(180deg, #50cf8a, #2b9667);
  color: #ffffff;
  transform: translateY(2px);
  box-shadow: 0 4px 0 #176a47, 0 12px 22px rgba(47, 155, 103, 0.2);
}

.checkout-status {
  color: var(--ww-coral);
}

.checkout-status.is-success {
  color: var(--ww-leaf);
}

.checkout-summary__secure {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(47, 155, 103, 0.18);
  border-radius: 8px;
  background: #e8f8ee;
}

.checkout-summary__secure strong {
  color: var(--ww-leaf);
}

.checkout-summary__secure span {
  color: #4b6176;
}

@media (max-width: 1080px) {
  .checkout-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  }
}

@media (max-width: 880px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    position: static;
  }
}

/* Payment page polish */
.payment-layout {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: clamp(24px, 4vw, 44px);
}

.payment-page .payment-panel {
  border: 1px solid rgba(47, 155, 103, 0.18);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(35, 78, 108, 0.12);
}

.payment-page .payment-panel__heading {
  border-bottom: 1px solid rgba(47, 155, 103, 0.14);
  background:
    linear-gradient(135deg, rgba(223, 246, 255, 0.92), rgba(232, 248, 238, 0.92));
}

.payment-page .payment-panel__step {
  background: var(--ww-gold);
  color: var(--ww-ink);
  box-shadow: 0 5px 0 rgba(176, 104, 17, 0.2);
}

.payment-page .payment-method {
  border: 2px solid rgba(47, 155, 103, 0.18);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(35, 78, 108, 0.08);
}

.payment-page .payment-method:hover,
.payment-page .payment-method:focus-within,
.payment-page .payment-method.is-selected {
  border-color: rgba(47, 155, 103, 0.45);
  background: #e8f8ee;
  box-shadow: 0 12px 28px rgba(47, 155, 103, 0.14);
}

.payment-page .payment-method__control {
  border-color: #43aee7;
  background: #ffffff;
}

.payment-page .payment-method input:checked + .payment-method__control {
  border-color: #43aee7;
  background: #ffffff;
  box-shadow: inset 0 0 0 4px #ffffff;
}

.payment-page .payment-method input:checked + .payment-method__control::after {
  background: #42c47e;
}

.payment-page .payment-method__logo {
  border-radius: 8px;
  background: #ffffff;
}

.payment-page .payment-summary {
  overflow: hidden;
  border: 1px solid rgba(47, 155, 103, 0.22);
  border-top: 6px solid var(--ww-leaf);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ww-ink);
  box-shadow: 0 18px 44px rgba(35, 78, 108, 0.15);
}

.payment-page .payment-summary__heading {
  padding: 24px 24px 20px;
  border-bottom: 1px solid rgba(47, 155, 103, 0.16);
  background:
    linear-gradient(135deg, rgba(223, 246, 255, 0.92), rgba(232, 248, 238, 0.92));
}

.payment-page .payment-summary__heading p {
  color: var(--ww-violet);
}

.payment-page .payment-summary__heading h2,
.payment-page .payment-summary h2 {
  color: var(--ww-ink);
}

.payment-page .payment-summary__body {
  padding: 22px 24px 24px;
}

.payment-page .payment-summary__details > div {
  min-height: 48px;
  border-bottom: 1px solid rgba(23, 40, 62, 0.1);
}

.payment-page .payment-summary__details dt,
.payment-page .payment-summary__total span {
  color: #4b6176;
}

.payment-page .payment-summary__details dd {
  color: var(--ww-ink);
}

.payment-page .payment-summary__total {
  min-height: 78px;
  margin: 18px 0;
  padding: 16px 18px;
  border: 1px solid rgba(247, 200, 75, 0.55);
  border-radius: 8px;
  background: #fff8dc;
}

.payment-page .payment-summary__total strong {
  color: #b06811;
  font-size: clamp(26px, 2.6vw, 34px);
}

.payment-page .payment-submit {
  min-height: 54px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  background: linear-gradient(180deg, #42c47e, #25895d);
  color: #ffffff;
  box-shadow: 0 6px 0 #176a47, 0 16px 26px rgba(47, 155, 103, 0.2);
}

.payment-page .payment-submit:hover:not(:disabled),
.payment-page .payment-submit:focus-visible {
  background: linear-gradient(180deg, #50cf8a, #2b9667);
  color: #ffffff;
  transform: translateY(2px);
  box-shadow: 0 4px 0 #176a47, 0 12px 22px rgba(47, 155, 103, 0.2);
}

.payment-page .payment-order-link {
  border: 1px solid rgba(112, 86, 199, 0.32);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ww-violet);
}

.payment-page .payment-order-link:hover,
.payment-page .payment-order-link:focus-visible {
  border-color: rgba(112, 86, 199, 0.5);
  background: #f3efff;
  color: var(--ww-plum);
}

.payment-page .payment-summary__secure {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(47, 155, 103, 0.18);
  border-radius: 8px;
  background: #e8f8ee;
}

.payment-page .payment-summary__secure strong {
  color: var(--ww-leaf);
}

.payment-page .payment-summary__secure span {
  color: #4b6176;
}

@media (max-width: 1080px) {
  .payment-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  }
}

@media (max-width: 880px) {
  .payment-layout {
    grid-template-columns: 1fr;
  }

  .payment-summary {
    position: static;
  }
}

/* Product catalog mobile polish */
@media (max-width: 680px) {
  .shop-product-page .shop-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .shop-product-page .shop-product-card {
    min-height: 252px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 136px minmax(0, 1fr);
    align-items: stretch;
  }

  .shop-product-page .shop-product-card__visual {
    min-height: 136px;
    border-right: 0;
    border-bottom: 1px solid rgba(47, 155, 103, 0.16);
  }

  .shop-product-page .shop-product-card__visual img {
    width: min(84%, 124px);
    height: min(84%, 124px);
  }

  .shop-product-page .shop-product-card__body {
    min-width: 0;
    padding: 10px;
  }

  .shop-product-page .shop-product-card__category {
    min-height: 18px;
    margin-bottom: 3px;
    font-size: 0.62rem;
    line-height: 1.2;
  }

  .shop-product-page .shop-product-card__body > strong {
    min-height: 34px;
    font-size: 0.9rem;
    line-height: 1.25;
  }

  .shop-product-page .shop-product-card__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    margin-top: auto;
    padding-top: 9px;
  }

  .shop-product-page .shop-product-card__meta b {
    max-width: 100%;
    min-height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    background: #fff3d5;
    color: #c3532f;
    font-size: clamp(0.9rem, 4vw, 1rem);
    line-height: 28px;
    white-space: nowrap;
  }

  .shop-product-page .shop-product-card__meta small {
    max-width: 100%;
    color: #2f6f54;
    font-size: 0.72rem;
    line-height: 1.2;
    text-align: left;
    white-space: nowrap;
  }
}

@media (max-width: 380px) {
  .shop-product-page .shop-product-grid {
    gap: 8px;
  }

  .shop-product-page .shop-product-card {
    min-height: 236px;
    grid-template-rows: 122px minmax(0, 1fr);
  }

  .shop-product-page .shop-product-card__visual {
    min-height: 122px;
  }

  .shop-product-page .shop-product-card__visual img {
    width: min(84%, 108px);
    height: min(84%, 108px);
  }

  .shop-product-page .shop-product-card__body {
    padding: 9px;
  }
}
