.brand-hero {
  background: #fff;
}

.brand-hero::before {
  display: none;
}

.brand-hero-track {
  display: flex;
  width: 100%;
  transition: transform .62s cubic-bezier(.22, .72, .22, 1);
  will-change: transform;
}

.brand-hero-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 100%;
  min-height: 375px;
  overflow: hidden;
}

.brand-hero-slide-main {
  background:
    radial-gradient(circle at 76% 18%, rgba(255, 255, 255, .72), transparent 25%),
    radial-gradient(circle at 88% 72%, rgba(255, 183, 0, .2), transparent 20%),
    linear-gradient(115deg, #fff0ea 0%, #ffe1d5 53%, #ffb9a6 100%);
}

.brand-hero-slide-main .brand-hero-inner {
  min-height: 375px;
}

.brand-hero-dots {
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 8px 24px rgba(25, 28, 33, .1);
  backdrop-filter: blur(10px);
  transform: translateX(-50%);
}

.brand-hero-dots > button:not(.brand-hero-pause) {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #b9bdc5;
  cursor: pointer;
  transition: width .22s ease, background-color .22s ease;
}

.brand-hero-dots > button:not(.brand-hero-pause).is-active {
  width: 24px;
  background: #f45143;
}

.brand-hero-dots button:focus-visible {
  outline: 2px solid #202124;
  outline-offset: 3px;
}

.brand-hero-pause {
  width: 24px;
  height: 18px;
  margin-left: 2px;
  padding: 0 0 0 8px;
  border: 0;
  border-left: 1px solid #d9dce1;
  background: transparent;
  color: #4a4e55;
  font-size: 10px;
  line-height: 18px;
  cursor: pointer;
}

.brand-hero-slide-app {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 92, 72, .12), transparent 25%),
    linear-gradient(110deg, #fff 0%, #fff 60%, #fff4f1 100%);
}

.app-promo-inner {
  position: relative;
  min-height: 375px;
  display: grid;
  grid-template-columns: minmax(390px, 1fr) 210px 430px;
  align-items: center;
  gap: 32px;
  padding: 34px 36px 46px 62px;
}

.app-promo-copy {
  position: relative;
  z-index: 2;
}

.app-promo-copy .brand-hero-kicker {
  margin-bottom: 13px;
}

.app-promo-copy h2 {
  margin: 0;
  color: #17191d;
  font-size: 38px;
  line-height: 1.25;
  letter-spacing: -.052em;
}

.app-promo-copy h2 strong {
  color: #f45143;
}

.app-promo-copy > p:not(.brand-hero-kicker) {
  margin: 15px 0 0;
  color: #646871;
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: -.02em;
}

