/* ============ Base ============ */
:root{
  --bg: #f9fafb;
  --fg: #111827;
  --muted: #6b7280;
  --muted2: #9ca3af;
  --card: rgba(255,255,255,0.6);
  --card2: rgba(255,255,255,0.75);
  --border: rgba(229,231,235,1);
  --shadow: 0 12px 40px rgba(0,0,0,.08);
  --shadow2: 0 18px 60px rgba(0,0,0,.12);
  --radius: 20px;
}

*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--fg);
  background: var(--bg);
  overflow-x:hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection{
  background: rgba(244,63,94,.95);
  color:#fff;
}

a{ color:inherit; text-decoration:none; }
.hidden{ display:none !important; }

.container{
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

/* ============ Ambient background ============ */
.ambient{
  position:fixed; inset:0;
  z-index:0; pointer-events:none;
  background: linear-gradient(to bottom, #fff, #f9fafb);
}
.ambient__top{
  position:absolute;
  top:-20%;
  left:50%;
  transform: translateX(-50%);
  width: 80vw; height: 40vw;
  background: rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  filter: blur(150px);
}
.ambient__bottom{
  position:absolute;
  bottom:-20%;
  right:-10%;
  width: 60vw; height: 60vw;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  filter: blur(128px);
}

/* ============ Animations ============ */
@keyframes fadeInUp{
  from{ opacity:0; transform: translateY(14px); }
  to{ opacity:1; transform: translateY(0); }
}
@keyframes fadeInDown{
  from{ opacity:0; transform: translateY(-14px); }
  to{ opacity:1; transform: translateY(0); }
}
@keyframes pulse{
  0%,100%{ transform: scale(1); opacity: .9; }
  50%{ transform: scale(1.06); opacity: 1; }
}
@keyframes shimmer{
  0%{ transform: translateX(-30%); opacity: .35; }
  100%{ transform: translateX(130%); opacity: .15; }
}

.animate-fade-in-up{
  animation: fadeInUp .85s ease both;
  animation-delay: var(--delay, 0s);
}
.animate-fade-in-down{
  animation: fadeInDown .5s ease both;
}

/* ============ Nav ============ */
.nav{
  position:fixed; top:0; left:0; right:0;
  z-index:50;
  padding: 28px 0;
  transition: all .5s ease;
  background: transparent;
}
.nav--scrolled{
  padding: 14px 0;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,.05);
}
.nav__inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 16px;
}
.brand{
  display:flex; align-items:center; gap: 10px;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.04em;
  cursor:pointer;
  user-select:none;
}
.brand__mark{
  background: linear-gradient(to bottom, #9ca3af, #111827);
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.08));
}

.nav__links{
  display:none;
  align-items:center;
  gap: 28px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.nav__link{
  color: var(--muted2);
  transition: color .25s ease;
}
.nav__link:hover{ color: var(--fg); }

.nav__mobileBtn{
  display:flex;
}
.icon-btn{
  width:44px; height:44px;
  display:flex; align-items:center; justify-content:center;
  border: 1px solid rgba(255,255,255,.9);
  background: rgba(255,255,255,.85);
  color: #111827;
  font-weight: 600;
  border-radius: 14px;
  backdrop-filter: blur(16px);
  cursor:pointer;
  transition: transform .15s ease, background .25s ease, border-color .25s ease;
}
.icon-btn:hover{
  background: rgba(255,255,255,.95);
  border-color: rgba(229,231,235,.9);
}
.icon-btn:active{ transform: scale(.98); }
.icon-btn:disabled{
  opacity: 0.4;
  cursor: not-allowed;
}

@media (min-width: 768px){
  .nav__links{ display:flex; }
  .nav__mobileBtn{ display:none; }
}

/* Mobile Menu */
.mobileMenu{
  position:absolute;
  left:0; right:0;
  top:100%;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.mobileMenu__inner{
  padding: 18px 0 22px;
  display:flex;
  flex-direction: column;
  gap: 18px;
}
.mobileMenu__link{
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: #1f2937;
}
.mobileMenu__walletBtn{
  width:100%;
  padding: 16px 14px;
  border-radius: 14px;
  border: 0;
  background: #111827;
  color:#fff;
  font-weight: 900;
  cursor:pointer;
  box-shadow: var(--shadow);
}

/* Wallet UI */
.walletBtn{
  display:flex; align-items:center; gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.65);
  background: rgba(255,255,255,.35);
  backdrop-filter: blur(16px);
  font-weight: 900;
  letter-spacing: .02em;
  cursor:pointer;
  transition: background .25s ease, box-shadow .25s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
}
.walletBtn:hover{
  background: rgba(255,255,255,.6);
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
}
.walletPill{
  display:flex; align-items:center; gap: 14px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.9);
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}
.walletPill__col{
  display:flex;
  flex-direction: column;
  align-items:flex-end;
  line-height: 1.05;
}
.walletPill__label{
  font-size: 10px;
  letter-spacing: .18em;
  font-weight: 900;
  color: var(--muted2);
  margin-bottom: 4px;
}
.walletPill__bal{
  font-size: 14px;
  font-weight: 950;
}
.walletPill__divider{
  width:1px; height:24px;
  background: rgba(156,163,175,.65);
}
.walletPill__addr{
  display:flex; align-items:center; gap: 10px;
}
.walletPill__dot{
  width:24px; height:24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fb7185, #fb923c);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45);
}

