/* ==========================================================================
   PhilWin(필윈) — 디자인 시스템 (다크 네이비 × 샴페인 골드, 모바일 우선)
   ========================================================================== */
:root {
  --bg: #07090f;
  --bg-1: #0a0e18;
  --bg-2: #0f1526;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-gold: rgba(217, 180, 108, 0.35);
  --text: #eef1f7;
  --muted: #9aa3b8;
  --gold: #d9b46c;
  --gold-2: #f3dca2;
  --gold-grad: linear-gradient(135deg, #f6e2ab 0%, #d9b46c 45%, #a97a3b 100%);
  --teal: #35c7b4;
  --kakao: #fee500;
  --kakao-ink: #191600;
  --telegram: #2aabee;
  --danger: #ff6b6b;
  --ok: #3ddc97;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7);
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --header-h: 68px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 16px; line-height: 1.7; letter-spacing: -0.01em; word-break: keep-all; overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased; padding-bottom: 72px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { line-height: 1.3; letter-spacing: -0.025em; margin: 0 0 0.5em; font-weight: 700; }
p { margin: 0 0 1em; }
.ic { width: 22px; height: 22px; flex: none; }
.ic-sm { width: 16px; height: 16px; }
.muted { color: var(--muted); }
.gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.note { color: var(--muted); font-size: 0.9rem; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.22em; color: var(--gold); text-transform: uppercase; margin-bottom: 0.9em; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  padding: 0 22px; border-radius: 999px; font-weight: 700; border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold-grad); color: #1a1205; box-shadow: 0 10px 30px -10px rgba(217, 180, 108, .6); }
.btn--ghost { border-color: var(--line-gold); color: var(--gold-2); background: rgba(217, 180, 108, .05); }
.btn--ghost:hover { background: rgba(217, 180, 108, .12); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.btn--block { width: 100%; }
.linklike { background: none; border: 0; padding: 0; color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }

/* 연락처 버튼 (카카오톡 · 텔레그램 · 전화) */
.contact-buttons { display: grid; gap: 10px; }
.contact-buttons--lg { grid-template-columns: 1fr; max-width: 640px; }
.contact-buttons--sm { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.cbtn {
  display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 14px; border: 1px solid transparent;
  text-align: left; font-weight: 700; transition: transform .2s ease, filter .2s ease; min-height: 52px; width: 100%;
}
.cbtn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.cbtn span { display: flex; flex-direction: column; line-height: 1.3; }
.cbtn small { font-weight: 500; opacity: .75; font-size: .8rem; }
.cbtn--kakao { background: var(--kakao); color: var(--kakao-ink); }
.cbtn--telegram { background: var(--telegram); color: #fff; }
.cbtn--phone { background: rgba(255, 255, 255, .04); border-color: var(--line-gold); color: var(--gold-2); }
.contact-buttons--sm .cbtn { justify-content: center; padding: 10px 14px; }

/* ---------- 헤더 ---------- */
.notice-bar { background: var(--gold-grad); color: #1a1205; font-size: .88rem; font-weight: 600; text-align: center; padding: 8px 0; }
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(7, 9, 15, .72); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s ease, background .3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(7, 9, 15, .9); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-logo { height: 40px; width: auto; }
.brand-emblem { width: 40px; height: 40px; filter: drop-shadow(0 6px 14px rgba(217, 180, 108, .35)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-en { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; letter-spacing: .02em; color: var(--gold-2); }
.brand-ko { font-size: .68rem; color: var(--muted); letter-spacing: .02em; }
.main-nav { display: none; margin-left: auto; }
.main-nav > ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 10px; font-size: .95rem; font-weight: 500; color: #cfd5e3; }
.main-nav a:hover, .main-nav a.is-active { color: var(--gold-2); background: var(--surface); }
.main-nav .has-sub { position: relative; }
.main-nav .sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 180px; list-style: none; margin: 0; padding: 8px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s ease;
}
.main-nav .has-sub:hover .sub, .main-nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub a { display: block; padding: 10px 12px; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-cta { display: none; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }

.mobile-menu { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .6); }
.mobile-menu[hidden] { display: none; }
.mobile-menu__panel {
  position: absolute; inset: 0 0 0 auto; width: min(420px, 100%); background: var(--bg-1); padding: 16px var(--gutter) 32px;
  overflow-y: auto; animation: slideIn .25s ease;
}
@keyframes slideIn { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.mobile-search { display: flex; align-items: center; gap: 8px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.mobile-search input { flex: 1; background: none; border: 0; color: var(--text); height: 46px; font: inherit; outline: none; }
.mobile-nav { list-style: none; padding: 0; margin: 0 0 20px; }
.mobile-nav a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; font-weight: 600; }
.mobile-menu__hours { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; margin-top: 14px; }

.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 0 0; margin: 0; font-size: .82rem; color: var(--muted); }
.breadcrumb li + li::before { content: '/'; margin-right: 6px; opacity: .5; }
.breadcrumb a:hover { color: var(--gold-2); }

/* ---------- 히어로 ---------- */
.hero { position: relative; min-height: min(92svh, 860px); display: flex; align-items: center; overflow: hidden; padding: 72px 0 96px; margin-top: calc(-1 * var(--header-h)); padding-top: calc(var(--header-h) + 56px); }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; opacity: .9; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; opacity: .9; }
/* 첫 화면 회사 소개 영상 */
.hero--video .hero__inner { display: grid; gap: 28px; align-items: center; }
.hero--video .hero__media { order: -1; }
.hero-film { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-gold); background: #000; aspect-ratio: 16 / 9; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9), 0 0 0 6px rgba(217, 180, 108, .06); }
.hero-film video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-film__sound { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 0; border-radius: 999px; background: var(--gold-grad); color: #1a1205; font-weight: 800; font-size: .9rem; white-space: nowrap; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .7); transition: transform .2s ease; }
.hero-film__sound:hover { transform: translateX(-50%) scale(1.04); }
.hero-film__sound[hidden] { display: none; }
.hero-film__badge { position: absolute; top: 12px; left: 12px; padding: 5px 12px; border-radius: 999px; background: rgba(7, 9, 15, .7); border: 1px solid var(--line-gold); color: var(--gold-2); font-size: .72rem; font-weight: 700; letter-spacing: .12em; }
.hero-film.is-playing-sound .hero-film__badge { display: none; }
@media (max-width: 639px) {
  .hero-film__sound { bottom: 10px; padding: 7px 14px; font-size: .8rem; }
  .hero-film__sound .ic { width: 18px; height: 18px; }
  .hero-film__badge { top: 8px; left: 8px; font-size: .62rem; padding: 4px 9px; }
}
@media (min-width: 1080px) {
  .hero--video .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; }
  .hero--video .hero__media { order: 0; }
  .hero--video .hero__title { font-size: clamp(2.3rem, 4.2vw, 3.6rem); }
}
.video-frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-gold); box-shadow: var(--shadow); background: #000; aspect-ratio: 16 / 9; }
.video-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }
.hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 9, 15, .45) 0%, rgba(7, 9, 15, .5) 55%, var(--bg) 100%), linear-gradient(90deg, rgba(7, 9, 15, .75) 0%, rgba(7, 9, 15, .15) 75%); }
.hero__glow {
  position: absolute; inset: -20%;
  background: radial-gradient(40% 35% at 75% 30%, rgba(217, 180, 108, .28), transparent 70%),
    radial-gradient(35% 30% at 15% 80%, rgba(53, 199, 180, .16), transparent 70%),
    radial-gradient(50% 45% at 50% 50%, rgba(40, 60, 120, .35), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: translate3d(-2%, -1%, 0) scale(1); } to { transform: translate3d(2%, 2%, 0) scale(1.08); } }
.hero__grain { position: absolute; inset: 0; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__inner { position: relative; }
.hero__title { font-size: clamp(2.3rem, 7vw, 4.6rem); font-weight: 800; line-height: 1.12; margin-bottom: 20px; }
.hero__kicker { display: block; font-size: clamp(.95rem, 2.4vw, 1.1rem); font-weight: 600; color: var(--muted); letter-spacing: 0; margin-bottom: 14px; }
.hero__kicker b { color: var(--gold-2); }
.hero__lead { font-size: clamp(1rem, 2.4vw, 1.18rem); color: #c8cfdd; max-width: 620px; margin-bottom: 28px; }
.hero__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 26px 0 0; }
.hero__chips li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; color: #cfd5e3; background: rgba(255, 255, 255, .03); backdrop-filter: blur(6px); }
.hero__chips .ic { color: var(--gold); }
.hero .reveal { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero .reveal:nth-child(2) { animation-delay: .08s; } .hero .reveal:nth-child(3) { animation-delay: .16s; }
.hero .reveal:nth-child(4) { animation-delay: .24s; } .hero .reveal:nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid var(--line-gold); border-radius: 20px; display: none; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--gold); animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.trust-strip { border-block: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-1), var(--bg)); }
.trust-strip__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.trust-strip__grid > div { padding: 22px 8px; text-align: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-strip__grid > div:nth-child(2n) { border-right: 0; }
.trust-strip strong { display: block; font-family: var(--serif); font-size: 2.3rem; font-weight: 600; line-height: 1; color: var(--gold-2); }
.trust-strip strong small { font-family: var(--font); font-size: .85rem; margin-left: 3px; color: var(--gold); }
.trust-strip span { font-size: .82rem; color: var(--muted); }

/* ---------- 섹션 공통 ---------- */
.section { padding: 64px 0; }
.section--tight { padding: 40px 0 64px; }
.section--alt { background: var(--bg-1); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(1.7rem, 4.4vw, 2.6rem); }
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; max-width: none; }
.section-more { margin-top: 32px; text-align: center; }
.link-more { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-2); font-weight: 600; white-space: nowrap; font-size: .95rem; }
.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
/* 모바일: 옆으로 넘기는 카드 슬라이드 */
@media (max-width: 639px) {
  .m-carousel {
    grid-auto-flow: column; grid-auto-columns: 82%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 14px; scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .m-carousel::-webkit-scrollbar { display: none; }
  .m-carousel > * { scroll-snap-align: start; }
}

/* 페이지 히어로 */
.page-hero { position: relative; padding: 56px 0 40px; overflow: hidden; }
.page-hero__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 85% 0%, rgba(217, 180, 108, .18), transparent 70%), radial-gradient(40% 60% at 0% 100%, rgba(53, 199, 180, .08), transparent 70%); }
.page-hero h1 { font-size: clamp(1.9rem, 5.6vw, 3.3rem); font-weight: 800; }
.page-hero__lead { color: #c8cfdd; max-width: 680px; font-size: 1.05rem; }

/* 탭 */
.tabs__list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 18px; scrollbar-width: none; }
.tabs__list button { flex: none; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; color: #cfd5e3; }
.tabs__list button small { color: var(--muted); margin-left: 4px; }
.tabs__list button[aria-selected='true'] { background: var(--gold-grad); color: #1a1205; border-color: transparent; }
.tabs__list button[aria-selected='true'] small { color: #4a3510; }
.region-summary { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: .95rem; }
.region-summary b { color: var(--text); }
.region-summary .ic { color: var(--gold); margin-top: 4px; }

/* ---------- 미디어 (이미지 / 대체 아트) ---------- */
.media-img, .media-art { width: 100%; height: 100%; object-fit: cover; }
.media-art { position: relative; display: grid; place-items: center; overflow: hidden; background: var(--bg-2); min-height: 100%; }
.media-art::before { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 14px); }
.media-art::after { content: ''; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(217, 180, 108, .25); box-shadow: 0 0 0 28px rgba(217, 180, 108, .04), 0 0 0 56px rgba(217, 180, 108, .03); }
.media-art--1 { background: radial-gradient(80% 90% at 20% 10%, #2c3e70 0%, transparent 60%), radial-gradient(70% 80% at 90% 100%, #6a4a1c 0%, transparent 60%), #0c1224; }
.media-art--2 { background: radial-gradient(80% 90% at 80% 0%, #1b5b58 0%, transparent 60%), radial-gradient(70% 80% at 0% 100%, #5e4318 0%, transparent 60%), #0a1420; }
.media-art--3 { background: radial-gradient(80% 90% at 50% 0%, #7a5a22 0%, transparent 55%), radial-gradient(70% 80% at 100% 100%, #1d2c5c 0%, transparent 60%), #0d0f1c; }
.media-art--4 { background: radial-gradient(80% 90% at 0% 0%, #3b2a5a 0%, transparent 60%), radial-gradient(70% 80% at 100% 100%, #7a5a22 0%, transparent 60%), #0b0e1a; }
.media-art__label { position: relative; z-index: 1; font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 3vw, 1.9rem); color: var(--gold-2); text-align: center; padding: 0 16px; text-shadow: 0 2px 20px rgba(0, 0, 0, .5); }

/* ---------- 카드 ---------- */
.casino-card, .post-card, .service-card, .feature-card, .region-card, .empty-card, .aside-card, .form-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.casino-card { transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.casino-card:hover { transform: translateY(-4px); border-color: var(--line-gold); box-shadow: var(--shadow); }
.casino-card__link { display: flex; flex-direction: column; height: 100%; }
.casino-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.casino-card__media > * { transition: transform .6s ease; }
.casino-card:hover .casino-card__media > * { transform: scale(1.05); }
.casino-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.casino-card__area { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: .82rem; margin-bottom: 6px; }
.casino-card__title { font-size: 1.2rem; margin-bottom: 6px; }
.casino-card__title .en { display: block; font-family: var(--serif); font-size: 1.05rem; font-weight: 500; color: var(--gold-2); font-style: italic; }
.casino-card__tagline { color: #c1c8d6; font-size: .93rem; flex: 1; }
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-size: .9rem; font-weight: 600; }

.post-card { display: flex; flex-direction: column; transition: border-color .3s ease, transform .3s ease; }
.post-card:hover { border-color: var(--line-gold); transform: translateY(-3px); }
.post-card__media { aspect-ratio: 16 / 9; overflow: hidden; display: block; }
.post-card__body { padding: 18px 20px 22px; }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); margin-bottom: 8px; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: rgba(217, 180, 108, .12); color: var(--gold-2); font-size: .76rem; font-weight: 600; }
.post-card__title { font-size: 1.1rem; margin-bottom: 8px; }
.post-card__title a:hover { color: var(--gold-2); }
.post-card__excerpt { color: var(--muted); font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }

.service-card, .feature-card { padding: 26px 24px; }
.service-card__icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 16px; color: var(--gold-2); background: linear-gradient(135deg, rgba(217, 180, 108, .22), rgba(217, 180, 108, .05)); border: 1px solid var(--line-gold); }
.service-card h3, .feature-card h3 { font-size: 1.15rem; }
.service-card p, .feature-card p { color: var(--muted); font-size: .94rem; }
.feature-card > .ic { color: var(--gold); margin-bottom: 12px; width: 28px; height: 28px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checklist li { display: flex; gap: 8px; align-items: flex-start; font-size: .92rem; color: #cfd5e3; }
.checklist .ic { color: var(--teal); margin-top: 4px; }
.checklist--lg li { font-size: 1rem; }


.region-card { padding: 26px; display: block; transition: border-color .3s ease; }
.region-card:hover { border-color: var(--line-gold); }
.region-card__en { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.1rem; margin: 0; }
.region-card small { color: var(--muted); font-size: .85rem; font-weight: 500; }
.region-card p:last-child { color: var(--muted); font-size: .93rem; margin: 0; }
.empty-card { padding: 36px 24px; text-align: center; }
.empty-card .btn, .empty-card .contact-buttons { margin-top: 10px; }
.empty-card .contact-buttons { max-width: 560px; margin-inline: auto; }

/* 타임라인 */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: step; }
.timeline__item { position: relative; padding: 18px 18px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; grid-template-columns: 52px 1fr; column-gap: 8px; }
.timeline__item > :not(.timeline__num) { grid-column: 2; }
.timeline__num { grid-row: span 2; font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--gold); display: block; }
.timeline__item h2, .timeline__item h3 { font-size: 1.15rem; }
.timeline__item p { color: var(--muted); font-size: .94rem; margin: 0; }

/* 분할 레이아웃 */
.split { display: grid; gap: 32px; align-items: center; }
.split__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.split__text h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
.strengths { display: grid; gap: 16px; margin: 20px 0 28px; }
.strength { display: flex; gap: 14px; }
.strength > .ic { color: var(--gold); margin-top: 3px; }
.strength h3 { font-size: 1.05rem; margin-bottom: 2px; }
.strength p { color: var(--muted); font-size: .93rem; margin: 0; }
.sticky-media { align-self: start; }

.pill-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 28px; }
.pill-links--left { justify-content: flex-start; margin-top: 0; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: .9rem; color: #cfd5e3; transition: all .2s ease; }
.pill small { color: var(--muted); }
.pill:hover, .pill.is-active { border-color: var(--line-gold); color: var(--gold-2); background: rgba(217, 180, 108, .08); }
.pill--static:hover { border-color: var(--line); color: #cfd5e3; background: var(--surface); }
.pill--small { padding: 5px 12px; font-size: .82rem; }
.anchor-nav { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 4px; }

/* FAQ */
.faq-list { display: grid; gap: 10px; }
.faq { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h2, .faq summary h3 { font-size: 1.02rem; margin: 0; font-weight: 600; }
.faq summary .ic { color: var(--gold); transition: transform .25s ease; }
.faq[open] summary .ic { transform: rotate(180deg); }
.faq[open] { border-color: var(--line-gold); }
.faq p { padding: 0 20px 20px; margin: 0; color: #c1c8d6; }

/* ---------- 상세 / 본문 ---------- */
.detail-hero { position: relative; min-height: 380px; display: flex; align-items: flex-end; overflow: hidden; }
.detail-hero__media { position: absolute; inset: 0; }
.detail-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 9, 15, .2) 0%, rgba(7, 9, 15, .6) 55%, var(--bg) 100%); }
.detail-hero__text { position: relative; padding-bottom: 32px; padding-top: 120px; }
.detail-hero h1 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 800; }
.detail-hero h1 .en { display: block; font-family: var(--serif); font-weight: 500; font-style: italic; color: var(--gold-2); font-size: .6em; }
.detail-hero .lead { color: #d6dbe6; font-size: 1.1rem; margin: 0; }
.detail-layout { display: grid; gap: 32px; }
.aside-card { padding: 24px; display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 16px); }
.aside-card__title { font-weight: 700; font-size: 1.1rem; margin: 0; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; font-size: .92rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.tip { margin: 0; padding: 18px 22px; border-left: 3px solid var(--gold); background: rgba(217, 180, 108, .07); border-radius: 0 12px 12px 0; color: #e3d6b8; }

.prose { font-size: 1.04rem; color: #d7dce7; }
.prose h2 { font-size: clamp(1.35rem, 3.4vw, 1.7rem); margin: 2em 0 .7em; color: var(--text); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 1.6em 0 .6em; color: var(--text); }
.prose a { color: var(--gold-2); text-decoration: underline; text-decoration-color: rgba(217, 180, 108, .45); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--gold-2); }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--gold); }
.prose blockquote { margin: 1.5em 0; padding: 16px 20px; border-left: 3px solid var(--gold); background: var(--surface); border-radius: 0 12px 12px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .94rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.prose th { color: var(--gold-2); background: var(--surface-2); font-weight: 600; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.2em 0; }
.prose img { border-radius: 14px; margin: 1.4em 0; }
.prose input[type='checkbox'] { accent-color: var(--gold); margin-right: 6px; }
.prose .contains-task-list, .prose ul:has(input[type='checkbox']) { list-style: none; padding-left: 0; }

.article__head { padding-top: 40px; }
.article__head h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 800; }
.article__excerpt { color: var(--muted); font-size: 1.08rem; }
.article__byline { margin-top: 10px; color: var(--muted); font-size: .88rem; }
.article__byline a { color: var(--gold); }
.article__note { margin-top: 32px; color: var(--muted); font-size: .86rem; }
.article__cover { margin: 24px auto 0; }
.article__cover > * { border-radius: var(--radius); aspect-ratio: 16 / 8; overflow: hidden; }
.article__layout { display: grid; gap: 32px; padding-top: 40px; padding-bottom: 64px; }
.article__body { min-width: 0; max-width: 760px; }
.toc { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; background: var(--surface); align-self: start; }
.toc__title { font-weight: 700; margin-bottom: 8px; color: var(--gold-2); }
.toc ol { margin: 0; padding-left: 1.2em; font-size: .9rem; color: var(--muted); }
.toc li { margin-bottom: 6px; }
.toc a:hover { color: var(--gold-2); }
.article__cta { margin-top: 48px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line-gold); background: linear-gradient(135deg, rgba(217, 180, 108, .1), rgba(217, 180, 108, .02)); }
.article__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.article__tags a { text-decoration: none; }

.csvc-card { position: relative; display: flex; flex-direction: column; gap: 4px; background: linear-gradient(160deg, rgba(217, 180, 108, .1), rgba(255, 255, 255, .02) 55%); }
.csvc-card p:not(.region-card__en) { flex: 1; }
.csvc-card__num { position: absolute; top: 18px; right: 22px; font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: rgba(217, 180, 108, .35); }
.csvc-card .more { margin-top: 12px; }

.anything-banner { margin: 0 0 28px; padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line-gold); background: linear-gradient(135deg, rgba(217, 180, 108, .16), rgba(217, 180, 108, .03)); }
.anything-banner__title { display: flex; align-items: center; gap: 10px; font-size: clamp(1.1rem, 3vw, 1.35rem); font-weight: 800; color: var(--text); margin: 0 0 6px; }
.anything-banner__title .ic { color: var(--gold); flex: none; }
.anything-banner__text { margin: 0; color: #c8cfdd; font-size: .95rem; }

/* 카지노 서비스 하위 탭 */
.subtabs { border-bottom: 1px solid var(--line); background: var(--bg-1); position: sticky; top: var(--header-h); z-index: 20; }
.subtabs__inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subtabs a { flex: none; padding: 14px 16px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.subtabs a:hover { color: var(--text); }
.subtabs a.is-active { color: var(--gold-2); border-bottom-color: var(--gold); }
.lead-text { font-size: 1.15rem; color: var(--text); font-weight: 500; }
.timeline--compact { grid-template-columns: 1fr !important; margin: 0 0 1em; }
.timeline--compact .timeline__item { display: grid; grid-template-columns: 52px 1fr; padding: 16px 18px; }
.timeline--compact .timeline__num { font-size: 2rem; margin: 0; }
.timeline--compact h3 { margin: 0 0 2px; font-size: 1.05rem; }
.prose .timeline { padding-left: 0; }

/* 서비스 상세 행 */
.service-row { display: grid; gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.service-row:last-child { border-bottom: 0; }
.service-row__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid var(--line); }
.service-row h2 { font-size: clamp(1.5rem, 3.6vw, 2rem); }
.service-row .lead { color: #c8cfdd; font-size: 1.05rem; }

/* ---------- 폼 ---------- */
.contact-layout { display: grid; gap: 32px; align-items: start; }
.contact-channels h2, .form-card h2 { font-size: 1.4rem; }
.contact-notes { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; color: var(--muted); font-size: .9rem; }
.contact-notes b { color: var(--text); }
.form-card { padding: 26px 22px; }
.form { display: grid; gap: 16px; }
.form label, .form legend { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; color: #cfd5e3; }
.form em { color: var(--gold); font-style: normal; }
.form small { color: var(--muted); font-weight: 400; }
.form input[type='text'], .form input[type='search'], .form input[type='password'], .form select, .form textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, .25);
  color: var(--text); font: inherit; font-weight: 400; transition: border-color .2s ease, box-shadow .2s ease;
}
.form select option, .form select optgroup { background: var(--bg-2); }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 180, 108, .18); }
.form-row { display: grid; gap: 16px; }
.form-note { font-size: .82rem; color: var(--muted); margin: 0; }
.form-note a { color: var(--gold-2); text-decoration: underline; }
.alert { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; font-size: .93rem; }
.alert p { margin: 0; }
.alert--ok { background: rgba(61, 220, 151, .1); border: 1px solid rgba(61, 220, 151, .35); }
.alert--ok .ic { color: var(--ok); }
.alert--error { display: block; background: rgba(255, 107, 107, .1); border: 1px solid rgba(255, 107, 107, .4); color: #ffc9c9; }
.search-box { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; border: 1px solid var(--line-gold); border-radius: 999px; background: var(--surface); margin-bottom: 24px; }
.search-box input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--text); font: inherit; height: 44px; }
.search-box > .ic { color: var(--gold); }
.search-group { font-size: 1.1rem; margin: 28px 0 12px; color: var(--gold-2); }
.search-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.search-list li { padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.search-list p { margin: 6px 0 0; color: var(--muted); font-size: .92rem; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 36px; }
.pagination a { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); }
.pagination a.is-active { background: var(--gold-grad); color: #1a1205; border-color: transparent; font-weight: 700; }
.notfound { text-align: center; }
.notfound__code { font-family: var(--serif); font-size: 7rem; line-height: 1; margin: 0; color: var(--gold); }

/* ---------- CTA 밴드 & 푸터 ---------- */
.cta-band { padding: 64px 0; background: radial-gradient(60% 120% at 100% 0%, rgba(217, 180, 108, .16), transparent 60%), var(--bg-1); border-top: 1px solid var(--line); }
.cta-band__inner { display: grid; gap: 28px; align-items: center; }
.cta-band h2 { font-size: clamp(1.6rem, 4.4vw, 2.4rem); }
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 24px; background: var(--bg); font-size: .92rem; }
.footer-grid { display: grid; gap: 32px; }
.footer-brand .muted { max-width: 420px; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--muted); }
.footer-contact li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.footer-contact a { color: var(--gold-2); }
.footer-contact .ic { color: var(--gold); }
.footer-title { font-weight: 700; color: var(--text); margin-bottom: 12px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--muted); }
.footer-col a:hover { color: var(--gold-2); }
.footer-legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.footer-legal strong { display: inline-block; padding: 1px 8px; border: 1px solid var(--line-gold); border-radius: 6px; color: var(--gold-2); margin-right: 6px; }
.footer-legal a { color: var(--gold-2); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin: 12px 0 0; }

/* 플로팅 연락 버튼 (데스크톱) / 하단 바 (모바일) */
.float-dock { display: none; }
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  background: rgba(10, 14, 24, .96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a, .mobile-bar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 64px; font-size: .74rem; font-weight: 600; color: #cfd5e3; background: none; border: 0; }
.mobile-bar .is-kakao .ic { color: var(--kakao); }
.mobile-bar .is-telegram .ic { color: var(--telegram); }
.mobile-bar .is-cta { background: var(--gold-grad); color: #1a1205; }
.toast {
  position: fixed; left: 50%; bottom: 88px; transform: translateX(-50%); z-index: 90; max-width: calc(100% - 32px);
  background: var(--bg-2); border: 1px solid var(--line-gold); color: var(--text); padding: 12px 18px; border-radius: 12px;
  box-shadow: var(--shadow); font-size: .92rem; text-align: center; animation: rise .3s ease;
}
.toast[hidden] { display: none; }

/* 스크롤 등장 효과 (JS 활성 시에만) */
.js .reveal:not(.hero .reveal) { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in:not(.hero .reveal) { opacity: 1; transform: none; }

/* ==========================================================================
   반응형
   ========================================================================== */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .contact-buttons--lg { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .trust-strip__grid { grid-template-columns: repeat(4, 1fr); }
  .trust-strip__grid > div { border-bottom: 0; }
  .trust-strip__grid > div:nth-child(2n) { border-right: 1px solid var(--line); }
  .trust-strip__grid > div:last-child { border-right: 0; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .form-card { padding: 32px; }
}
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .toast { bottom: 32px; }
  .float-dock { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: grid; gap: 10px; }
  .float-btn { position: relative; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 0; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .6); transition: transform .2s ease; }
  .float-btn:hover { transform: scale(1.08); }
  .float-btn--kakao { background: var(--kakao); color: var(--kakao-ink); }
  .float-btn--telegram { background: var(--telegram); color: #fff; }
  .float-btn--phone { background: var(--gold-grad); color: #1a1205; }
  .float-tip { position: absolute; right: calc(100% + 10px); white-space: nowrap; background: var(--bg-2); border: 1px solid var(--line); color: var(--text); padding: 6px 12px; border-radius: 10px; font-size: .85rem; font-weight: 600; opacity: 0; pointer-events: none; transform: translateX(6px); transition: all .2s ease; }
  .float-btn:hover .float-tip, .float-btn:focus-visible .float-tip { opacity: 1; transform: none; }
  .section { padding: 96px 0; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .grid { gap: 22px; }
  .timeline { grid-template-columns: repeat(3, 1fr); }
  .timeline__item { display: block; padding: 24px 22px 20px; }
  .timeline__num { font-size: 2.4rem; margin-bottom: 8px; }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split > .split__text:first-child { order: 0; }
  .detail-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; }
  .contact-layout { grid-template-columns: 1fr 1.15fr; gap: 48px; }
  .service-row { grid-template-columns: 1fr 1fr; gap: 56px; padding: 48px 0; }
  .service-row.is-reverse .service-row__media { order: 2; }
  .cta-band__inner { grid-template-columns: 1.1fr 1fr; gap: 48px; }
  .cta-band .contact-buttons--lg { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .page-hero { padding: 88px 0 56px; }
  .detail-hero { min-height: 480px; }
  .hero__scroll { display: block; }
}
@media (min-width: 1080px) {
  .main-nav { display: block; }
  .menu-toggle { display: none; }
  .header-cta { display: inline-flex; }
  .header-actions { margin-left: 0; }
  .article__layout { grid-template-columns: 240px minmax(0, 760px); justify-content: center; }
  .toc { position: sticky; top: calc(var(--header-h) + 20px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* 화면에는 보이지 않지만 검색엔진 · 스크린리더가 읽는 제목 */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
