/* ★MARSH‼★ — @mrshal1m4ssacr3 — outlet stylesheet */

:root {
  --red:   #c8102e;
  --red2:  #8a0a1f;
  --ink:   #0a0a0a;
  --bone:  #f3ece1;
  --shock: #ff2d55;
  --dim:   #1a1a1a;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body {
  margin: 0; padding: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: "Comic Sans MS", "Chalkboard SE", "Marker Felt", system-ui, sans-serif;
}

a { color: var(--shock); text-decoration: none; }
a:hover { text-decoration: underline wavy; }

/* ── scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb { background: var(--red); }

/* ──────────────────────────────────────────
   RED/BLACK CHECKERBOARD BANNER
   directly from marsh's pinterest header
────────────────────────────────────────── */
.checker {
  height: 200px;
  background:
    conic-gradient(var(--red) 25%, var(--ink) 0 50%, var(--red) 0 75%, var(--ink) 0)
    0 0 / 90px 90px;
  border-bottom: 4px solid var(--bone);
  position: relative;
}
.checker .stamp {
  position: absolute;
  left: 50%; bottom: -26px;
  transform: translateX(-50%) rotate(-3deg);
  background: var(--ink);
  color: var(--bone);
  padding: 8px 24px;
  border: 3px solid var(--bone);
  font-size: 32px;
  letter-spacing: 2px;
  white-space: nowrap;
  box-shadow: 6px 6px 0 var(--red);
}

/* ──────────────────────────────────────────
   HEADER / ID CARD
────────────────────────────────────────── */
header.id {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 24px;
  padding: 60px 28px 28px;
  border-bottom: 2px dashed #444;
}

.pfp {
  width: 160px; height: 160px;
  border-radius: 50%;
  border: 4px solid var(--bone);
  object-fit: cover;
  box-shadow: 0 0 0 4px var(--ink), 0 0 0 7px var(--red);
  display: block;
}

.id h1 { margin: 0; font-size: 46px; letter-spacing: 1px; }

.id .handle {
  color: #bbb;
  background: #222;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 4px;
  font-family: monospace;
  font-size: 0.95rem;
}

