@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Inter:wght@400;500;600;700;800;900&family=Noto+Sans+KR:wght@400;500;700;900&display=swap');

:root{
  --mw-black:#0b0b0f;
  --mw-black2:#12121a;
  --mw-red:#c1121f;
  --mw-gold:#d4af37;
  --mw-gold2:#b8902b;
  --mw-white:#f2f2f2;
  --mw-muted:#9aa0a6;
}

.mw-
/* Background red intensity (toggle: soft | strong) */
body.mw-red-soft{
  --mw-red-1: 0.18;
  --mw-red-2: 0.12;
  --mw-red-h1: 0.10;
  --mw-red-h2: 0.08;
  --mw-red-h3: 0.08;
}
body.mw-red-strong{
  --mw-red-1: 0.32;
  --mw-red-2: 0.22;
  --mw-red-h1: 0.16;
  --mw-red-h2: 0.14;
  --mw-red-h3: 0.14;
}
body{
  background:
    radial-gradient(900px 450px at 30% 10%, rgba(212,175,55,0.12), transparent 60%),
    radial-gradient(900px 450px at 70% 15%, rgba(193,18,31,0.10), transparent 60%),
    linear-gradient(180deg, var(--mw-black), var(--mw-black2));
  color: var(--mw-white);
  font-family: Inter, 'Noto Sans KR', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  min-height: 100vh;
}

.mw-navbar{
  background: rgba(8,8,12,0.78);
  border-bottom: 1px solid rgba(212,175,55,0.22);
  backdrop-filter: blur(12px);
  position: relative;
}

.mw-navbar::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.55), rgba(193,18,31,0.40), rgba(212,175,55,0.55), transparent);
  pointer-events:none;
}

