html {
  width: 100%;
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: #080706;
}

.gg_wrap {
  --gg_bg: #090807;
  --gg_panel: #15110f;
  --gg_panel2: #211a14;
  --gg_gold: #f4c96b;
  --gg_gold2: #a56d20;
  --gg_green: #15b77a;
  --gg_red: #d64045;
  --gg_ink: #fff8e8;
  --gg_muted: #bdb19e;
  --gg_line: rgba(244, 201, 107, .24);
  width: 100%;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(244, 201, 107, .17), transparent 31rem),
    radial-gradient(circle at 50% 48%, rgba(214, 64, 69, .11), transparent 24rem),
    linear-gradient(180deg, #080706 0%, #12100f 54%, #070706 100%);
  color: var(--gg_ink);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

.gg_wrap * {
  box-sizing: border-box;
}

.gg_shell {
  width: min(100%, 430px);
  max-width: 430px;
  margin: 0 auto;
  padding: 16px 14px 104px;
}

.gg_topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
}

.gg_logo {
  color: #fff4d7;
  font-size: 15px;
  font-weight: 950;
  text-decoration: none;
}

.gg_home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--gg_line);
  border-radius: 999px;
  background: rgba(255, 248, 232, .07);
  color: var(--gg_gold);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.gg_hero {
  display: grid;
  gap: 16px;
  min-height: calc(100vh - 64px);
  align-content: center;
}

.gg_visual {
  position: relative;
  border: 1px solid var(--gg_line);
  border-radius: 28px;
  overflow: hidden;
  background: #16110e;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .44);
  transform-style: preserve-3d;
  animation: gg_float 5.8s ease-in-out infinite;
}

.gg_visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.gg_visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 8, 7, .06), rgba(9, 8, 7, .76));
  pointer-events: none;
}

.gg_heroCopy {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 20px;
  z-index: 1;
}

.gg_badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(244, 201, 107, .34);
  border-radius: 999px;
  background: rgba(20, 17, 15, .72);
  color: var(--gg_gold);
  font-size: 11px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.gg_hero h1 {
  margin: 12px 0 8px;
  color: #fff7dd;
  font-size: clamp(38px, 12vw, 58px);
  line-height: .97;
  font-weight: 950;
  text-shadow: 0 8px 28px rgba(0, 0, 0, .7);
}

.gg_pageHero h1 {
  margin: 12px 0 8px;
  color: #fff7dd;
  font-size: clamp(30px, 8vw, 42px);
  line-height: 1.12;
  font-weight: 950;
  text-shadow: 0 8px 28px rgba(0, 0, 0, .7);
}

.gg_heroText,
.gg_lead {
  margin: 0;
  color: rgba(255, 248, 232, .86);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 650;
}

.gg_nav {
  display: grid;
  gap: 10px;
}

.gg_cardLink,
.gg_btn {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--gg_line);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(33, 26, 20, .96), rgba(15, 13, 12, .96));
  color: var(--gg_ink);
  text-align: center;
  text-decoration: none;
  font-size: 15px;
  font-weight: 900;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  cursor: pointer;
}

.gg_cardLink:hover,
.gg_btn:hover,
.gg_home:hover {
  transform: translateY(-3px);
  border-color: rgba(244, 201, 107, .58);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .28);
}

.gg_pageHero {
  display: grid;
  gap: 16px;
  padding: 12px 0 20px;
}

.gg_panel {
  padding: 22px 16px;
  border: 1px solid var(--gg_line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(244, 201, 107, .18), transparent 15rem),
    linear-gradient(145deg, rgba(33, 26, 20, .97), rgba(13, 12, 11, .98));
  box-shadow: 0 18px 52px rgba(0, 0, 0, .28);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}

.gg_panel.gg_show {
  opacity: 1;
  transform: translateY(0);
}

.gg_kicker {
  margin: 0 0 8px;
  color: var(--gg_gold);
  font-size: 12px;
  font-weight: 950;
}

.gg_panel h2,
.gg_panel h3 {
  margin: 0 0 10px;
  color: #fff4d7;
  font-size: 25px;
  line-height: 1.2;
  font-weight: 950;
}

