:root {
  color-scheme: dark;
  --green: var(--accent);
  --surface: #0a192b;
  --max: var(--container);
}

body:is(.coupon-body, .guide-page-body, .notice-page-body, .download-body),
body.mobile-page-swipe {
  padding-bottom: 0;
  background: var(--bg);
}

body:not(.home-page) > main {
  padding-top: var(--header);
}

.site-header .header-inner {
  min-height: var(--header);
  justify-content: flex-start;
}

.site-header.is-scrolled .header-inner {
  min-height: var(--header);
}

.site-header .main-nav > a[aria-current="page"]:not(.nav-download) {
  color: #fff;
}

.site-header .main-nav .nav-download,
.site-header .main-nav .nav-download:hover {
  color: #fff;
}

.guide-page-hero h1 .brand-name,
.download-copy h1 .brand-name {
  color: #fff;
}

.guide-account-brand .brand-lockup,
.mock-brand .brand-lockup {
  justify-self: start;
  padding: 4px 8px;
  border-radius: 6px;
  background: #081629;
}

.guide-account-brand .brand-lockup { font-size: 12px; }
.guide-account-brand .brand-icon { width: 16px; height: 16px; }
.mock-brand .brand-lockup { font-size: 17px; }
.mock-brand .brand-icon { width: 26px; height: 26px; }

.footer-company {
  flex-wrap: wrap;
  justify-content: flex-start;
}

.footer-company p {
  color: #8fa4b6;
  font-size: 11px;
}

:is(.download-hero, .notice-hero, .guide-page-hero, .coupon-hero, .connect-main) {
  background:
    radial-gradient(ellipse at 83% 24%, rgba(41, 109, 255, .13), transparent 32%),
    radial-gradient(ellipse at 65% 65%, rgba(30, 101, 157, .14), transparent 53%),
    #030a17;
}

:is(.download-orb, .notice-orb) {
  animation: none;
  background: radial-gradient(circle, rgba(64, 124, 242, .24), transparent 66%);
}

:is(.download-card, .notice-card, .unavailable-games, .coupon-panel, .guide-account-contact, .guide-video-player) {
  border-color: var(--line);
  border-radius: 18px;
  background-color: #0a192b;
}

:is(.download-card, .notice-card, .unavailable-games, .coupon-panel, .guide-account-contact) {
  background-image: linear-gradient(135deg, #0b1b2e, #071322);
}

:is(.guide-account-contact, .payment-rate-notice, .coupon-event-intro, .coupon-kakao-contact, .coupon-install-guide, .coupon-destination) {
  border: 1px solid var(--line-bright);
  background: linear-gradient(115deg, #10264c, #0a172e 63%, #102756);
}

.payment-rate-notice > span {
  color: var(--accent);
}

.payment-rate-notice p {
  color: #a9c0e3;
}

.button-outline {
  border-color: rgba(166, 194, 215, .3);
  background: #0b1d30;
  color: #d8e4ed;
}

.download-primary,
.coupon-submit-button,
.coupon-connect-button,
.coupon-install-guide .button {
  color: #fff;
  background: var(--action);
  border-color: rgba(159, 204, 255, .42);
}

.download-primary:hover,
.coupon-submit-button:hover,
.coupon-connect-button:hover,
.coupon-install-guide .button:hover {
  color: #fff;
  border-color: #a4cfff;
}

.coupon-action-next {
  outline-color: #94c7ff;
  box-shadow: 0 0 0 8px rgba(95, 163, 255, .17) !important;
}

.coupon-action-next::after {
  color: #08182f;
  background: #a8d4ff;
  border-color: #d3ebff;
  box-shadow: 0 4px 0 #28588f;
}

.coupon-connect-button.coupon-action-next {
  background: var(--action) !important;
  color: #fff !important;
}

:is(.download-card-visual, .notice-hero-visual) {
  position: relative;
  isolation: isolate;
}

:is(.download-card-visual, .notice-hero-visual)::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(44, 108, 220, .26), transparent 65%, rgba(4, 15, 36, .35));
}

.pcbang-app-dock {
  position: static;
  width: min(calc(100% - 32px), 710px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 28px auto;
  transform: none;
  backdrop-filter: none;
  box-shadow: none;
  background: #071322;
}

.pcbang-app-dock > p {
  position: static;
  grid-column: 1 / -1;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.mobile-swipe-nav {
  position: static;
  margin: 18px auto;
  translate: none;
  animation: none;
  backdrop-filter: none;
}

.connect-main {
  min-height: 80vh;
  padding-bottom: clamp(55px, 9vw, 115px);
}

.signup-layout {
  width: min(900px, calc(100% - 36px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  margin: clamp(35px, 8vw, 105px) auto 0;
}

.signup-intro { align-self: center; }
.signup-intro h1 { margin: 16px 0; font-size: clamp(34px, 6vw, 57px); line-height: 1.2; letter-spacing: -.055em; }
.signup-intro h1 em { color: var(--accent); font-style: normal; }
.signup-intro p { color: var(--muted); word-break: keep-all; }
.signup-form {
  display: grid;
  gap: 9px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line-bright);
  border-radius: 22px;
  background: linear-gradient(150deg, #0e2236, #081629);
}
.signup-form label { font-size: 14px; font-weight: 700; }
.signup-form input {
  width: 100%;
  min-height: 50px;
  margin-bottom: 9px;
  padding: 10px 14px;
  border: 1px solid rgba(139, 174, 203, .36);
  border-radius: 9px;
  background: #040e1e;
  color: #f6f9fc;
}
.signup-form input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.signup-form .button { cursor: pointer; }
.signup-form .button:disabled { cursor: wait; opacity: .65; }
.signup-error { margin: 0 0 4px; color: #ffb4b4; font-size: 14px; }
.signup-error:empty { margin: 0; }
.signup-help { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.signup-help a { color: var(--accent); }
.signup-success {
  width: min(480px, calc(100% - 32px));
  padding: 30px;
  border: 1px solid var(--line-bright);
  border-radius: 20px;
  background: #0a192b;
  color: var(--text);
}
.signup-success::backdrop { background: rgba(2, 7, 17, .8); }
.signup-success h2 { margin: 0; font-size: 25px; line-height: 1.35; }
.signup-success p { color: var(--muted); }
.signup-success-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.signup-success-actions .button { cursor: pointer; }

@media (max-width: 800px) {
  .site-header .main-nav { inset: var(--header) 0 auto; background: #030a17; }
  .site-header .main-nav.open { display: grid; }
  .site-header .menu-toggle { height: 44px; }
  .signup-layout { grid-template-columns: 1fr; }
}