/* Brand (logo + wordmark) */
.mw-brand{ text-decoration: none; }
.mw-logo{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.45));
  transition: transform .18s ease, filter .18s ease;
}
.mw-brand-stack{ display:flex; flex-direction:column; line-height: 1.02; }
.mw-brand-ko{
  font-family: 'Noto Sans KR', Inter, system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: 0.6px;
  font-size: 1.02rem;
  background: linear-gradient(180deg, rgba(245,226,155,1), rgba(212,175,55,1), rgba(184,144,43,1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 18px rgba(212,175,55,0.10);
}
.mw-brand-en{
  font-family: Cinzel, Inter, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: rgba(242,242,242,0.68);
}

.mw-brand:hover .mw-logo{
  transform: translateY(-1px);
  filter: drop-shadow(0 14px 28px rgba(0,0,0,0.60)) drop-shadow(0 10px 22px rgba(212,175,55,0.16));
}
.mw-brand:hover .mw-brand-ko{ filter: brightness(1.05); }

.mw-role{ color: var(--mw-gold); font-weight: 700; }

.navbar .nav-link{
  color: rgba(242,242,242,0.84);
  font-weight: 650;
}
.navbar .nav-link:hover{ color: var(--mw-white); }
.mw-badge-link{
  color: var(--mw-gold) !important;
}

.mw-toggler{ border-color: rgba(212,175,55,0.35); }
.navbar-toggler-icon{ filter: invert(1); opacity: 0.85; }

.mw-main{ padding-bottom: 40px; }

.mw-card{
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(212,175,55,0.18);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.mw-subcard{
  background: linear-gradient(180deg, rgba(212,175,55,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(212,175,55,0.20);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.30);
}

.mw-h1{ font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 900; margin: 0; }
.mw-h2{ font-size: 1.35rem; font-weight: 850; }
.mw-kicker{
  display: inline-block;
  color: rgba(212,175,55,0.95);
  letter-spacing: 2.2px;
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
}
.mw-p{ color: rgba(242,242,242,0.85); line-height: 1.7; margin: 0; }

.mw-divider{
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.45), transparent);
}

.mw-alert{
  border: 1px solid rgba(212,175,55,0.20);
  background: rgba(0,0,0,0.25);
  color: var(--mw-white);
}

.mw-btn-gold{
  background: linear-gradient(180deg, var(--mw-gold), var(--mw-gold2));
  border: 1px solid rgba(0,0,0,0.35);
  color: #111;
  font-weight: 850;
  border-radius: 14px;
}
.mw-btn-gold:hover{ filter: brightness(1.05); }

.mw-btn-outline{
  background: transparent;
  border: 1px solid rgba(212,175,55,0.45);
  color: rgba(242,242,242,0.92);
  font-weight: 800;
  border-radius: 14px;
}
.mw-btn-outline:hover{
  background: rgba(212,175,55,0.10);
  color: var(--mw-white);
}

.mw-input{
  background: rgba(0,0,0,0.22) !important;
  color: var(--mw-white) !important;
  border: 1px solid rgba(212,175,55,0.25) !important;
  border-radius: 12px !important;
}
.mw-input:focus{
  box-shadow: 0 0 0 0.22rem rgba(193,18,31,0.15) !important;
  border-color: rgba(193,18,31,0.55) !important;
}
.form-label{ color: rgba(242,242,242,0.88); font-weight: 700; }

.mw-dropdown{
  background: rgba(10,10,14,0.96);
  border: 1px solid rgba(212,175,55,0.22);
}
.mw-dropdown .dropdown-item{ color: rgba(242,242,242,0.90); }
.mw-dropdown .dropdown-item:hover{ background: rgba(212,175,55,0.10); }

.mw-hero{
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(212,175,55,0.25);
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  min-height: 320px;
}
.mw-hero-bg{
  position:absolute; inset:0;
  background:
    radial-gradient(600px 300px at 25% 30%, rgba(212,175,55,0.28), transparent 60%),
    radial-gradient(600px 300px at 70% 20%, rgba(193,18,31,0.22), transparent 60%),
    linear-gradient(135deg, rgba(0,0,0,0.65), rgba(0,0,0,0.25));
}
.mw-hero-content{
  position: relative;
  padding: 34px 28px;
  max-width: 720px;
}
.mw-hero-kicker{
  display:inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,0.30);
  background: rgba(0,0,0,0.25);
  color: rgba(242,242,242,0.9);
  letter-spacing: 1.8px;
  font-weight: 800;
  font-size: 0.75rem;
}
.mw-hero-title{
  margin: 12px 0 10px;
  font-weight: 950;
  line-height: 1.05;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
}
.mw-hero-sub{ color: rgba(212,175,55,0.95); font-weight: 900; }
.mw-hero-desc{ color: rgba(242,242,242,0.85); line-height: 1.7; margin-bottom: 16px; }
.mw-gold{ color: rgba(212,175,55,0.98); font-weight: 900; }
.mw-red{ color: rgba(193,18,31,0.95); font-weight: 900; }

.mw-image-frame{
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(212,175,55,0.20);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.mw-cover{ width:100%; height:100%; object-fit:cover; display:block; }
.mw-mini-title{ font-weight: 900; letter-spacing: .4px; }
.mw-mini-desc{ color: rgba(242,242,242,0.78); font-size: 0.95rem; }

.mw-list{
  list-style:none;
  padding:0; margin:0;
  display:flex; flex-direction:column; gap:10px;
}
.mw-bullet{
  display:inline-block;
  width: 10px; height: 10px;
  margin-right: 10px;
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(212,175,55,1), rgba(193,18,31,0.9));
  box-shadow: 0 0 0 2px rgba(212,175,55,0.15);
}

.mw-level-title{
  display:flex;
  align-items:center;
  gap:10px;
}
.mw-level-badge{
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,0.30);
  background: rgba(0,0,0,0.22);
  color: rgba(242,242,242,0.92);
  font-weight: 900;
}
.mw-member-name{ font-weight: 900; font-size: 1.05rem; }
.mw-member-role{ color: rgba(212,175,55,0.90); font-weight: 850; font-size: 0.95rem; }
.mw-member-bio{ color: rgba(242,242,242,0.82); line-height: 1.6; }

.mw-avatar, .mw-aff-avatar{
  width: 56px; height: 56px;
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid rgba(212,175,55,0.25);
  background: rgba(0,0,0,0.22);
  flex: 0 0 auto;
}
.mw-avatar-img{ width:100%; height:100%; object-fit:cover; display:block; }
.mw-avatar-fallback{
  width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
  font-weight: 950;
  color: rgba(212,175,55,0.90);
  letter-spacing: 1px;
}
.mw-thumb{
  height: 200px;
  border-radius: 18px 18px 0 0;
  overflow:hidden;
  border-bottom: 1px solid rgba(212,175,55,0.16);
  background: rgba(0,0,0,0.18);
}
.mw-thumb-fallback{
  height:100%;
  display:flex; align-items:center; justify-content:center;
  font-weight: 950;
  color: rgba(212,175,55,0.90);
  letter-spacing: 2px;
  font-size: 1.8rem;
  background: radial-gradient(400px 200px at 50% 30%, rgba(193,18,31,0.18), transparent 60%);
}
.mw-item-title{ font-weight: 900; letter-spacing: 0.2px; }
.mw-price{
  color: rgba(212,175,55,0.95);
  font-weight: 950;
  white-space: nowrap;
}
.mw-feature-list{
  margin: 0; padding-left: 1.2rem;
  color: rgba(242,242,242,0.82);
}
.mw-feature-list li{ margin: 6px 0; }