/* ============ Hero ============ */
.hero{
  position:relative;
  z-index:1;
  min-height: 100vh;
  padding: 132px 0 72px;
}
.hero__inner{
  display:flex;
  flex-direction: column;
  align-items:center;
  text-align:center;
}
.badge{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
  font-size: 10px;
  letter-spacing: .30em;
  text-transform: uppercase;
  font-weight: 900;
  color: #4b5563;
}
.ico{
  width: 16px; height: 16px;
}
.ico--sparkle{ width: 14px; height: 14px; color: #eab308; animation: pulse 1.8s ease infinite; }

.hero__titleWrap {
  position: relative;
  margin: 1.5rem 0;
  padding: 0 8px;
  overflow: visible;
}
.hero__title{
  margin:0;
  font-weight: 950;
  letter-spacing: -0.01em;
  line-height: .9;
  font-size: clamp(52px, 8vw, 110px);
  background: linear-gradient(to bottom, #111827, #1f2937, #6b7280);
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
  text-shadow: 0 2px 10px rgba(0,0,0,.06);
  -webkit-text-stroke: 1px rgba(17, 24, 39, 0.15);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero__desc{
  max-width: 600px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 350;
}
.hero__descStrong{
  color: var(--fg);
  font-weight: 900;
}
.hero__descSmall{
  display:block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted2);
}

.stack{
  width: min(760px, 100%);
  display:flex;
  flex-direction: column;
  gap: 22px;
  align-items:center;
  margin: 10px 0 18px;
}

@media (max-width: 768px) {
  .hero__title {
    -webkit-text-stroke: 0.5px var(--navy); /* ✅ 선 두께 감소 */
    padding: 2px 0; /* ✅ 상하 여백 */
  }
  
  .hero__titleWrap {
    padding: 0 8px; /* ✅ 모바일에서 여백 증가 */
  }
}
@media (max-width: 375px) {
  .hero__title {
    letter-spacing: 0; /* ✅ 음수값 제거 */
    -webkit-text-stroke: 0px; /* ✅ 선 제거 */
  }
}

/* ============ Slider ============ */
.slider{
  width:100%;
  padding: 10px 0 18px;
}
.slider__viewport{
  position:relative;
  width:100%;
  aspect-ratio: 1.2 / 1;
  user-select:none;
  touch-action: pan-y;
  overflow:hidden;
}
@media (min-width:768px){
  .slider__viewport{ aspect-ratio: 1.5 / 1; }
}
.slider__track{
  height:100%;
  display:flex;
  align-items:center;
  transition: transform .5s ease;
  will-change: transform;
  padding: 0 0;
}
.sliderCard{
  flex: 0 0 50%;
  margin-right: 5%;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(229,231,235,.9);
  background:#fff;
  box-shadow: var(--shadow2);
  transition: transform .5s ease, opacity .5s ease, filter .5s ease;
  transform: scale(.9);
  opacity:.55;
  filter: grayscale(.45);
}
.sliderCard--active{
  transform: scale(1);
  opacity:1;
  filter: none;
  box-shadow: 0 26px 70px rgba(0,0,0,.16);
  outline: 4px solid rgba(255,255,255,.55);
  outline-offset: -6px;
}
.sliderCard__media{
  position:relative;
  width:100%;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  isolation: isolate;
}
.sliderCard__shade{
  position:absolute; inset:0;
  background: linear-gradient(to bottom, rgba(0,0,0,.06), transparent 55%, rgba(0,0,0,.10));
}
.sliderCard__center{
  position:absolute; inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
}
.sliderCard__icon{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  filter: none;
  image-rendering: auto;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.sliderCard__body{
  padding: 20px 14px;
  border-top: 1px solid rgba(243,244,246,1);
  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;
  gap: 8px;
}
.sliderCard__name{
  font-size: clamp(22px, 5vw, 34px);
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.sliderCard__month{
  font-size: 10px;
  letter-spacing: .30em;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--muted2);
}

.slider__dots{
  position:absolute;
  left:50%;
  bottom: -16px;
  transform: translateX(-50%);
  display:flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content:center;
  width:100%;
  padding: 0 12px;
  pointer-events:none;
}
.dot2{
  width: 6px; height: 6px;
  border-radius: 999px;
  background: rgba(156,163,175,.7);
  transition: all .5s ease;
}
.dot2--active{
  width: 18px;
  background: #111827;
  opacity:1;
}

/* ============ Palette ============ */
.paletteWrap{
  width:100%;
  display:flex;
  flex-direction: column;
  align-items:center;
  gap: 10px;
  padding: 12px 0;
}
.palette{
  width:100%;
  display:flex;
  justify-content:center;
  gap: 12px;
  padding: 12px 10px 20px;
  overflow: visible;
}
.palette::-webkit-scrollbar{ display: none; }
.paletteDot{
  width: 18px; height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(229,231,235,.95);
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  flex: 0 0 auto;
  cursor: pointer;  /* 클릭 가능한 커서 */
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.paletteDot:hover{
  transform: scale(1.15);
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  border-color: rgba(17,24,39,.5);
}
.paletteDot:active{
  transform: scale(1.05);
}
.paletteDot--active{
  transform: scale(1.25);
  border: 2px solid rgba(17,24,39,.8);
  box-shadow: 0 6px 20px rgba(0,0,0,.25), 0 0 0 3px rgba(255,255,255,.9);
}
@media (min-width:768px){
  .paletteDot{ width: 24px; height: 24px; }
}
.paletteNote{
  margin:0;
  font-size: 11px;
  color: var(--muted2);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 800;
}

/* ============ Mint ============ */
.mint{
  width:100%;
  display:flex;
  justify-content:center;
}
.mint__card{
  width: min(420px, 100%);
  position:relative;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid rgba(255,255,255,.65);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  padding: 22px;
  overflow:hidden;
  transition: border-color .35s ease, transform .2s ease;
}
.mint__card:hover{
  border-color: rgba(229,231,235,.95);
}
.mint__glow{
  position:absolute;
  top: 10px; right: 10px;
  width: 92px; height: 92px;
  border-radius: 999px;
  background: rgba(251,113,133,.25);
  filter: blur(30px);
  opacity:.7;
}
.mint__tabs{
  display:flex;
  gap: 8px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(229,231,235,.55);
}
.mint__tab{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border:0;
  background: transparent;
  cursor:pointer;
  font-weight: 950;
  letter-spacing: .08em;
  font-size: 12px;
  color: #6b7280;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}
.mint__tab--active{
  background: rgba(255,255,255,.95);
  color: #111827;
  box-shadow: 0 10px 20px rgba(0,0,0,.08);
}
.mint__header{
  margin-top: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(229,231,235,.95);
  display:flex;
  justify-content: space-between;
  align-items:flex-start;
  gap: 14px;
}
.mint__phaseTitle{
  margin:0;
  font-size: 18px;
  font-weight: 950;
  font-style: italic;
  text-transform: uppercase;
}
.mint__live{
  margin-top: 8px;
  display:flex;
  align-items:center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: .22em;
  font-weight: 950;
  color: #16a34a;
  text-transform: uppercase;
}
.dot{
  width: 8px; height: 8px;
  border-radius: 999px;
}
.dot--live{
  background: #22c55e;
  animation: pulse 1.2s ease infinite;
}
.mint__label{
  font-size: 10px;
  letter-spacing: .22em;
  font-weight: 950;
  color: var(--muted);
  text-transform: uppercase;
  text-align:right;
}
.mint__price{
  font-size: 18px;
  font-weight: 950;
  text-align:right;
  margin-top: 4px;
}

.mint__progress{
  margin: 16px 0 16px;
}
.mint__progressTop{
  display:flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: .08em;
  font-weight: 900;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.mint__progressTop b{ color: var(--fg); }
.mint__bar{
  width:100%;
  height: 8px;
  background: rgba(229,231,235,.95);
  border-radius: 999px;
  overflow:hidden;
}
.mint__barFill{
  height:100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 999px;
  box-shadow: 0 8px 16px rgba(102, 126, 234, 0.35);
}

.mint__body{ margin-top: 6px; }

/* Status Box */
.mint__statusBox {
  margin-bottom: 16px;
  padding: 14px;
  background: rgba(249,250,251,.90);
  border: 1px solid rgba(229,231,235,1);
  border-radius: 12px;
}

.mint__statusRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 13px;
  color: var(--fg);
}

.mint__statusRow:not(:last-child) {
  border-bottom: 1px solid rgba(229,231,235,.6);
}

.mint__statusLabel {
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--muted);
}

.mint__statusBadge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.mint__statusOpen {
  background: rgba(34,197,94,.15);
  color: #16a34a;
  border: 1px solid rgba(34,197,94,.3);
}

.mint__statusClosed {
  background: rgba(239,68,68,.15);
  color: #dc2626;
  border: 1px solid rgba(239,68,68,.3);
}

.mint__statusHighlight {
  font-weight: 950;
  color: #111827;
  font-size: 14px;
}

.mint__statusNote {
  font-size: 11px;
  color: var(--muted2);
}

.mint__statusError {
  font-size: 12px;
  color: #dc2626;
  font-weight: 700;
  padding: 4px 0;
}

/* Mint Controls */
.mint__controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mint__counter {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.40);
  border: 2px solid rgba(255,255,255,.6);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.03);
}

.mint__amount {
  flex: 1;
  text-align: center;
  font-size: 22px;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
}

.mint__totalRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: rgba(249,250,251,.90);
  border-radius: 10px;
  border: 1px solid rgba(229,231,235,1);
}

.mint__totalLabel {
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

.mint__totalValue {
  font-weight: 950;
  font-size: 15px;
}

.mint__mintBtn {
  width: 100%;
  padding: 16px 14px;
  border-radius: 14px;
  border: 2px solid rgba(31,41,55,.5);
  background: rgba(17,24,39,.92);
  color: #fff;
  font-weight: 950;
  letter-spacing: .20em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform .12s ease, background .2s ease, opacity .2s ease;
}

.mint__mintBtn:hover {
  background: rgba(17,24,39,1);
}

.mint__mintBtn:active {
  transform: scale(.985);
}

.mint__mintBtn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: rgba(107,114,128,.7);
  border-color: rgba(107,114,128,.5);
}

.mint__mintBtn:disabled:hover {
  background: rgba(107,114,128,.7);
  transform: none;
}

.mintConnect{
  width:100%;
  padding: 18px 16px;
  border-radius: 16px;
  border: 2px dashed rgba(156,163,175,.95);
  background: rgba(229,231,235,.55);
  color: #6b7280;
  font-weight: 900;
  cursor:pointer;
  display:flex;
  flex-direction: column;
  align-items:center;
  gap: 8px;
  transition: all .25s ease;
}
.mintConnect:hover{
  background: rgba(229,231,235,.8);
  border-color: rgba(107,114,128,.9);
  color: #374151;
}

.mintControls{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.40);
  border: 2px solid rgba(255,255,255,.6);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.03);
}
.mintCtrlBtn{
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: background .2s ease, border-color .2s ease, transform .1s ease;
}
.mintCtrlBtn:hover{
  background: rgba(255,255,255,.85);
  border-color: rgba(243,244,246,1);
}
.mintCtrlBtn:active{ transform: scale(.98); }
.mintAmount{
  flex:1;
  text-align:center;
  font-size: 22px;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
}
.mintRow{
  display:flex;
  justify-content: space-between;
  align-items:center;
  margin: 14px 0;
  font-size: 14px;
}
.mintRow__label{
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
.mintRow__value{
  font-weight: 950;
}
.mintBtn{
  width:100%;
  padding: 16px 14px;
  border-radius: 14px;
  border: 2px solid rgba(31,41,55,.5);
  background: rgba(17,24,39,.92);
  color:#fff;
  font-weight: 950;
  letter-spacing: .20em;
  text-transform: uppercase;
  cursor:pointer;
  box-shadow: var(--shadow);
  transition: transform .12s ease, background .2s ease;
}
.mintBtn:hover{ background: rgba(17,24,39,1); }
.mintBtn:active{ transform: scale(.985); }

.mint__footnote{
  text-align:center;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted2);
  margin: 14px 0 0;
}

