/* ============================================
   CRAYBU — LAYOUT STYLES
   ============================================ */

/* ── HEADER ── */
.site-header {
  border-bottom: 1px solid var(--border-cyan);
  padding: 20px 0;
  position: sticky;
  top: 0;
  background: rgba(5,5,16,0.92);
  backdrop-filter: blur(8px);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-logo {
  font-family: var(--font-pixel);
  font-size: 14px;
  color: var(--neon-cyan);
  text-shadow: 0 0 10px var(--neon-cyan), 0 0 28px rgba(0,245,255,0.35);
  letter-spacing: 2px;
  text-decoration: none;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.site-nav ul li a {
  font-family: var(--font-vt);
  font-size: 20px;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 2px;
  transition: color 0.2s;
}

.site-nav ul li a:hover,
.site-nav ul li a.current {
  color: var(--neon-cyan);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--neon-cyan);
  transition: all 0.25s;
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--dark-surface);
    border-bottom: 1px solid var(--border-cyan);
    padding: 20px 24px;
  }
  .site-nav.nav-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 16px; }
}

/* ── HERO ── */
.hero {
  text-align: center;
  padding: 72px 0 56px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── CARDS GRID ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 56px;
}

.stage-card {
  text-decoration: none;
  color: inherit;
  display: block;
  text-align: center;
  padding: 32px 20px;
}

.stage-card:hover { color: inherit; }

.card-icon {
  font-size: 36px;
  display: block;
  margin-bottom: 14px;
}

.cyan-stage:hover  { border-color: var(--neon-cyan);    box-shadow: 0 0 28px rgba(0,245,255,0.12); }
.magenta-stage:hover{ border-color: var(--neon-magenta); box-shadow: 0 0 28px rgba(255,0,228,0.12); }
.green-stage { border-color: rgba(0,255,136,0.2); }
.green-stage:hover { border-color: var(--neon-green); box-shadow: 0 0 28px rgba(0,255,136,0.12); }
.yellow-stage { border-color: rgba(255,230,0,0.2); }
.yellow-stage:hover { border-color: var(--neon-yellow); box-shadow: 0 0 28px rgba(255,230,0,0.12); }

/* ── POSTS GRID ── */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 56px;
}

.post-card {
  text-decoration: none;
  color: inherit;
  display: block;
}
.post-card:hover { color: inherit; }
.post-thumb img { width: 100%; height: 160px; object-fit: cover; margin-bottom: 16px; }

/* ── VIDEO EMBED ── */
.video-embed iframe,
.video-embed video {
  width: 100%;
  border: 1px solid var(--border-cyan);
  display: block;
}
.video-placeholder {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--border-cyan);
  padding: 40px;
}

/* ── LINKTREE ── */
.linktree-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.linktree-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid;
  background: var(--dark-card);
  text-decoration: none;
  transition: all 0.2s;
  font-family: var(--font-pixel);
  font-size: 9px;
  letter-spacing: 1px;
}

.link-icon  { font-size: 20px; flex-shrink: 0; }
.link-label { flex: 1; text-align: left; }
.link-arrow { flex-shrink: 0; font-size: 12px; }

.cyan-link    { color: var(--neon-cyan);    border-color: var(--border-cyan); }
.cyan-link:hover { background: rgba(0,245,255,0.07); border-color: var(--neon-cyan); box-shadow: 0 0 20px rgba(0,245,255,0.15); color: var(--neon-cyan); }

.magenta-link { color: var(--neon-magenta); border-color: var(--border-mag); }
.magenta-link:hover { background: rgba(255,0,228,0.07); border-color: var(--neon-magenta); box-shadow: 0 0 20px rgba(255,0,228,0.15); color: var(--neon-magenta); }

.green-link   { color: var(--neon-green);   border-color: rgba(0,255,136,0.2); }
.green-link:hover { background: rgba(0,255,136,0.07); border-color: var(--neon-green); box-shadow: 0 0 20px rgba(0,255,136,0.15); color: var(--neon-green); }

.yellow-link  { color: var(--neon-yellow);  border-color: rgba(255,230,0,0.2); }
.yellow-link:hover { background: rgba(255,230,0,0.07); border-color: var(--neon-yellow); box-shadow: 0 0 20px rgba(255,230,0,0.15); color: var(--neon-yellow); }

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid var(--border-cyan);
  margin-top: 40px;
  padding: 48px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 16px;
}

.footer-links ul,
.footer-social ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links ul li a,
.footer-social ul li a {
  font-family: var(--font-vt);
  font-size: 19px;
  color: var(--text-muted);
  letter-spacing: 2px;
  transition: color 0.2s;
}
.footer-links ul li a:hover,
.footer-social ul li a:hover { color: var(--neon-cyan); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── ARC RAIDERS COMMENTS ── */
.arc-comments .comment { padding: 16px 0; border-bottom: 1px solid var(--border-cyan); }
.arc-comments .comment-author { font-family: var(--font-pixel); font-size: 8px; color: var(--neon-cyan); margin-bottom: 8px; }
.arc-comments .comment-content p { font-family: var(--font-vt); font-size: 20px; }