.mw-empty{
  padding: 18px;
  color: rgba(242,242,242,0.72);
  border: 1px dashed rgba(212,175,55,0.25);
  border-radius: 18px;
  background: rgba(0,0,0,0.15);
}

.mw-role-pill{
  display:inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,0.25);
  background: rgba(0,0,0,0.20);
  color: rgba(212,175,55,0.95);
  font-weight: 900;
}

.mw-footer{
  border-top: 1px solid rgba(212,175,55,0.18);
  background: rgba(0,0,0,0.24);
}
.mw-footer-link{
  color: rgba(242,242,242,0.70);
  text-decoration: none;
}
.mw-footer-link:hover{
  color: rgba(212,175,55,0.92);
}

@media (max-width: 576px){
  .mw-hero-content{ padding: 28px 18px; }
  .mw-thumb{ height: 180px; }
}



/* ===== MW Luxury Animated Gold Line ===== */
:root{
  --mw-gold: #D4AF37;
  --mw-red-1: 0.20;
  --mw-red-2: 0.14;
  --mw-red-h1: 0.12;
  --mw-red-h2: 0.10;
  --mw-red-h3: 0.10;
  --mw-red: #FF3B3B;
  --mw-black: #0A0A0C;
  --mw-ink: rgba(255,255,255,0.92);
  --mw-matte: rgba(255,255,255,0.06);
}

/* Header accent line (always moving) */
.site-header{
  position: relative;
  backdrop-filter: blur(10px);
}

.site-header::after,
.mw-navbar::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:2px;
  background: linear-gradient(90deg,
    rgba(212,175,55,0) 0%,
    var(--mw-gold) 18%,
    var(--mw-red) 50%,
    var(--mw-gold) 82%,
    rgba(212,175,55,0) 100%);
  background-size: 420% 100%;
  animation: mw-shimmer 5.8s linear infinite;
  opacity: .95;
}

/* Animated shimmer keyframes */
@keyframes mw-shimmer{
  0%   { background-position:   0% 50%; }
  100% { background-position: 420% 50%; }
}

/* Brand typography */
.brand-text{ display:flex; flex-direction:column; line-height:1; gap:2px; }
.brand-kr{
  font-weight: 850;
  letter-spacing: .08em;
  font-size: 15px;
  text-transform: none;
  background: linear-gradient(90deg, var(--mw-gold), #fff2bf, var(--mw-red), var(--mw-gold));
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: mw-shimmer 7.2s linear infinite;
  text-shadow: 0 0 18px rgba(212,175,55,.12);
}
.brand-en{
  font-size: 11px;
  letter-spacing: .28em;
  color: rgba(255,255,255,.70);
}

/* Nav link underline shimmer on hover + active */
.nav-link{
  position: relative;
  padding: 10px 10px;
  border-radius: 12px;
  transition: background .2s ease, transform .2s ease;
}
.nav-link:hover{
  background: linear-gradient(180deg, rgba(212,175,55,.10), rgba(255,255,255,0));
  transform: translateY(-1px);
}
.nav-link::after{
  content:"";
  position:absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mw-gold), #fff2bf, var(--mw-red), var(--mw-gold));
  background-size: 360% 100%;
  animation: mw-shimmer 4.6s linear infinite;
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  transition: transform .22s ease, opacity .22s ease;
}
.nav-link:hover::after,
.nav-link.active::after{
  transform: scaleX(1);
  opacity: 1;
}

/* Optional: subtle gold edge on hover */
.nav-link:hover{
  box-shadow: inset 0 0 0 1px rgba(212,175,55,.25), 0 10px 22px rgba(0,0,0,.25);
}

/* Buttons shimmer border on hover */
.btn, button, input[type="submit"]{
  position: relative;
}
.btn::before, button::before, input[type="submit"]::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius: inherit;
  padding:1px;
  background: linear-gradient(90deg, rgba(212,175,55,.0), rgba(212,175,55,.75), rgba(255,59,59,.7), rgba(212,175,55,.0));
  background-size: 420% 100%;
  animation: mw-shimmer 6.5s linear infinite;
  opacity: 0;
  pointer-events:none;
  transition: opacity .22s ease;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}
.btn:hover::before, button:hover::before, input[type="submit"]:hover::before{
  opacity: 1;
}



/* ===== EXTRA: Nav Scan + Section Header Lines ===== */

