:root {
  color-scheme: dark;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: #fff5d6;
  background: #05263f;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: 48px 20px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, #03152c24, #03152c48 55%, #03152c94),
    url("/delete-account/assets/menu-background.png") center / cover fixed;
}

.account-page { width: min(100%, 620px); }

.brand {
  margin: 0 0 28px;
  text-align: center;
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: #fff7d9;
  text-shadow: 0 3px 0 #04213d, 2px 0 0 #04213d, -2px 0 0 #04213d, 0 6px 16px #001323a6;
}

.brand span {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #d1f6fc;
}

main {
  padding: 34px 38px 30px;
  border: 2px solid #d4a64d;
  border-radius: 18px;
  background: linear-gradient(155deg, #0e4056f5, #051e36f5);
  box-shadow: inset 0 0 0 3px #071d31, inset 0 0 0 4px #3c8a9e80, 0 16px 48px #0013268c;
}

.section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 12px;
  color: #a9dce7;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-label::before, .section-label::after {
  content: "";
  width: 28px;
  height: 1px;
  background: #d4a64d;
}

h1 {
  margin: 0 0 24px;
  text-align: center;
  font-size: clamp(26px, 5vw, 34px);
  line-height: 1.2;
  letter-spacing: -.8px;
  text-shadow: 0 2px 0 #03162b;
}

.page-content > p {
  margin: 0 0 16px;
  color: #d5e8ed;
  font-size: 15px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.page-content > p:first-child { color: #fff5d6; font-size: 17px; }
strong { color: #ffdd8f; }

form { margin: 24px 0 0; }
form + form { margin-top: 12px; }

button {
  display: block;
  width: min(100%, 448px);
  min-height: 88px;
  margin: 0 auto;
  padding: 16px 26px 17px 92px;
  border: 0;
  border-radius: 20px;
  background: transparent url("/delete-account/assets/button-idle.png") center / 100% 100% no-repeat;
  color: #fff5d6;
  font: 800 17px/1.3 "Trebuchet MS", "Segoe UI", sans-serif;
  text-shadow: 0 2px 1px #031b30;
  cursor: pointer;
  transition: filter .15s ease, transform .15s ease;
}

button:hover { filter: brightness(1.15); transform: translateY(-1px); }
button:active {
  background-image: url("/delete-account/assets/button-pressed.png");
  transform: translateY(1px);
}

button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid #c1f3ff;
  outline-offset: 5px;
}

button.danger {
  min-height: 60px;
  padding: 16px 22px;
  border: 2px solid #e2ae61;
  border-radius: 12px;
  background: linear-gradient(#9c4145, #6b2534);
  box-shadow: inset 0 0 0 2px #351c30, 0 4px 0 #04182a;
}

button.secondary {
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid #447b92;
  border-radius: 10px;
  background: #0b354b;
  color: #d0e9f0;
  font-size: 14px;
  font-weight: 600;
}

label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid #467487;
  border-radius: 10px;
  background: #031c3059;
  color: #e5eff0;
  font-size: 14px;
  line-height: 1.6;
  cursor: pointer;
}

input[type="checkbox"] {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: #efc466;
}

a { color: #bdefff; text-underline-offset: 4px; }
a:hover { color: #ffdd8f; }

.page-footer {
  margin: 20px 0 0;
  color: #d2eaf1;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
  text-shadow: 0 1px 3px #00152a;
}

@media (max-width: 480px) {
  body { padding: 30px 16px; background-attachment: scroll; }
  .brand { margin-bottom: 22px; letter-spacing: -1px; }
  .brand span { font-size: 10px; letter-spacing: 3px; }
  main { padding: 28px 22px 24px; border-radius: 14px; }
  h1 { margin-bottom: 20px; }
  .page-content > p { font-size: 14px; line-height: 1.65; }
  .page-content > p:first-child { font-size: 16px; }
  button { min-height: 82px; padding-left: 76px; padding-right: 18px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  button { transition: none; }
  button:hover, button:active { transform: none; }
}
