/* DennaProdz — Black & White Editorial Design */

/* ===========================
   BASE
   =========================== */
*, *::before, *::after { box-sizing: border-box; }

body {
  background-color: #000;
  color: #fff;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===========================
   SCROLLBAR
   =========================== */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.35); }

/* ===========================
   TYPOGRAPHY
   =========================== */
.font-display { font-family: 'Space Grotesk', sans-serif; }
.font-mono    { font-family: 'JetBrains Mono', monospace; }

/* ===========================
   GLASS — Monochrome
   =========================== */
.glass {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
}
.glass-card {
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
}
.glass-card:hover { border-color: rgba(255,255,255,0.18); }

/* ===========================
   NAVIGATION
   =========================== */
.nav-glass {
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-link {
  color: rgba(255,255,255,0.38);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px; background: #fff;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-link:hover        { color: #fff; }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active       { color: #fff; }
.nav-link.active::after{ transform: scaleX(1); }

/* ===========================
   BACKGROUNDS
   =========================== */
.bg-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
}
.bg-dots {
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* Legacy glow classes → neutral */
.glow-cyan   { box-shadow: 0 0 30px rgba(255,255,255,0.05); }
.glow-purple { box-shadow: 0 0 30px rgba(255,255,255,0.05); }
.text-glow-cyan   { text-shadow: none; }
.text-glow-purple { text-shadow: none; }

/* ===========================
   BUTTONS
   =========================== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 30px;
  background: #fff; color: #000;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: 3px;
  transition: all 0.25s ease;
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255,255,255,0.15); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 30px;
  background: transparent; color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 3px;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-ghost:hover { background: #fff; color: #000; border-color: #fff; transform: translateY(-2px); }

.btn-purple {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px;
  background: #fff; color: #000;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 3px; transition: all 0.25s ease;
}
.btn-purple:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,255,255,0.1); }

.btn-sm { padding: 8px 18px !important; font-size: 10px !important; }

/* ===========================
   BADGES — Monochrome only
   =========================== */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 2px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.badge-active    { background: rgba(255,255,255,0.08); color: #fff;                      border: 1px solid rgba(255,255,255,0.18); }
.badge-wip       { background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.55);    border: 1px solid rgba(255,255,255,0.1); }
.badge-planned   { background: transparent;             color: rgba(255,255,255,0.28);   border: 1px solid rgba(255,255,255,0.08); }
.badge-completed { background: #fff;                    color: #000;                      border: 1px solid #fff; }
.badge-archived  { background: transparent;             color: rgba(255,255,255,0.15);   border: 1px solid rgba(255,255,255,0.06); }
.badge-game      { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.6);     border: 1px solid rgba(255,255,255,0.1); }
.badge-ai        { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.6);     border: 1px solid rgba(255,255,255,0.1); }
.badge-software  { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.6);     border: 1px solid rgba(255,255,255,0.1); }
.badge-web       { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.6);     border: 1px solid rgba(255,255,255,0.1); }
.badge-live      { background: #fff; color: #000; border: 1px solid #fff; animation: pulse-blink 1.4s ease-in-out infinite; }
.badge-tutorial  { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.6);     border: 1px solid rgba(255,255,255,0.1); }
.badge-showcase  { background: rgba(255,255,255,0.08); color: #fff;                      border: 1px solid rgba(255,255,255,0.15); }
.badge-devlog-tag{ background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.45);    border: 1px solid rgba(255,255,255,0.08); }

/* Status dots */
.dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.dot-live      { background: #fff; animation: pulse 1.2s ease-in-out infinite; }
.dot-active    { background: #fff; }
.dot-wip       { background: rgba(255,255,255,0.45); }
.dot-planned   { background: rgba(255,255,255,0.18); }
.dot-completed { background: #fff; }

/* Tags */
.tag {
  display: inline-block; padding: 2px 9px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: rgba(255,255,255,0.3);
  transition: all 0.2s ease;
}
.tag:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.7); cursor: pointer; }

/* ===========================
   CARDS
   =========================== */
.card { border-radius: 6px; overflow: hidden; transition: all 0.3s cubic-bezier(0.16,1,0.3,1); }
.card:hover { transform: translateY(-5px); }
.project-card:hover { border-color: rgba(255,255,255,0.2) !important; box-shadow: 0 30px 70px rgba(0,0,0,0.9); }
.video-card:hover   { border-color: rgba(255,255,255,0.2) !important; box-shadow: 0 30px 70px rgba(0,0,0,0.9); }
.post-card:hover    { border-color: rgba(255,255,255,0.2) !important; }

.img-placeholder {
  background: rgba(255,255,255,0.02);
  display: flex; align-items: center; justify-content: center;
}

/* ===========================
   PROGRESS BARS
   =========================== */
.progress-bar { height: 1px; border-radius: 1px; background: rgba(255,255,255,0.07); overflow: hidden; }
.progress-fill {
  height: 100%; border-radius: 1px;
  background: #fff;
  width: 0; transition: width 1.2s cubic-bezier(0.16,1,0.3,1);
}

/* ===========================
   SECTION LABEL
   =========================== */
.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(255,255,255,0.28);
}

