/* ═══════════════════════════════════════════════════════
   REY2SLAY — Dark Cinematic Theme
   Matches class names from index.html
   ═══════════════════════════════════════════════════════ */
:root {
  --bg: #07070c;
  --surface: #0e0e18;
  --surface-2: #151525;
  --border: rgba(255,255,255,.06);
  --text: #e8e8ef;
  --text-muted: #8888a0;
  --accent: #e8c547;
  --accent-glow: rgba(232,197,71,.25);
  --red: #ff4466;
  --green: #44ff88;
  --blue: #4488ff;
  --purple: #aa66ff;
  --radius: 14px;
  --radius-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
[x-cloak] { display: none !important; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 900px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Ambient Orbs ── */
.ambient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: .35;
}
.orb-1 { width: 500px; height: 500px; top: -100px; right: -100px; background: var(--accent); }
.orb-2 { width: 400px; height: 400px; bottom: -80px; left: -80px; background: var(--purple); }

/* ══════════════════════════════════════════
   NAV
   ══════════════════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7,7,12,.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: .75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-logo {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--text);
  text-decoration: none;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex;
  gap: .25rem;
  margin-left: auto;
}
.nav-link {
  padding: .45rem 1rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 50px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: .8rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all .25s;
  font-family: inherit;
}
.nav-link:hover { color: var(--text); border-color: var(--border); }
.nav-link.active {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  overflow: hidden;
}
.hero-grain, .hero-vignette, .hero-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-grain {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
  background-size: 256px;
}
.hero-vignette { background: radial-gradient(ellipse at center, transparent 30%, var(--bg) 100%); }
.hero-glow { background: radial-gradient(ellipse at center top, var(--accent-glow) 0%, transparent 60%); }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero-badge {
  display: inline-block;
  padding: .35rem 1rem;
  background: rgba(232,197,71,.1);
  border: 1px solid rgba(232,197,71,.2);
  border-radius: 50px;
  color: var(--accent);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: .5rem;
}
.hero-title span { color: var(--accent); }
.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--text);
  font-weight: 600;
  margin-bottom: .5rem;
}
.hero-sub {
  font-size: .95rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: var(--text-muted);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .15em;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: .3; }
  50% { opacity: 1; }
}

/* ══════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  transition: all .3s;
  font-family: inherit;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #000;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.btn-primary:hover { transform: scale(1.05); box-shadow: 0 0 30px var(--accent-glow); }
.btn-primary:disabled { opacity: .3; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-hero { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--text-muted); color: var(--text); }
.btn-sm { padding: .4rem 1rem; font-size: .8rem; }

/* ══════════════════════════════════════════
   WIZARD
   ══════════════════════════════════════════ */
.wizard-section {
  position: relative;
  z-index: 2;
  padding: 2rem 0 4rem;
}
.wiz-progress {
  max-width: 500px;
  margin: 0 auto 2rem;
  height: 4px;
  background: var(--surface-2);
  border-radius: 4px;
  overflow: hidden;
}
.wiz-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 4px;
  transition: width .4s ease;
}
.wiz-card {
  max-width: 550px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
}
.wiz-icon { font-size: 2.5rem; margin-bottom: .75rem; }
.wiz-card h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: .4rem; }
.wiz-hint { color: var(--text-muted); font-size: .9rem; margin-bottom: 1.5rem; }

