/* ============================================================================
   police.css — 런닝구 폴리스 소개 페이지 (경찰서 컨셉: 네이비+골드, 경광등)
   ============================================================================ */
.pol { --pol-navy: #0b1b3f; --pol-navy2: #16357a; --pol-gold: #f0c33c; --pol-red: #ef4444; --pol-blue: #3b82f6; }

/* ── 경광등 (여러 램프 교차 점멸) ── */
.pol-beacon { display: inline-flex; gap: 5px; align-items: flex-end; height: 22px; }
.pol-beacon i { width: 15px; height: 22px; border-radius: 6px 6px 3px 3px; display: block; }
.pol-beacon i:nth-child(odd) { background: var(--pol-red); animation: polR 1s steps(1) infinite; }
.pol-beacon i:nth-child(even) { background: var(--pol-blue); animation: polB 1s steps(1) infinite; }
@keyframes polR { 0% { opacity: 1; box-shadow: 0 0 16px 3px rgba(239,68,68,.95); } 50%, 100% { opacity: .2; box-shadow: none; } }
@keyframes polB { 0%, 50% { opacity: .2; box-shadow: none; } 51%, 100% { opacity: 1; box-shadow: 0 0 16px 3px rgba(59,130,246,.95); } }
@media (prefers-reduced-motion: reduce) { .pol-beacon i { animation: none; opacity: 1; } }

/* ── 경광등 라이트바 (실제 경찰 루프바 느낌: 적/청 LED + 크롬 사이렌 + 교차 스트로브) ── */
.pol-lightbar { position: relative; width: min(360px, 92%); height: 48px; margin: 0 auto; display: flex; align-items: stretch; gap: 4px; padding: 5px;
    border-radius: 11px; background: linear-gradient(#2b313c, #10131a); box-shadow: 0 10px 24px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.16), inset 0 -2px 4px rgba(0,0,0,.5); }
.pol-lightbar::before { content: ""; position: absolute; left: 8%; right: 8%; bottom: -13px; height: 13px; background: radial-gradient(ellipse at center, rgba(0,0,0,.32), transparent 72%); }
.pol-lb__foot { position: absolute; bottom: -9px; width: 12px; height: 9px; background: #10131a; border-radius: 0 0 3px 3px; }
.pol-lb__foot--l { left: 20%; } .pol-lb__foot--r { right: 20%; }
.pol-lb__side { flex: 1; display: flex; gap: 3px; border-radius: 7px; padding: 4px; overflow: hidden; }
.pol-lb__side span { flex: 1; border-radius: 3px; }
.pol-lb__side--red { background: rgba(90,14,14,.55); }
.pol-lb__side--red span { background: #ff2f2f; box-shadow: 0 0 9px 1px #ff2f2f; animation: lbRed 1.15s steps(1) infinite; }
.pol-lb__side--blue { background: rgba(14,32,96,.55); }
.pol-lb__side--blue span { background: #2f6dff; box-shadow: 0 0 9px 1px #2f6dff; animation: lbBlue 1.15s steps(1) infinite; }
@keyframes lbRed { 0%,7% { opacity: 1; } 11%,18% { opacity: .1; } 22%,29% { opacity: 1; } 33%,100% { opacity: .1; } }
@keyframes lbBlue { 0%,52% { opacity: .1; } 56%,63% { opacity: 1; } 67%,74% { opacity: .1; } 78%,85% { opacity: 1; } 89%,100% { opacity: .1; } }
.pol-lb__core { flex: 0 0 36px; border-radius: 7px; position: relative; background: linear-gradient(#eef2f8, #a7b2c3); box-shadow: inset 0 1px 2px #fff, inset 0 -3px 4px rgba(0,0,0,.32); }
.pol-lb__core::after { content: ""; position: absolute; inset: 8px; border-radius: 4px; background: repeating-linear-gradient(#7f8a9c, #7f8a9c 2px, #c2cad6 2px, #c2cad6 4px); }
@media (prefers-reduced-motion: reduce) { .pol-lb__side span { animation: none !important; opacity: 1; } }

/* ── LED 전광판(스크롤 메시지) ── */
.pol-led { max-width: 720px; margin: 0 auto; position: relative; overflow: hidden; border-radius: 13px; padding: 13px 0;
    background: #080b10; border: 2px solid #1b2230; box-shadow: inset 0 0 22px rgba(0,0,0,.85), 0 10px 26px -14px rgba(0,0,0,.6); }
.pol-led::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(0,0,0,.5) 1px, transparent 1.7px); background-size: 4px 4px; pointer-events: none; }
.pol-led__track { display: inline-flex; white-space: nowrap; will-change: transform; animation: polMarquee 22s linear infinite;
    font-family: 'Consolas', 'DejaVu Sans Mono', monospace; font-weight: 800; font-size: 21px; letter-spacing: 2px; color: #86ff5e; text-shadow: 0 0 9px rgba(134,255,94,.8), 0 0 2px #eaffdf; }
.pol-led__track span { padding: 0 34px; }
@keyframes polMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .pol-led__track { animation: none; padding-left: 20px; } }

/* ── 신고 대상 안내(이런 건 신고하세요) ── */
.pol-watchlist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 640px) { .pol-watchlist { grid-template-columns: 1fr; } }
.pol-watch { display: flex; gap: 12px; align-items: center; background: var(--runneron_surface, #fff); border: 1px solid var(--runneron_border, #e6e9f0); border-radius: 14px; padding: 14px 16px; }
html[data-theme="dark"] .pol-watch { background: #12161d; border-color: #232a35; }
.pol-watch__ic { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex: 0 0 auto; background: rgba(239,68,68,.12); }
.pol-watch__t b { display: block; font-size: 14.5px; font-weight: 800; color: var(--runneron_text, #0f172a); }
html[data-theme="dark"] .pol-watch__t b { color: #e7ebf0; }
.pol-watch__t span { font-size: 12.5px; color: var(--runneron_text-sub, #64748b); line-height: 1.4; }

/* ── 폴리스 서약 ── */
.pol-oath { text-align: center; background: linear-gradient(135deg, var(--pol-navy), var(--pol-navy2)); color: #fff; border-radius: 20px; padding: 30px 22px; position: relative; overflow: hidden; }
.pol-oath h3 { font-size: 18px; font-weight: 900; margin: 10px 0 14px; }
.pol-oath ul { list-style: none; margin: 0 auto; padding: 0; max-width: 460px; text-align: left; display: flex; flex-direction: column; gap: 9px; }
.pol-oath li { font-size: 14px; color: rgba(255,255,255,.9); padding-left: 26px; position: relative; line-height: 1.5; }
.pol-oath li::before { content: "🚔"; position: absolute; left: 0; top: 0; }

/* ── 히어로 ── */
.pol-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(120% 120% at 50% -10%, #1c3f8a 0%, var(--pol-navy) 55%, #06122b 100%); border-radius: 0 0 28px 28px; }
.pol-hero__sweep { position: absolute; inset: 0; pointer-events: none; background: conic-gradient(from 0deg at 50% 30%, transparent 0deg, rgba(239,68,68,.18) 25deg, transparent 60deg, rgba(59,130,246,.18) 200deg, transparent 240deg); animation: polSweep 6s linear infinite; mix-blend-mode: screen; }
@keyframes polSweep { to { transform: rotate(360deg); } }
.pol-hero__inner { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; padding: 30px 20px 34px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 20px; align-items: center; }
@media (max-width: 780px) { .pol-hero__inner { grid-template-columns: 1fr; text-align: center; padding-bottom: 24px; } }
.pol-hero__badge { display: inline-flex; align-items: center; gap: 9px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 7px 14px 7px 10px; font-size: 12.5px; font-weight: 800; letter-spacing: .02em; margin-bottom: 14px; }
.pol-hero h1 { font-size: clamp(28px, 6vw, 46px); font-weight: 900; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 12px; }
.pol-hero h1 .pol-gold { color: var(--pol-gold); text-shadow: 0 2px 18px rgba(240,195,60,.4); }
.pol-hero__sub { font-size: clamp(14px, 2.6vw, 17px); color: rgba(255,255,255,.82); line-height: 1.6; margin: 0 0 20px; }
.pol-hero__cta { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 780px) { .pol-hero__cta { justify-content: center; } }
.pol-btn { display: inline-flex; align-items: center; gap: 7px; padding: 12px 20px; border-radius: 999px; font-size: 14.5px; font-weight: 800; text-decoration: none; cursor: pointer; border: 0; transition: transform .12s, box-shadow .15s; }
.pol-btn--gold { background: linear-gradient(135deg, #ffd865, var(--pol-gold)); color: #3a2c00; box-shadow: 0 12px 28px -12px rgba(240,195,60,.8); }
.pol-btn--ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.28); }
.pol-btn:hover { transform: translateY(-2px); }
.pol-hero__art { position: relative; }
.pol-hero__art img { width: 100%; max-width: 460px; display: block; margin: 0 auto; border-radius: 20px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.6); animation: polArtIn 1s cubic-bezier(.16,1,.3,1) both; }
@keyframes polArtIn { from { opacity: 0; transform: translateY(20px) scale(.96); } to { opacity: 1; transform: none; } }
.pol-hero__beacon-bar { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); }

/* 히어로 상단 라이트바 영역 (순찰차 루프바 느낌) */
.pol-hero__top { position: relative; z-index: 1; padding: 26px 20px 2px; }

/* 정복 엠블럼(마크) — 히어로 센터피스 */
.pol-emblem { width: min(330px, 80%); display: block; margin: 0 auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.5)); animation: polFloat 4.5s ease-in-out infinite, polArtIn 1s cubic-bezier(.16,1,.3,1) both; }
@keyframes polFloat { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(1deg); } }
@media (prefers-reduced-motion: reduce) { .pol-emblem { animation: polArtIn .6s ease both; } }

/* 출동 현장 갤러리 */
.pol-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 720px) { .pol-gallery { grid-template-columns: 1fr 1fr; } }
.pol-gallery figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 26px -16px rgba(11,27,63,.6); }
.pol-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform .25s ease; }
.pol-gallery figure:hover img { transform: scale(1.05); }
.pol-gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 10px 7px; font-size: 11.5px; font-weight: 800; color: #fff; background: linear-gradient(transparent, rgba(6,14,32,.82)); }

/* ── 섹션 공통 ── */
.pol-sec { max-width: 1080px; margin: 0 auto; padding: 40px 20px; }
.pol-sec__head { text-align: center; margin-bottom: 26px; }
.pol-sec__eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 900; letter-spacing: .12em; color: var(--pol-navy2); text-transform: uppercase; }
html[data-theme="dark"] .pol-sec__eyebrow { color: #7aa2ff; }
.pol-sec__title { font-size: clamp(21px, 4vw, 28px); font-weight: 900; letter-spacing: -.02em; margin: 8px 0 0; color: var(--runneron_text, #0f172a); }
html[data-theme="dark"] .pol-sec__title { color: #e7ebf0; }

/* 등장 애니메이션 */
.pol-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.16,1,.3,1); }
.pol-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .pol-reveal { opacity: 1; transform: none; } }

/* ── 임무 카드 ── */
.pol-mission { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 720px) { .pol-mission { grid-template-columns: 1fr; } }
.pol-mcard { background: var(--runneron_surface, #fff); border: 1px solid var(--runneron_border, #e6e9f0); border-radius: 18px; padding: 22px 20px; text-align: center; position: relative; overflow: hidden; box-shadow: 0 8px 26px -18px rgba(11,27,63,.4); }
html[data-theme="dark"] .pol-mcard { background: #12161d; border-color: #232a35; }
.pol-mcard::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--pol-red), var(--pol-blue)); }
.pol-mcard__ic { width: 58px; height: 58px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 28px; background: linear-gradient(135deg, var(--pol-navy), var(--pol-navy2)); color: #fff; margin-bottom: 12px; box-shadow: 0 10px 24px -12px rgba(11,27,63,.7); }
.pol-mcard h3 { font-size: 16.5px; font-weight: 900; margin: 0 0 6px; color: var(--runneron_text, #0f172a); }
html[data-theme="dark"] .pol-mcard h3 { color: #e7ebf0; }
.pol-mcard p { font-size: 13.5px; color: var(--runneron_text-sub, #64748b); line-height: 1.6; margin: 0; }

/* ── 대원 소개 ── */
.pol-crew { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 720px) { .pol-crew { grid-template-columns: 1fr; } }
.pol-officer { background: linear-gradient(180deg, #16357a, var(--pol-navy)); border-radius: 20px; padding: 18px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.pol-officer__img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 14px; background: rgba(255,255,255,.06); margin-bottom: 12px; }
.pol-officer h4 { font-size: 17px; font-weight: 900; margin: 0 0 3px; }
.pol-officer .pol-rank { display: inline-block; font-size: 11.5px; font-weight: 800; color: var(--pol-navy); background: var(--pol-gold); border-radius: 999px; padding: 2px 10px; margin-bottom: 8px; }
.pol-officer p { font-size: 12.5px; color: rgba(255,255,255,.8); line-height: 1.55; margin: 0; }

/* ── 신고 방법 스텝 ── */
.pol-how { background: var(--runneron_surface, #fff); border: 1px solid var(--runneron_border, #e6e9f0); border-radius: 20px; padding: 26px 22px; }
html[data-theme="dark"] .pol-how { background: #12161d; border-color: #232a35; }
.pol-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 6px; }
@media (max-width: 720px) { .pol-steps { grid-template-columns: 1fr 1fr; } }
.pol-step { text-align: center; }
.pol-step__n { width: 40px; height: 40px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 17px; color: #fff; background: linear-gradient(135deg, var(--pol-red), var(--pol-blue)); margin-bottom: 9px; }
.pol-step h5 { font-size: 14px; font-weight: 800; margin: 0 0 4px; color: var(--runneron_text, #0f172a); }
html[data-theme="dark"] .pol-step h5 { color: #e7ebf0; }
.pol-step p { font-size: 12px; color: var(--runneron_text-sub, #64748b); margin: 0; line-height: 1.5; }

/* ── 하단 CTA 배너 ── */
.pol-cta { max-width: 1080px; margin: 0 auto 44px; padding: 0 20px; }
.pol-cta__box { background: linear-gradient(120deg, var(--pol-navy), var(--pol-navy2)); border-radius: 24px; padding: 32px 24px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.pol-cta__box .pol-beacon { margin-bottom: 12px; }
.pol-cta__box h2 { font-size: clamp(20px, 4vw, 26px); font-weight: 900; margin: 0 0 8px; }
.pol-cta__box p { font-size: 14px; color: rgba(255,255,255,.82); margin: 0 0 18px; line-height: 1.6; }
.pol-cta__box .pol-hero__cta { justify-content: center; }
