﻿@charset "utf-8";
/* 최신 구글 폰트 불러오기 (Noto Sans KR & Roboto) */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&family=Roboto:wght@400;500;700&display=swap');
/* common */
* {
  box-sizing: border-box;
}
html, body {
  /* height: 100%; */ /* body 높이가 콘텐츠에 따라 자동 조절되도록 이 속성을 제거합니다. */
  -webkit-tap-highlight-color: transparent;
}
body {
  font-family: 'Roboto', 'Noto Sans KR', Arial, sans-serif;
  font-weight: normal;
  font-size: 14px;
  line-height: 1.3;
  color: #333;
  background: #fff;
}
.container {
    width: 100%;
    /*height: 100%;*/
    max-width: 768px;
    margin: 0 auto;
    position: relative;
    padding: 0 16px;
}
.bg-grey {
  background: #f8f9fb;
}
/*text*/
.text-primary {
  color: #e3a72d;
}
.text-bold {
  font-weight: 700;
}
/*input*/
input {
  font-family: 'Roboto', 'Noto Sans KR', Arial, sans-serif;
}
/*button*/
button {
  font-family: 'Roboto', 'Noto Sans KR', Arial, sans-serif;
  font-weight: 500;
}
.btn {
  cursor: pointer;
}
.btn-lg {
  padding: 0 30px;
  font-size: 16px;
  color: #fff;
  border: 2px solid transparent;
  height: 50px;
  width: 100%;
  border-radius: 100px;
}
.btn-primary {
  background: #e3a72d;
  color: #fff;
}
.btn-primary-outline {
  color: #e3a72d;
  border-color: #e3a72d;
  background-color: transparent;
}
.btn-area {
  margin-top: 25px;
}
.btn-area button + button {
  margin-top: 10px;
}
/*login-area*/
.visual-wrap {
  width: 100%;
  height: 100%;
  position: fixed;
  overflow: hidden;
  background-color: #111111;
}
.overlay:before {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.4);
  z-index: 2;
}
.video-area {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}
.video {
  position: absolute;
  right: -50%;
  bottom: 0;
  top: 0;
  left: 50%;
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  background-size: contain;
  object-fit: cover;
  z-index: 3;
  overflow: hidden;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}
.visual-wrap .container {
  position: absolute;
  z-index: 3;
  left: 50%;
  transform: translateX(-50%);
}
.d-table {
  display: table;
  width: 100%;
  height: 100%;
}
.d-table-cell {
  display: table-cell;
  width: 100%;
  height: 100%;
  vertical-align: middle;
}
.login-area {
  max-width: 400px;
  margin: 0 auto;
  padding: 28px 4px 40px;
}
.logo-area {
  width: 288px;
  margin: 0 auto 70px;
}
.logo-area img {
  width: 288px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter:
    drop-shadow(0 2px 10px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 14px rgba(255, 255, 255, 0.14))
    brightness(1.06)
    contrast(1.08);
}
.login-area form {
  width: 100%;
}
.login-input-area input {
  border: 0;
  width: 100%;
  background-color: transparent;
  height: 45px;
  padding: 0;
  font-size: 16px;
  border-bottom: 1px solid rgba(255,255,255,.5);
  color: #fff;
}
.login-input-area input:focus {
  border-color: #e3a72d;
  transition: all .3s;
}
.login-input-area input + input {
  margin-top: 6px;
}
/*checkbox*/