/* CTA */
.hero__cta{ margin-top: 14px; }
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12px;
  cursor:pointer;
  transition: all .25s ease;
}
.btn--ghost{
  background: rgba(255,255,255,.38);
  border: 1px solid rgba(255,255,255,.65);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0,0,0,.05);
}
.btn--ghost:hover{
  background: rgba(255,255,255,.6);
  box-shadow: 0 18px 40px rgba(0,0,0,.10);
}

/* ============ Sections ============ */
.section{
  position:relative;
  z-index:1;
  padding: 96px 0;
  border-top: 1px solid var(--border);
}
.section--white{ background: rgba(255,255,255,1); }
.section--gray{ background: rgba(249,250,251,1); }

.h2{
  margin:0;
  font-size: clamp(34px, 4.8vw, 62px);
  font-weight: 950;
  letter-spacing: -0.04em;
  color: #111827;
}
.h2--tight{ letter-spacing: -0.06em; }

.kicker{
  font-size: 10px;
  letter-spacing: .30em;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--muted2);
  margin-bottom: 12px;
}

/* Story */
.story{
  display:grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items:center;
}
@media (min-width: 900px){
  .story{
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
}
.story__heading{ display:inline-block; }
.story__underline{
  height: 2px;
  width: 80px;
  margin-top: 18px;
  background: linear-gradient(to right, #111827, transparent);
}
.story__text{
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  font-weight: 350;
  display:flex;
  flex-direction: column;
  gap: 16px;
}
.story__text p{
  margin:0;
  transition: color .5s ease;
}
.story__text p:hover{ color: #111827; }

/* Glass visual */
.glass{
  position:relative;
  border-radius: 22px;
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.65);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  overflow:hidden;
  min-height: 360px;
  display:flex;
  align-items:center;
  justify-content:center;
  isolation: isolate;
}
.glass__pulse{
  position:absolute; inset: 0;
  background: rgba(243,244,246,1);
  filter: blur(44px);
  opacity:.55;
  transition: opacity .7s ease, background .7s ease;
}
.glass:hover .glass__pulse{
  background: rgba(229,231,235,1);
  opacity:.75;
}
.glass__inner{
  position: relative;
  text-align: center;
  padding: 40px 28px;
}
.glass__title{
  margin:0;
  font-size: 18px;
  font-weight: 900;
}
.glass__subtitle{
  margin: 10px 0 0;
  font-size: 11px;
  letter-spacing: .30em;
  text-transform: uppercase;
  color: var(--muted2);
}

.glass__allImg{
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
  background: #fff;
}


/* Collection */
.collectionHead{
  display:flex;
  flex-direction: column;
  gap: 18px;
  align-items:flex-start;
  margin-bottom: 34px;
}
@media (min-width: 900px){
  .collectionHead{
    flex-direction: row;
    justify-content: space-between;
    align-items:flex-end;
  }
}
.collectionHead__note{
  margin:0;
  max-width: 420px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  font-weight: 350;
  border-left: 1px solid rgba(209,213,219,1);
  padding-left: 16px;
}
@media (max-width: 899px){
  .collectionHead__note{
    border-left: 0;
    padding-left: 0;
    text-align:left;
  }
}

.grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 680px){
  .grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px){
  .grid{ grid-template-columns: repeat(4, 1fr); }
}

.card{
  border-radius: 14px;
  overflow:hidden;
  background: #fff;
  border: 1px solid rgba(243,244,246,1);
  box-shadow: 0 6px 20px rgba(0,0,0,.05);
  cursor:pointer;
  transition: transform .45s ease, box-shadow .45s ease, border-color .45s ease;
}
.card:hover{
  transform: translateY(-8px);
  border-color: rgba(229,231,235,1);
  box-shadow: 0 18px 52px rgba(0,0,0,.12);
}
.card__media{
  position:relative;
  width:100%;
  aspect-ratio: 1 / 1;
  overflow:hidden;
  background: #ffffff;
  isolation: isolate;
}
.card__img{
  position:absolute;
  inset: 0;
  margin:auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.18));
  pointer-events:none;
  opacity: 1;
  filter: none;
  image-rendering: auto;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.card__mediaShade{
  position:absolute;
  inset:0;
  z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,.40), transparent 60%);
  opacity:.60;
  transition: opacity .45s ease;
}
.card:hover .card__mediaShade{ opacity:.30; }
.card__month{
  position:absolute;
  z-index: 3;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 96px;
  font-weight: 950;
  opacity:.20;
  mix-blend-mode: overlay;
  user-select:none;
}
.card__hover{
  position:absolute;
  z-index: 4;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 18px;
  text-align:center;
  background: rgba(255,255,255,.30);
  backdrop-filter: blur(10px);
  opacity:0;
  transition: opacity .45s ease;
}
.card:hover .card__hover{ opacity:1; }
.card__hoverTitle{
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin:0;
}
.card__hoverLine{
  height:1px;
  width: 44px;
  background: #111827;
  margin: 12px auto 0;
}
.card__body{
  padding: 18px 18px 20px;
}
.card__name{
  margin:0;
  font-size: 18px;
  font-weight: 900;
  transition: color .25s ease;
}
.card:hover .card__name{ color:#6b7280; }
.card__sub{
  margin: 6px 0 0;
  font-size: 10px;
  letter-spacing: .20em;
  text-transform: uppercase;
  color: var(--muted2);
  font-weight: 900;
}
.card__meaning{
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--muted);
  font-weight: 350;
  line-height: 1.6;

  display:-webkit-box;
  -webkit-box-orient: vertical;
  overflow:hidden;
}
.card__cta{
  margin-top: 14px;
  display:flex;
  align-items:center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--muted2);
  transition: color .25s ease;
}
.card:hover .card__cta{ color: #111827; }

/* Roadmap */
.roadHead{
  text-align:center;
  margin-bottom: 34px;
}
.roadHead__title{ margin-bottom: 12px; }
.roadHead__sub{
  margin:0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .22em;
  font-weight: 900;
  text-transform: uppercase;
}
.roadGrid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 900px){
  .roadGrid{ grid-template-columns: repeat(3, 1fr); }
}
.roadCard{
  padding: 22px;
  border-radius: 18px;
  background: rgba(249,250,251,1);
  border: 1px solid rgba(243,244,246,1);
  transition: background .45s ease, border-color .45s ease, transform .45s ease, box-shadow .45s ease;
  text-align:center;
}
.roadCard:hover{
  background: #fff;
  border-color: rgba(229,231,235,1);
  transform: translateY(-6px);
  box-shadow: 0 18px 52px rgba(0,0,0,.10);
}
.roadIcon{
  width: 48px; height: 48px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: rgba(229,231,235,1);
  display:flex; align-items:center; justify-content:center;
  color: #6b7280;
  transition: all .45s ease;
}
.roadCard:hover .roadIcon{
  background:#111827;
  color:#fff;
  transform: scale(1.08);
}
.roadCard__title{
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 950;
}
.roadCard__desc{
  margin:0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  font-weight: 350;
}

