/* Home Page */
.home-main {
  padding: 16px;
}

.release-notice {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  max-width: 1660px;
  margin: 0 auto 14px;
  padding: 14px 16px;
  color: #172033;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 249, 212, 0.98)),
    radial-gradient(circle at 0 0, rgba(255, 203, 5, 0.3), transparent 32%);
  border: 1px solid #e4bb00;
  border-left: 6px solid var(--red);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.release-notice.is-full-release {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 248, 255, 0.98)),
    radial-gradient(circle at 0 0, rgba(42, 117, 187, 0.22), transparent 34%);
  border-color: #bad5f4;
  border-left-color: var(--blue);
}

.release-notice strong,
.release-notice span {
  display: block;
}

.release-notice strong {
  font-size: 18px;
  line-height: 1.25;
}

.release-notice span {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.release-notice-action {
  flex: 0 0 auto;
  padding: 10px 14px;
  color: #ffffff;
  text-decoration: none;
  background: var(--blue);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(42, 117, 187, 0.22);
}

.home-stage {
  display: grid;
  grid-template-columns: minmax(270px, 345px) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  max-width: 1660px;
  min-height: calc(100svh - 112px);
  margin: 0 auto;
}

.intro-hero {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: calc(100svh - 112px);
  margin: 0;
  background: #172033;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.intro-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 32, 51, 0.72), rgba(23, 32, 51, 0.1) 68%);
  content: "";
}

.intro-hero img {
  width: 100%;
  height: 100%;
  min-height: calc(100svh - 112px);
  object-fit: cover;
  object-position: 64% center;
}

.intro-copy {
  position: absolute;
  bottom: 56px;
  left: 56px;
  z-index: 1;
  max-width: 620px;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(23, 32, 51, 0.72);
}

.intro-copy h1 {
  margin-bottom: 10px;
  font-size: 74px;
  line-height: 0.95;
}

.intro-copy p:last-child {
  margin-bottom: 0;
  font-size: 24px;
  font-weight: 900;
}

.home-side-menu {
  display: grid;
  grid-template-rows: auto auto auto auto minmax(16px, 1fr) auto;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.98)),
    radial-gradient(circle at 15% 0%, rgba(255, 203, 5, 0.3), transparent 34%);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.home-link-card {
  position: relative;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 12px;
  min-height: 0;
  align-items: center;
  padding: 16px;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.98)),
    radial-gradient(circle at 12% 0%, rgba(255, 203, 5, 0.28), transparent 32%);
  border: 1px solid #bdd5f2;
  border-radius: var(--radius);
  box-shadow: 0 14px 30px rgba(23, 32, 51, 0.11);
}

.home-link-card:hover {
  border-color: var(--blue);
  box-shadow: 0 18px 38px rgba(42, 117, 187, 0.2);
  transform: translateY(-1px);
}

.home-card-mark {
  --ball-top: var(--red);
  --ball-bottom: #ffffff;
  --ball-band: #172033;
  --ball-ring: #ffffff;
  --ball-button: #ffffff;
  --ball-detail: transparent;
  --ball-detail-border: transparent;
  position: relative;
  display: inline-grid;
  width: 50px;
  height: 50px;
  place-items: center;
  overflow: hidden;
  color: transparent;
  background:
    radial-gradient(circle at 50% 50%, var(--ball-button) 0 5px, var(--ball-band) 6px 9px, transparent 10px),
    linear-gradient(180deg, var(--ball-top) 0 44%, var(--ball-band) 44% 56%, var(--ball-bottom) 56% 100%);
  border: 2px solid #172033;
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, 0.38),
    0 8px 18px rgba(23, 32, 51, 0.14);
  font-size: 0;
}

.home-card-mark::before,
.home-card-mark::after {
  position: absolute;
  top: 10px;
  width: 12px;
  height: 10px;
  background: var(--ball-detail);
  border: 0 solid var(--ball-detail-border);
  border-radius: 2px 2px 7px 7px;
  content: "";
}

.home-card-mark::before {
  left: 9px;
}

.home-card-mark::after {
  right: 9px;
}

.ball-classic {
  --ball-top: var(--red);
  --ball-bottom: #ffffff;
}

.ball-great {
  --ball-top: #2d7fc1;
  --ball-bottom: #f8fbff;
  --ball-detail: #e3350d;
}

