:root{
  --bgA:#020203;
  --bgB:#070009;

  --panel:#160007;
  --panel2:#22000c;

  --line1: rgba(255, 120, 120, 0.55);
  --line2: rgba(120, 0, 0, 0.85);

  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,210,210,0.78);

  --link: #ffb3b3;
  --link2: #ff5c8a;

  --accent: #ff3b3b;
  --shadow: rgba(0,0,0,0.60);
}

*{ box-sizing:border-box; }
html, body{ height:100%; }

html{
  background-color: #000;

  /* Starry black background (non-animated base) */
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.80) 1px, transparent 2px),
    radial-gradient(circle, rgba(255,200,200,0.45) 1px, transparent 2px),
    radial-gradient(circle, rgba(255,255,255,0.30) 1px, transparent 2px),
    radial-gradient(circle, rgba(255,255,255,0.18) 1px, transparent 2px),
    linear-gradient(180deg, var(--bgA), var(--bgB));

  background-size:
    110px 160px,
    170px 130px,
    220px 260px,
    320px 300px,
    auto;

  background-position:
    12px 18px,
    60px 90px,
    140px 40px,
    210px 170px,
    0 0;

  background-repeat: repeat;
  background-attachment: fixed;
}

/* Single overlay: twinkling/drifting faint stars + very subtle scanlines */
html::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background-image:
    /* faint drifting stars */
    radial-gradient(circle, rgba(255,255,255,0.22) 1px, transparent 2px),
    radial-gradient(circle, rgba(255,90,90,0.10) 1px, transparent 2px),

    /* subtle red glow patches */
    radial-gradient(800px 500px at 25% 15%, rgba(255,59,59,0.07), transparent 60%),
    radial-gradient(900px 600px at 80% 35%, rgba(255,255,255,0.04), transparent 65%),

    /* scanlines (very light) */
    repeating-linear-gradient(
      to bottom,
      rgba(255,255,255,0.020),
      rgba(255,255,255,0.020) 1px,
      transparent 1px,
      transparent 3px
    );

  background-size:
    260px 240px,
    420px 380px,
    auto,
    auto,
    auto;

  background-position:
    0 0,
    120px 60px,
    0 0,
    0 0,
    0 0;

  mix-blend-mode: screen;
  opacity: 0.55;

  animation: starsDrift 70s linear infinite, starsTwinkle 6.5s ease-in-out infinite;
}

/* Keep content above the overlay */
body{
  position: relative;
  z-index: 1;

  margin:0;
  background: transparent;
  color: var(--text);
  font-family: Tahoma, Verdana, Arial, sans-serif;
  padding: 18px 12px 40px;
}

@keyframes starsDrift{
  from { background-position: 0 0, 120px 60px, 0 0, 0 0, 0 0; }
  to   { background-position: -260px 240px, -300px 260px, 0 0, 0 0, 0 0; }
}

@keyframes starsTwinkle{
  0%, 100% { opacity: 0.45; filter: brightness(0.95); }
  50%      { opacity: 0.70; filter: brightness(1.12); }
}

.wrap{ max-width: 1120px; margin: 0 auto; }

/* beveled / 90s panel vibe */
.header, .section{
  border: 2px solid var(--line2);
  box-shadow: 0 14px 30px var(--shadow);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02)),
    var(--panel2);
}

.header{
  padding: 12px 12px 10px;
}

h1{
  margin:0 0 8px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: 20px;
  color: rgba(255,235,235,0.95);
  text-shadow: 0 1px 0 rgba(0,0,0,0.75);
}

.sub{
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.section{
  margin-top: 14px;
  padding: 12px;
}

.eventTitle{
  margin: 0 0 8px;
  font-size: 16px;
  color: rgba(255,245,245,0.95);
  text-shadow: 0 1px 0 rgba(0,0,0,0.75);
}

.desc{
  margin: 0 0 10px;
  color: var(--muted);
  white-space: pre-wrap;
  font-size: 13px;
  line-height: 1.35;
}

.grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.thumb{
  display:block;
  text-decoration:none;
  color: var(--text);
  border: 2px solid rgba(255,255,255,0.18);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  box-shadow: 0 10px 18px rgba(0,0,0,0.35);
}

.thumb:hover{
  border-color: rgba(255, 59, 59, 0.75);
  transform: translateY(-1px);
}

.thumb img{
  display:block;
  width:100%;
  height: 170px;
  object-fit: cover;
  background: rgba(0,0,0,0.35);
  border-bottom: 1px solid rgba(255,255,255,0.14);
}

.caption{
  padding: 8px;
  font-size: 12.5px;
  color: rgba(255,225,225,0.82);
  font-family: "Courier New", Courier, monospace;
}

a{ color: var(--link); }
a:hover{ color: white; }
a:visited{ color: var(--link2); }

.footer{
  text-align:center;
  color: rgba(255,210,210,0.70);
  font-size: 12.5px;
  margin-top: 14px;
  font-family: "Courier New", Courier, monospace;
}