/* Footer */
.footer{
  position:relative;
  z-index:1;
  padding: 56px 0;
  background: rgba(249,250,251,1);
  border-top: 1px solid var(--border);
}
.footer__inner{
  display:flex;
  flex-direction: column;
  gap: 18px;
  align-items:center;
  justify-content: space-between;
}
@media (min-width: 900px){
  .footer__inner{
    flex-direction: row;
    align-items:center;
  }
}
.footer__brand{
  font-weight: 950;
  font-size: 18px;
  letter-spacing: -0.04em;
}
.footer__copy{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 350;
  letter-spacing: .03em;
}
.footer__links{
  display:flex;
  gap: 18px;
}
.footer__link{
  color: var(--muted2);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 950;
  transition: color .25s ease;
}
.footer__link:hover{ color: #111827; }

/* ============ Modal ============ */
.modal{
  position:fixed;
  inset:0;
  z-index:100;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 16px;
}
.modal__overlay{
  position:absolute;
  inset:0;
  background: rgba(255,255,255,.90);
  backdrop-filter: blur(14px);
}
.modal__panel{
  position:relative;
  width: min(980px, 100%);
  max-height: 90vh;
  border-radius: 18px;
  border: 1px solid rgba(229,231,235,1);
  background:#fff;
  box-shadow: 0 30px 90px rgba(0,0,0,.20);
  overflow:hidden;
  animation: fadeInUp .45s ease both;
  display: flex; 
  flex-direction: column;
}
.modal__close{
  position:absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(229,231,235,1);
  background: rgba(255,255,255,.75);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  backdrop-filter: blur(10px);
  transition: transform .12s ease, background .2s ease;
  z-index:2;
}
.modal__close:hover{ background: rgba(255,255,255,.95); }
.modal__close:active{ transform: scale(.98); }

.modal__content{
  display:flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}
@media (min-width: 900px){
  .modal__content{
    flex-direction: row;
    min-height: 560px;
  }
}
.modal__media{
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  isolation: isolate;
}
@media (min-width: 900px){
  .modal__media{
    width: 42%;
    aspect-ratio: auto;
    min-height: 100%;
  }
}
.modal__mediaShade{
    display: none;
}
.modal__mediaCenter{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
}
.modal__mediaIcon{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  filter: none;
  image-rendering: auto;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.modal__body{
  width:100%;
  padding: 22px 20px 22px;
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 900px){
  .modal__body{ width: 58%; padding: 28px; }
}
.modal__top{
  display:flex;
  justify-content: space-between;
  align-items:flex-start;
  gap: 12px;
  margin-bottom: 16px;
  margin-top: 30px;
}
.modal__name{
  margin:0;
  font-size: 28px;
  font-weight: 950;
  letter-spacing: -0.02em;
}
.modal__sub{
  margin: 6px 0 0;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--muted2);
}
.modal__meta{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content:flex-end;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(229,231,235,1);
  background: rgba(249,250,251,1);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 950;
  color: #111827;
}
.pill--soft{
  color: #374151;
  background: rgba(255,255,255,.75);
}
.modal__section{
  border-top: 1px solid rgba(243,244,246,1);
  padding-top: 14px;
  margin-top: 14px;
}
.modal__label{
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 950;
  color: var(--muted2);
  margin-bottom: 10px;
}
.modal__text{
  margin:0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 350;
  line-height: 1.75;
  white-space: pre-wrap;
}
.modal__textStrong{
  font-weight: 950;
  color: #111827;
  font-size: 16px;
  line-height: 1.5;
  white-space: pre-wrap;
}


/* ============ Mint Status Box Styles ============ */
.mint__statusBox {
  margin-bottom: 16px;
}

/* ============ Live Status Dot Colors ============ */
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.dot--live {
  background: #16a34a;
  box-shadow: 0 0 8px rgba(22, 163, 74, 0.6);
  animation: pulse 2s ease-in-out infinite;
}

.dot--closed {
  background: #dc2626;
  box-shadow: 0 0 8px rgba(220, 38, 38, 0.6);
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

/* ============ Error/Success Modals ============ */
.error-modal,
.success-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.error-modal.show,
.success-modal.show {
  opacity: 1;
}

.error-modal__overlay,
.success-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.error-modal__panel,
.success-modal__panel {
  position: relative;
  background: white;
  border-radius: 20px;
  padding: 32px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  text-align: center;
  transform: translateY(20px);
  animation: modalSlideIn 0.3s ease forwards;
}

@keyframes modalSlideIn {
  to {
    transform: translateY(0);
  }
}

.error-modal__icon,
.success-modal__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-modal__icon {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #dc2626;
}

.success-modal__icon {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  color: #16a34a;
}

.error-modal__title,
.success-modal__title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  color: #111827;
}

.error-modal__message,
.success-modal__message {
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 24px;
  line-height: 1.6;
}

.error-modal__btn,
.success-modal__btn {
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  cursor: pointer;
}

.error-modal__btn {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: white;
}

.error-modal__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

.success-modal__btn {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: white;
}

.success-modal__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.3);
}

