/* Soccerwarz - adapted from the Sector31 site style (2026-10-22).
   Same layout and components; the space background images are replaced by CSS-only pitch tones, accent = pitch green.
   Panel colour = the game's standard box (0.114,0.137,0.188) with outline #09141f. No external fonts. */
:root {
  --accent: #3fbf6a;
  --accent-dark: #2f9a53;
  --ink: #eaf0ec;
  --muted: #9fb0a8;
  --line: rgba(255,255,255,.10);
  --line-2: rgba(255,255,255,.18);
  --bg: #0b1210;
  --panel: rgba(29,35,48,.92);
  --panel-edge: #09141f;
  --blue: #4f7ac8;
  --red: #d2524b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", "Hiragino Sans", "Yu Gothic UI", "Noto Sans CJK KR", "Noto Sans CJK JP", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.75;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(63,191,106,.22), transparent 60%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0 48px, transparent 48px 96px),
    var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
main { display: block; }

/* header / nav */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(8,14,12,.86);
  backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 10;
}
.site-header .inner { max-width: 1040px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 32px; height: 32px; border-radius: 8px; flex: 0 0 auto;
  background: url(/assets/app_icon.png) center / cover no-repeat;   /* 앱 아이콘(200.에셋원본/208.앱아이콘/app_icon_1024 — 2026-10-23) */
}
nav { margin-left: auto; }
nav a { margin-left: 18px; color: var(--muted); font-weight: 500; white-space: nowrap; display: inline-block; }
nav a:hover { color: var(--ink); text-decoration: none; }
nav a.active { color: var(--accent); }
.lang-switch { font-size: 13px; color: var(--muted); white-space: nowrap; }
.lang-switch a { color: var(--muted); }
.lang-switch a:hover { color: var(--ink); }
.lang-switch strong { color: var(--ink); font-weight: 600; }

/* layout */
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
section { padding: 64px 0; }
section.alt { background: rgba(12,20,17,.6); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h1, h2, h3 { line-height: 1.3; }
h2 { font-size: 30px; margin: 0 0 10px; letter-spacing: .01em; }
.lead { color: var(--muted); font-size: 18px; margin: 0 0 30px; }

/* hero */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at 80% 40%, rgba(63,191,106,.28), transparent 55%),
    linear-gradient(160deg, #10241a 0%, #0b1210 70%);
  border-bottom: 1px solid var(--line);
}
.hero .wrap { position: relative; z-index: 1; display: flex; align-items: center; gap: 44px; padding-top: 64px; padding-bottom: 64px; flex-wrap: wrap; }
.hero .text { flex: 1 1 380px; min-width: 0; }
.hero h1 { font-size: 46px; margin: 0 0 6px; letter-spacing: .01em; }
.hero .tagline { color: #fff; font-size: 21px; font-weight: 600; margin: 0 0 12px; }
.hero p { color: #cfdcd4; font-size: 18px; margin: 0 0 20px; }
.hero .art { flex: 0 1 300px; margin: 0 auto; }
.hero .store { margin-top: 18px; }
.btn { display: inline-block; padding: 11px 20px; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 600; margin: 4px 8px 4px 0; transition: background .15s, transform .15s; }
.btn:hover { background: var(--accent-dark); text-decoration: none; transform: translateY(-1px); }
.btn.ghost { background: transparent; border: 1px solid var(--line-2); }
.btn.ghost:hover { background: rgba(255,255,255,.08); }
.btn.disabled { background: var(--panel); border: 1px solid var(--line-2); color: var(--ink); cursor: default; }
.btn.disabled:hover { transform: none; background: var(--panel); }
.btn small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); line-height: 1.3; }
.badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 12px; border-radius: 12px; background: rgba(63,191,106,.15); color: #8fe3ab; border: 1px solid rgba(63,191,106,.35); }