.wiz-opts {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.wiz-opt {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1.25rem;
  background: var(--surface-2);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: left;
  transition: all .25s;
  font-size: .9rem;
  color: var(--text);
  font-family: inherit;
}
.wiz-opt:hover { border-color: rgba(255,255,255,.15); background: var(--surface); }
.wiz-opt.active {
  border-color: var(--accent);
  background: rgba(232,197,71,.08);
}
.wiz-oe { font-size: 1.25rem; flex-shrink: 0; }

.wiz-name-field {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.wiz-input {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--surface-2);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 1.1rem;
  font-family: inherit;
  outline: none;
  transition: border-color .3s;
  text-align: center;
}
.wiz-input:focus { border-color: var(--accent); }
.wiz-input::placeholder { color: var(--text-muted); }

.wiz-signup-fields {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.wiz-auth-error {
  color: #ff6b6b;
  font-size: .8rem;
  text-align: center;
  margin: 0;
}
.wiz-skip-link {
  text-align: center;
  margin-top: .25rem;
}
.btn-text {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: .78rem;
  cursor: pointer;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}
.btn-text:hover { color: var(--text); }

/* ══════════════════════════════════════════
   PROFILE BANNER
   ══════════════════════════════════════════ */
.profile-banner {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
  margin-bottom: 1.5rem;
}
.profile-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.profile-name {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: .5rem;
}
.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.ptag {
  display: inline-block;
  padding: .2rem .65rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text-muted);
  font-size: .78rem;
}
.profile-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.pstat { text-align: center; }
.pstat-val {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}
.pstat-lbl {
  font-size: .7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ══════════════════════════════════════════
   CONTENT SECTIONS
   ══════════════════════════════════════════ */
.content-section {
  position: relative;
  z-index: 2;
  padding: 2rem 0 4rem;
}
.sec-head {
  margin-bottom: 2rem;
}
.sec-head h3 {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: .02em;
  margin-bottom: .3rem;
}
.sec-head p {
  color: var(--text-muted);
  font-size: .9rem;
}

/* ══════════════════════════════════════════
   ROADMAP
   ══════════════════════════════════════════ */
.roadmap {
  position: relative;
}
.rm-phase {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}
.rm-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 40px;
}
.rm-num {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 2px solid var(--border);
  border-radius: 50%;
  font-size: .8rem;
  font-weight: 800;
  color: var(--text-muted);
  flex-shrink: 0;
}
.rm-active .rm-num {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}
.rm-line {
  width: 2px;
  flex: 1;
  background: var(--border);
  margin-top: .5rem;
}
.rm-body {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color .3s;
}
.rm-body:hover { border-color: rgba(255,255,255,.1); }
.rm-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
  flex-wrap: wrap;
}
.rm-icon { font-size: 1.5rem; }
.rm-header h4 {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .03em;
}
.rm-duration {
  margin-left: auto;
  font-size: .75rem;
  color: var(--text-muted);
  padding: .2rem .6rem;
  background: var(--surface-2);
  border-radius: 50px;
}
.rm-desc {
  color: var(--text-muted);
  font-size: .88rem;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}
.rm-tasks {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.rm-task {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  padding: .4rem 0;
  font-size: .88rem;
  line-height: 1.5;
}
.rm-task-icon { flex-shrink: 0; font-size: .85rem; margin-top: 1px; }
.rm-task-done { text-decoration: line-through; opacity: .4; }

.rm-resources {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
}
.rm-resource {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .3rem .7rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: .78rem;
  color: var(--accent);
  text-decoration: none;
  transition: border-color .25s;
}
.rm-resource:hover { border-color: var(--accent); }

/* ══════════════════════════════════════════
   WEEKLY PLAN
   ══════════════════════════════════════════ */
.week-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  gap: .75rem;
}
.week-label {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text-muted);
}

.week-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.week-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.week-header h4 {
  font-size: 1.15rem;
  font-weight: 800;
}
.week-focus {
  padding: .25rem .7rem;
  background: rgba(232,197,71,.1);
  border: 1px solid rgba(232,197,71,.2);
  border-radius: 50px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 700;
}
.week-tasks {
  display: flex;
  flex-direction: column;
}

/* Task Item (checkbox label) */
.task-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: opacity .25s;
}
.task-item:last-child { border-bottom: none; }
.task-item.task-done { opacity: .4; }

.task-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.task-check {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border);
  border-radius: 6px;
  flex-shrink: 0;
  position: relative;
  margin-top: 2px;
  transition: all .25s;
}
.task-item input:checked ~ .task-check {
  background: var(--green);
  border-color: var(--green);
}
.task-item input:checked ~ .task-check::after {
  content: '✓';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: .7rem;
  color: #000;
  font-weight: 900;
}
.task-body { flex: 1; }
.task-text {
  font-size: .92rem;
  display: block;
  line-height: 1.5;
}
.task-done .task-text { text-decoration: line-through; }
.task-meta {
  font-size: .75rem;
  color: var(--text-muted);
  margin-top: .2rem;
}

.week-tip {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: rgba(232,197,71,.06);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.7;
  display: flex;
  gap: .5rem;
}
.tip-icon { flex-shrink: 0; }

/* ══════════════════════════════════════════
   EVENTS
   ══════════════════════════════════════════ */
.events-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1.5rem;
}
.filter-btn {
  padding: .5rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text-muted);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s;
  font-family: inherit;
}
.filter-btn:hover { border-color: var(--text-muted); color: var(--text); }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: #000; }

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.event-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color .3s;
  display: flex;
  flex-direction: column;
}
.event-card:hover { border-color: rgba(255,255,255,.1); }
.ev-type-badge {
  display: inline-block;
  padding: .2rem .65rem;
  font-size: .7rem;
  font-weight: 700;
  border-radius: 50px;
  margin-bottom: .75rem;
  width: fit-content;
}
.ev-casting .ev-type-badge { background: rgba(68,136,255,.15); color: var(--blue); }
.ev-class .ev-type-badge { background: rgba(170,102,255,.15); color: var(--purple); }
.ev-network .ev-type-badge { background: rgba(68,255,136,.15); color: var(--green); }
.ev-festival .ev-type-badge { background: rgba(232,197,71,.15); color: var(--accent); }