.success-modal__link {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 16px;
  background: #f3f4f6;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #667eea;
  text-decoration: none;
  transition: all 0.2s ease;
}

.success-modal__link:hover {
  background: #e5e7eb;
  transform: translateY(-1px);
}

/* ============ Wallet Slot Styles ============ */
.wallet-slot {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav__walletBtn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.65);
  background: rgba(255,255,255,.35);
  backdrop-filter: blur(16px);
  font-weight: 900;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .25s ease, box-shadow .25s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
  font-size: 12px;
  color: #111827;
}

.nav__walletBtn:hover {
  background: rgba(255,255,255,.6);
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
}

.nav__walletBtnIcon svg {
  width: 16px;
  height: 16px;
}

.nav__walletInfo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav__walletMeta {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

@media (max-width: 768px) {
  .wallet-slot {
    display: none;
  }
}

/* ============ 추가: Wallet Button 스타일 (기존 파일 끝에 추가) ============ */

/* 🔥 지갑 버튼 - 연결 상태에 따라 레이아웃 변경 */
.nav__walletBtn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.65);
  background: rgba(255,255,255,.35);
  backdrop-filter: blur(16px);
  font-weight: 900;
  letter-spacing: .02em;
  cursor: pointer;
  transition: all .25s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
  font-size: 12px;
  color: #111827;
  position: relative;
  min-width: 160px;
}