.app-store-buttons {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.app-store-buttons a {
  min-width: 142px;
  height: 43px;
  padding: 0 17px;
  border: 1px solid #e0e3e8;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  background: #f5f6f8;
  color: #202226;
  font-size: 13px;
  font-weight: 800;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.app-store-buttons a img {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.app-store-buttons a span {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.app-store-buttons a small {
  color: #858992;
  font-size: 9px;
  font-weight: 700;
}

.app-store-buttons a strong {
  color: #202226;
  font-size: 12px;
  font-weight: 850;
}

.app-store-buttons a:hover {
  border-color: #c8ccd3;
  background: #fff;
  transform: translateY(-2px);
}

.app-promo-qr {
  position: relative;
  z-index: 3;
  justify-self: center;
  width: 178px;
  padding: 14px 14px 12px;
  border: 1px solid #f0f1f3;
  border-radius: 15px;
  display: grid;
  justify-items: center;
  gap: 4px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(35, 40, 48, .05);
}

.app-promo-qr img {
  width: 138px;
  height: 138px;
  object-fit: contain;
}

.app-promo-qr strong {
  margin-top: 2px;
  color: #24272d;
  font-size: 12px;
}

.app-promo-device {
  position: relative;
  align-self: end;
  width: 430px;
  height: 340px;
  overflow: visible;
  background: transparent;
}

.app-promo-device img {
  position: absolute;
  top: 5px;
  right: 18px;
  width: 390px;
  max-width: none;
  height: auto;
  filter: drop-shadow(0 24px 28px rgba(98, 22, 18, .22));
  transform: rotate(0deg);
  transform-origin: 50% 82%;
}

.brand-hero-slide-proof {
  background:
    radial-gradient(circle at 15% 8%, rgba(255, 255, 255, .95), transparent 28%),
    linear-gradient(120deg, #fff8f5 0%, #fff0e9 55%, #ffd9ca 100%);
}

.proof-hero-inner {
  min-height: 375px;
  padding: 35px 62px 46px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(410px, .9fr);
  align-items: center;
  gap: 64px;
}

.proof-hero-copy h2 {
  margin: 0;
  color: #181a1e;
  font-size: 36px;
  line-height: 1.25;
  letter-spacing: -.05em;
}

.proof-hero-copy h2 strong {
  color: #f45143;
}

.proof-hero-copy > p:not(.brand-hero-kicker) {
  margin: 12px 0 0;
  color: #6c7078;
  font-size: 13px;
  line-height: 1.55;
}

.proof-counts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.proof-counts div {
  min-height: 82px;
  padding: 13px 16px;
  border: 1px solid rgba(244, 81, 67, .16);
  border-radius: 13px;
  display: grid;
  align-content: center;
  gap: 3px;
  background: rgba(255, 255, 255, .76);
}

.proof-counts span {
  color: #8b6b65;
  font-size: 11px;
  font-weight: 700;
}

.proof-counts strong {
  color: #202226;
  font-size: 24px;
  letter-spacing: -.045em;
}

.proof-reviews {
  padding: 20px;
  border-radius: 20px;
  display: grid;
  gap: 9px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 18px 44px rgba(129, 61, 42, .1);
}

.proof-reviews-title {
  margin: 0 0 2px;
  color: #f45143;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}

.proof-reviews blockquote {
  margin: 0;
  padding: 11px 14px;
  border: 1px solid #eceef1;
  border-radius: 10px;
  background: #fff;
  color: #40434a;
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 1240px) {
  .app-promo-inner {
    grid-template-columns: minmax(350px, 1fr) 180px 360px;
    gap: 20px;
    padding-left: 42px;
  }

  .app-promo-device {
    width: 360px;
  }

  .app-promo-device img {
    top: 20px;
    right: 10px;
    width: 340px;
  }

  .proof-hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
    gap: 34px;
    padding-inline: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-hero-track,
  .brand-hero-dots > button,
  .app-store-buttons a {
    transition: none;
  }
}

/* 배너를 둥근 카드형으로 */
.brand-hero {
  width: min(1280px, calc(100% - 64px));
  margin: 24px auto 28px;
  overflow: hidden;
  border-radius: 28px;
  isolation: isolate;
  box-shadow: 0 10px 30px rgba(31, 37, 45, .06);
}

.brand-hero .shell {
  width: 100%;
  margin: 0;
}

@media (max-width: 899px) {
  .brand-hero {
    width: calc(100% - 24px);
    margin: 12px auto 16px;
    border-radius: 20px;
  }
}

/* 3번째 배너: 로또타임 번호 당첨 결과 */
.proof-hero-inner .proof-counts.proof-counts-3 { grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 0; }
.proof-counts-3 div { min-height: 150px; padding: 22px 22px; border-radius: 20px; background: rgba(255, 255, 255, .92); box-shadow: 0 14px 34px rgba(129, 61, 42, .08); }
.proof-counts-3 span { color: #f45143; font-size: 15px; font-weight: 900; }
.proof-counts-3 strong { font-size: 38px; }
@media (max-width: 899px) { .proof-hero-inner { grid-template-columns: 1fr; gap: 20px; padding: 28px 24px 48px; }.proof-counts-3 div { min-height: 96px; padding: 14px; }.proof-counts-3 strong { font-size: 26px; } }
.brand-hero-slide-proof > .proof-date { position: absolute; left: 62px; bottom: 18px; margin: 0; color: #b9bcc2; font-size: 11px; font-weight: 400; letter-spacing: -.01em; }
@media (max-width: 899px) { .brand-hero-slide-proof > .proof-date { left: 24px; bottom: 14px; } }

/* 배너와 당첨결과 카드 사이 간격 줄이기 */
.desktop-site .brand-hero { margin-bottom: 0; }
.desktop-site main .result-grid { margin-top: 0; padding-top: 20px; }

/* 홈 간격 통일: 라벨→제목 12px / 제목→설명 20px / 설명→버튼·본문 28px (홍보용 랜딩 섹션은 별도) */
:root { --sp-label: 12px; --sp-title: 20px; --sp-action: 28px; }
.desktop-site main .brand-hero-kicker { margin-bottom: var(--sp-label); }
.desktop-site main .brand-hero-copy > p:not(.brand-hero-kicker),
.desktop-site main .app-promo-copy > p:not(.brand-hero-kicker),
.desktop-site main .proof-hero-copy > p:not(.brand-hero-kicker) { margin-top: var(--sp-title); margin-bottom: 0; }
.desktop-site main .brand-hero-actions,
.desktop-site main .app-store-buttons { margin-top: var(--sp-action); }
.desktop-site main .result-panel .eyebrow { margin-bottom: var(--sp-label); }
.desktop-site main .result-panel .section-heading { margin-bottom: 0; }
.desktop-site main .result-body { margin-top: var(--sp-action); }
.desktop-site main .result-body .winning-row { min-height: 0; }
