* { box-sizing: border-box; }
    :root {
      --bg: #0d0b08;
      --panel: #17140f;
      --panel-2: #211d16;
      --border: #352f25;
      --gold: #c9a84c;
      --gold-soft: rgba(201, 168, 76, 0.14);
      --text: #d4c9b0;
      --muted: #7a7060;
      --discord: #5865f2;
      --danger: #d36a58;
    }
    body {
      margin: 0;
      min-height: 100vh;
      background:
        radial-gradient(circle at 50% 0%, rgba(201, 168, 76, 0.16), transparent 34rem),
        linear-gradient(135deg, #090806 0%, #15110b 50%, #0d0b08 100%);
      color: var(--text);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      display: grid;
      place-items: center;
      padding: 24px;
    }
    .shell {
      width: min(960px, 100%);
      min-height: min(620px, calc(100vh - 48px));
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      border: 1px solid var(--border);
      border-radius: 8px;
      background: rgba(13, 11, 8, 0.86);
      overflow: hidden;
      box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
    }
    .brand {
      position: relative;
      padding: 48px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      background:
        radial-gradient(circle at 55% 42%, rgba(199, 35, 35, 0.26), transparent 14rem),
        radial-gradient(circle at 30% 22%, rgba(201, 168, 76, 0.18), transparent 12rem),
        linear-gradient(145deg, rgba(13, 11, 8, 0.96), rgba(31, 21, 18, 0.95) 52%, rgba(9, 8, 6, 0.98));
      background-size: cover;
      background-position: center;
    }
    .brand::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, transparent, rgba(13, 11, 8, 0.4));
      pointer-events: none;
    }
    .brand > * { position: relative; z-index: 1; }
    .logo {
      font-family: Georgia, "Times New Roman", serif;
      font-size: 22px;
      font-weight: 700;
      letter-spacing: 0.1em;
      color: var(--gold);
      text-shadow: 0 0 22px rgba(201, 168, 76, 0.45);
    }
    .logo span { color: var(--text); font-weight: 400; }
    .brand-emblem {
      width: min(380px, 88%);
      align-self: center;
      margin: 18px 0 26px;
      opacity: 0.96;
      filter: drop-shadow(0 0 30px rgba(215, 47, 47, 0.24)) drop-shadow(0 0 18px rgba(201, 168, 76, 0.16));
    }
    .brand-emblem img {
      width: 100%;
      display: block;
      border-radius: 8px;
    }
    .hero h1 {
      margin: 0 0 14px;
      max-width: 520px;
      font-family: Georgia, "Times New Roman", serif;
      font-size: clamp(36px, 6vw, 68px);
      line-height: 0.96;
      color: #f0d57b;
      letter-spacing: 0;
    }
    .hero p {
      margin: 0;
      max-width: 420px;
      color: #d7c8a6;
      font-size: 15px;
      line-height: 1.7;
    }
    .panel-wrap {
      display: grid;
      place-items: center;
      padding: 38px;
      background: linear-gradient(180deg, rgba(33, 29, 22, 0.96), rgba(13, 11, 8, 0.98));
    }
    .panel {
      width: 100%;
      max-width: 360px;
      padding: 28px;
      border: 1px solid var(--border);
      border-radius: 8px;
      background: rgba(23, 20, 15, 0.92);
      text-align: center;
    }
    .badge {
      display: inline-flex;
      align-items: center;
      min-height: 28px;
      padding: 0 12px;
      border: 1px solid rgba(201, 168, 76, 0.36);
      border-radius: 999px;
      background: var(--gold-soft);
      color: var(--gold);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      margin-bottom: 18px;
    }
    .panel h2 {
      margin: 0 0 10px;
      color: var(--text);
      font-family: Georgia, "Times New Roman", serif;
      font-size: 25px;
      letter-spacing: 0;
    }
    .panel p {
      margin: 0 0 24px;
      color: var(--muted);
      line-height: 1.6;
      font-size: 14px;
    }
    .discord-btn, button {
      width: 100%;
      min-height: 46px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 0;
      border-radius: 6px;
      background: var(--discord);
      color: white;
      font: inherit;
      font-weight: 800;
      text-decoration: none;
      cursor: pointer;
      transition: transform 0.16s, filter 0.16s;
    }
    .discord-btn:hover, button:hover {
      transform: translateY(-1px);
      filter: brightness(1.07);
    }
    button {
      margin-top: 12px;
      background: #2e2a22;
      color: var(--text);
    }
    .avatar {
      width: 72px;
      height: 72px;
      margin-bottom: 16px;
      border-radius: 50%;
      border: 2px solid var(--gold);
      object-fit: cover;
    }
    .error {
      display: none;
      margin-bottom: 18px;
      padding: 12px 14px;
      border: 1px solid rgba(211, 106, 88, 0.42);
      border-radius: 6px;
      background: rgba(211, 106, 88, 0.1);
      color: var(--danger);
      font-size: 13px;
      line-height: 1.5;
    }
    .hidden { display: none; }
    @media (max-width: 760px) {
      body { padding: 0; }
      .shell {
        min-height: 100vh;
        grid-template-columns: 1fr;
        border: 0;
        border-radius: 0;
      }
      .brand {
        min-height: 42vh;
        padding: 32px 24px;
      }
      .brand-emblem { width: min(260px, 72%); margin: 10px auto 18px; }
      .panel-wrap { padding: 24px; }
    }