.nav__walletBtn:hover {
  background: rgba(255,255,255,.6);
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
  transform: translateY(-1px);
}

.nav__walletBtnIcon svg {
  width: 18px;
  height: 18px;
}

/* 🔥 연결된 상태의 버튼 내용 */
.nav__walletBtnContent {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  flex: 1;
}

.nav__walletBtnAddress {
  font-size: 12px;
  font-weight: 900;
  color: #111827;
  letter-spacing: 0.02em;
}

.nav__walletBtnBalance {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.nav__walletBtnChevron {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  transition: transform 0.2s ease;
}

.nav__walletBtnChevron svg {
  width: 14px;
  height: 14px;
}

.nav__walletBtn:hover .nav__walletBtnChevron {
  opacity: 1;
  transform: translateY(1px);
}

/* 🔥 Wallet Dropdown */
.wallet-slot {
  position: relative;
}

.wallet-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(229, 231, 235, 0.8);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(20px);
  padding: 8px;
  z-index: 100;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.wallet-dropdown.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.wallet-dropdown__item {
  width: 100%;
  padding: 12px 14px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: background 0.15s ease;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #111827;
}

.wallet-dropdown__item:hover {
  background: rgba(243, 244, 246, 0.8);
}

.wallet-dropdown__info {
  cursor: default;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.wallet-dropdown__info:hover {
  background: transparent;
}

.wallet-dropdown__label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted2);
}

