/* Geekdroid landing — scoped under .gd-landing to avoid bootstrap3 conflicts */

.gd-landing {
  --bg: #0a0a0f;
  --bg-soft: #12121a;
  --fg: #f5f5f2;
  --fg-dim: #9a9aa5;
  --line: #23232e;
  --accent: #f5a623;
  --accent-2: #e85d75;
  --accent-3: #6bd6b6;
  position: relative;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  margin: -70px 0 0 0; /* neutralize hollow's body padding if any */
  padding-top: 0;
  overflow-x: hidden;
}
.gd-landing * { box-sizing: border-box; }
.gd-landing a { color: inherit; text-decoration: none; transition: color .2s ease, opacity .2s ease; }
.gd-landing h1, .gd-landing h2, .gd-landing h3, .gd-landing p { margin: 0; font-weight: 400; color: var(--fg); }
.gd-landing b { font-weight: 700; color: var(--fg); }

/* NAV */
.gd-landing .gd-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(10, 10, 15, 0.92);
  border-bottom: 1px solid var(--line);
}
.gd-landing .gd-nav a { text-decoration: none; }
.gd-landing .gd-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; color: var(--fg); }
.gd-landing .gd-logo-text { color: var(--fg); }
.gd-landing .gd-logo-mark { color: var(--accent); font-size: 22px; transform: translateY(-1px); }
.gd-landing .gd-logo-accent { color: var(--accent); }
.gd-nav-links { display: flex; gap: 32px; font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--fg-dim); }
.gd-nav-links a:hover { color: var(--fg); }

/* HERO */
.gd-hero {
  position: relative;
  padding: 120px 48px 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.gd-hero-inner { position: relative; z-index: 2; max-width: 820px; }
.gd-hero-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.gd-hero-title {
  font-size: clamp(48px, 9vw, 120px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 56px;
  padding-bottom: 8px;
}
.gd-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.gd-hero-sub {
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--fg-dim);
  max-width: 620px;
  margin-bottom: 96px;
  line-height: 1.75;
}
.gd-hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; margin-bottom: 48px; }
.gd-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  border: 1px solid transparent;
  transition: all .2s ease;
}
.gd-landing a.gd-btn-primary { background: var(--fg); color: var(--bg); }
.gd-landing a.gd-btn-primary:hover { background: var(--accent); color: var(--bg); transform: translateY(-2px); }
.gd-landing a.gd-btn-ghost { border-color: var(--line); color: var(--fg); }
.gd-landing a.gd-btn-ghost:hover { border-color: var(--fg); color: var(--fg); transform: translateY(-2px); }
.gd-hero-meta {
  display: flex;
  gap: 40px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--fg-dim);
  flex-wrap: wrap;
}
.gd-hero-meta b { color: var(--accent); font-size: 22px; margin-right: 6px; font-weight: 500; }
.gd-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 30%, rgba(0,0,0,0.5) 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, rgba(0,0,0,0.5) 0%, transparent 70%);
  z-index: 1;
  opacity: 0.5;
  pointer-events: none;
}