/* ===========================
   DIVIDER
   =========================== */
.cyber-divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
}

/* ===========================
   FORM INPUTS
   =========================== */
.input-cyber {
  width: 100%; padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px; color: #fff; font-size: 14px;
  transition: all 0.2s ease; outline: none;
}
.input-cyber:focus {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.04);
}
.input-cyber::placeholder { color: rgba(255,255,255,0.18); }
select.input-cyber option { background: #111; color: #fff; }
textarea.input-cyber { resize: vertical; min-height: 120px; }

/* ===========================
   TERMINAL
   =========================== */
.terminal {
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace; font-size: 13px;
}
.terminal-header {
  padding: 10px 14px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; gap: 6px;
}
.terminal-dot { width: 10px; height: 10px; border-radius: 50%; }

/* ===========================
   STREAM EMBED
   =========================== */
.stream-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 6px; }
.stream-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* ===========================
   ADMIN
   =========================== */
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.22); padding: 12px 16px; text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.admin-table td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 13px; color: rgba(255,255,255,0.45); vertical-align: middle;
}
.admin-table tr:hover td { background: rgba(255,255,255,0.02); }

.admin-sidebar-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 3px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  transition: all 0.2s ease; cursor: pointer;
}
.admin-sidebar-link:hover { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.7); }
.admin-sidebar-link.active { background: rgba(255,255,255,0.07); color: #fff; }
.admin-sidebar-link svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ===========================
   ROADMAP
   =========================== */
.roadmap-item { position: relative; padding-left: 28px; }
.roadmap-item::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 50%;
  background: transparent; border: 1px solid rgba(255,255,255,0.15);
}
.roadmap-item.completed::before { background: #fff; border-color: #fff; }
.roadmap-item.active::before    { background: #fff; border-color: #fff; box-shadow: 0 0 12px rgba(255,255,255,0.3); animation: pulse 1.5s ease-in-out infinite; }
.roadmap-item:not(:last-child)::after {
  content: '';
  position: absolute; left: 3px; top: 18px;
  width: 1px; height: calc(100% + 8px);
  background: rgba(255,255,255,0.06);
}

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes float       { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
@keyframes pulse       { 0%,100%{opacity:0.4} 50%{opacity:1} }
@keyframes pulse-blink { 0%,100%{opacity:0.7} 50%{opacity:1} }
@keyframes slide-up    { from{opacity:0;transform:translateY(40px)} to{opacity:1;transform:translateY(0)} }
@keyframes fade-in     { from{opacity:0} to{opacity:1} }
@keyframes spin-slow   { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
@keyframes marquee     { from{transform:translateX(0)} to{transform:translateX(-50%)} }

.animate-float      { animation: float 6s ease-in-out infinite; }
.animate-pulse-slow { animation: pulse 3s ease-in-out infinite; }
.animate-slide-up   { animation: slide-up 0.7s cubic-bezier(0.16,1,0.3,1) forwards; }
.animate-fade-in    { animation: fade-in 0.5s ease forwards; }
.animate-spin-slow  { animation: spin-slow 10s linear infinite; }

/* Scroll-reveal */
[data-reveal] {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.85s cubic-bezier(0.16,1,0.3,1), transform 0.85s cubic-bezier(0.16,1,0.3,1);
}
[data-reveal="left"]  { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal="scale"] { transform: scale(0.94); }
[data-reveal].revealed { opacity: 1; transform: translateY(0) translateX(0) scale(1); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ===========================
   TOAST
   =========================== */
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  padding: 12px 20px; border-radius: 3px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  animation: slide-up 0.3s cubic-bezier(0.16,1,0.3,1);
  transition: opacity 0.3s ease, transform 0.3s ease;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); color: #fff;
}

/* ===========================
   HERO CANVAS
   =========================== */
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }

/* ===========================
   HERO TYPOGRAPHY
   =========================== */
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 900;
  font-size: clamp(4.5rem, 14vw, 11rem);
  letter-spacing: -0.04em;
  line-height: 0.88;
  color: #fff;
}

.hero-title .dim {
  color: rgba(255,255,255,0.12);
}

/* Big section headings */
.section-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: #fff;
}

/* Number labels */
.number-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.1em;
}

/* ===========================
   SECTION SEPARATOR LINE
   =========================== */
.line-separator {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.07);
}

/* ===========================
   MARQUEE (scrolling text)
   =========================== */
.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee 18s linear infinite;
  width: max-content;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
  .btn-primary, .btn-ghost { padding: 10px 20px; font-size: 10px; }
  .hero-title { font-size: clamp(3rem, 18vw, 6rem); }
  .section-heading { font-size: clamp(2rem, 10vw, 3.5rem); }
}