.checkbox-label {
  cursor: pointer;
  color: #14171a;
  font-size: 14px;
}
.checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  width: 20px;
  height: 20px;
}
.checkbox {
  position: relative;
  cursor: pointer;
  display: inline-block;
}
.checkbox input[type="checkbox"] + .checkbox-label:before {
  content: '';
  display: inline-block;
  position: relative;
  top: 4px;
  vertical-align: top;
  cursor: pointer;
  -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.45, 1.8, 0.5, 0.75);
  -moz-transition: -moz-transform 0.4s cubic-bezier(0.45, 1.8, 0.5, 0.75);
  transition: transform 0.4s cubic-bezier(0.45, 1.8, 0.5, 0.75);
  -webkit-transform: rotate(-45deg) scale(0, 0);
  -moz-transform: rotate(-45deg) scale(0, 0);
  -ms-transform: rotate(-45deg) scale(0, 0);
  -o-transform: rotate(-45deg) scale(0, 0);
  transform: rotate(-45deg) scale(0, 0);
  z-index: 1;
  width: 0.58rem;
  height: 0.29rem;
  border: 2px solid #fff;
  border-top-style: none;
  border-right-style: none;
  left: -10px;
}
.checkbox input[type="checkbox"] + .checkbox-label:after {
  content: '';
  border: 2px solid #aaa;
  display: inline-block;
  width: 16px;
  height: 16px;
  position: absolute;
  margin-left: -13px;
  vertical-align: top;
  cursor: pointer;
  text-align: center;
  transition: all 250ms ease;
  left: 0;
}
.id-chk {
  margin-left: 15px;
  margin-top: 20px;
}
.id-chk .checkbox-label {
  font-size: 15px;
  padding-left: 5px;
  color: #fff;
}
.id-chk input[type="checkbox"]:checked + .checkbox-label:after {
  border-color: #e3a72d;
  background-color: #e3a72d;
}
.id-chk input[type="checkbox"] + .checkbox-label:after {
  width: 18px;
  height: 18px;
  border-color: #e3a72d;
  margin-left: -15px;
  margin-top: -2px;
  border-radius: 3px;
}
.id-chk input[type="checkbox"] + .checkbox-label:before {
  top: 4px;
  -webkit-transform: rotate(-45deg) scale(1, 1);
  -moz-transform: rotate(-45deg) scale(1, 1);
  -ms-transform: rotate(-45deg) scale(1, 1);
  -o-transform: rotate(-45deg) scale(1, 1);
  transform: rotate(-45deg) scale(1, 1);
  border: 2px solid #e3a72d;
  border-top-style: none;
  border-right-style: none;
  left: -15px;
}
.id-chk input[type="checkbox"]:checked + .checkbox-label:before {
  border-color: #fff;
}
/*header*/
.top-header {
  position: fixed;
  width: 100%;
  min-height: 64px;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  background: rgba(247, 248, 251, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(17, 24, 39, 0.05);
  top: 0;
  left: 0;
}
.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #111;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  padding: 3px;
  box-sizing: border-box;
}
.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.user-text {
  min-width: 0;
}
.user-name {
  font-size: 22.5px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.4em;
  color: #b8860b;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 160px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-actions .icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.88);
  color: #1f2937;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}
.header-actions a.icon {
  text-decoration: none;
}
.header-actions .icon-button {
  cursor: pointer;
  padding: 0;
  font-size: 15px;
  line-height: 1;
}
.design-panel {
  position: fixed;
  top: 68px;
  right: 16px;
  z-index: 9998;
  width: min(230px, calc(100% - 32px));
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.design-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.design-panel-title {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
}
.design-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.design-option-btn {
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.36);
  background: #f8fafc;
  color: #1f2937;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.design-option-btn:active {
  transform: scale(0.97);
}

body.theme-dark {
  background: #171b23;
}
body.theme-dark .top-header {
  background: rgba(30, 35, 45, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
body.theme-dark .user-name {
  color: #e3c04d;
}
body.theme-dark .header-actions .icon {
  background: rgba(17, 24, 39, 0.9);
  color: #f9fafb;
  border-color: rgba(148, 163, 184, 0.24);
}
body.theme-dark .point-box,
body.theme-dark .menu-area .ic-img {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}
body.theme-dark .menu-area .ic-title {
  color: #f3f4f6;
}

body.theme-mint {
  background: #f0fbf8;
}
body.theme-mint .top-header {
  background: rgba(236, 252, 248, 0.92);
}
body.theme-mint .header-actions .icon {
  background: rgba(255, 255, 255, 0.95);
  color: #115e59;
  border-color: rgba(13, 148, 136, 0.2);
}
body.theme-mint .point-box {
  border-color: rgba(13, 148, 136, 0.18);
}

/* bottom navigation */
html:has(body.has-bottom-nav) {
  height: auto;
  min-height: 100%;
}
body.has-bottom-nav {
  min-height: 100%;
  height: auto;
  padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px));
}
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 10000;
  overflow: visible;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: linear-gradient(180deg, rgba(26, 29, 35, 0.9) 0%, rgba(15, 17, 21, 0.94) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}
.bottom-nav__inner {
  max-width: 768px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  padding: 5px 0;
  box-sizing: border-box;
}
.bottom-nav__link {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 3px 4px;
  border-radius: 12px;
  text-decoration: none;
  color: #8b95a1;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.18s ease, background-color 0.18s ease;
}
.bottom-nav__link:active {
  background: rgba(255, 255, 255, 0.06);
}
.bottom-nav__link--active .bottom-nav__icon {
  color: #00e5a8;
}
.bottom-nav__link--active .bottom-nav__label {
  color: #ffffff;
  font-weight: 600;
}
.bottom-nav__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  color: #8b95a1;
  transition: color 0.18s ease;
}
.bottom-nav__icon-svg,
.bottom-nav__icon svg {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
}
.bottom-nav__label {
  font-size: 11px;
  color: #8b95a1;
  letter-spacing: -0.02em;
  transition: color 0.18s ease, font-weight 0.18s ease;
}