/* SECTIONS */
.gd-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 48px;
  border-top: 1px solid var(--line);
}
.gd-section-head { margin-bottom: 64px; max-width: 720px; }
.gd-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.gd-section-title {
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.gd-section-desc { color: var(--fg-dim); font-size: 18px; }
.gd-section-foot { margin-top: 48px; }

/* APPS */
.gd-apps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.gd-app {
  display: block;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease;
}
.gd-app::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(600px at var(--mx, 50%) var(--my, 0%), rgba(245, 166, 35, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.gd-app:hover { transform: translateY(-4px); border-color: var(--accent); }
.gd-app:hover::after { opacity: 1; }
.gd-app-icon {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  position: relative;
}
.gd-app-cat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.gd-app h3 { font-size: 26px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.01em; }
.gd-app p { color: var(--fg-dim); font-size: 15px; line-height: 1.6; margin-bottom: 20px; }
.gd-app-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--accent);
}

/* NonoPets pixel pet icon */
.gd-app-nono .gd-app-icon { background: linear-gradient(135deg, #1a1a24, #2a2a38); }
.gd-pixel-pet {
  display: grid;
  grid-template-columns: repeat(4, 10px);
  grid-template-rows: repeat(4, 10px);
  gap: 2px;
}
.gd-pixel-pet span { background: var(--fg); image-rendering: pixelated; }
.gd-pixel-pet span:nth-child(1),
.gd-pixel-pet span:nth-child(4),
.gd-pixel-pet span:nth-child(13),
.gd-pixel-pet span:nth-child(16) { background: transparent; }
.gd-pixel-pet span:nth-child(6),
.gd-pixel-pet span:nth-child(7) { background: var(--accent); }

/* InkZen ink drop */
.gd-app-ink .gd-app-icon { background: linear-gradient(135deg, #f5f5f2, #e0ddd4); }
.gd-ink-drop {
  width: 48px;
  height: 48px;
  border-radius: 50% 50% 50% 0;
  background: radial-gradient(circle at 35% 35%, #3a3a44, #0a0a0f 70%);
  transform: rotate(-45deg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Clockist clock */
.gd-app-clock .gd-app-icon { background: linear-gradient(135deg, #232330, #12121a); }
.gd-clock {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  position: relative;
  background: var(--bg);
}
.gd-clock-hand {
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--fg);
  transform-origin: 0 0;
}
.gd-clock-hour { width: 2px; height: 14px; transform: rotate(45deg) translate(-1px, 0); }
.gd-clock-min { width: 2px; height: 20px; transform: rotate(120deg) translate(-1px, 0); background: var(--accent); }
.gd-clock::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
}

/* ABOUT */
.gd-about { max-width: 720px; }
.gd-about p { color: var(--fg-dim); font-size: 18px; line-height: 1.75; margin-bottom: 20px; }
.gd-about a { color: var(--accent); border-bottom: 1px solid currentColor; }
.gd-about a:hover { color: var(--fg); }

/* POSTS */
.gd-posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.gd-post {
  display: block;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-soft);
  transition: transform .3s ease, border-color .3s ease;
}
.gd-post:hover { transform: translateY(-4px); border-color: var(--accent); }
.gd-post-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.gd-post-title { font-size: 20px; font-weight: 700; line-height: 1.3; margin-bottom: 12px; letter-spacing: -0.01em; }
.gd-post-excerpt { color: var(--fg-dim); font-size: 14px; line-height: 1.6; margin-bottom: 18px; }
.gd-post-more { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--accent); }

/* FOOTER */
.gd-footer {
  border-top: 1px solid var(--line);
  padding: 80px 48px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.gd-footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 48px;
  margin-bottom: 64px;
}
.gd-footer-brand .gd-logo { margin-bottom: 16px; }
.gd-footer-brand p { color: var(--fg-dim); font-size: 15px; margin-bottom: 16px; max-width: 360px; }
.gd-mail {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--accent);
  border-bottom: 1px solid currentColor;
}
.gd-footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.gd-footer-col { display: flex; flex-direction: column; gap: 10px; }
.gd-footer-head {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.gd-footer-col a { font-size: 14px; color: var(--fg); }
.gd-footer-col a:hover { color: var(--accent); }
.gd-footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--fg-dim);
  flex-wrap: wrap;
  gap: 12px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .gd-nav { padding: 18px 24px; }
  .gd-nav-links { gap: 18px; font-size: 12px; }
  .gd-nav-links a:nth-child(3) { display: none; }
  .gd-hero { padding: 80px 24px 100px; }
  .gd-section { padding: 80px 24px; }
  .gd-footer { padding: 60px 24px 32px; }
  .gd-footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .gd-footer-cols { grid-template-columns: 1fr; gap: 28px; }
  .gd-hero-meta { gap: 24px; }
  .gd-footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ARCHIVE */
.gd-landing .gd-archive {
  max-width: 880px;
  margin: 0 auto;
  padding: 120px 48px 100px;
}
.gd-landing .gd-archive-head { margin-bottom: 64px; }
.gd-landing .gd-archive-title {
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 16px 0 16px;
}
.gd-landing .gd-archive-desc { color: var(--fg-dim); font-size: 18px; }
.gd-landing .gd-archive-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.gd-landing .gd-archive-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 32px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--fg);
  transition: padding .25s ease, background .25s ease;
  text-decoration: none;
}
.gd-landing .gd-archive-item:hover {
  padding-left: 20px;
  padding-right: 20px;
  background: var(--bg-soft);
}
.gd-landing .gd-archive-item:hover .gd-archive-arrow { color: var(--accent); transform: translateX(4px); }
.gd-landing .gd-archive-item:hover .gd-archive-item-title { color: var(--accent); }
.gd-landing .gd-archive-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--fg-dim);
  letter-spacing: 0.06em;
}
.gd-landing .gd-archive-item-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  transition: color .2s ease;
}
.gd-landing .gd-archive-excerpt {
  color: var(--fg-dim);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
.gd-landing .gd-archive-arrow {
  color: var(--fg-dim);
  font-size: 20px;
  transition: color .2s ease, transform .2s ease;
}
.gd-landing .gd-archive-pagination { margin-top: 48px; text-align: center; }
.gd-landing .gd-archive-pagination a,
.gd-landing .gd-archive-pagination span {
  display: inline-block;
  padding: 10px 18px;
  margin: 0 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--fg-dim);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  text-decoration: none;
}
.gd-landing .gd-archive-pagination a:hover { color: var(--accent); border-color: var(--accent); }
.gd-landing .gd-archive-pagination .current { color: var(--fg); border-color: var(--fg); }

@media (max-width: 640px) {
  .gd-landing .gd-archive { padding: 90px 24px 80px; }
  .gd-landing .gd-archive-item { grid-template-columns: 1fr auto; gap: 16px; padding: 24px 8px; }
  .gd-landing .gd-archive-item:hover { padding-left: 12px; padding-right: 12px; }
  .gd-landing .gd-archive-date { grid-column: 1 / -1; }
}

/* Reset possible bootstrap h1/h2 styles that leak in */
.gd-landing h1,
.gd-landing h2,
.gd-landing h3 { font-family: inherit; }

/* Force article-container/intro hollow defaults off within landing */
.gd-landing + .intro { display: none; }