.wallet-dropdown__value {
  font-size: 13px;
  font-weight: 900;
  color: #111827;
}

.wallet-dropdown__divider {
  height: 1px;
  background: rgba(229, 231, 235, 0.6);
  margin: 6px 0;
}

.wallet-dropdown__btn svg {
  width: 16px;
  height: 16px;
}

.wallet-dropdown__btn--danger {
  color: #dc2626;
}

.wallet-dropdown__btn--danger:hover {
  background: rgba(220, 38, 38, 0.1);
}

@media (max-width: 768px) {
  .wallet-slot {
    display: none;
  }
  
  .wallet-dropdown {
    display: none;
  }
}

.nav__walletInfo {
  display: none; 
}

.nav__walletMeta {
  display: none; 
}

/* styles.css 맨 끝에 복사 */

/* ============ CSS 햄버거 아이콘 ============ */
.hamburger-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(17, 24, 39, 0.2);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  backdrop-filter: blur(16px);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 0;
  position: relative;
  z-index: 100;
}

.hamburger-btn:hover {
  background: white;
  border-color: rgba(17, 24, 39, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.hamburger-icon {
  width: 20px;
  height: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-line {
  width: 100%;
  height: 2.5px;
  background: #111827;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger-btn:hover .hamburger-line {
  background: #1f2937;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(6.75px) rotate(45deg);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-6.75px) rotate(-45deg);
}

@media (max-width: 767px) {
  .hamburger-btn {
    display: flex !important;
  }
}

@media (min-width: 768px) {
  .hamburger-btn {
    display: none !important;
  }
}
/* ============ Loading Spinner ============ */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.mint__loading {
  text-align: center;
  padding: 40px;
}

.mint__loading > div {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 4px solid #e5e7eb;
  border-top-color: #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.mint__loading p {
  margin-top: 16px;
  color: #6b7280;
  font-size: 14px;
}

/* ============ Mobile Wallet Section ============ */
.mobileMenu__walletSection {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.mobileMenu__walletBtn {
  width: 100%;
  padding: 16px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s;
}

.mobileMenu__walletBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.mobileMenu__walletIcon {
  width: 20px;
  height: 20px;
}

.mobileMenu__walletText {
  font-size: 16px;
}

.mobileMenu__walletInfo {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  padding: 16px;
}

.mobileMenu__walletInfo.hidden {
  display: none;
}

.mobileMenu__walletAddress {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.mobileMenu__walletBalance {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 16px;
}

.mobileMenu__walletActions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobileMenu__actionBtn {
  width: 100%;
  padding: 12px 16px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

.mobileMenu__actionBtn:hover {
  background: #e5e7eb;
}

.mobileMenu__actionBtn--danger {
  background: #fee2e2;
  border-color: #fecaca;
  color: #dc2626;
}

.mobileMenu__actionBtn--danger:hover {
  background: #fecaca;
}

.mobileMenu__actionBtn i {
  width: 16px;
  height: 16px;
}/* loading-improvements.css */
/* mint.js의 로딩 상태 개선을 위한 추가 스타일 */

/* 스피너 애니메이션 */
.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(102, 126, 234, 0.2);
  border-top-color: #667eea;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* 민트 상태 박스 */
.mint__status {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  margin: 16px 0;
  font-size: 14px;
  line-height: 1.5;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mint__status--info {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  border: 1px solid rgba(102, 126, 234, 0.3);
  color: #667eea;
}

.mint__status--error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.1));
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.mint__status--success {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(22, 163, 74, 0.1));
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.mint__statusIcon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.mint__statusText {
  flex: 1;
  font-weight: 500;
}

.mint__statusText br {
  margin: 4px 0;
}

/* 재시도 버튼 */
.mint__retryBtn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.mint__retryBtn:hover {
  background: #5568d3;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.mint__retryBtn:active {
  transform: translateY(0);
}

.mint__retryBtn svg {
  width: 16px;
  height: 16px;
  animation: rotate 1s linear infinite;
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

/* 에러 상태일 때는 회전 멈춤 */
.mint__status--error .mint__retryBtn svg {
  animation: none;
}

/* 프로그레스 바 펄스 효과 */
.mint__barFill {
  position: relative;
  overflow: hidden;
}

/* Round X Minted 진행바 - 주황색 그라데이션 */
#roundProgressBar {
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  box-shadow: 0 8px 16px rgba(245, 158, 11, 0.35);
}

.mint__barFill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  to { left: 100%; }
}

/* 민트 버튼 로딩 상태 */
.mint__mintBtn[disabled] {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  position: relative;
}

.mint__mintBtn[disabled]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* 타임아웃 경고 */
.mint__timeout {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 8px;
  color: #f59e0b;
  font-size: 13px;
  margin-top: 8px;
}

.mint__timeout strong {
  font-weight: 600;
}

/* 다크 모드 지원 */
@media (prefers-color-scheme: dark) {
  .mint__status--info {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
    border-color: rgba(102, 126, 234, 0.4);
  }
  
  .mint__status--error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.15));
    border-color: rgba(239, 68, 68, 0.4);
  }
  
  .mint__status--success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(22, 163, 74, 0.15));
    border-color: rgba(34, 197, 94, 0.4);
  }
}

