@font-face { font-family: 'Flop Game'; src: url('/assets/flop-star/BarlowSemiCondensed-BlackItalic.ttf') format('truetype'); font-style: italic; font-weight: 900; font-display: swap; }
:root { color-scheme: light; --navy: #092e63; --cream: #fffaf0; --gold: #ffd329; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--navy); background: var(--cream); font: 17px/1.6 system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid #0f65f0; outline-offset: 5px; }
.skip { position: absolute; left: 16px; top: -100px; padding: 12px; background: var(--gold); z-index: 2; }
.skip:focus { top: 10px; }
header { background: var(--navy); color: white; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px max(24px, calc((100% - 1040px) / 2)); font-size: 15px; }
header a { text-decoration: none; }
.brand { display: flex; align-items: center; gap: 12px; font: italic 900 25px/1 'Flop Game', sans-serif; text-transform: uppercase; }
.brand img { border-radius: 9px; }
.language-switch { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; max-width: 1088px; margin: auto; padding: 10px 24px; font-size: 14px; }
.language-switch a { white-space: nowrap; padding: 4px 2px; }
.language-switch a[aria-current='page'] { font-weight: 800; text-decoration-thickness: 2px; }
.hero { max-width: none; padding: 58px max(24px, calc((100% - 1040px) / 2)) 44px; background: radial-gradient(ellipse at top left, #43baff, #0f65f0 75%); color: white; border-bottom: 7px solid var(--gold); }
.eyebrow { margin: 0 0 20px; text-transform: uppercase; font-size: 14px; font-weight: 800; letter-spacing: .08em; }
h1 { font: italic 900 clamp(52px, 7vw, 82px)/.98 'Flop Game', sans-serif; text-transform: uppercase; margin: 0 0 24px; letter-spacing: -.025em; text-shadow: 3px 4px var(--navy); }
h1 em { color: var(--gold); font-style: inherit; }
.hero > p:not(.eyebrow) { max-width: 570px; font-size: 20px; }
.hero .updated { font-size: 14px !important; margin-bottom: 0; }
section { max-width: 1088px; margin: auto; padding: 44px 24px; }
section + section { border-bottom: 1px solid #092e6326; }
.section-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.step { border-radius: 8px; background: var(--navy); color: var(--gold); padding: 4px 10px; font: italic 900 24px/1.5 'Flop Game', sans-serif; }
h2 { margin: 0; font: italic 900 clamp(28px, 4vw, 36px)/1.1 'Flop Game', sans-serif; text-transform: uppercase; }
h3 { margin: 0; font-size: 18px; line-height: 1.3; }
p { margin: 14px 0; }
.rates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 28px 0 18px; }
.rate { background: white; padding: 23px 20px 18px; border: 1px solid #092e6326; border-top: 7px solid var(--rarity); border-radius: 12px; box-shadow: 0 4px 0 #092e630c; }
.common { --rarity: #7c8999; }
.rare { --rarity: #1479de; }
.epic { --rarity: #8a40bb; }
.legendary { --rarity: #df9600; }
.rate h3 { text-transform: uppercase; font-size: 14px; letter-spacing: .05em; }
.rate strong { display: block; font: italic 900 clamp(42px, 5vw, 58px)/1.2 'Flop Game', sans-serif; margin-top: 10px; }
.rate strong span { font-size: .65em; }
.rate p { margin: 10px 0 0; font-size: 13px; }
.note, caption { color: #415574; font-size: 14px; }
.table-wrap { overflow-x: auto; margin: 22px 0; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 16px; font-variant-numeric: tabular-nums; }
caption { text-align: left; margin-bottom: 10px; }
thead { color: white; background: var(--navy); }
th, td { padding: 15px 16px; border-bottom: 1px solid #092e6326; vertical-align: top; }
tbody tr:nth-child(even) { background: #092e6305; }
tbody th { font-weight: 700; }
td { min-width: 84px; }
.subheading { margin-top: 32px; font-size: 21px; }
details { margin-top: 26px; border: 1px solid #092e6338; border-radius: 10px; padding: 18px 20px; background: #fff; }
summary { cursor: pointer; font-weight: 750; }
details p { font-size: 16px; }
.rules { padding-left: 24px; }
.rules li { padding-left: 4px; margin: 14px 0; }
.callout { background: #fff0b5; border-left: 5px solid #e0a500; padding: 20px 24px; margin: 26px 0; border-radius: 0 10px 10px 0; }
.callout p { margin-bottom: 0; }
.catalog { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 24px; }
.catalog h3 { margin-bottom: 10px; }
.catalog ul { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.catalog li { margin: 6px 0; }
.catalog span { display: inline-block; color: #53627a; width: 36px; font-variant-numeric: tabular-nums; }
.closing { padding-bottom: 52px; }
.back-link { display: inline-block; margin-top: 18px; font-weight: 750; }
footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px max(24px, calc((100% - 1040px) / 2)); font-size: 13px; background: #061f43; color: #e0ebfc; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
@media (max-width: 700px) {
  .hero { padding-top: 38px; }
  .rates { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .rate { padding: 18px 15px; }
  section { padding: 32px 20px; }
  table { font-size: 14px; }
  th, td { padding: 12px 10px; }
  .catalog { grid-template-columns: 1fr; }
  details { padding: 16px 14px; }
  footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html:lang(ko) body { font-family: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif; line-height: 1.75; word-break: keep-all; overflow-wrap: break-word; }
html:lang(ja) body { font-family: -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Noto Sans JP', sans-serif; line-height: 1.75; line-break: strict; overflow-wrap: break-word; }
html:lang(ko) h1, html:lang(ko) h2, html:lang(ja) h1, html:lang(ja) h2 { font-family: inherit; font-style: normal; font-weight: 800; line-height: 1.3; text-transform: none; }
html:lang(ko) h1, html:lang(ja) h1 { font-size: clamp(38px, 6vw, 64px); }
html:lang(ko) h2, html:lang(ja) h2 { font-size: clamp(24px, 3.5vw, 32px); }
html:lang(ko) .section-heading, html:lang(ja) .section-heading { align-items: flex-start; }
html:lang(ko) .step, html:lang(ja) .step { flex: 0 0 auto; }
