/* ─── RESET ────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:        #050505;
  --surface:   #0a0a0a;
  --accent:    #cc0000;
  --accent2:   #8b0000;
  --purple:    #5a0090;
  --text:      #d4d4d4;
  --muted:     #444;
  --white:     #f0f0f0;
  --font-display: 'Bebas Neue', sans-serif;
  --font-mono:    'Share Tech Mono', monospace;
  --font-body:    'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  min-height: 100vh;
  overflow-x: hidden;
  cursor: crosshair;
  position: relative;
}

/* ─── SCROLLBAR ────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: var(--accent2); }

/* ─── BACKGROUND IMAGE ─────────────────────────────── */
.bg-image {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url('https://media.discordapp.net/attachments/1469009364554616964/1473408757244366908/IMG_1713.png?ex=69f85216&is=69f70096&hm=4c1559ac164adef53cab96e059a5644cba56ecd2f5d2dd0c8fdf8da111cf715b&=&format=webp&quality=lossless&width=825&height=825');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 1.22;
  filter: grayscale(10%) contrast(140%) brightness(0.7) blur(0px);
  -webkit-mask-image:
    radial-gradient(ellipse 90% 100% at 50% 50%,
      black 0%,
      black 50%,
      transparent 100%);
  mask-image:
    radial-gradient(ellipse 90% 100% at 50% 50%,
      black 0%,
      black 50%,
      transparent 100%);
}

/* ─── SCANLINES ────────────────────────────────────── */
.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 2;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(0,0,0,0.1) 3px,
    rgba(0,0,0,0.1) 4px
  );
}

/* ─── HEADER ───────────────────────────────────────── */
header {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.header-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 110%, rgba(140,0,0,0.35) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 15% 15%, rgba(90,0,144,0.15) 0%, transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.7) 0%, transparent 40%, rgba(0,0,0,0.9) 100%);
}

/* Blood drip line */
.header-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--accent2) 15%,
    var(--accent) 50%,
    var(--accent2) 85%,
    transparent 100%
  );
  box-shadow:
    0 0 15px rgba(200,0,0,0.8),
    0 0 40px rgba(200,0,0,0.3);
}

.header-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem 1.5rem;
  animation: fadeDown 1s ease both;
}

.pre-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #770000;
  letter-spacing: 0.4em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 16vw, 12rem);
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--white);
  text-shadow:
    0 0 30px rgba(200,0,0,0.6),
    0 0 80px rgba(200,0,0,0.2),
    0 0 120px rgba(200,0,0,0.1),
    3px 3px 0px #2a0000;
  animation: flicker 7s infinite;
}

@keyframes flicker {
  0%, 91%, 100% { opacity: 1; }
  92% { opacity: 0.75; }
  93% { opacity: 1; }
  95% { opacity: 0.4; }
  96% { opacity: 1; }
}

.divider {
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 2rem auto 0;
  box-shadow: 0 0 12px rgba(200,0,0,0.6);
}

/* ─── MAIN ─────────────────────────────────────────── */
main {
  position: relative;
  z-index: 3;
  max-width: 820px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

/* ─── WHAT SECTION ─────────────────────────────────── */
.what-section { animation: fadeUp 0.8s ease 0.1s both; }

h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 2rem;
  text-shadow: 2px 2px 0 #2a0000;
}

h2 span {
  color: var(--accent);
  text-shadow: 0 0 25px rgba(200,0,0,0.6);
}

.phreak-card {
  background: rgba(5, 0, 0, 0.82);
  border: 1px solid #200000;
  border-left: 3px solid var(--accent);
  border-radius: 0px;
  padding: 2.5rem 2.5rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.9),
    -6px 0 30px rgba(140,0,0,0.15),
    inset 0 0 60px rgba(80,0,0,0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Corner cross */
.phreak-card::before {
  content: '†';
  position: absolute;
  top: 0.8rem;
  right: 1.2rem;
  font-size: 1.8rem;
  color: #300000;
  pointer-events: none;
}

.phreak-card::after {
  content: '✦';
  position: absolute;
  bottom: 0.8rem;
  right: 1.2rem;
  font-size: 1rem;
  color: #300000;
  pointer-events: none;
}

.quote-mark {
  font-family: Georgia, serif;
  font-size: 7rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.12;
  position: absolute;
  top: 0.3rem;
  left: 1.2rem;
  pointer-events: none;
}

.phreak-card p {
  font-size: 1rem;
  color: #999;
  line-height: 1.95;
  position: relative;
  z-index: 1;
}

.phreak-card em {
  color: var(--accent);
  font-style: normal;
  font-weight: 600;
}

.phreak-card strong { color: var(--white); }

.closing-line {
  border-top: 1px solid #1f0000;
  padding-top: 1.3rem;
  margin-top: 0.5rem;
  font-size: 1.08rem !important;
  color: #bbb !important;
  text-align: center;
}

.closing-line strong {
  color: var(--accent) !important;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  text-shadow: 0 0 20px rgba(200,0,0,0.5);
}

/* ─── AGE GATE ─────────────────────────────────────── */
.age-gate {
  text-align: center;
  animation: fadeUp 0.8s ease 0.3s both;
}

.age-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  color: #550000;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
}

.age-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.age-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 0.35s, box-shadow 0.35s, background 0.35s;
  cursor: crosshair;
  position: relative;
}

/* Spinning outer ring */
.age-btn::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed #3a0000;
  animation: spin 14s linear infinite;
}

/* Inner glow ring */
.age-btn::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid rgba(200,0,0,0.08);
}

.btn-over {
  background: rgba(100,0,0,0.08);
  border: 2px solid var(--accent);
  color: var(--accent);
  box-shadow:
    0 0 25px rgba(180,0,0,0.2),
    inset 0 0 25px rgba(180,0,0,0.06);
}

.btn-over:hover {
  background: var(--accent);
  color: #000;
  transform: scale(1.08);
  box-shadow:
    0 0 60px rgba(200,0,0,0.6),
    0 0 120px rgba(200,0,0,0.2);
}

.btn-under {
  background: rgba(0,0,0,0.3);
  border: 2px solid #1e1e1e;
  color: var(--muted);
}

.btn-under:hover {
  border-color: var(--purple);
  color: #bf7fff;
  transform: scale(1.08);
  box-shadow:
    0 0 50px rgba(90,0,144,0.35),
    0 0 100px rgba(90,0,144,0.1);
}

.age-num {
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 1;
}

.age-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  margin-top: 0.4rem;
  opacity: 0.55;
  text-transform: uppercase;
}

.age-divider {
  font-size: 1.2rem;
  color: #330000;
}

.discord-note {
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #3a3a3a;
  letter-spacing: 0.06em;
}

.discord-note strong { color: var(--accent); }

/* ─── FOOTER ───────────────────────────────────────── */
footer {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid #1a0000;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #2a2a2a;
  letter-spacing: 0.1em;
}

/* ─── ANIMATIONS ───────────────────────────────────── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-25px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(35px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ─── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 600px) {
  .phreak-card { padding: 1.8rem 1.2rem; }
  .age-buttons { gap: 1.5rem; }
  .age-btn { width: 140px; height: 140px; }
}