/* 모바일 반응형 */
@media (max-width: 640px) {
  .mint__status {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .mint__retryBtn {
    width: 100%;
    justify-content: center;
  }
  
  .mint__statusText {
    font-size: 13px;
  }
}

/* 접근성 개선 */
.mint__status:focus-within {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

/* 애니메이션 감소 모드 */
@media (prefers-reduced-motion: reduce) {
  .spinner,
  .mint__retryBtn svg,
  .mint__barFill::after,
  .mint__mintBtn[disabled]::after {
    animation: none;
  }
  
  .mint__status {
    animation: none;
  }
}

/* MetaMask 모달 스타일 */
.error-modal__actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.error-modal__btn--primary {
  flex: 1;
  padding: 12px 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-modal__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.error-modal__btn--secondary {
  flex: 1;
  padding: 12px 24px;
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.error-modal__btn--secondary:hover {
  background: #e5e7eb;
}

.mint__card--locked {
  position: relative;
}

.mint__card--locked::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(249, 250, 251, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 22px;
  z-index: 10;
  pointer-events: none;
}

.mint__walletRequired {
  position: relative;
  z-index: 11;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 20px;
  text-align: center;
}

.mint__walletRequiredIcon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  border: 2px solid rgba(102, 126, 234, 0.3);
  border-radius: 50%;
  color: #667eea;
}

.mint__walletRequiredIcon svg {
  width: 32px;
  height: 32px;
}

.mint__walletRequiredTitle {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #111827;
}

.mint__walletRequiredText {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  max-width: 320px;
}

.mint__walletRequiredBtn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.mint__walletRequiredBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(102, 126, 234, 0.4);
}

.mint__walletRequiredBtn:active {
  transform: translateY(0);
}

.mint__walletRequiredBtn svg {
  width: 18px;
  height: 18px;
}
/* ========================================
   Connect Wallet Overlay (지갑 연결 전 블러 오버레이)
======================================== */
.connect-wallet-overlay{
  position:absolute;
  inset:0;
  background: rgba(255,255,255,.08);         /* ✅ 흰 배경 제거 */
  backdrop-filter: blur(18px) saturate(1.35) contrast(1.05);
  -webkit-backdrop-filter: blur(18px) saturate(1.35) contrast(1.05);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:100;
  animation: overlayFadeIn .25s ease-out;
  border-radius: inherit;
}

/* ✅ 모자이크/그리드 느낌 */
.connect-wallet-overlay::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 12px 12px;
  opacity:.22;
  pointer-events:none;
}

.connect-wallet-overlay__content{
  position:relative;
  z-index:1;
}

@keyframes overlayFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.connect-wallet-overlay--hide {
  animation: overlayFadeOut 0.3s ease-out forwards;
}

@keyframes overlayFadeOut {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.95);
  }
}

.connect-wallet-overlay__content {
  text-align: center;
  max-width: 420px;
  padding: 48px 32px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 24px;
  box-shadow: 
    0 20px 60px rgba(102, 126, 234, 0.15),
    0 0 0 1px rgba(102, 126, 234, 0.1);
  animation: contentSlideUp 0.4s ease-out;
}

@keyframes contentSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.connect-wallet-overlay__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.4);
  }
}

.connect-wallet-overlay__icon svg {
  width: 40px;
  height: 40px;
  color: white;
  stroke-width: 2;
}

.connect-wallet-overlay__title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.connect-wallet-overlay__desc {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin: 0 0 32px;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

.connect-wallet-overlay__btn {
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.connect-wallet-overlay__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.connect-wallet-overlay__btn:active {
  transform: translateY(0);
}

.connect-wallet-overlay__btn svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.5;
}

.connect-wallet-overlay__note {
  margin-top: 24px;
  padding: 16px;
  background: rgba(102, 126, 234, 0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

.connect-wallet-overlay__note svg {
  width: 18px;
  height: 18px;
  color: #667eea;
  flex-shrink: 0;
  stroke-width: 2;
}

/* 민트 섹션 상대 위치 설정 */
.mint {
  position: relative;
}

/* 다크모드 지원 */
@media (prefers-color-scheme: dark) {
  .connect-wallet-overlay {
    background: rgba(26, 26, 26, 0.95);
  }
  
  .connect-wallet-overlay__content {
    background: rgba(30, 30, 30, 0.98);
    box-shadow: 
      0 20px 60px rgba(0, 0, 0, 0.5),
      0 0 0 1px rgba(102, 126, 234, 0.2);
  }
  
  .connect-wallet-overlay__title {
    color: #f5f5f5;
  }
  
  .connect-wallet-overlay__desc {
    color: #a0a0a0;
  }
  
  .connect-wallet-overlay__note {
    background: rgba(102, 126, 234, 0.1);
    color: #a0a0a0;
  }
}

/* 모바일 최적화 */
@media (max-width: 768px) {
  .connect-wallet-overlay__content {
    max-width: 90%;
    padding: 36px 24px;
  }
  
  .connect-wallet-overlay__icon {
    width: 64px;
    height: 64px;
  }
  
  .connect-wallet-overlay__icon svg {
    width: 32px;
    height: 32px;
  }
  
  .connect-wallet-overlay__title {
    font-size: 24px;
  }
  
  .connect-wallet-overlay__desc {
    font-size: 14px;
  }
  
  .connect-wallet-overlay__btn {
    padding: 14px 28px;
    font-size: 15px;
  }
  
  .connect-wallet-overlay__note {
    font-size: 12px;
    padding: 12px;
  }
}