/* 공개 화면. 디자인은 Babo/casino-travel-guide(globals.css + theme.css + site-pages.css)를 한 파일로 합친 것 (Tailwind 없이),
   배너 목록(.banner-*)은 3단 카드: 왼쪽 배너 이미지 · 가운데 제목과 설명 · 오른쪽 버튼.
   기준(../사이트-공통-기본기.txt): 375px 가로 넘침 없음, 한글 keep-all, 누르는 곳 40px 안팎, 작은 글자도 대비 4.5:1 이상.
   색을 바꿀 때는 아래 :root 의 값만 바꿉니다 (예: 예전 버건디·베이지 판은 --wine:#642c3c, --ivory·--paper:#f5efe6). */
:root {
  --wine: #333333;          /* 제목·강조·카드 아래 띠 */
  --dark-wine: #171717;
  --ivory: #ffffff;
  --paper: #ffffff;
  --ink: #252525;
  --muted: #656565;         /* 흰 바탕 대비 5.9:1 */
  --line: #dddddd;
  --cta: #2b2b2b;           /* 배너 버튼 */
  --cta-glow: #5a5a5a;
  --cta-ring: #8a8a8a;
  --heading: "Noto Sans KR", sans-serif;
  --sans: "DM Sans", "Noto Sans KR", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; min-width: 320px; background: #ffffff; color: var(--ink); font-family: var(--sans); font-size: 19px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--wine); outline-offset: 5px; }
::selection { background: #d1d1d1; color: var(--dark-wine); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { word-break: keep-all; color: var(--wine); }
svg { flex-shrink: 0; vertical-align: middle; }
img { max-width: 100%; }
a, button { touch-action: manipulation; }
[hidden] { display: none !important; }
.wrap { width: calc(100% - 112px); max-width: 1264px; margin-inline: auto; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 2px; line-height: 1.6; color: var(--wine); }
.skip-link { position: fixed; left: 16px; top: -90px; z-index: 100; padding: 16px; background: var(--wine); color: white; }
.skip-link:focus { top: 8px; }

/* ---------- 머리말 ---------- */
.site-header { position: relative; height: 94px; background: #e8e8e8; border-bottom: 1px solid #cccccc; box-shadow: 0 3px 10px #00000008; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; gap: 15px; color: #252525; }
.brand-symbol { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 49px; height: 49px; padding: 0 8px 8px 0; border-radius: 10px; background: #ffffff; color: var(--wine); box-shadow: 0 3px 0 #c5c5c5; font: italic 40px/1 Georgia, serif; letter-spacing: -7px; }
.brand-symbol > span { font-style: normal; letter-spacing: 0; padding-left: 3px; }
.brand-words { font-size: 18px; font-weight: 800; letter-spacing: 1px; line-height: 1.3; }
.brand-words small { display: block; margin-top: 6px; font-size: 11px; font-weight: 400; letter-spacing: .8px; color: var(--muted); }
.desktop-nav { display: flex; gap: 9px; font-size: 17px; font-weight: 600; }
.desktop-nav a { padding: 12px 18px; border-radius: 8px; color: #333333; line-height: 1.6; white-space: nowrap; transition: background .2s; }
.desktop-nav a:hover { background: #dcdcdc; color: #111111; }
.desktop-nav a[aria-current="page"] { background: #ffffff; color: #222222; box-shadow: 0 2px 0 #c8c8c8; font-weight: 800; }
.site-header a:focus-visible, .site-header button:focus-visible { outline-color: #444444; }
.menu-toggle { display: none; padding: 9px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; color: #222222; }
.mobile-nav { display: none; }

/* ---------- 소개 ---------- */
.intro-lead { margin-top: 25px; margin-bottom: 28px; padding: 25px 28px 27px; background: #fcfcfc; border: 1px solid #d2d2d2; border-top: 5px solid var(--wine); border-radius: 15px; box-shadow: 0 5px 0 #d2d2d2, 0 10px 22px #2c2c2c09; }
.intro-lead > .eyebrow { display: inline-block; padding: 5px 10px; background: #e3e3e3; border: 1px solid #cccccc; border-radius: 5px; font-size: 12px; font-weight: 700; letter-spacing: .4px; }
.intro-lead h1, .page-intro h1 { font-family: var(--heading); font-weight: 900; letter-spacing: -1.8px; color: #313131; text-shadow: 0 1px 0 #f9f9f9, 0 3px 0 #aeaeae, 0 5px 8px #26262617; }
.intro-lead h1 { margin: 12px 0 11px; font-size: 45px; line-height: 1.4; }
.intro-deck { margin-bottom: 20px; font-family: var(--sans); font-size: 21px; font-weight: 700; line-height: 1.6; letter-spacing: -.5px; color: #5e5e5e; word-break: keep-all; }
.intro-body { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 30px; align-items: start; }
.intro-copy p { font-size: 18px; line-height: 1.9; color: #4b4b4b; word-break: keep-all; overflow-wrap: break-word; }
.intro-copy p + p { margin-top: 15px; }
.intro-copy a { color: var(--wine); font-weight: 600; text-decoration: underline; text-decoration-color: #a1a1a1; text-underline-offset: 4px; }
.hero-image { position: relative; overflow: hidden; background: #c7c7c7; }
.hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; filter: saturate(.65); }
.intro-media .hero-image { height: 190px; border: 1px solid #b7b7b7; border-radius: 10px; box-shadow: 0 4px 0 #c7c7c7; }
.intro-shortcuts { display: flex; flex-direction: column; gap: 12px; margin-top: 17px; padding: 17px 18px; background: #eaeaea; border: 1px solid #cccccc; border-radius: 9px; box-shadow: 0 3px 0 #d2d2d2; }
.intro-shortcuts > span { margin-bottom: 2px; font-size: 13px; font-weight: 800; color: var(--wine); }
.intro-shortcuts a { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 500; }
.intro-shortcuts a:hover { color: var(--wine); }

/* ---------- 섹션 제목 ---------- */
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-heading h2, .journal-heading h2, .chapter > h2, .faq-heading h2, .closing > p:nth-child(2) { font-family: var(--heading); font-weight: 800; letter-spacing: -1px; text-shadow: 0 1px 0 #fafafa, 0 2px 0 #c1c1c1; }
.section-heading h2 { margin-top: 12px; font-size: 32px; }
.section-heading > p { font-size: 16px; line-height: 1.9; color: var(--muted); }

/* ---------- 해외 카지노 사이트 목록: 3단 배너 카드 ---------- */
.directory-section { padding-top: 10px; padding-bottom: 35px; }
.directory-section .section-heading { margin-bottom: 20px; }
.banner-list { display: flex; flex-direction: column; gap: 22px; }
.banner-row {
  display: grid; grid-template-columns: 230px minmax(0, 1fr) 230px; align-items: center; gap: 32px;
  min-height: 190px; padding: 30px 36px; background: var(--paper);
  border: 1px solid #c7c7c7; border-bottom: 36px solid var(--wine); border-radius: 18px;
  box-shadow: 0 5px 0 #d2d2d2, 0 7px 16px #2b2b2b09;
}
/* 배너 이미지 칸: 1200×900 (4:3) 비율. 1200×900 이미지가 꽉 차고, 다른 비율은 잘리지 않게 안에 맞춰요(contain). */
.banner-image { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1200 / 900; border-radius: 10px; overflow: hidden; }
.banner-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.banner-copy { min-width: 0; }
.banner-copy h3 { margin: 0 0 12px; font-family: var(--heading); font-size: 19px; font-weight: 800; line-height: 1.5; letter-spacing: -.3px; }
.banner-title { color: var(--wine); overflow-wrap: anywhere; }
.banner-copy p { font-size: 17px; font-weight: 700; line-height: 1.75; color: #232323; word-break: keep-all; overflow-wrap: anywhere; }
/* 확인 정보 (라이선스 · 조건 · 확인 날짜) */
.banner-facts { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.banner-facts li { display: inline-flex; align-items: baseline; gap: 6px; padding: 4px 10px; border: 1px solid #cfcfcf; border-radius: 6px; background: #f3f3f3; font-size: 13px; font-weight: 600; line-height: 1.5; color: #333333; word-break: keep-all; overflow-wrap: anywhere; }
.banner-facts li > span { flex: none; font-weight: 700; color: #5c5c5c; white-space: nowrap; }

/* ---------- 제휴 사이트 소개 (src/content/reviews.js): 번호 제목 → 화면 그림 → 소개 → 포인트 목록. 링크 없음 ---------- */
.review-section { padding-top: 10px; padding-bottom: 45px; }
.review-list { display: flex; flex-direction: column; gap: 26px; }
.review-card { padding: 32px 36px; background: var(--paper); border: 1px solid #cccccc; border-radius: 16px; box-shadow: 0 5px 0 #d2d2d2, 0 8px 20px #29292908; }
.review-card > h3 { margin-bottom: 20px; font-family: var(--heading); font-size: 23px; font-weight: 800; line-height: 1.5; letter-spacing: -.6px; color: #2c2c2c; word-break: keep-all; }
.review-card > h4 { margin: 26px 0 12px; font-family: var(--heading); font-size: 18px; font-weight: 800; letter-spacing: -.3px; color: #1f1f1f; }
.review-summary { font-size: 17px; line-height: 1.9; color: #4a4a4a; word-break: keep-all; }
/* 화면 그림: 어두운 사이트 화면처럼 그린 장식 (이미지 파일 아님) */
.review-visual { display: flex; flex-direction: column; overflow: hidden; margin-bottom: 22px; border-radius: 10px; background: radial-gradient(120% 90% at 85% 40%, #4d4d4d 0%, #262626 45%, #121212 100%); color: #ffffff; aspect-ratio: 16 / 7; min-height: 210px; }
.review-visual-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: #0e0e0e; border-bottom: 1px solid #2f2f2f; }
.review-visual-logo { font-family: var(--heading); font-size: 16px; font-weight: 900; letter-spacing: .5px; color: #f0f0f0; }
.review-visual-pills { display: flex; gap: 6px; }
.review-visual-pills span { padding: 2px 8px; border: 1px solid #6a6a6a; border-radius: 4px; font-size: 11px; font-weight: 700; letter-spacing: .5px; color: #dcdcdc; }
.review-visual-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 18px 8%; }
.review-visual-kicker { font-size: 13px; font-weight: 700; letter-spacing: 3px; color: #bdbdbd; }
.review-visual-body strong { display: flex; flex-direction: column; font-family: var(--heading); font-size: clamp(22px, 3.4vw, 38px); font-weight: 900; line-height: 1.3; letter-spacing: -1px; text-shadow: 0 3px 0 #000000; word-break: keep-all; }
.review-visual-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding: 0 16px 14px; }
/* 아래 칸 수(관리자에서 0~5칸)만큼 나눠요 */
.review-visual-tiles[data-tiles="1"] { grid-template-columns: minmax(0, 1fr); }
.review-visual-tiles[data-tiles="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.review-visual-tiles[data-tiles="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.review-visual-tiles[data-tiles="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.review-visual-tiles span { padding: 9px 6px; border: 1px solid #8c8c8c; border-radius: 6px; background: linear-gradient(#3a3a3a, #1d1d1d); font-size: 13px; font-weight: 700; text-align: center; color: #f2f2f2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 포인트 목록 (사이트 소개 · 회사소개 공용): 왼쪽 띠가 있는 회색 줄 */
.point-list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.point-list li { position: relative; padding: 11px 16px 11px 34px; border-left: 4px solid var(--wine); border-radius: 0 7px 7px 0; background: #f4f4f4; font-size: 16px; line-height: 1.7; color: #333333; word-break: keep-all; overflow-wrap: anywhere; }
.point-list li::before { content: ""; position: absolute; left: 15px; top: 1.35em; width: 6px; height: 6px; border-radius: 50%; background: #333333; }
.review-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 22px; font-size: 14px; line-height: 1.7; color: #5a5a5a; word-break: keep-all; }

/* 메인 소개 아래 운영·정리일 표기 */
.intro-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: -6px 0 22px; font-size: 15px; font-weight: 600; color: #595959; }
.intro-byline a { color: #2a2a2a; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 회사소개 ---------- */
.about-page .about-section + .about-section { margin-top: 24px; }
.about-section h2 { margin-bottom: 16px; }
.about-facts { margin: 0; }
.about-facts > div { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.about-facts > div:last-child { border: 0; }
.about-facts dt { font-size: 16px; font-weight: 800; color: var(--wine); }
.about-facts dd { margin: 0; font-size: 16px; line-height: 1.8; color: #444444; word-break: keep-all; overflow-wrap: anywhere; }
.about-facts dd a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) {
  .review-card { padding: 24px 20px; border-radius: 13px; }
  .review-card > h3 { font-size: 20px; }
  .review-visual { aspect-ratio: auto; }
  .review-visual-tiles:not([data-tiles="1"], [data-tiles="2"]) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .review-visual-tiles span:nth-child(n+4) { display: none; }
  .about-facts > div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 480px) {
  .review-card { padding: 22px 16px; }
  .review-summary, .point-list li { font-size: 15px; }
  .review-visual-pills { display: none; }
  .review-visual-tiles { gap: 6px; padding: 0 12px 12px; }
  .review-visual-tiles span { padding: 8px 2px; font-size: 12px; letter-spacing: -.4px; }
}
.banner-cta {
  display: flex; align-items: center; justify-content: center; min-height: 68px; padding: 12px 26px;
  border: 3px solid var(--cta-ring); border-radius: 999px; background: radial-gradient(circle at 50% 50%, var(--cta-glow), var(--cta) 72%);
  color: #ffffff; font-size: 19px; font-weight: 700; line-height: 1.4; text-align: center; word-break: keep-all;
  box-shadow: 0 4px 0 #1f1f1f, inset 0 1px 0 #ffffff24; transition: transform .15s, filter .15s;
}
.banner-cta:hover { transform: translateY(-2px); filter: brightness(1.15); }
.banner-cta:focus-visible { outline-offset: 4px; }

/* ---------- 범위 띠 · 세 가지 시선 ---------- */
.scope-strip { border-block: 1px solid #c8c8c8; background: #dfdfdf; }
.scope-inner { display: grid; grid-template-columns: repeat(3, 1fr); padding: 21px 0; }
.scope-inner > span { display: flex; align-items: center; justify-content: center; gap: 11px; border-right: 1px solid #c4c4c4; color: #585858; font-size: 15px; font-weight: 500; }
.scope-inner > span:last-child { border: 0; }
.scope-inner svg { width: 16px; height: 16px; stroke-width: 1.3; }
.intro-section { padding-top: 38px; padding-bottom: 38px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { display: block; padding: 26px; background: #fcfcfc; border: 1px solid #c8c8c8; border-radius: 12px; box-shadow: 0 5px 0 #d4d4d4; transition: border-color .2s, background .2s, transform .2s, box-shadow .2s; }
.feature-card:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #c5c5c5; background: #f9f9f9; border-color: #777777; }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; color: var(--wine); }
.card-top svg { width: 29px; height: 29px; }
.card-top > span { font-family: var(--sans); font-size: 29px; font-weight: 800; color: #6f6f6f; }
.feature-card h3 { margin-bottom: 13px; font-family: var(--heading); font-size: 23px; font-weight: 800; letter-spacing: -.7px; }
.feature-card p { font-size: 16px; line-height: 1.9; color: var(--muted); word-break: keep-all; }
.text-link { display: inline-flex; align-items: center; gap: 24px; color: var(--wine); font-size: 15px; font-weight: 700; }
.feature-card .text-link { margin-top: 25px; }
.feature-card .text-link svg { transition: transform .2s; }
.feature-card:hover .text-link svg { transform: translateX(4px); }

/* ---------- 가이드 본문 ---------- */
.journal-heading { padding: 40px 0 44px; background: #333333; border-top: 1px solid #595959; border-bottom: 5px solid #232323; color: var(--ivory); }
.journal-heading .eyebrow { color: #c4c4c4; font-size: 13px; font-weight: 700; letter-spacing: 2px; }
.journal-heading-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-top: 15px; }
.journal-heading h2 { font-size: 35px; letter-spacing: -1.5px; color: #f3f3f3; text-shadow: 0 2px 0 #191919; }
.journal-heading-bottom > p { position: relative; padding-right: 42px; font-size: 15px; line-height: 1.8; color: #cbcbcb; }
.journal-heading-bottom svg { position: absolute; right: 0; top: 9px; }
.longread { display: grid; grid-template-columns: 220px minmax(0, 1fr); column-gap: 42px; padding-top: 65px; padding-bottom: 70px; }
.sidebar-sticky { position: sticky; top: 25px; padding: 20px 14px; background: #e4e4e4; border: 1px solid #cccccc; border-radius: 10px; }
.reading-sidebar .eyebrow { font-size: 12px; letter-spacing: 1.8px; color: #555555; }
.reading-sidebar h3 { margin: 10px 0 23px; font-family: var(--heading); font-size: 18px; font-weight: 800; letter-spacing: -.3px; }
.reading-sidebar nav { display: flex; flex-direction: column; gap: 3px; padding-top: 15px; border-top: 1px solid #c9c9c9; }
.reading-sidebar nav a { display: flex; align-items: center; gap: 10px; padding: 9px 8px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.6; color: #555555; transition: color .2s, background .2s; }
.reading-sidebar nav a span { font-size: 13px; color: #666666; }
.reading-sidebar nav a.active { border-color: var(--wine); border-radius: 4px; background: #d2d2d2; color: var(--wine); font-weight: 700; }
.reading-sidebar nav a:hover { background: #dadada; color: var(--wine); }
.sidebar-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; padding: 19px 10px; border-top: 1px solid #c9c9c9; font-size: 14px; color: #555555; }
.chapters { min-width: 0; padding: 29px; background: #fcfcfc; border: 1px solid #d7d7d7; border-radius: 12px; box-shadow: 0 4px 0 #d8d8d8; }
.chapter { padding-bottom: 58px; margin-bottom: 54px; border-bottom: 1px solid var(--line); }
.chapter:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.chapter-kicker { display: flex; align-items: center; gap: 18px; font-size: 13px; font-weight: 600; letter-spacing: 1px; color: #666666; }
.chapter-kicker span:first-child { color: var(--wine); }
.chapter-kicker span:last-child { padding-left: 18px; border-left: 1px solid #bdbdbd; letter-spacing: .3px; }
.chapter > h2 { margin: 18px 0 17px; font-size: 31px; line-height: 1.55; }
.fiction-notice { margin: 20px 0 24px; padding: 16px 18px; border: 1px solid #bebebe; border-left: 4px solid var(--wine); border-radius: 6px; background: #e5e5e5; color: #3a3a3a; font-size: 16px; line-height: 1.85; word-break: keep-all; }
.chapter-intro { margin-bottom: 33px; padding-left: 20px; border-left: 4px solid #878787; font-size: 19px; line-height: 1.95; color: #5f5f5f; word-break: keep-all; }
.chapter-media { margin: 0 0 32px; }
.chapter-media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: #ececec; }
.chapter-media figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 16px; padding-top: 11px; color: var(--muted); font-size: 13px; line-height: 1.7; word-break: keep-all; }
.chapter-media-credit { flex-shrink: 0; font-size: 12px; }
.article-part { margin-top: 29px; }
.article-part h3 { margin-bottom: 15px; font-family: var(--heading); font-size: 20px; font-weight: 800; letter-spacing: -.25px; color: #585858; text-shadow: 0 1px 0 #ececec; }
.article-part p { margin-top: 15px; font-size: 18px; line-height: 2.1; color: #515151; word-break: keep-all; overflow-wrap: break-word; }
.editorial-note { display: flex; align-items: flex-start; gap: 14px; margin-top: 27px; padding: 21px 23px; background: #e8e8e8; font-size: 15px; line-height: 1.9; color: #5c5c5c; }
.editorial-note svg { margin-top: 3px; }
.source-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 25px; padding-top: 18px; border-top: 1px solid var(--line); }
.source-links > span { width: 100%; font-size: 13px; letter-spacing: .5px; color: #666666; }
.source-links a { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; line-height: 2; color: var(--wine); text-decoration: underline; text-decoration-color: #adadad; text-underline-offset: 4px; }
.source-links a:hover { text-decoration-color: var(--wine); }
.inline-reference { color: var(--wine); text-decoration: underline; text-decoration-color: #9a9a9a; text-underline-offset: 4px; }
.inline-reference:hover { text-decoration-color: var(--wine); }

/* ---------- 자주 묻는 질문 · 맺음 ---------- */
.faq-section { padding: 65px 0; background: #dfdfdf; border-block: 1px solid #c5c5c5; }
.faq-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 70px; }
.faq-heading h2 { margin-top: 14px; font-size: 31px; }
.faq-heading > p:not(.eyebrow) { margin-top: 19px; font-size: 16px; line-height: 1.9; color: #555555; }
.faq-deco { display: block; margin-top: 38px; font: italic 62px Georgia, serif; color: #8f8f8f; }
.faq-deco span { padding: 0 4px; font-size: 35px; vertical-align: middle; color: #6b6b6b; }
.faq-list { border-top: 1px solid #b7b7b7; }
.faq-list details { border-bottom: 1px solid #c4c4c4; }
.faq-list summary { display: flex; align-items: center; gap: 18px; padding: 22px 0; font-size: 17px; line-height: 1.8; list-style: none; cursor: pointer; user-select: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-number { font-size: 13px; color: #5f5f5f; }
.faq-list summary h3 { flex: 1; font: inherit; font-weight: 700; color: var(--wine); letter-spacing: -.3px; word-break: keep-all; }
.faq-list summary > svg { color: var(--wine); transition: transform .2s; }
.faq-list details[open] summary > svg { transform: rotate(45deg); }
.faq-list details > p { padding: 0 30px 23px; font-size: 16px; line-height: 2.05; color: #555555; word-break: keep-all; }
.closing { padding-top: 70px; padding-bottom: 70px; text-align: center; }
.closing .eyebrow { font-size: 12px; letter-spacing: 2px; color: #666666; }
.closing > p:nth-child(2) { margin: 18px 0 23px; font-size: 27px; word-break: keep-all; color: var(--wine); }
.closing .text-link { gap: 17px; font-size: 14px; }

/* ---------- 꼬리말 ---------- */
/* 꼬리말: '해외 카지노 사이트' 한 줄 (메인으로 가는 키워드 링크) */
.site-footer { padding: 30px 0; background: var(--dark-wine); border-top: 5px solid #4a4a4a; color: #dfdfdf; }
.footer-keyword { display: inline-flex; align-items: center; min-height: 40px; font-size: 18px; font-weight: 800; letter-spacing: -.2px; color: #ececec; }
.footer-keyword:hover { color: #ffffff; text-decoration: underline; text-underline-offset: 4px; }
.site-footer a:focus-visible { outline-color: #ffffff; }

/* ---------- 이용 규칙 · 문의하기 · 안내 화면 ---------- */
.page-shell { padding-top: 35px; padding-bottom: 60px; }
.page-intro { padding-bottom: 29px; }
.page-intro > .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 1px; }
.page-intro h1 { margin: 12px 0 17px; font-size: 41px; line-height: 1.5; }
.page-intro > p:last-child { max-width: 970px; font-size: 18px; line-height: 1.9; color: #5c5c5c; word-break: keep-all; }
.surface-card { padding: 30px; background: var(--paper); border: 1px solid #cccccc; border-radius: 14px; box-shadow: 0 5px 0 #d2d2d2, 0 8px 20px #29292908; }
.surface-card h2 { font-family: var(--heading); font-size: 27px; font-weight: 800; line-height: 1.55; letter-spacing: -.8px; text-shadow: 0 2px 0 #d3d3d3; }
.solid-button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 14px 22px; border: 1px solid var(--wine); border-radius: 8px; background: var(--wine); color: #f4f4f4; font: 700 16px/1.6 var(--sans); box-shadow: 0 4px 0 #1f1f1f; cursor: pointer; }
.solid-button:hover { background: var(--dark-wine); }
.solid-button:disabled { opacity: .7; cursor: wait; }
.rules-page { max-width: 1100px; }
.rules-index { display: flex; flex-wrap: wrap; gap: 11px; margin-bottom: 26px; }
.rules-index a { padding: 11px 19px; border: 1px solid #c0c0c0; border-radius: 7px; background: #dedede; color: var(--wine); font-size: 15px; font-weight: 700; box-shadow: 0 3px 0 #c2c2c2; }
.rules-index a:hover { background: #cbcbcb; }
.rules-section { margin-bottom: 27px; }
.section-icon { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: #666666; }
.section-icon span { font-size: 12px; font-weight: 700; letter-spacing: 1px; }
.section-icon svg { width: 21px; height: 21px; }
.rules-section > p { margin-top: 20px; font-size: 18px; line-height: 1.9; color: #5a5a5a; word-break: keep-all; }
.rules-section > h3 { margin-top: 26px; font-size: 21px; font-weight: 800; color: #595959; }
.score-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-top: 27px; margin-bottom: 24px; }
.score-grid > div { padding: 24px 15px; text-align: center; background: #eaeaea; border: 1px solid #cccccc; border-radius: 10px; }
.score-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 105px; height: 120px; margin: 0 auto 20px; background: #fafafa; border: 1px solid #bbbbbb; border-radius: 9px; box-shadow: 4px 5px 0 #c4c4c4; color: var(--wine); font-size: 22px; font-weight: 900; transform: rotate(-4deg); }
.score-card > span { font-size: 29px; }
.score-grid h3 { margin-bottom: 10px; font-size: 19px; font-weight: 800; }
.score-grid p { font-size: 20px; font-weight: 700; color: #5c5c5c; }
.rules-section > .rule-source { margin-top: 21px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.8; color: #666666; }
.rule-source a, .rules-section > p a { color: var(--wine); text-decoration: underline; text-underline-offset: 4px; }
.score-example { display: flex; align-items: center; justify-content: center; gap: 38px; margin-top: 25px; padding: 27px; background: #333333; border: 1px solid #262626; border-bottom: 5px solid #1f1f1f; border-radius: 10px; color: #f2f2f2; }
.score-example > div { text-align: center; }
.score-example > div > span { display: block; margin-bottom: 10px; font-size: 13px; color: #c9c9c9; }
.score-example b { font-size: 33px; font-weight: 900; text-shadow: 0 3px 0 #141414; }
.score-arrow { font-size: 30px; color: #bdbdbd; }
.rules-glossary { margin: 25px 0 0; }
.rules-glossary > div { display: grid; grid-template-columns: 160px 1fr; gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.rules-glossary > div:last-child { border: 0; }
.rules-glossary dt { font-size: 18px; font-weight: 800; color: var(--wine); }
.rules-glossary dd { margin: 0; font-size: 17px; line-height: 1.9; color: #5b5b5b; word-break: keep-all; }
.rules-contact { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; padding: 22px; border-radius: 9px; background: #e4e4e4; }
.rules-contact p { font-size: 16px; line-height: 1.8; color: var(--wine); }
.rules-contact .solid-button { font-size: 14px; white-space: nowrap; }

.contact-page { max-width: 760px; padding-top: 42px; }
.contact-page .page-intro { padding-bottom: 24px; }
.contact-page .page-intro h1 { margin: 0; font-size: 32px; color: #222222; text-shadow: none; }
.contact-page .contact-form { padding: 28px 0; background: #ffffff; border: 0; border-top: 2px solid #333333; border-radius: 0; box-shadow: none; }
.contact-form fieldset { display: flex; flex-direction: column; gap: 23px; min-width: 0; margin: 0; padding: 0; border: 0; }
.contact-form label { display: block; font-size: 16px; font-weight: 600; color: #333333; }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; }
.contact-form input, .contact-form textarea { display: block; width: 100%; margin-top: 9px; padding: 13px 14px; border: 1px solid #cccccc; border-radius: 3px; background: #ffffff; color: var(--ink); font: 400 17px/1.7 var(--sans); }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid #6d6d6d; outline-offset: 1px; }
.contact-form textarea { min-height: 200px; resize: vertical; }
.contact-form .solid-button { align-self: flex-end; min-width: 120px; padding: 11px 22px; border-radius: 3px; box-shadow: none; }
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin-bottom: 20px; padding: 14px 16px; background: #e5e5e5; border: 1px solid #aeaeae; border-radius: 7px; color: #343434; font-size: 15px; line-height: 1.7; }
.contact-success { padding: 30px; text-align: left; border-radius: 3px; box-shadow: none; }
.contact-success h2 { font-size: 24px; text-shadow: none; }
.contact-success > span { display: block; margin: 16px 0 30px; font-size: 14px; color: #555555; }
.contact-success .solid-button { border-radius: 3px; box-shadow: none; }
.message-page .page-intro h1 { font-size: 34px; }

/* ---------- 좁은 화면 ---------- */
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 72px); }
  .desktop-nav a { padding: 11px 13px; font-size: 16px; }
  .brand-words { font-size: 16px; }
  .intro-lead h1 { font-size: 41px; }
  .feature-card { padding: 22px; }
  .feature-card h3 { font-size: 21px; }
  .feature-card p { font-size: 15px; }
  .longread { grid-template-columns: 205px minmax(0, 1fr); column-gap: 25px; }
  .chapters { padding: 24px; }
  .chapter > h2 { font-size: 29px; }
  .journal-heading h2 { font-size: 32px; }
  .faq-layout { gap: 40px; }
  .banner-row { grid-template-columns: 190px minmax(0, 1fr) 190px; gap: 24px; padding: 26px 28px; }
}
@media (max-width: 1000px) {
  .intro-body { grid-template-columns: minmax(0, 1fr) 240px; gap: 24px; }
  .intro-media .hero-image { height: 165px; }
  .intro-shortcuts { padding: 15px 13px; }
  .banner-row { grid-template-columns: 170px minmax(0, 1fr); gap: 18px 22px; }
  .banner-image { grid-row: span 2; }
  .banner-cta { justify-self: start; min-height: 54px; padding: 10px 34px; font-size: 17px; }
}
@media (max-width: 960px) {
  .surface-card { padding: 24px; }
  .rules-contact { flex-direction: column; align-items: flex-start; }
  .page-intro h1 { font-size: 35px; }
  .score-grid { gap: 13px; }
}
@media (max-width: 780px) {
  .wrap { width: calc(100% - 48px); }
  .site-header { height: 90px; }
  .header-inner { gap: 16px; }
  .brand-words { font-size: 14px; }
  .brand-words small { font-size: 10px; }
  .brand-symbol { width: 42px; height: 42px; font-size: 35px; }
  .desktop-nav { gap: 3px; }
  .desktop-nav a { padding: 10px 11px; font-size: 14px; }
  .intro-lead { padding: 23px; }
  .intro-lead h1 { font-size: 39px; }
  .intro-deck { font-size: 20px; }
  .intro-body { grid-template-columns: 1fr; }
  .intro-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
  .intro-shortcuts { margin-top: 0; }
  .intro-media .hero-image { height: 170px; }
  .scope-inner > span { gap: 7px; font-size: 13px; }
  .section-heading h2, .faq-heading h2 { font-size: 29px; }
  .section-heading > p { font-size: 14px; }
  .feature-grid { gap: 13px; }
  .feature-card { padding: 22px 18px; }
  .feature-card h3 { font-size: 20px; }
  .feature-card .text-link { gap: 10px; font-size: 13px; }
  .journal-heading { padding: 33px 0; }
  .journal-heading h2 { font-size: 29px; }
  .journal-heading-bottom { flex-direction: column; align-items: flex-start; gap: 15px; }
  .journal-heading-bottom > p { font-size: 13px; }
  .journal-heading-bottom > p br { display: none; }
  .longread { grid-template-columns: 1fr; gap: 24px; padding-top: 35px; }
  .sidebar-sticky { position: static; padding: 15px; }
  .reading-sidebar h3, .sidebar-bottom { display: none; }
  .reading-sidebar nav { flex-direction: row; flex-wrap: wrap; gap: 8px; padding-top: 12px; border-top: 0; }
  .reading-sidebar nav a { gap: 6px; padding: 6px 8px; font-size: 13px; background: #eaeaea; border-left: 0; border-bottom: 1px solid transparent; }
  .reading-sidebar nav a.active { border-bottom-color: var(--wine); }
  .reading-sidebar nav a span { font-size: 12px; }
  .chapter > h2 { font-size: 28px; }
  .chapter-intro { font-size: 18px; }
  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .faq-heading { position: relative; }
  .faq-deco { position: absolute; right: 0; top: 0; margin: 0; font-size: 49px; }
  .faq-heading > p:not(.eyebrow) { font-size: 15px; }
  .faq-heading > p:not(.eyebrow) br { display: none; }
  .faq-section { padding: 45px 0; }
  .closing { padding-block: 55px; }
  .closing > p:nth-child(2) { font-size: 26px; }
  .banner-row { grid-template-columns: 120px minmax(0, 1fr); gap: 14px 18px; padding: 22px 20px; border-bottom-width: 24px; border-radius: 14px; }
  .banner-image { grid-row: auto; }
  .banner-copy h3 { margin-bottom: 6px; font-size: 18px; }
  .banner-copy p { font-size: 15px; }
  .banner-cta { grid-column: 1 / -1; justify-self: stretch; min-height: 52px; }
}
@media (max-width: 700px) {
  .form-pair { grid-template-columns: 1fr 1fr; }
  .page-shell { padding-top: 26px; }
  .page-intro h1 { font-size: 32px; }
  .rules-glossary > div { grid-template-columns: 1fr; gap: 8px; }
  .surface-card h2 { font-size: 25px; }
  .score-grid { grid-template-columns: 1fr; }
  .score-grid > div { display: grid; grid-template-columns: 90px 1fr; gap: 0 20px; align-items: center; padding: 19px; text-align: left; }
  .score-card { grid-row: span 2; width: 75px; height: 90px; margin: 0; font-size: 16px; }
  .score-card > span { font-size: 23px; }
  .score-grid h3 { margin-bottom: 0; }
  .score-grid p { font-size: 19px; }
  .rules-section > p { font-size: 17px; }
}
@media (max-width: 580px) {
  html { scroll-padding-top: 16px; }
  .wrap { width: calc(100% - 32px); }
  .eyebrow { font-size: 12px; letter-spacing: 1.5px; }
  .site-header { height: 79px; }
  .brand { gap: 12px; }
  .brand-words { font-size: 15px; letter-spacing: 1.3px; }
  .brand-words small { margin-top: 4px; font-size: 10px; letter-spacing: .5px; }
  /* 스크립트가 있으면 ☰ 메뉴, 없으면 메뉴를 로고 아래 줄에 */
  .js .desktop-nav { display: none; }
  .js .menu-toggle { display: block; margin-right: -8px; }
  html:not(.js) .site-header { height: auto; padding: 12px 0; }
  html:not(.js) .header-inner { flex-wrap: wrap; gap: 10px; }
  .mobile-nav { position: absolute; top: 100%; left: 0; z-index: 30; display: flex; flex-direction: column; width: 100%; padding: 10px 22px 17px; background: #e8e8e8; border-bottom: 1px solid #cccccc; box-shadow: 0 10px 16px #00000012; }
  .mobile-nav > a { display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 13px 0; border-bottom: 1px solid #cccccc; color: #333333; font-size: 17px; }
  .mobile-nav > a:last-child { border: 0; }
  .mobile-nav > a[aria-current="page"] { color: #111111; font-weight: 800; }
  .intro-lead { margin-top: 18px; margin-bottom: 24px; padding: 20px 18px; border-radius: 11px; }
  .intro-lead h1 { font-size: 32px; line-height: 1.45; letter-spacing: -1.7px; }
  .intro-deck { margin-bottom: 16px; font-size: 19px; line-height: 1.7; }
  .intro-copy p { font-size: 17px; line-height: 1.9; word-break: normal; }
  .intro-copy p + p { margin-top: 14px; }
  .intro-body { gap: 20px; }
  .intro-aside { grid-template-columns: 1fr; gap: 14px; }
  .intro-media { width: 100%; max-width: 320px; }
  .intro-media .hero-image { height: 160px; }
  .intro-shortcuts { flex-direction: row; flex-wrap: wrap; gap: 11px 16px; padding: 16px; }
  .intro-shortcuts > span { width: 100%; }
  .intro-shortcuts a { gap: 10px; font-size: 13px; }
  .scope-inner { grid-template-columns: 1fr; gap: 14px; padding: 19px 0; }
  .scope-inner > span { justify-content: flex-start; gap: 10px; border: 0; font-size: 14px; }
  .intro-section { padding-top: 30px; padding-bottom: 30px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 23px; }
  .section-heading h2 { font-size: 28px; line-height: 1.5; }
  .section-heading > p { display: none; }
  .feature-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-card { padding: 23px; }
  .feature-card h3 { font-size: 23px; }
  .feature-card p { font-size: 16px; }
  .feature-card .text-link { gap: 16px; margin-top: 17px; font-size: 15px; }
  .card-top { margin-bottom: 14px; }
  .card-top svg { width: 26px; height: 26px; }
  .directory-section { padding-top: 6px; padding-bottom: 25px; }
  .banner-list { gap: 16px; }
  .banner-row { grid-template-columns: 92px minmax(0, 1fr); padding: 18px 16px; border-bottom-width: 18px; border-radius: 12px; }
  .banner-copy h3 { font-size: 17px; }
  .banner-cta { min-height: 50px; font-size: 16px; }
  .journal-heading { padding: 30px 0; }
  .journal-heading h2 { font-size: 26px; line-height: 1.6; letter-spacing: -1px; }
  .journal-heading-bottom > p { margin-top: 2px; font-size: 14px; }
  .longread { padding-top: 28px; padding-bottom: 45px; }
  .reading-sidebar nav { gap: 6px; }
  .chapters { padding: 22px 18px; border-radius: 10px; }
  .chapter { padding-bottom: 35px; margin-bottom: 35px; }
  .chapter-kicker { gap: 12px; font-size: 12px; }
  .chapter-kicker span:last-child { padding-left: 12px; }
  .chapter > h2 { margin: 14px 0 17px; font-size: 26px; line-height: 1.65; }
  .chapter-intro { padding-left: 14px; margin-bottom: 25px; font-size: 17px; line-height: 1.95; }
  .chapter-media { margin-bottom: 26px; }
  .chapter-media img { border-radius: 6px; }
  .chapter-media figcaption { gap: 4px 12px; font-size: 12px; }
  .article-part { margin-top: 25px; }
  .article-part h3 { margin-bottom: 11px; font-size: 19px; line-height: 1.7; }
  .article-part p { margin-top: 13px; font-size: 17px; line-height: 2; word-break: normal; }
  .editorial-note { gap: 10px; padding: 18px 16px; font-size: 14px; }
  .source-links a { font-size: 13px; }
  .faq-heading h2 { font-size: 28px; }
  .faq-deco { display: none; }
  .faq-list summary { gap: 12px; padding: 19px 0; font-size: 16px; }
  .faq-list details > p { padding: 0 22px 21px; font-size: 16px; word-break: normal; }
  .closing > p:nth-child(2) { max-width: 340px; margin-inline: auto; font-size: 25px; line-height: 1.7; }
}
@media (max-width: 480px) {
  .page-intro h1 { font-size: 29px; letter-spacing: -1px; }
  .page-intro > p:last-child { font-size: 17px; }
  .surface-card { padding: 23px 18px; border-radius: 11px; }
  .surface-card h2 { font-size: 24px; }
  .form-pair { grid-template-columns: 1fr; gap: 23px; }
  .contact-form input, .contact-form textarea { font-size: 16px; }
  .solid-button { padding: 13px 16px; font-size: 15px; }
  .rules-index { gap: 8px; }
  .rules-index a { padding: 9px 12px; font-size: 14px; }
  .score-example { gap: 18px; padding: 21px 15px; }
  .score-example b { font-size: 25px; }
  .score-example > div > span { font-size: 12px; }
  .score-arrow { font-size: 22px; }
  .rules-section > .rule-source { font-size: 12px; }
  .contact-page { padding-top: 28px; }
  .contact-page .page-intro h1 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .reading-sidebar, .scope-strip, .feature-grid, .directory-section, .closing, .site-footer, .intro-aside { display: none; }
  .wrap { width: 100%; max-width: none; }
  .longread, .faq-layout, .intro-body { display: block; }
  .intro-lead, .chapters { border: 0; box-shadow: none; background: white; }
  h1, h2, h3 { text-shadow: none !important; }
  body { background: white; color: black; }
  .journal-heading { padding: 20px 0; background: white; color: var(--wine); }
  .journal-heading h2 { color: var(--wine); }
}
