/* Visual language of the Tier 3 verification site (same palette, pattern,
   fonts and card treatments), written as plain CSS instead of Tailwind. */
:root {
  --s: 150px;
  --c1: #046d8b;
  --c2: #2fb8ac;
  --_g: #0000 90deg, var(--c1) 0;
  --card: rgba(15, 23, 42, .95);
  --panel: rgba(30, 41, 59, .6);
  --teal: #2dd4bf;
  --purple: #9333ea;
  --font-body: 'Funnel Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-head: 'Nunito', 'Funnel Sans', sans-serif;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden; position: relative;
  background: #18181b; color: #fff; font-family: var(--font-body); line-height: 1.5;
}
body::before {
  content: ''; position: fixed; inset: 0; z-index: -2;
  background:
    conic-gradient(from 116.56deg at calc(100%/3) 0, var(--_g)),
    conic-gradient(from -63.44deg at calc(200%/3) 100%, var(--_g))
    var(--c2);
  background-size: var(--s) var(--s);
}
body::after { content: ''; position: fixed; inset: 0; z-index: -1; background: rgba(10, 10, 15, .35); pointer-events: none; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; margin: 0; }
p { margin: 0; }
a { color: inherit; }

main { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 16px; position: relative; overflow: hidden; }
.veil { position: absolute; inset: 0; backdrop-filter: blur(4px); background: rgba(2, 6, 23, .1); pointer-events: none; }
.orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.orb { position: absolute; width: 24rem; height: 24rem; border-radius: 9999px; filter: blur(64px); animation: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite; }
.orb.a { top: 5rem; left: -5rem; background: rgba(168, 85, 247, .1); }
.orb.b { bottom: 5rem; right: -5rem; background: rgba(20, 184, 166, .1); animation-delay: 1s; }
.orb.c { top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(236, 72, 153, .05); animation-delay: 2s; }
@keyframes pulse { 50% { opacity: .5; } }

.card {
  max-width: 28rem; width: 100%; position: relative; z-index: 10; padding: 32px;
  background: var(--card); backdrop-filter: blur(24px); border: 1px solid rgba(45, 212, 191, .3);
  border-radius: 16px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25);
}
@media (max-width: 420px) { .card { padding: 22px; } main { padding-bottom: 72px; } /* clear the fixed scomfy badge */ }
.center { text-align: center; }
.mb { margin-bottom: 24px; }
.mb-sm { margin-bottom: 16px; }