/* pitch illustration (CSS only, 5 x 9) */
.pitch {
  display: grid; grid-template-columns: repeat(5, 1fr); aspect-ratio: 5 / 9; width: 100%; max-width: 300px;
  border: 3px solid rgba(255,255,255,.85); border-radius: 10px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.6); background: #2f8f4e;
}
.pitch .cell { position: relative; background: #34984f; border: 1px solid rgba(255,255,255,.10); }
.pitch .cell.alt { background: #2f8a48; }
.pitch .cell.goal { background: #3aa65a; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.pitch .cell.center::before { content: ""; position: absolute; inset: 22%; border: 2px solid rgba(255,255,255,.55); border-radius: 50%; }
.pitch .cell.clash { box-shadow: inset 0 0 0 3px #f2b84b; }
.pitch .p { position: absolute; width: 46%; aspect-ratio: 1; border-radius: 50%; left: 27%; top: 27%; box-shadow: 0 3px 6px rgba(0,0,0,.4); border: 2px solid rgba(255,255,255,.85); }
.pitch .p.b { background: var(--blue); }
.pitch .p.r { background: var(--red); }
.pitch .p.k { border-color: #f2d24b; }
.pitch .cell.clash .p.b { left: 8%; top: 30%; }
.pitch .cell.clash .p.r { left: 46%; top: 24%; }
.pitch .ball { position: absolute; width: 22%; aspect-ratio: 1; border-radius: 50%; right: 8%; bottom: 8%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.5); }

/* cards */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card {
  border: 1px solid var(--panel-edge); border-radius: 14px; padding: 24px;
  background: var(--panel); box-shadow: 0 0 0 1px var(--line);
  transition: transform .15s;
}
.card:hover { transform: translateY(-2px); }
.card h3 { margin: 10px 0 6px; }
.card p { margin: 6px 0; color: var(--muted); }
.card .num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(63,191,106,.18); color: #8fe3ab; font-weight: 700; border: 1px solid rgba(63,191,106,.4); }

.figure p { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
.shot-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 260px)); }
.shot-ph {
  aspect-ratio: 9 / 16; border-radius: 14px; border: 1px dashed var(--line-2);
  background: repeating-linear-gradient(0deg, rgba(63,191,106,.10) 0 40px, rgba(63,191,106,.05) 40px 80px), var(--panel);
  display: flex; align-items: center; justify-content: center; color: var(--muted); font-weight: 600;
}

.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.feature-list li:last-child { border-bottom: none; }
.feature-list li strong { display: block; color: var(--ink); margin-bottom: 2px; }

.info { background: var(--panel); border: 1px solid var(--panel-edge); box-shadow: 0 0 0 1px var(--line); border-radius: 14px; padding: 18px 24px; margin: 16px 0; }
.info p { margin: 8px 0; color: var(--muted); }
.info strong { color: var(--ink); }

/* documents (privacy, terms, support) */
.doc { max-width: 780px; padding-bottom: 56px; }
.doc h1 { font-size: 34px; margin: 48px 0 6px; }
.doc h2 { font-size: 22px; margin: 36px 0 8px; }
.doc p, .doc li { color: #cfdad4; }
.doc .meta { color: var(--muted); }
.doc table { border-collapse: collapse; width: 100%; margin: 14px 0; }
.doc th, .doc td { border: 1px solid var(--line-2); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc th { background: rgba(255,255,255,.06); color: var(--ink); }
.faq dt { font-weight: 600; margin-top: 18px; color: var(--ink); }
.faq dd { margin: 4px 0 0; color: var(--muted); }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: rgba(6,10,9,.75); padding: 30px 0 44px; color: var(--muted); font-size: 14px; }
.site-footer .inner { max-width: 1040px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); margin-right: 14px; }
.site-footer a:hover { color: var(--ink); }
.site-footer .biz { display: block; margin-top: 6px; font-size: 12px; opacity: .8; }

@media (max-width: 640px) {
  nav { display: flex; flex-wrap: wrap; column-gap: 14px; row-gap: 4px; margin-left: 0; width: 100%; }
  nav a { margin-left: 0; margin-right: 0; font-size: 15px; }
  .hero h1 { font-size: 34px; }
  .hero .wrap { padding-top: 44px; padding-bottom: 44px; gap: 28px; }
  .hero .art { flex-basis: 220px; max-width: 220px; }
  h2 { font-size: 25px; }
  section { padding: 48px 0; }
  body { background-attachment: scroll; }
  .doc table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
