:root {
  color-scheme: dark;
  --ink: #080604;
  --panel: rgba(22, 15, 10, 0.97);
  --cream: #f3e0c4;
  --muted: #c7ad91;
  --gold: #d7a64a;
  --gold-bright: #f0ca76;
  --line: rgba(215, 166, 74, 0.38);
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--ink);
}

body {
  min-width: 280px;
  min-height: 100vh;
  margin: 0;
  color: var(--cream);
  background:
    radial-gradient(circle at 50% 0%, rgba(119, 73, 31, 0.32), transparent 44rem),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 8px),
    var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

a { color: var(--gold-bright); }

.notice-shell {
  width: min(960px, calc(100% - 28px));
  margin: 0 auto;
  padding: clamp(18px, 4vw, 48px) 0 clamp(28px, 5vw, 64px);
}

.page-nav {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  padding: 0 4px 18px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.page-nav a {
  color: var(--muted);
  text-decoration: none;
}

.page-nav a:hover,
.page-nav a:focus-visible { color: var(--gold-bright); }

.notice-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.62), inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.notice-card::before {
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-bright), var(--gold), transparent);
}

.notice-header,
.contact {
  padding: clamp(28px, 5vw, 54px) clamp(22px, 7vw, 76px);
  text-align: center;
}

.game-logo {
  display: block;
  width: min(430px, 88%);
  max-height: 220px;
  margin: 0 auto 24px;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-bright);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.7rem, 1.7vw, 0.9rem);
  font-weight: 800;
  letter-spacing: 0.2em;
}

h1,
h2,
p { margin-top: 0; }

h1 {
  margin-bottom: 18px;
  color: #fff4df;
  font-size: clamp(2.1rem, 6vw, 4.5rem);
  line-height: 0.98;
  text-wrap: balance;
}

.lead {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.3vw, 1.35rem);
  line-height: 1.55;
}

.policy-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 32px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--line);
}

.policy-meta div {
  padding: 14px 12px;
  background: rgba(8, 6, 4, 0.8);
}

.policy-meta dt {
  margin-bottom: 5px;
  color: var(--gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.policy-meta dd {
  margin: 0;
  color: var(--cream);
  font-size: 0.96rem;
  line-height: 1.35;
}

.policy-body { border-top: 1px solid var(--line); }

.policy-body section {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: clamp(25px, 4vw, 40px) clamp(22px, 7vw, 76px);
  border-bottom: 1px solid var(--line);
}

.section-number {
  color: var(--gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.policy-body h2 {
  margin-bottom: 12px;
  color: var(--gold-bright);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.08;
}

.policy-body p {
  margin-bottom: 0;
  color: #ead8c1;
  font-size: clamp(1rem, 2vw, 1.14rem);
  line-height: 1.65;
}

.policy-body a {
  overflow-wrap: anywhere;
  text-underline-offset: 3px;
}

.contact { background: rgba(0, 0, 0, 0.22); }

.mail-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: 1px solid var(--gold-bright);
  border-radius: 7px;
  color: #160d07;
  background: linear-gradient(180deg, #f4d68d, #c58c31);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.38), inset 0 1px rgba(255, 255, 255, 0.48);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform 150ms ease, filter 150ms ease;
}

.mail-button:hover,
.mail-button:focus-visible {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.studio-logo {
  display: block;
  width: 74px;
  height: 74px;
  margin: 28px auto 0;
  object-fit: contain;
}

@media (max-width: 620px) {
  .policy-meta { grid-template-columns: 1fr; }
  .policy-body section { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 520px) {
  .notice-shell { width: min(100% - 16px, 960px); padding: 8px 0; }
  .page-nav { padding: 10px 4px 16px; }
  .notice-card { border-radius: 12px; }
  .notice-header,
  .contact,
  .policy-body section { padding-left: 20px; padding-right: 20px; }
  .game-logo { margin-bottom: 18px; }
  .mail-button { width: 100%; padding-right: 10px; padding-left: 10px; font-size: 0.72rem; }
}

@media (prefers-reduced-motion: reduce) {
  .mail-button { transition: none; }
}