.title {
  font-size: 1.875rem; line-height: 1.2; margin-bottom: 8px;
  background: linear-gradient(to right, #2dd4bf, #c084fc, #f472b6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.subtitle { color: rgba(255, 255, 255, .7); margin-bottom: 28px; }

.btn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border: 0; border-radius: 8px; font: 700 1rem var(--font-body);
  color: #fff; cursor: pointer; transition: all .2s; text-decoration: none;
}
.btn:disabled { cursor: not-allowed; opacity: .5; }
.btn-twitch { background: #9333ea; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1); }
.btn-twitch:hover { background: #7e22ce; transform: scale(1.05); }
.btn-teal { background: #0d9488; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1); }
.btn-teal:hover:not(:disabled) { background: #0f766e; }
.btn-ghost { background: rgba(51, 65, 85, .6); border: 1px solid rgba(100, 116, 139, .3); backdrop-filter: blur(4px); }
.btn-ghost:hover:not(:disabled) { background: rgba(51, 65, 85, .8); }
.row { display: flex; gap: 12px; }
.row > * { flex: 1; }

.panel { padding: 16px; background: var(--panel); border: 1px solid rgba(45, 212, 191, .2); border-radius: 8px; backdrop-filter: blur(4px); }
.panel.lg { padding: 24px; }
.who { display: flex; align-items: center; gap: 12px; }
.avatar { width: 48px; height: 48px; border-radius: 9999px; border: 2px solid #c084fc; object-fit: cover; flex-shrink: 0; }
.avatar.ph { display: flex; align-items: center; justify-content: center; background: rgba(168, 85, 247, .2); color: #d8b4fe; }
.muted { color: rgba(255, 255, 255, .7); font-size: .875rem; }
.name { font: 600 1.25rem var(--font-head); }

.note { padding: 16px; border-radius: 8px; backdrop-filter: blur(4px); font-size: .875rem; }
.note.err { background: rgba(127, 29, 29, .4); border: 1px solid rgba(239, 68, 68, .5); color: #fecaca; }
.note.warn { background: rgba(120, 53, 15, .4); border: 1px solid rgba(245, 158, 11, .5); color: #fde68a; font-weight: 500; }
.note.ok { background: rgba(20, 83, 45, .4); border: 1px solid rgba(74, 222, 128, .5); color: #dcfce7; display: flex; gap: 10px; align-items: center; }

/* Supporter card: the gold "Organic Tier 3" treatment, with the hover shine. */
.gold {
  padding: 24px; border-radius: 12px; position: relative; overflow: hidden; cursor: default;
  background: linear-gradient(to bottom right, rgba(161, 98, 7, .4), rgba(202, 138, 4, .5), rgba(180, 83, 9, .4));
  border: 4px solid rgba(234, 179, 8, .8); backdrop-filter: blur(4px);
  box-shadow: 0 25px 50px -12px rgba(202, 138, 4, .3);
}
.gold:hover { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='10' fill='%23fbbf24' opacity='0.6'/%3E%3Ccircle cx='16' cy='16' r='6' fill='%23f59e0b' opacity='0.8'/%3E%3C/svg%3E") 16 16, auto; }
.gold .shine { position: absolute; inset: 0; pointer-events: none; transform: translateX(-100%); transition: transform 1s ease-in-out;
  background: linear-gradient(to right, transparent, rgba(253, 224, 71, .2), transparent); }
.gold:hover .shine { transform: translateX(100%); }
.gold .top { display: flex; align-items: center; justify-content: space-around; margin-bottom: 20px; position: relative; font-size: 1.875rem; }
.gold .pfp { width: 68px; height: 68px; border-radius: 9999px; border: 4px solid #facc15; box-shadow: 0 10px 15px -3px rgba(234, 179, 8, .5); }
.gold h2 { font-size: 1.5rem; color: #fef9c3; text-align: center; margin-bottom: 8px; position: relative; text-shadow: 0 4px 3px rgba(0, 0, 0, .3); }
.gold p { color: rgba(254, 252, 232, .9); text-align: center; position: relative; }

.status { padding: 24px; border-radius: 8px; backdrop-filter: blur(4px); }
.status h2 { font-size: 1.25rem; margin-bottom: 8px; }
.status .foot { padding-top: 12px; margin-top: 12px; font-size: .875rem; }
.status.amber { background: rgba(120, 53, 15, .4); border: 1px solid rgba(245, 158, 11, .5); border-radius: 12px; }
.status.amber h2 { color: #fde68a; } .status.amber p { color: #fef3c7; }
.status.amber .foot { border-top: 1px solid rgba(245, 158, 11, .3); color: rgba(253, 230, 138, .85); }
.status.orange { background: rgba(124, 45, 18, .4); border: 1px solid rgba(251, 146, 60, .5); }
.status.orange h2 { color: #fed7aa; } .status.orange p { color: #ffedd5; }
.status.orange .foot { border-top: 1px solid rgba(251, 146, 60, .3); }
.status.orange a { color: #fff; font-weight: 700; }

.section-h { display: flex; align-items: center; gap: 8px; font-size: 1.125rem; margin-bottom: 12px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 9999px; font: 500 .75rem var(--font-body); }
.pill.green { background: rgba(34, 197, 94, .2); border: 1px solid rgba(34, 197, 94, .5); color: #86efac; }
.pill.amber { background: rgba(245, 158, 11, .2); border: 1px solid rgba(245, 158, 11, .5); color: #fcd34d; }

input[type=text] {
  width: 100%; padding: 12px 16px; border-radius: 8px; font: 1rem var(--font-body); color: #fff;
  background: rgba(30, 41, 59, .6); border: 1px solid rgba(45, 212, 191, .3); outline: none; transition: all .2s;
}
input[type=text]::placeholder { color: rgba(255, 255, 255, .4); }
input[type=text]:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(45, 212, 191, .2); }
.stack > * + * { margin-top: 12px; }

.mc { padding: 16px; background: rgba(19, 78, 74, .4); border: 1px solid rgba(45, 212, 191, .4); border-radius: 8px; }
.head { width: 48px; height: 48px; border-radius: 6px; border: 2px solid var(--teal); image-rendering: pixelated; background: rgba(20, 184, 166, .2); flex-shrink: 0; }
.head.lg { width: 64px; height: 64px; }
.linkish { background: none; border: 0; padding: 0; color: #5eead4; font: .75rem var(--font-body); text-decoration: underline; cursor: pointer; }
.linkish:hover { color: #99f6e4; }

.server { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 8px; background: rgba(2, 6, 23, .45); border: 1px dashed rgba(45, 212, 191, .4); }
.server code { flex: 1; font: 600 1rem ui-monospace, SFMono-Regular, Menlo, monospace; color: #99f6e4; overflow-wrap: anywhere; }
.copy { border: 1px solid rgba(45, 212, 191, .4); background: rgba(13, 148, 136, .25); color: #ccfbf1; border-radius: 6px; padding: 6px 10px; font: 600 .8rem var(--font-body); cursor: pointer; flex-shrink: 0; }
.copy:hover { background: rgba(13, 148, 136, .45); }

.foot-note { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(51, 65, 85, .5); color: rgba(255, 255, 255, .5); font-size: .75rem; text-align: center; }

.modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .7); backdrop-filter: blur(12px); }
.modal .card { padding: 24px; background: rgba(15, 23, 42, .98); }
.modal h2 { font-size: 1.5rem; margin-bottom: 16px; }
.caution { display: flex; gap: 8px; padding: 16px; margin-bottom: 24px; border-radius: 8px; background: rgba(124, 45, 18, .4); border: 1px solid rgba(251, 146, 60, .5); }
.caution strong { color: #ffedd5; display: block; margin-bottom: 4px; }
.caution p { color: #fff7ed; font-size: .875rem; }

.badge { position: fixed; bottom: 16px; right: 16px; z-index: 40; }
.badge a { display: flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 9999px; text-decoration: none;
  background: rgba(15, 23, 42, .9); backdrop-filter: blur(24px); border: 1px solid rgba(168, 85, 247, .3); transition: all .3s;
  color: #c084fc; font-weight: 600; font-size: .875rem; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1); }
.badge a:hover { border-color: rgba(192, 132, 252, .6); color: #d8b4fe; box-shadow: 0 20px 25px -5px rgba(168, 85, 247, .2); }

.spin { width: 20px; height: 20px; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { animation: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { .orb, .skeleton { animation: none; } .btn-twitch:hover { transform: none; } }
