/* =========================================================
   We Are Pizza Cult — style.css
   Theme: dark maroon + starfield (Heaven's Gate-ish vibe)
   ========================================================= */

:root{
  --bg: #000000;
  --panel: rgba(0,0,0,0.74);
  --card: rgba(0,0,0,0.60);

  /* darker maroon accent */
  --accent: #5b0b10;        /* deep maroon */
  --accent2: #8f141c;       /* highlight maroon */
  --accentGlow: rgba(143,20,28,0.22);
  --accentSoft: rgba(91,11,16,0.40);

  --text: #f4f4f4;
  --muted: rgba(244,244,244,0.78);
  --muted2: rgba(244,244,244,0.62);

  --border: rgba(143,20,28,0.62);
  --borderSoft: rgba(143,20,28,0.36);

  --shadow: 0 14px 44px rgba(0,0,0,0.62);
}

*{ box-sizing:border-box; }

html, body{
  height:100%;
  margin:0;
  cursor: url("/favicon/pizza-cursor.png") 26 6, auto;
}

a, button, input, textarea, select, label {
  cursor: url("/favicon/pizza-cursor.png") 26 6, pointer;
}

body{
  color: var(--text);

  /* Starfield: multiple layers of radial gradients */
  background:
    url("/assets/bg/tile.jpg") repeat,
    /* subtle maroon nebula glow */
    radial-gradient(1200px 800px at 50% 0%, rgba(143,20,28,0.14), transparent 62%),
    radial-gradient(900px 600px at 20% 45%, rgba(91,11,16,0.10), transparent 60%),

    linear-gradient(#000000, #000000);

  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  letter-spacing: 0.3px;
}

/* Optional: add a faint "twinkle" shimmer without JS */
@media (prefers-reduced-motion: no-preference) {
  body::before{
    content:"";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
      radial-gradient(1px 1px at 14% 24%, rgba(255,255,255,0.55) 50%, transparent 52%),
      radial-gradient(1px 1px at 61% 58%, rgba(255,255,255,0.45) 50%, transparent 52%),
      radial-gradient(1px 1px at 83% 71%, rgba(255,255,255,0.40) 50%, transparent 52%),
      radial-gradient(1px 1px at 42% 80%, rgba(255,255,255,0.35) 50%, transparent 52%);
    opacity: 0.35;
    filter: blur(0.2px);
    animation: twinkle 6.5s ease-in-out infinite;
  }

  @keyframes twinkle {
    0%, 100% { opacity: 0.25; }
    50% { opacity: 0.55; }
  }
}

a{
  color: #eaa6aa; /* pale red link (readable on black) */
  text-decoration: none;
}
a:hover{ text-decoration: underline; }

.wrap{
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 16px 54px;
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 10px 12px;
  margin-bottom: 14px;
  border: 1px solid var(--borderSoft);
  background: rgba(0,0,0,0.48);
  border-radius: 12px;
  backdrop-filter: blur(2px);
}

.topbar a{
  color: var(--text);
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.panel{
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(3px);
}

.panel.center{
  max-width: 520px;
  margin: 8vh auto 0;
}

.card{
  border: 1px solid var(--borderSoft);
  background: var(--card);
  border-radius: 14px;
  padding: 14px;
  margin-top: 12px;
  backdrop-filter: blur(2px);
}

h1{
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  text-shadow: 0 0 18px var(--accentGlow);
}

h2{
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

p{ line-height: 1.5; }

.small{ font-size: 13px; }
.muted{ color: var(--muted); }
.muted2{ color: var(--muted2); }

.error{
  color: #ff8b8b;
  background: rgba(255,0,0,0.10);
  border: 1px solid rgba(255,0,0,0.35);
  padding: 10px 12px;
  border-radius: 12px;
}

.form{
  display:flex;
  flex-direction:column;
  gap:10px;
}

label{
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

input, textarea, select{
  width:100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--borderSoft);
  background: rgba(0,0,0,0.60);
  color: var(--text);
  outline: none;
}

input:focus, textarea:focus, select:focus{
  border-color: rgba(234,166,170,0.85);
  box-shadow: 0 0 0 3px rgba(143,20,28,0.18);
}

textarea{
  resize: vertical;
  min-height: 90px;
}

button{
  cursor:pointer;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(143,20,28,0.35), rgba(91,11,16,0.20));
  color: var(--text);
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

button:hover{
  border-color: rgba(234,166,170,0.75);
  box-shadow: 0 0 0 3px rgba(143,20,28,0.14);
}

.linkbtn{
  border: none;
  background: transparent;
  padding: 0;
  color: #eaa6aa;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.linkbtn:hover{ text-decoration: underline; }

.table{
  width:100%;
  border-collapse: collapse;
  font-size: 13px;
}

.table th, .table td{
  border-bottom: 1px solid rgba(143,20,28,0.25);
  padding: 10px 8px;
  text-align:left;
  vertical-align: top;
}

.table th{
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 900;
}

/* Pills used on events list */
.pill{
  border: 1px solid var(--borderSoft);
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
}

/* Better pill wrapping/spacing (when pills spill to 2nd row) */
.eventMeta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px; /* row-gap column-gap */
}

/* =========================================================
   Quill rich text: correct bullets + nesting + maroon glow
   Quill often renders BOTH list types inside <ol> and uses
   li[data-list="bullet"] vs li[data-list="ordered"].
   ========================================================= */

/* Base spacing for rich text blocks */
.rich p { margin: 0 0 10px; }
.rich a { color: #eaa6aa; }

/* Ensure lists have consistent spacing */
.rich ol,
.rich ul {
  margin: 8px 0 14px 22px;
  padding-left: 0;
}
.rich li { margin: 4px 0; }

/* --- Quill list type fixes --- */
.rich ol > li[data-list="bullet"] { list-style-type: disc; }
.rich ol > li[data-list="ordered"] { list-style-type: decimal; }

/* If Quill ever outputs <ul> directly, keep it bullet-style */
.rich ul > li { list-style-type: disc; }

/* --- Nested list indentation (Quill uses ql-indent-* classes) --- */
.rich .ql-indent-1 { margin-left: 18px; }
.rich .ql-indent-2 { margin-left: 36px; }
.rich .ql-indent-3 { margin-left: 54px; }
.rich .ql-indent-4 { margin-left: 72px; }
.rich .ql-indent-5 { margin-left: 90px; }
.rich .ql-indent-6 { margin-left: 108px; }
.rich .ql-indent-7 { margin-left: 126px; }
.rich .ql-indent-8 { margin-left: 144px; }

/* --- Heaven’s Gate-ish maroon glow markers (bullets + numbers) --- */
.rich li::marker {
  color: rgba(234,166,170,0.95);
  text-shadow: 0 0 8px rgba(143,20,28,0.55);
}

/* Make ordered list numbers a touch brighter for readability */
.rich ol > li[data-list="ordered"]::marker {
  color: rgba(244,244,244,0.90);
  text-shadow: 0 0 8px rgba(143,20,28,0.35);
}