/* Stronger nav scan effect */
.nav-link{
  overflow: hidden;
}
.nav-link::before{
  content:"";
  position:absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(212,175,55,0) 0%,
      rgba(212,175,55,.16) 22%,
      rgba(255,59,59,.12) 50%,
      rgba(212,175,55,.16) 78%,
      rgba(212,175,55,0) 100%);
  transform: translateX(-120%);
  filter: blur(.2px);
  opacity: 0;
  transition: opacity .18s ease;
  pointer-events:none;
}
.nav-link:hover::before,
.nav-link.active::before{
  opacity: 1;
  animation: mw-scan 1.15s ease-in-out infinite;
}
@keyframes mw-scan{
  0%   { transform: translateX(-120%); }
  60%  { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

/* Section headers: animated gold line underline */
.section-title{
  position: relative;
  display: inline-block;
  margin: 6px 0 18px;
  padding-bottom: 10px;
  letter-spacing: .06em;
}
.section-title::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg,
    rgba(212,175,55,0) 0%,
    var(--mw-gold) 18%,
    #fff2bf 35%,
    var(--mw-red) 55%,
    var(--mw-gold) 82%,
    rgba(212,175,55,0) 100%);
  background-size: 420% 100%;
  animation: mw-shimmer 6.2s linear infinite;
  opacity: .95;
}

/* Optional small ornament line above titles */
.section-title::before{
  content:"";
  position:absolute;
  left:0;
  bottom: 6px;
  width: 56px;
  height: 1px;
  border-radius: 999px;
  background: rgba(212,175,55,.35);
  box-shadow: 0 0 18px rgba(212,175,55,.18);
}



/* ===== FIX: Active nav text should be GOLD (not black) + logo safety ===== */
.mw-navbar .nav-link.active,
.mw-navbar .nav-link.active:hover,
.mw-navbar .nav-link.active:focus{
  color: var(--mw-gold) !important;
}

.mw-navbar .nav-link.active{
  text-shadow: 0 0 18px rgba(212,175,55,.18);
}

/* Bootstrap sometimes paints dropdown/active items dark; force luxury palette */
.mw-dropdown .dropdown-item:active,
.mw-dropdown .dropdown-item.active{
  background: rgba(212,175,55,.14) !important;
  color: var(--mw-gold) !important;
}

/* Ensure MW logo never gets clipped in the navbar */
.mw-logo{
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}



/* ===== Background: Black + Red blend (luxury) ===== */
html, body{
  min-height: 100%;
}

body{
  background:
    radial-gradient(1200px circle at 18% 8%, rgba(255, 59, 59, var(--mw-red-1)), rgba(0,0,0,0) 60%),
    radial-gradient(1000px circle at 86% 72%, rgba(255, 59, 59, var(--mw-red-2)), rgba(0,0,0,0) 58%),
    radial-gradient(700px circle at 48% 92%, rgba(212,175,55, 0.08), rgba(0,0,0,0) 55%),
    linear-gradient(180deg, #050508 0%, #0A0A0C 55%, #050508 100%);
  background-attachment: fixed;
  color: rgba(255,255,255,0.92);
  position: relative;
  overflow-x: hidden;
}

/* subtle animated haze */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px circle at 10% 20%, rgba(255, 59, 59, var(--mw-red-h1)), rgba(0,0,0,0) 60%),
    radial-gradient(800px circle at 80% 10%, rgba(212,175,55, 0.08), rgba(0,0,0,0) 55%),
    radial-gradient(900px circle at 70% 85%, rgba(255, 59, 59, var(--mw-red-h2)), rgba(0,0,0,0) 60%);
  opacity: .9;
  pointer-events: none;
  transform: translate3d(0,0,0);
  animation: mw-haze 18s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}

@keyframes mw-haze{
  0%   { filter: blur(0px); transform: translate3d(0,0,0) scale(1); }
  100% { filter: blur(1.2px); transform: translate3d(0,-10px,0) scale(1.02); }
}



/* Brand logo preview */
.mw-logo-preview{
  width: 88px;
  height: 88px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,175,55,0.25);
  box-shadow: 0 10px 22px rgba(0,0,0,.28), inset 0 0 0 1px rgba(255,59,59,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.mw-logo-preview img{
  width: 74px;
  height: 74px;
  object-fit: contain;
  display:block;
}

/* Mobile header tuning */
@media (max-width: 576px){
  .mw-navbar .container{
    padding-left: 12px;
    padding-right: 12px;
  }
  .mw-navbar{
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .mw-brand{
    gap: 10px !important;
  }
  .mw-logo{
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }
  .brand-text{
    gap: 1px;
  }
  .brand-kr{
    font-size: 14px;
    letter-spacing: .06em;
  }
  .brand-en{
    font-size: 9.5px;
    letter-spacing: .22em;
  }
  .mw-toggler{
    padding: 6px 8px;
  }
}
