/* Freeze Tag: Penguins vs Seals — site style. Colours follow the game's title screen (Presentation/UIKit). */
@font-face { font-family: "Jua"; src: url("/fonts/jua-subset.woff") format("woff"); font-display: swap; }

:root {
  --sky-top: #59a8fa;
  --sky-bottom: #785ce6;
  --gold: #ffcb47;
  --cream: #fff4de;
  --ink: #282046;
  --ink-soft: #4a4370;
  --paper: #ffffff;
  --line: #e4ddf3;
  --pink: #d94d73;
  --mint: #2bb3a3;
  --orange: #ff8a3d;
  --shadow: 0 10px 30px rgba(40, 32, 70, .14);
  --radius: 22px;
  --display: "Jua", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
  --body: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #f6f3ff; color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: #4b34c9; }
a:hover { color: var(--pink); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.25; letter-spacing: .2px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.small { font-size: .85em; opacity: .8; }

.draft { background: #fff1c2; color: #5a4300; text-align: center; padding: 8px 16px; font-size: .9em; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: #2c2350; color: #fff; }
.top-in { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 12px; }
.logo { font-family: var(--display); color: var(--gold); text-decoration: none; font-size: 26px; line-height: 1; display: flex; flex-direction: column; }
.logo span { color: var(--cream); font-size: 13px; margin-top: 3px; }
.logo:hover { color: var(--gold); }
.nav { display: flex; gap: 18px; }
.nav a, .menu nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover, .menu nav a:hover { color: var(--gold); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-weight: 600; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: 46px; background: var(--ink); border-radius: 16px; padding: 10px 16px; display: flex; flex-direction: column; gap: 8px; min-width: 170px; box-shadow: var(--shadow); }
@media (max-width: 760px) { .nav { display: none; } .menu { display: block; } }

/* hero */
.hero { background: linear-gradient(180deg, var(--sky-top), var(--sky-bottom)); color: #fff; overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.55) 1.5px, transparent 2px); background-size: 46px 46px; opacity: .35; }
.hero-in { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; align-items: end; padding-top: 48px; }
.hero h1 { font-size: clamp(44px, 7vw, 84px); white-space: nowrap; color: var(--gold); margin: 0; transform: rotate(-1.5deg); text-shadow: 4px 6px 0 var(--pink); }
.hero .sub { font-family: var(--display); font-size: clamp(22px, 3.6vw, 32px); color: var(--cream); margin: 6px 0 14px; }
.hero p.lead { font-size: 19px; margin: 0 0 20px; max-width: 34em; }
.hero .art { align-self: end; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.badge { background: rgba(40, 32, 70, .55); border: 2px solid rgba(255, 255, 255, .45); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 15px; }
.badge b { color: var(--gold); font-weight: 700; }
@media (max-width: 820px) { .hero-in { grid-template-columns: 1fr; padding-top: 32px; } .badges { margin-bottom: 8px; } }

/* sections */
.sec { padding: 64px 0; }
.sec h2 { font-size: clamp(30px, 5vw, 42px); margin: 0 0 8px; }
.sec .intro { color: var(--ink-soft); margin: 0 0 28px; max-width: 46em; }
.alt { background: var(--paper); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.card { background: var(--paper); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); border: 2px solid var(--line); }
.alt .card { background: #faf8ff; }
.card h3 { font-size: 24px; margin: 0 0 6px; }
.card p { margin: 0; }
.chip { display: inline-block; font-family: var(--display); font-size: 15px; padding: 3px 12px; border-radius: 999px; color: #fff; margin-bottom: 10px; transform: rotate(-2deg); }
.c-mint { background: var(--mint); } .c-pink { background: var(--pink); } .c-orange { background: var(--orange); } .c-ink { background: var(--ink); } .c-gold { background: #e2a400; }

.teams { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.team { border-radius: var(--radius); padding: 24px; color: #fff; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: center; box-shadow: var(--shadow); }
.team h3 { font-size: 32px; margin: 0 0 6px; color: var(--gold); }
.team ul { margin: 0; padding-left: 1.1em; }
.t-penguin { background: linear-gradient(160deg, #2bb3a3, #1f6f95); }
.t-seal { background: linear-gradient(160deg, #d94d73, #6b3fa0); }
@media (max-width: 820px) { .teams { grid-template-columns: 1fr; } .team { grid-template-columns: 1fr; } .team img { max-width: 260px; margin: 0 auto; } }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.gallery figure { margin: 0; background: var(--paper); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gallery figcaption { padding: 10px 14px; font-size: 15px; color: var(--ink-soft); }

.road { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.road li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; background: var(--paper); border-radius: var(--radius); padding: 20px; border: 2px solid var(--line); }
.road .when { font-family: var(--display); font-size: 22px; }
.road .now .when { color: var(--mint); } .road .next .when { color: var(--orange); } .road .later .when { color: #6b3fa0; }
.road ul { margin: 0; padding-left: 1.1em; }
@media (max-width: 640px) { .road li { grid-template-columns: 1fr; gap: 4px; } }

.safe { background: linear-gradient(180deg, #fff9ec, #fff); }
.btn { display: inline-block; background: var(--orange); color: #fff; text-decoration: none; font-weight: 700; padding: 10px 20px; border-radius: 999px; box-shadow: 0 4px 0 #c4621f; }
.btn:hover { color: #fff; transform: translateY(-1px); }
.btn.ghost { background: var(--ink); box-shadow: 0 4px 0 #120d26; }

/* documents (policies) */
.doc { padding-top: 36px; padding-bottom: 64px; max-width: 900px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); margin: 0 0 12px; }
.doc h2 { font-size: 26px; margin: 36px 0 8px; }
.doc table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 15px; display: block; overflow-x: auto; }
.doc td, .doc th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc th { background: #efeafd; }
.doc .box { background: var(--paper); border: 2px solid var(--line); border-radius: 16px; padding: 14px 18px; }
.doc .note { color: var(--ink-soft); font-size: .92em; }
.mail-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 18px 0; }
.mail-list a { display: block; background: var(--paper); border: 2px solid var(--line); border-radius: 16px; padding: 14px 16px; text-decoration: none; color: var(--ink); }
.mail-list a b { display: block; font-family: var(--display); font-weight: 400; font-size: 21px; color: #4b34c9; }
.mail-list a:hover { border-color: var(--orange); }

/* footer */
.foot { background: var(--ink); color: #dcd6f5; padding: 32px 0 40px; font-size: 14px; }
.foot a { color: #fff; }
.foot-links a { margin-right: 4px; }
.biz { line-height: 1.8; }

.credits{font-size:.92em;line-height:1.55;word-break:keep-all;overflow-wrap:anywhere}

/* clips: real game footage, looping without sound; a still frame for readers who asked for less motion */
.clips { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.clip { margin: 0; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 2px solid var(--line); }
.clip.big { grid-column: 1 / -1; }
.clip video, .clip img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: #e9e6f2; }
.clip .still { display: none; }
.clip figcaption { padding: 12px 16px 16px; font-size: 16px; color: var(--ink-soft); line-height: 1.5; }
.clip figcaption b { display: block; font-family: var(--display); font-weight: 400; font-size: 23px; color: var(--ink); margin: 2px 0; }
.clip .chip { margin-bottom: 4px; }
@media (min-width: 900px) { .clip.big { display: grid; grid-template-columns: 2fr 1fr; align-items: center; } .clip.big figcaption b { font-size: 30px; } }
@media (prefers-reduced-motion: reduce) { .clip .mov { display: none; } .clip .still { display: block; } }
.center { text-align: center; margin: 22px auto 0; }
.team p { margin: 0; font-size: 19px; }
.road li > div:last-child { align-self: center; }