.ball-ultra {
  --ball-top: #172033;
  --ball-bottom: #ffffff;
  --ball-detail: #ffcb05;
  background:
    radial-gradient(circle at 50% 50%, var(--ball-button) 0 5px, var(--ball-band) 6px 9px, transparent 10px),
    linear-gradient(90deg, transparent 0 18%, #ffcb05 18% 30%, transparent 30% 70%, #ffcb05 70% 82%, transparent 82%) 0 0 / 100% 45% no-repeat,
    linear-gradient(180deg, var(--ball-top) 0 44%, var(--ball-band) 44% 56%, var(--ball-bottom) 56% 100%);
}

.ball-master {
  --ball-top: #8b5cf6;
  --ball-bottom: #f6e8ff;
  --ball-detail: #f472b6;
  --ball-detail-border: #6d28d9;
  background:
    radial-gradient(circle at 50% 50%, var(--ball-button) 0 5px, var(--ball-band) 6px 9px, transparent 10px),
    radial-gradient(circle at 34% 24%, #f472b6 0 5px, transparent 6px),
    radial-gradient(circle at 66% 24%, #f472b6 0 5px, transparent 6px),
    linear-gradient(180deg, var(--ball-top) 0 44%, var(--ball-band) 44% 56%, var(--ball-bottom) 56% 100%);
}

.ball-premier {
  --ball-top: #ffffff;
  --ball-bottom: #ffffff;
  --ball-band: #e3350d;
  --ball-button: #ffffff;
  --ball-detail: #e3350d;
  background:
    radial-gradient(circle at 50% 50%, var(--ball-button) 0 5px, var(--ball-band) 6px 9px, transparent 10px),
    linear-gradient(180deg, #ffffff 0 43%, #e3350d 43% 48%, #ffffff 48% 52%, #e3350d 52% 57%, #ffffff 57% 100%);
}

.ball-classic::before,
.ball-classic::after,
.ball-premier::before,
.ball-premier::after {
  display: none;
}

.ball-great::before,
.ball-great::after {
  top: 9px;
  width: 14px;
  height: 8px;
  border-radius: 999px 999px 2px 2px;
}

.ball-great::before {
  left: 6px;
  transform: rotate(18deg);
}

.ball-great::after {
  right: 6px;
  transform: rotate(-18deg);
}

.ball-ultra::before,
.ball-ultra::after {
  top: 4px;
  width: 7px;
  height: 18px;
  border-radius: 0 0 3px 3px;
}

.ball-ultra::before {
  left: 11px;
}

.ball-ultra::after {
  right: 11px;
}

.ball-master::before,
.ball-master::after {
  top: 12px;
  width: 14px;
  height: 11px;
  border-width: 1px;
  border-radius: 999px;
}

.ball-master::before {
  left: 6px;
  transform: rotate(-18deg);
}

.ball-master::after {
  right: 6px;
  transform: rotate(18deg);
}

.seller-badge {
  grid-row: 6;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 8px 10px;
  color: var(--ink);
  text-decoration: none;
  background:
    linear-gradient(180deg, #ffffff, #f8fbff);
  border: 2px solid #ff7a1a;
  border-radius: var(--radius);
  box-shadow: 0 12px 26px rgba(23, 32, 51, 0.12);
}

.seller-badge img {
  width: 100%;
  max-height: 62px;
  object-fit: contain;
}

.seller-badge strong,
.seller-badge small {
  display: block;
}

.seller-badge strong {
  font-size: 15px;
}

.seller-badge small {
  margin-top: 3px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.home-card-copy {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.home-link-card strong {
  font-size: 18px;
}

.home-link-card small {
  max-width: 42ch;
  color: var(--muted);
  line-height: 1.45;
}

.home-card-action {
  grid-column: 2;
  justify-self: start;
  align-self: end;
  padding: 8px 12px;
  color: var(--blue);
  background: var(--blue-soft);
  border: 1px solid #bad5f4;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .home-stage {
    grid-template-columns: minmax(245px, 305px) minmax(0, 1fr);
  }

  .intro-hero,
  .intro-hero img {
    min-height: 540px;
  }

  .intro-copy {
    bottom: 40px;
    left: 36px;
    max-width: 560px;
  }

  .intro-copy h1 {
    font-size: 58px;
  }

  .seller-badge {
    grid-template-columns: 72px 1fr;
  }

  .home-side-menu {
    padding: 12px;
  }

  .home-link-card {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 13px;
  }

  .home-link-card strong {
    font-size: 16px;
  }
}

@media (max-width: 880px) {
  .home-main {
    padding: 12px;
  }

  .release-notice {
    align-items: stretch;
    flex-direction: column;
  }

  .release-notice-action {
    align-self: flex-start;
  }

  .home-stage {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .intro-hero {
    order: 1;
    display: grid;
    overflow: hidden;
    min-height: 0;
    background: #172033;
  }

  .home-side-menu {
    order: 2;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto;
  }

  .intro-hero,
  .intro-hero img {
    min-height: 0;
  }

  .intro-hero::after {
    display: none;
  }

  .intro-hero img {
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    object-position: center;
    background: #172033;
  }

  .intro-copy {
    position: static;
    max-width: none;
    padding: 14px 16px 16px;
    color: #ffffff;
    background: #172033;
    text-shadow: none;
  }

  .intro-copy h1 {
    font-size: 36px;
  }

  .intro-copy p:last-child {
    font-size: 18px;
  }

  .seller-badge {
    grid-column: 1 / -1;
    grid-row: auto;
    justify-self: stretch;
    grid-template-columns: 62px 1fr;
    padding: 8px;
  }

  .seller-badge img {
    max-height: 50px;
  }

  .seller-badge strong {
    font-size: 13px;
  }

  .home-link-card {
    grid-template-columns: 1fr;
  }

  .home-card-mark {
    width: 42px;
    height: 42px;
  }

  .home-card-action {
    grid-column: 1;
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .home-side-menu {
    grid-template-columns: 1fr;
  }

  .home-link-card {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .home-card-action {
    grid-column: 2;
  }
}

@media (max-width: 460px) {
  .release-notice {
    padding: 12px;
    border-left-width: 4px;
  }

  .release-notice strong {
    font-size: 16px;
  }

  .intro-hero,
  .intro-hero img {
    min-height: 0;
  }

  .intro-copy h1 {
    font-size: 32px;
  }

  .seller-badge {
    grid-template-columns: 54px 1fr;
  }

  .seller-badge img {
    max-height: 44px;
  }

  .home-link-card {
    grid-template-columns: 44px minmax(0, 1fr);
    min-height: 0;
  }

  .home-card-action {
    grid-column: 2;
  }
}