.stats { margin-top: 10px; color: #ddd; font-size: 0.9rem; }
.stats span { margin-right: 12px; }

.bio { margin-top: 14px; max-width: 680px; line-height: 1.5; }

.socials {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.socials a {
  border: 2px solid var(--bone);
  padding: 6px 12px;
  background: var(--dim);
  color: var(--bone);
  display: inline-block;
  transform: rotate(-1deg);
  transition: transform 0.15s;
}
.socials a:nth-child(even) {
  transform: rotate(1.5deg);
  background: var(--red2);
}
.socials a:hover { transform: rotate(0deg) scale(1.05); text-decoration: none; }

/* ──────────────────────────────────────────
   KANDI BEAD STRIP
────────────────────────────────────────── */
.kandi {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  padding: 14px 28px;
  background: #0d0d0d;
  border-top: 2px dashed #333;
  border-bottom: 2px dashed #333;
}
.bead {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.4);
  flex-shrink: 0;
}

/* ──────────────────────────────────────────
   SECTIONS
────────────────────────────────────────── */
section {
  padding: 36px 28px;
  border-bottom: 2px dashed #2a2a2a;
}

section h2 {
  font-size: 36px;
  margin: 0 0 20px;
  display: inline-block;
  background: var(--bone);
  color: var(--ink);
  padding: 4px 14px;
  transform: rotate(-1.5deg);
  box-shadow: 5px 5px 0 var(--red);
  letter-spacing: 1px;
}

/* ── refsheet ── */
.ref-grid {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 22px;
  align-items: start;
}
.ref-img {
  width: 100%;
  border: 3px solid var(--bone);
  box-shadow: 8px 8px 0 var(--red);
  transform: rotate(-1deg);
  display: block;
}
.ref-card {
  background: #161616;
  border: 2px solid #2a2a2a;
  padding: 16px 18px;
  line-height: 1.6;
}
.ref-card p { margin: 0 0 10px; }
.ref-card .likes  { color: #cfe8c7; }
.ref-card .dislikes { color: #f1c0c0; }
.ref-card strong { color: var(--bone); }

/* ── DO / DON'T + DNI panels ── */
.panel-grid, .rules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.panel, .rule {
  background: #fff;
  color: #000;
  border: 3px solid #000;
  padding: 14px 16px;
  box-shadow: 6px 6px 0 var(--red);
}
.panel h3, .rule h3 {
  margin: 0 0 8px;
  font-size: 22px;
  border-bottom: 2px solid #000;
  display: inline-block;
  padding-right: 6px;
}
.panel ul, .rule ul { margin: 8px 0 0 18px; padding: 0; }
.panel li, .rule li { margin: 4px 0; line-height: 1.4; }

.rule.do h3::after, .panel.do h3::after {
  content: " ✔"; color: #0a8a3a;
}
.rule.dont h3::after, .panel.dont h3::after {
  content: " ✖"; color: var(--red);
}

/* ── source image (boundaries page) ── */
.source-img {
  display: block;
  max-width: 540px;
  width: 100%;
  margin: 10px auto 0;
  border: 3px solid var(--bone);
  box-shadow: 10px 10px 0 var(--red);
  transform: rotate(-1deg);
  background: #fff;
}

/* ──────────────────────────────────────────
   SHOP / OUTLET
────────────────────────────────────────── */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 20px;
  margin-top: 12px;
}

.item {
  border: 3px solid var(--bone);
  background: #181818;
  padding: 14px;
  position: relative;
}
.item::before {
  content: "★";
  position: absolute;
  top: -14px; left: -14px;
  font-size: 26px;
  color: var(--red);
  text-shadow: 2px 2px 0 var(--bone);
}

.item .thumb {
  height: 160px;
  border: 2px solid var(--bone);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0d0d0d;
  font-size: 3.5rem;
}
.item .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.item .thumb.checker-tile {
  background:
    conic-gradient(var(--red) 25%, var(--ink) 0 50%, var(--red) 0 75%, var(--ink) 0)
    0 0 / 30px 30px;
}

.item h4 { margin: 10px 0 4px; font-size: 18px; line-height: 1.3; }
.item .px { color: var(--shock); font-weight: bold; font-size: 17px; margin-bottom: 6px; }
.item p { font-size: 0.82rem; color: #bbb; margin: 0; line-height: 1.4; }

.tag {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  margin-right: 4px;
  letter-spacing: 1px;
  font-weight: bold;
}

/* ── stripe buy btn ── */
.buy-btn {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  background: var(--red2);
  border: 2px solid var(--bone);
  color: var(--bone);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  letter-spacing: 1px;
}
.buy-btn:hover {
  background: var(--red);
  transform: scale(0.98);
  text-decoration: none;
  color: #fff;
}

/* ── stripe setup notice ── */
.setup-notice {
  border: 2px dashed #555;
  padding: 14px 16px;
  margin-bottom: 20px;
  font-size: 0.82rem;
  color: #999;
  background: #111;
}
.setup-notice strong { color: var(--bone); display: block; margin-bottom: 6px; }
.setup-notice ol { margin-left: 16px; }
.setup-notice li { margin-bottom: 4px; }
.setup-notice code { background: #222; padding: 1px 5px; font-size: 0.85em; color: #ccc; }

/* ──────────────────────────────────────────
   TOPNAV (boundaries subpage)
────────────────────────────────────────── */
.topnav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 28px;
  border-bottom: 2px dashed #333;
  color: #ccc;
  margin-top: 36px;
}
.topnav a { color: var(--shock); }
.topnav .who { font-family: monospace; color: #888; font-size: 0.85rem; }

/* ──────────────────────────────────────────
   UTILS + FOOTER
────────────────────────────────────────── */
.footnote {
  margin-top: 16px;
  font-size: 13px;
  color: #888;
  font-style: italic;
}
.warn  { color: var(--shock); font-weight: bold; }
.star  { color: var(--red); }
.scrawl {
  font-family: "Bradley Hand", "Segoe Script", cursive;
  display: inline-block;
  transform: rotate(-1deg);
}

footer {
  padding: 32px 28px;
  color: #666;
  font-size: 13px;
  text-align: center;
  border-top: 2px dashed #222;
}

/* ──────────────────────────────────────────
   ORDER MODAL
────────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.82);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-box {
  background: var(--ink);
  border: 3px solid var(--bone);
  box-shadow: 10px 10px 0 var(--red);
  padding: 28px 24px 24px;
  max-width: 480px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute;
  top: 10px; right: 12px;
  background: none;
  border: none;
  color: var(--bone);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}
.modal-close:hover { color: var(--shock); }
.modal-item-label {
  color: var(--shock);
  font-weight: bold;
  font-size: 0.9rem;
  margin: 0 0 18px;
}
.field-label {
  display: block;
  font-size: 0.8rem;
  color: #aaa;
  margin-bottom: 4px;
  margin-top: 14px;
  letter-spacing: 0.5px;
}
.field-input {
  display: block;
  width: 100%;
  background: #1a1a1a;
  border: 2px solid #444;
  color: var(--bone);
  font-family: inherit;
  font-size: 0.9rem;
  padding: 8px 10px;
  outline: none;
  resize: vertical;
}
.field-input:focus { border-color: var(--red); }
.form-status {
  margin-top: 12px;
  padding: 10px 12px;
  font-size: 0.85rem;
  border: 2px solid;
}
.form-ok  { border-color: #0a8a3a; color: #cfe8c7; background: #0a1a0d; }
.form-err { border-color: var(--red); color: #f1c0c0; background: #1a0a0a; }

/* ──────────────────────────────────────────
   RESPONSIVE
────────────────────────────────────────── */
@media (max-width: 680px) {
  header.id { grid-template-columns: 1fr; text-align: center; }
  .pfp { margin: 0 auto; }
  .panel-grid, .rules-grid, .ref-grid { grid-template-columns: 1fr; }
  .ref-img { transform: none; }
  section h2 { font-size: 26px; }
  .checker .stamp { font-size: 22px; }
  .id h1 { font-size: 32px; }
}