.event-card h4 { font-size: 1rem; margin-bottom: .4rem; font-weight: 700; }
.ev-desc { font-size: .85rem; color: var(--text-muted); margin-bottom: 1rem; line-height: 1.6; flex: 1; }
.ev-details {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  font-size: .75rem;
  color: var(--text-muted);
  margin-bottom: .75rem;
}
.ev-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .35rem .75rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--accent);
  text-decoration: none;
  font-size: .8rem;
  font-weight: 600;
  transition: border-color .25s;
  width: fit-content;
}
.ev-link:hover { border-color: var(--accent); }

/* ══════════════════════════════════════════
   RESOURCES
   ══════════════════════════════════════════ */
.res-grid {
  display: grid;
  gap: 2rem;
}
.res-category {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.res-cat-head {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}
.res-cat-head h4 {
  font-size: 1rem;
  font-weight: 800;
}
.res-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: .6rem;
}
.res-item {
  display: block;
  padding: .85rem 1rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all .25s;
}
.res-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.res-name {
  font-weight: 700;
  color: var(--text);
  font-size: .88rem;
  display: block;
  margin-bottom: .15rem;
}
.res-desc {
  font-size: .78rem;
  color: var(--text-muted);
  display: block;
}

/* ══════════════════════════════════════════
   AUTH
   ══════════════════════════════════════════ */
.nav-account { margin-left: auto; flex-shrink: 0; }
.account-pill {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .3rem .4rem .3rem .8rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 50px;
}
.account-email {
  font-size: .75rem;
  color: var(--text-muted);
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.btn-logout {
  padding: .25rem .6rem;
  background: transparent;
  border: 1px solid rgba(255,68,102,.2);
  border-radius: 50px;
  color: var(--red);
  font-size: .7rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all .25s;
}
.btn-logout:hover { background: rgba(255,68,102,.08); border-color: var(--red); }

.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.auth-card {
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
}
.auth-close {
  position: absolute;
  top: .75rem; right: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}
.auth-close:hover { color: var(--text); }
.auth-tabs {
  display: flex;
  gap: .25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: .75rem;
}
.auth-tabs button {
  flex: 1;
  padding: .5rem;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  font-family: inherit;
  transition: all .25s;
}
.auth-tabs button.active {
  background: var(--accent);
  color: #000;
}
.auth-input {
  width: 100%;
  padding: .85rem 1rem;
  background: var(--surface-2);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: .95rem;
  font-family: inherit;
  outline: none;
  transition: border-color .3s;
  margin-bottom: .75rem;
}
.auth-input:focus { border-color: var(--accent); }
.auth-input::placeholder { color: var(--text-muted); }
.auth-submit {
  width: 100%;
  margin-top: .25rem;
}
.auth-error {
  margin-top: .75rem;
  padding: .6rem .8rem;
  background: rgba(255,68,102,.08);
  border: 1px solid rgba(255,68,102,.2);
  border-radius: var(--radius-sm);
  color: var(--red);
  font-size: .82rem;
  text-align: center;
}
.auth-hint {
  margin-top: .75rem;
  font-size: .75rem;
  color: var(--text-muted);
  text-align: center;
}

/* ══════════════════════════════════════════
   GUIDES — "How to do this"
   ══════════════════════════════════════════ */
.rm-task-body { flex: 1; }

.guide-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .68rem;
  font-weight: 700;
  color: var(--green);
  padding: 3px 8px;
  margin-top: 6px;
  border-radius: 4px;
  background: rgba(68,255,136,.06);
  border: 1px solid rgba(68,255,136,.15);
  cursor: pointer;
  transition: all .2s;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-family: inherit;
}
.guide-toggle:hover {
  background: rgba(68,255,136,.12);
  border-color: rgba(68,255,136,.3);
}
.guide-toggle svg {
  transition: transform .25s;
}
.guide-open .guide-toggle svg {
  transform: rotate(180deg);
}
.guide-open .guide-toggle {
  background: rgba(68,255,136,.12);
  border-color: var(--green);
}

