/* HiddenPrints – homepage styles */
@import url('https://fonts.googleapis.com/css2?family=Karla:wght@300;400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

:root {
  --bg: #0a0a0a;
  --panel: #111111;
  --border: #2a2a2a;
  --accent: #e8132a;
  --accent2: #c0392b;
  --accent3: #ff4d4d;
  --text: #e0e0e0;
  --muted: #666666;
  --surface: #1a1a1a;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Karla', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

 
header {
  display: flex;
  align-items: center;
  padding: 0 28px;
  height: 52px;
  border-bottom: 1px solid var(--border);
  background: var(--panel);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-family: 'Karla', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--accent);
  letter-spacing: -0.5px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  white-space: nowrap;
}
.logo span { color: var(--accent); font-weight: 700; }

.header-nav {
  display: flex;
  gap: 4px;
}

.nav-link {
  font-size: 11px;
  font-family: 'Karla', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover { color: var(--text); background: var(--surface); }
.nav-link.active { color: var(--accent); }


.hero {
  padding: 72px 28px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(232,19,42,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  font-family: 'Karla', sans-serif;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero h1 {
  font-family: 'Karla', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.hero h1 em { color: var(--text); font-style: normal; }

.hero p {
  font-size: 15px;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-tags {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.tag {
  font-size: 10px;
  font-family: 'Karla', sans-serif;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 4px 10px;
  background: var(--surface);
}


.section-header {
  padding: 12px 28px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-label {
  font-family: 'Karla', sans-serif;
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.section-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.section-count {
  font-size: 10px;
  color: var(--muted);
  font-family: 'Karla', sans-serif;
}


.projects-grid {
  padding: 0 28px 60px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}


.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.card-preview {
  height: 180px;
  background: var(--surface);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}


.card-preview.nfc {
  background: linear-gradient(135deg, #0d0d0d 0%, #1a0a0e 100%);
}
.card-preview.spotify-key {
  background: linear-gradient(135deg, #0a0d0a 0%, #0a1a0e 100%);
}
.card-preview.spotify-frame {
  background: linear-gradient(135deg, #0a0a10 0%, #10091a 100%);
}
.card-preview.placeholder {
  background: linear-gradient(135deg, #0d0d0d 0%, #111 100%);
}
.card-preview.biz-card {
  background: linear-gradient(135deg, #080d10 0%, #0a1520 100%);
}
.card-preview.figure {
  background: linear-gradient(135deg, #100b08 0%, #1a0f08 100%);
}
.card-preview.gridfinity {
  background: linear-gradient(135deg, #080d0c 0%, #0a1714 100%);
}
.card-preview.certificate {
  background: linear-gradient(135deg, #0e0c08 0%, #19140a 100%);
}

.preview-icon {
  width: 100px !important;
  height: 100px !important;
  opacity: 0.6;
}

.card-preview-overlay {
  position: absolute;
  inset: 0;
  background: rgba(232,19,42,0.0);
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card:hover .card-preview-overlay {
  background: rgba(232,19,42,0.05);
}

.preview-open-btn {
  opacity: 0;
  background: var(--accent);
  color: #fff;
  font-family: 'Karla', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 4px;
  transition: opacity 0.2s;
  border: none;
  cursor: pointer;
}
.card:hover .preview-open-btn { opacity: 1; }

.card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 9px;
  font-family: 'Karla', sans-serif;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  border: 1px solid;
}
.badge-new { color: var(--accent); border-color: rgba(232,19,42,0.4); background: rgba(232,19,42,0.1); }
.badge-wip { color: #f0a500; border-color: rgba(240,165,0,0.4); background: rgba(240,165,0,0.08); }

.card-body {
  padding: 16px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-category {
  font-size: 9px;
  font-family: 'Karla', sans-serif;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}

.card-title {
  font-family: 'Karla', sans-serif;
  font-size: 23px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.card-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}

.card-footer {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.card-tag {
  font-size: 10px;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 2px 8px;
  background: var(--bg);
  font-family: 'Karla', sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
}


.card.placeholder-card {
  border-style: dashed;
  opacity: 0.45;
  pointer-events: none;
}


footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: var(--panel);
}

.footer-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 28px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.footer-logo {
  font-family: 'Karla', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--accent);
  letter-spacing: -0.5px;
}
.footer-logo span { color: var(--accent); font-weight: 700; }

.footer-tagline {
  font-size: 12px;
  color: var(--muted);
  margin-top: -18px;
  text-align: center;
  line-height: 1.6;
}

.footer-links-label {
  font-family: 'Karla', sans-serif;
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  text-align: center;
}

.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 5px;
  text-decoration: none;
  color: var(--text);
  font-family: 'Karla', sans-serif;
  font-size: 12px;
  font-weight: 600;
  transition: border-color 0.15s, color 0.15s, background 0.15s, transform 0.15s;
  white-space: nowrap;
}
.social-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(232,19,42,0.07);
  transform: translateY(-1px);
}

.social-btn svg {
  width: 15px; height: 15px;
  flex-shrink: 0;
}

.discord-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.discord-text {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}

.discord-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  border: 1px solid #5865f2;
  background: rgba(88,101,242,0.1);
  border-radius: 5px;
  color: #7289da;
  font-family: 'Karla', sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.15s, color 0.15s;
  white-space: nowrap;
}
.discord-btn:hover {
  background: rgba(88,101,242,0.2);
  color: #fff;
  transform: translateY(-1px);
}


.support-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.support-text {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}

.support-btn {
  display: inline-block;
  padding: 9px 22px;
  border: 1px solid #4a9eff;
  background: rgba(74,158,255,0.07);
  border-radius: 5px;
  color: #4a9eff;
  font-family: 'Karla', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, transform 0.15s, color 0.15s;
  white-space: nowrap;
}
.support-btn:hover {
  background: rgba(74,158,255,0.15);
  color: #fff;
  transform: translateY(-1px);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  width: 100%;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
}


.warning-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 28px;
  padding: 11px 18px;
  background: rgba(240,165,0,0.07);
  border: 1px solid rgba(240,165,0,0.3);
  border-radius: 5px;
  font-size: 12px;
  font-family: 'Karla', sans-serif;
  color: #c9922a;
}
.warning-banner strong { color: #f0a500; font-weight: 700; }

@media (max-width: 600px) {
  header { padding: 0 16px; }
  .logo {
    position: static;
    transform: none;
    margin-left: auto;
    font-size: 17px;
  }
  .warning-banner { margin: 0 16px; }
}


.accent-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0.3;
  margin: 0 28px 0;
}


.about-section {
  padding: 60px 28px 64px;
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
}

.about-section .section-header {
  padding: 0 0 28px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}

@media (max-width: 600px) {
  .about-grid { grid-template-columns: 1fr; }
}

.about-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-card-icon {
  width: 32px;
  height: 32px;
  color: var(--accent);
}

.about-card h3 {
  font-family: 'Karla', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.2px;
}

.about-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.about-intro {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 620px;
}

.about-intro em {
  color: var(--text);
  font-style: normal;
  font-weight: 600;
}

/* ---------- scrollbars (same as Printable Business Card) ---------- */
::-webkit-scrollbar{width:4px;height:4px}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{background:var(--border);border-radius:2px}
::-webkit-scrollbar-thumb:hover{background:var(--muted)}
/* Firefox has no ::-webkit-scrollbar, so it gets the closest match */
@supports not selector(::-webkit-scrollbar){*{scrollbar-width:thin;scrollbar-color:var(--border) transparent}}
