/* 323seize radioactive glitch theme */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;700&display=swap');
/* --- Fixes for wheel visibility/stacking --- */
/* 1) create stacking context so orbs layer above SVG, 2) ensure SVG fills box, 3) give min-height for section */


:root {
  --bg: #000000;
  --bg-alt: #111111;
  --accent: #fcee09; /* hazard yellow */
  --accent2: #ff4f4f; /* glitch red */
  --text: #f5f5f5;
  --muted: #888;
  --radius: 12px;
  font-family: 'Rajdhani', sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  min-height: 100%;
  line-height: 1.3;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 28px;
}


header {
  position: relative; /* create a positioning context */
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0px;
}

.logo {
  position: absolute;
  top: -15px;          /* moves it above the header */
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: url('assets/323pfp.jpg') center/cover no-repeat;
  box-shadow: 0 0 20px var(--accent);
}


nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 28px;
  font-weight: bold;
  position: relative;
  font-size: 1.1rem;
}
nav a:hover {
  color: var(--accent);
}

/* --- Radioactive Nav Wheel --- */
.nav-wheel { display:grid; place-items:center; margin: 20px 0 40px; min-height: 360px; }
.wheel { position: relative; width: 320px; height: 320px; --spin: 20s; animation: spin var(--spin) linear infinite; isolation: isolate; }
.wheel.paused { animation-play-state: paused; }

@keyframes spin { from{ transform: rotate(0deg);} to{ transform: rotate(360deg);} }

.trefoil { position:absolute; inset:0; width:100%; height:100%; filter: drop-shadow(0 0 10px rgba(252,238,9,0.5)); z-index: 1; }

.orb { position:absolute; width: 88px; height: 88px; border-radius: 50%; display:flex; align-items:center; justify-content:center; text-decoration:none; color:#000; background: var(--accent); font-weight: 800; letter-spacing: .5px; box-shadow: 0 0 12px var(--accent); z-index: 2; }
.orb span { pointer-events:none; }

/* place orbs on a ring */
.orb-1 { left:50%; top:0; transform: translate(-50%, -16px); }
.orb-2 { right:0; top:50%; transform: translate(16px, -50%); }
.orb-3 { left:50%; bottom:0; transform: translate(-50%, 16px); }
.orb-4 { left:0; top:50%; transform: translate(-16px, -50%); }

.wheel-hint { color: var(--muted); font-size: .9rem; margin-top: 10px; }

/* Hover effects */
.orb:hover { background: var(--accent2); box-shadow: 0 0 14px var(--accent2); }

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  .wheel { animation: none; }
}

/* Responsive tweaks */
@media (max-width: 720px) {
  .wheel { width: 260px; height: 260px; }
  .orb { width: 72px; height: 72px; font-size: .95rem; }
}

.hero {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  margin-top: 50px;
}

.card {
  background: var(--bg-alt);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
  margin-bottom: 36px;
}
.card::before {
  content: "";
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: repeating-linear-gradient(90deg, var(--accent2), var(--accent2) 2px, transparent 2px, transparent 6px);
  opacity: 0.08;
  z-index: 0;
  animation: glitchmove 2s infinite linear;
}

@keyframes glitchmove {
  from { transform: translateX(0); }
  to { transform: translateX(-20px); }
}

h1 {
    margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: 1px;
  text-align: center;
  font-size: 290px;
}


h2, h3, h4 {
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: 1px;
}

.lead {
  color: var(--muted);
  font-size: 30px;
  margin-bottom: 24px;
}

.btn {
  background: var(--accent);
  color: #000;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 12px var(--accent);
  margin-right: 12px;
}
.btn:hover {
  background: var(--accent2);
  box-shadow: 0 0 12px var(--accent2);
}

.ghost {
  background: transparent;
  border: 1px solid var(--muted);
  color: var(--muted);
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
}
.ghost:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.cover {
  height: 220px;
  background: linear-gradient(135deg, #111, #333);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: bold;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}
.cover::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,0.05) 0, rgba(255,255,255,0.05) 2px, transparent 2px, transparent 4px);
  animation: flicker 1s steps(2) infinite;
}

@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: 0; }
}

.release .thumb {
  width: 70px;
  height: 70px;
  border-radius: 6px;
  background: var(--accent);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 16px;
}

/* TEMP: debug outline (remove after verifying) */
/* .wheel { outline:1px dashed rgba(255,255,255,.25); } */

footer {
  margin-top: 50px;
  color: var(--muted);
  text-align: center;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* glitch hover effect for links */
nav a::after {
  content: attr(href);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  color: var(--accent2);
  clip: rect(0,0,0,0);
  animation: none;
}
nav a:hover::after {
  clip: auto;
  animation: glitch 0.3s steps(2,end) infinite;
}

@keyframes glitch {
  0% { clip: rect(0, 900px, 0, 0); }
  50% { clip: rect(0, 900px, 9999px, 0); transform: skew(0.3deg); }
  100% { clip: rect(0, 900px, 0, 0); }
}

.carousel {
  position: relative;
  overflow: hidden;
  max-width: 600px;
  margin: 0 auto 40px;
  border-radius: 12px;
  border: 1px solid #333;
  background: var(--bg-alt, #111);
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.slide {
  min-width: 100%;
  padding: 24px;
  box-sizing: border-box;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: var(--text, #f5f5f5);
  font-size: 2rem;
  line-height: 1;
  padding: 4px 10px;
  cursor: pointer;
  border-radius: 50%;
}
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px;
}
.carousel-dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: #666;
  cursor: pointer;
}
.carousel-dots button.active { background: var(--accent, #fcee09); }