.gg_desc {
  margin: 0 0 16px;
  color: var(--gg_muted);
  font-size: 14px;
  line-height: 1.72;
}

.gg_codeBox {
  position: relative;
  margin: 18px 0 14px;
  padding: 18px 12px 16px;
  border: 1px solid rgba(244, 201, 107, .4);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 0%, rgba(244, 201, 107, .21), transparent 14rem),
    linear-gradient(180deg, rgba(244, 201, 107, .12), rgba(255, 255, 255, .03));
  text-align: center;
  overflow: hidden;
}

.gg_codeBox::before,
.gg_codeBox::after {
  content: "";
  position: absolute;
  width: 84px;
  height: 84px;
  border-radius: 999px;
  border: 10px solid rgba(244, 201, 107, .18);
  transform: rotateX(64deg) rotateZ(22deg);
  animation: gg_spin 7s linear infinite;
}

.gg_codeBox::before {
  left: -36px;
  top: -22px;
}

.gg_codeBox::after {
  right: -38px;
  bottom: -24px;
  animation-duration: 9s;
}

.gg_codeLabel {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  color: rgba(255, 248, 232, .72);
  font-size: 13px;
  font-weight: 900;
}

.gg_codeNum {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--gg_gold);
  font-size: clamp(48px, 17vw, 72px);
  line-height: .98;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 26px rgba(244, 201, 107, .24);
}

.gg_actions {
  display: grid;
  gap: 10px;
}

.gg_btnPrimary {
  border-color: rgba(244, 201, 107, .5);
  background: linear-gradient(135deg, #f4c96b, #9f6418);
  color: #17100a;
}

.gg_btnGreen {
  border-color: rgba(21, 183, 122, .42);
  background: linear-gradient(135deg, #15b77a, #087a54);
  color: #fff;
}

.gg_info {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.gg_infoItem {
  padding: 15px;
  border: 1px solid rgba(255, 248, 232, .09);
  border-radius: 18px;
  background: rgba(255, 248, 232, .045);
}

.gg_infoItem strong {
  display: block;
  margin-bottom: 5px;
  color: #fff4d7;
  font-size: 14px;
}

.gg_infoItem span {
  display: block;
  color: var(--gg_muted);
  font-size: 13px;
  line-height: 1.58;
}

.gg_note {
  margin: 14px 0 0;
  color: rgba(255, 248, 232, .62);
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

.gg_bottomBar {
  position: fixed;
  left: 50%;
  bottom: 12px;
  width: min(calc(100% - 20px), 430px);
  transform: translateX(-50%);
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(244, 201, 107, .28);
  border-radius: 22px;
  background: rgba(13, 12, 11, .88);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .42);
  backdrop-filter: blur(14px);
}

.gg_bottomBar a,
.gg_bottomBar button {
  min-height: 46px;
  border: 0;
  border-radius: 15px;
  background: rgba(255, 248, 232, .08);
  color: #fff4d7;
  text-decoration: none;
  font-size: 12px;
  font-weight: 950;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: inherit;
}

.gg_bottomBar a:last-child {
  background: linear-gradient(135deg, #f4c96b, #a87422);
  color: #17100a;
}

@keyframes gg_float {
  0%, 100% { transform: translateY(0) rotateX(0deg); }
  50% { transform: translateY(-8px) rotateX(1.5deg); }
}

@keyframes gg_spin {
  from { transform: rotateX(64deg) rotateZ(0deg); }
  to { transform: rotateX(64deg) rotateZ(360deg); }
}

@media (min-width: 768px) {
  .gg_wrap {
    background:
      radial-gradient(circle at calc(50% - 340px) 18%, rgba(244, 201, 107, .13), transparent 20rem),
      radial-gradient(circle at calc(50% + 330px) 70%, rgba(21, 183, 122, .1), transparent 18rem),
      linear-gradient(180deg, #080706 0%, #12100f 54%, #070706 100%);
  }

  .gg_shell {
    padding-top: 22px;
  }
}

@media (max-width: 360px) {
  .gg_shell {
    padding-left: 12px;
    padding-right: 12px;
  }

  .gg_hero h1,
  .gg_pageHero h1 {
    font-size: 36px;
  }

  .gg_codeNum {
    font-size: 47px;
  }
}