/*menu-area*/
.menu-area {
  padding: 0 0 24px;
}
.menu-area .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -4px;
}
.menu-area .row > div {
  width: 33.33333%;
  text-align: center;
  padding: 0 4px;
  cursor: pointer;
}
.menu-item {
  width: 100%;
  padding: 10px 0 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.menu-area .ic-img {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  min-height: 1px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
}
.menu-area .ic-img img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.menu-area .ic-img:active {
  transform: scale(0.9);
}
.menu-area .ic-title {
  font-size: 13px;
  font-weight: 600;
  margin-top: 8px;
  color: #222;
  line-height: 1.3;
}
 .login-input-area input::placeholder {
 color:#fff !important;
}
 .login-input-area input:-ms-input-placeholder {
 color:#fff !important;
}
 .login-input-area input::-ms-input-placeholder {
 color:#fff !important;
}
/* index 상단 배너(.visual-area) 스타일은 파일 맨 아래 "Visual banner" 블록 참고 */
/*point-content-area*/
.point-content-area {
  margin-top: 12px;
  padding: 0 0 10px;
  position: relative;
  z-index: 4;
}
.point-content-area .row {
  margin: 0 -5px;
  display: flex;
  flex-wrap: wrap;
}
.point-content-area .row > div {
  padding: 5px;
  width: 50%;
}
.point-box {
  padding: 14px;
  min-height: 98px;
  border-radius: 16px;
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}
.card:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.05) 40%,
    rgba(255, 255, 255, 0) 70%
  );
  pointer-events: none;
}
.point-box:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  opacity: .6;
}
.point-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.11);
}
.point-box:active {
  transform: scale(0.97);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.09);
}
.card:active {
  transform: scale(0.97);
}
.point-box.card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: #475467;
}
.point-box.card .card-header .icon {
  font-size: 11px;
  opacity: .95;
}
.point-box.card .card-value {
  margin-top: 12px;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #101828;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .6);
}
.point-box.eth .card-header .icon,
.point-box.eth .card-value {
  color: #4A90E2;
}
.point-box.usd .card-header .icon,
.point-box.usd .card-value {
  color: #FF6B6B;
}
.point-box.income .card-header .icon,
.point-box.income .card-value {
  color: #6FCF97;
}
.point-box.coupon .card-header .icon,
.point-box.coupon .card-value {
  color: #F2C94C;
}
.point-box.eth {
  background: linear-gradient(180deg, #f2f8ff 0%, #deecff 100%);
}
.point-box.eth:before {
  background: linear-gradient(90deg, #4A90E2 0%, #7fb3f0 100%);
}
.point-box.usd {
  background: linear-gradient(180deg, #fff4f4 0%, #ffe5e5 100%);
}
.point-box.usd:before {
  background: linear-gradient(90deg, #FF6B6B 0%, #ff9a9a 100%);
}
.point-box.income {
  background: linear-gradient(180deg, #f1fcf5 0%, #dff5e8 100%);
}
.point-box.income:before {
  background: linear-gradient(90deg, #6FCF97 0%, #9be3b8 100%);
}
.point-box.coupon {
  background: linear-gradient(180deg, #fff9ec 0%, #ffefcb 100%);
}
.point-box.coupon:before {
  background: linear-gradient(90deg, #F2C94C 0%, #f6df87 100%);
}
.all-wrap {
  width: 100%;
  height: 100%;
  position: relative;
}
.all-wrap .container {
  position: absolute;
  top: 0;
  z-index: 2;
  left: 50%;
  transform: translateX(-50%);
}

/* =============================================================================
   Visual banner — premium single-video hero (centered .container)
   ============================================================================= */

.visual-area {
  box-sizing: border-box;
  width: 100%;
  padding-top: 64px;
  padding-bottom: 0;
  margin: 0;
  overflow: visible;
  background: transparent;
}

.visual-area .container.visual-banner-inner {
  width: 100%;
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px 0;
  margin-bottom: 8px;
  position: relative;
  background: transparent;
  box-sizing: border-box;
}

.visual-area .video-banner {
  width: 100%;
  height: clamp(260px, 41vw, 286px);
  min-height: 260px;
  max-height: 290px;
  border-radius: 19px;
  background: #1a1a1d;
  border: none;
  box-shadow:
    0 1px 1px rgba(255, 255, 255, 0.04) inset,
    0 10px 24px rgba(15, 23, 42, 0.12),
    0 24px 44px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
  isolation: isolate;
}

.visual-area .video-wrap {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
  z-index: 1;
}

.visual-area .visual-video {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: cover;
  object-position: center;
  box-sizing: border-box;
}

.visual-area .video-banner-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.08) 38%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.12) 52%, transparent 100%);
}
.visual-area .video-banner-shade:after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 90% 10%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(135deg, rgba(227, 167, 45, 0.1) 0%, rgba(227, 167, 45, 0.02) 35%, rgba(0, 0, 0, 0) 75%);
}

.visual-area .video-banner-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
}

.visual-area .video-banner-badge__text {
  display: inline-block;
  padding: 7px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.visual-area .video-banner-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 20px 18px 22px;
  max-width: 100%;
  box-sizing: border-box;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* 상단 브랜드·제목: 고정(애니메이션 없음), 하단 리스트와 분리 */
.visual-area .video-banner-copy__head {
  flex: 0 0 auto;
  position: relative;
  z-index: 4;
  max-width: 100%;
}

.visual-area .video-banner-copy__eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e3a72d;
}

.visual-area .video-banner-copy__title,
.visual-area .banner-title {
  margin: 0;
  font-weight: 600;
  line-height: 1.28;
  color: #fff;
  letter-spacing: -0.5px;
}

/* 평생회원제 유통혁명 시스템 — 기존 대비 약 80% 크기 */
.visual-area .video-banner-copy__title {
  font-size: clamp(0.96rem, 3.36vw, 1.16rem);
}

.visual-area .banner-title {
  font-size: clamp(1.2rem, 4.2vw, 1.45rem);
}

.visual-area .video-banner-copy__lede,
.visual-area .banner-desc {
  margin: 8px 0 0;
  max-width: 18em;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.52;
  color: rgba(255, 255, 255, 0.78);
  opacity: .9;
}

/* 배너 설명: 한 줄씩 스크립트로 .is-visible 부여 */
.visual-area .video-banner-copy__lede--stagger {
  flex: 0 1 auto;
  max-width: min(22em, 100%);
  margin-top: 8px;
  word-break: keep-all;
}

.visual-area .video-banner-copy__lede--stagger .lede-line {
  display: block;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(6px);
  margin: 0;
  transition:
    opacity 0.48s ease,
    transform 0.48s ease,
    max-height 0.55s ease;
}

.visual-area .video-banner-copy__lede--stagger .lede-line.is-visible {
  opacity: 1;
  transform: translateY(0);
  max-height: 6.5rem;
  margin: 0 0 3px;
}

.visual-area .video-banner-copy__lede--stagger .lede-line--sub {
  padding-left: 0.55em;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

@media (prefers-reduced-motion: reduce) {
  .visual-area .video-banner-copy__lede--stagger .lede-line {
    max-height: 6.5rem;
    opacity: 1;
    transform: none;
    margin: 0 0 3px;
  }
}