.guide-body {
  margin-top: 10px;
  padding: 14px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--green);
}
.guide-title {
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--green);
  margin-bottom: 12px;
}
.guide-step {
  display: flex;
  gap: 10px;
  padding: 6px 0;
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.guide-step + .guide-step {
  border-top: 1px solid var(--border);
}
.guide-num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(68,255,136,.1);
  color: var(--green);
  font-size: .65rem;
  font-weight: 700;
  margin-top: 2px;
}
.guide-text { flex: 1; }
.guide-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--green);
  font-weight: 700;
  font-size: .72rem;
  padding: 2px 6px;
  margin-left: 4px;
  border-radius: 4px;
  background: rgba(68,255,136,.06);
  border: 1px solid rgba(68,255,136,.12);
  transition: all .2s;
  text-decoration: none;
  white-space: nowrap;
}
.guide-link:hover {
  background: rgba(68,255,136,.15);
  border-color: var(--green);
}

.guide-wrapper {
  padding-left: 2.15rem;
  padding-bottom: .5rem;
}
.task-row {
  border-bottom: 1px solid var(--border);
}
.task-row:last-child { border-bottom: none; }
.task-row .task-item { border-bottom: none; }

/* ══════════════════════════════════════════
   INTEL
   ══════════════════════════════════════════ */
.feed-meta {
  margin-top: .5rem;
}
.feed-updated {
  font-size: .72rem;
  color: var(--text-muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 100px;
}
.refresh-btn {
  font-size: .7rem;
  font-weight: 700;
  color: var(--green);
  background: rgba(68,255,136,.06);
  border: 1px solid rgba(68,255,136,.15);
  padding: 4px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.refresh-btn:hover { background: rgba(68,255,136,.12); border-color: var(--green); }
.refresh-btn:disabled { opacity: .5; cursor: default; }

/* Video Grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.video-card {
  display: block;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  text-decoration: none;
  transition: all .2s;
}
.video-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.video-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.video-info {
  padding: 10px 12px;
}
.video-info h5 {
  font-size: .82rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-channel {
  font-size: .7rem;
  color: var(--accent);
  font-weight: 600;
  margin-right: 8px;
}
.video-date {
  font-size: .65rem;
  color: var(--text-muted);
}

.intel-block {
  margin-bottom: 2.5rem;
}
.intel-block h4 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.intel-block-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.intel-block-head h4 { margin-bottom: 0; }
.intel-sub-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin-left: auto;
}
.intel-loading, .intel-empty {
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: .9rem;
}
.intel-loading { animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: .4; } 50% { opacity: 1; } }

/* Reddit Cards */
.reddit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: .75rem;
}
.reddit-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: all .25s;
}
.reddit-card:hover {
  border-color: rgba(255,255,255,.12);
  transform: translateY(-2px);
}
.reddit-meta {
  display: flex;
  gap: .6rem;
  font-size: .72rem;
  color: var(--text-muted);
  margin-bottom: .5rem;
  flex-wrap: wrap;
}
.reddit-sub {
  color: var(--blue);
  font-weight: 700;
}
.reddit-score { color: var(--accent); }
.reddit-card h5 {
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: .4rem;
}
.reddit-preview {
  font-size: .78rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: .5rem;
  max-height: 3.5em;
  overflow: hidden;
}
.reddit-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  font-size: .7rem;
  color: var(--text-muted);
  opacity: .6;
}

/* Intel Cards (YouTube, Podcasts, Forums) */
.intel-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: .6rem;
}
.intel-card {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: 1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all .25s;
}
.intel-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.intel-card-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.intel-card-name {
  display: block;
  font-weight: 700;
  color: var(--text);
  font-size: .88rem;
  margin-bottom: .15rem;
}
.intel-card-desc {
  display: block;
  font-size: .78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.site-footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 2rem 2rem;
  color: var(--text-muted);
  font-size: .85rem;
  border-top: 1px solid var(--border);
  max-width: 900px;
  margin: 0 auto;
}
.foot-sm { font-size: .7rem; margin-top: .5rem; opacity: .5; }

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 640px) {
  .hero-title { font-size: 3rem; }
  .nav-inner { padding: .6rem 1rem; flex-wrap: wrap; }
  .nav-link { font-size: .7rem; padding: .35rem .7rem; }
  .nav-account { width: 100%; order: -1; margin-bottom: .25rem; margin-left: 0; }
  .account-email { max-width: 100px; }
  .profile-top { flex-direction: column; }
  .profile-stats { gap: 1rem; }
  .wiz-card { margin: 0 1rem; padding: 1.5rem; }
  .rm-phase { gap: .75rem; }
  .rm-body { padding: 1.25rem; }
  .rm-marker { width: 30px; }
  .rm-num { width: 28px; height: 28px; font-size: .7rem; }
  .week-card { padding: 1.25rem; }
  .events-grid { grid-template-columns: 1fr; }
  .res-list { grid-template-columns: 1fr; }
  .reddit-grid { grid-template-columns: 1fr; }
  .intel-cards { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 1.5rem; }
}
