/* === LUXURY THEME v5 (Dark Gold Complete) === */
:root {
  --gold: #bfa06a;
  --gold-2: #e1d2ad;
  --ink: #ffffff;
  --muted: #d8dbe2;
  --bg: #0e0f13;
  --panel: #1b1e24;
}

/* 기본 구조 */
* { box-sizing: border-box }
html, body { height: 100% }
body,
body.bg-body {
  background: var(--bg)!important;
  color: var(--ink)!important;
  font-family: 'Noto Sans KR', system-ui, -apple-system, 'Segoe UI', Roboto, Arial;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.text-body { color: var(--ink)!important }

/* 흰 배경 강제 제거 */
.bg-white { background-color: var(--panel)!important; color: var(--ink)!important }

/* 텍스트 */
h1, h2, h3, h4, h5, h6 { color: #fff; font-family: 'Noto Serif KR', 'Noto Sans KR' }
p, li, small { color: var(--ink) }
.text-muted { color: var(--muted)!important }
a { color: #fff; text-decoration: none }
a:hover { opacity: .9 }

/* 네비게이션 */
.luxury-nav {
  background: linear-gradient(90deg, rgba(14,15,19,.94), rgba(27,30,36,.94));
  border-bottom: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(8px) saturate(140%);
}
.navbar-dark .navbar-brand,
.navbar-dark .navbar-nav .nav-link { color: #f6f7fb }

/* 드롭다운 */
.navbar .dropdown-menu {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 10px 8px;
  box-shadow: 0 22px 60px rgba(0,0,0,.45);
}
.dropdown-item { color: #fff; border-radius: 10px; padding: .55rem .8rem }
.dropdown-item:hover { background: rgba(191,160,106,.22); color: #fff }

/* 데스크탑 hover 드롭다운 */
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu { display: block }
  .navbar .dropdown-toggle::after { transform: rotate(180deg); transition: transform .2s ease }
  .navbar .dropdown:hover .dropdown-toggle::after { transform: rotate(0) }
}

/* 버튼 */
.btn.btn-cta {
  background: var(--gold);
  color: #151515;
  font-weight: 800;
  border-radius: 12px;
  padding: .6rem 1.05rem;
  border: 0;
  box-shadow: 0 14px 36px rgba(191,160,106,.38);
}
.btn.btn-cta:hover { filter: brightness(.97) }
.btn-outline-light { color: #f5f7fa; border-color: rgba(255,255,255,.45) }
.btn-outline-light:hover { background: #f5f7fa; color: #0e0f13 }

/* 기본 버튼 스타일 통일 */
.btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #151515;
  font-weight: 600;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #d0b276;
  border-color: #d0b276;
  color: #151515;
  box-shadow: 0 8px 22px rgba(191,160,106,.5);
}
.btn-outline-primary {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-outline-primary:hover {
  background: var(--gold);
  color: #151515;
}

/* 탭 / 필스 */
.nav-tabs, .nav-pills { border-bottom: 1px solid rgba(255,255,255,.08) }
.nav-tabs .nav-link, .nav-pills .nav-link {
  border: 0;
  border-radius: 999px;
  margin-right: .35rem;
  padding: .35rem .95rem;
  font-size: .9rem;
  color: #a0a6b5;
  background: transparent;
}
.nav-tabs .nav-link:hover, .nav-pills .nav-link:hover {
  background: rgba(255,255,255,.06);
  color: #ffffff;
}
.nav-tabs .nav-link.active,
.nav-pills .nav-link.active {
  background: var(--gold)!important;
  color: #151515!important;
  font-weight: 600;
  box-shadow: 0 10px 26px rgba(191,160,106,.45);
}

/* 카드 */
.card {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  color: var(--ink);
}
.card-soft {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  box-shadow: 0 18px 54px rgba(0,0,0,.46);
  color: #fff;
}

/* 폼 */
.form-control, .form-select, textarea {
  background-color: #111318;
  border-color: rgba(255,255,255,.18);
  color: var(--ink);
}
.form-control::placeholder, textarea::placeholder { color: rgba(216,219,226,.7) }
.form-control:focus, .form-select:focus, textarea:focus {
  background-color: #111318;
  border-color: var(--gold);
  color: var(--ink);
  box-shadow: 0 0 0 .12rem rgba(191,160,106,.45);
}

/* === 테이블 가독성 === */
.table {
  color: #e5e7eb!important;
  background-color: transparent!important;
}
.table thead th {
  background-color: #111827!important;
  color: #f9fafb!important;
  border-color: #1f2937!important;
}
.table tbody tr:nth-child(odd) td {
  background-color: #020617!important;
  color: #e5e7eb!important;
}
.table tbody tr:nth-child(even) td {
  background-color: #0b1120!important;
  color: #e5e7eb!important;
}
.table tbody tr:hover td { background-color: #111827!important }
.table.table-dark, .table-dark th, .table-dark td {
  background-color: transparent!important;
  color: #e5e7eb!important;
}

/* 영상/커플 박스 */
.border-warning,
.couple-card,
.video-box {
  border: 1px solid var(--gold)!important;
  border-radius: 24px!important;
  padding: 1rem!important;
  background: linear-gradient(180deg, #16171b, #0e0f13)!important;
  color: var(--ink)!important;
  box-shadow: 0 0 18px rgba(191,160,106,0.18);
  transition: all 0.3s ease-in-out;
}
.border-warning:hover,
.couple-card:hover,
.video-box:hover {
  box-shadow: 0 0 28px rgba(191,160,106,0.35);
  transform: translateY(-2px);
}
.border-warning h5,
.couple-card h5,
.video-box h5 {
  color: var(--gold);
  margin-bottom: .5rem;
  font-family: 'Noto Serif KR', 'Noto Sans KR';
  font-weight: 600;
}

/* 푸터 */
.luxury-footer {
  background: linear-gradient(180deg, #151821, #0e0f13);
  border-top: 1px solid rgba(255,255,255,.1);
}
.text-gold { color: var(--gold) }
.link-gold { color: var(--gold); text-decoration: none }
.link-gold:hover { text-decoration: underline }

/* 공지사항 페이지 */
.board-notice-page .card {
  background: #1b1f2a!important;
  color: #f9fafb!important;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
}
.board-notice-page h1,
.board-notice-page h4,
.board-notice-page .fw-semibold,
.board-notice-page .text-muted { color: #f9fafb!important }
.board-notice-page .alert,
.board-notice-page .border {
  background: rgba(255,255,255,.08)!important;
  color: #f9fafb!important;
}
.board-notice-page a { color: #d0d4ff!important }
.board-notice-page a:hover { color: #a5b4fc!important }
.board-notice-page .small.text-muted { color: #cbd5e1!important }
.board-notice-page .bg-dark.bg-opacity-25 {
  background: rgba(255,255,255,0.05)!important;
  color: #f9fafb!important;
}

.btn-gold-card{
  display: inline-flex !important;   /* ← 부모 block 규칙 무력화 */
  width: fit-content !important;     /* ← 텍스트 길이만큼 */
  max-width: fit-content !important;
  min-width: 0 !important;

  align-items: center;
  white-space: nowrap;

  padding: 0.35em 0.7em;
  border-radius: 0.6em;

  border: 1px solid rgba(212, 175, 55, 0.9);
  background-color: rgba(33, 37, 41, 0.75);

  text-decoration: none;
  line-height: 1.2;
}

.btn-gold-card:hover{
  background-color: rgba(33, 37, 41, 0.9);
  box-shadow: 0 4px 12px rgba(212,175,55,.25);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-gold-card{
  display: inline-flex;
  align-items: center;
  gap: 0.4em;          /* 텍스트-아이콘 간격 */
}

/* 화살표 아이콘 전용 튜닝 */
.btn-gold-card .btn-icon{
  font-size: 1.05em;   /* 글자보다 살짝 크게 */
  line-height: 1;
  transform: translateY(1px); /* 시각적 중앙 정렬 */
  transition: transform .15s ease;
}

/* hover 시 살짝 이동 → 버튼 느낌 */
.btn-gold-card:hover .btn-icon{
  transform: translate(2px, 1px);
}

