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

:root {
  --bg:        #060d0f;
  --surface:   #0a1512;
  --surface2:  #0e1a17;
  --border:    rgba(255,255,255,0.06);
  --accent:    #00e5a0;
  --accent2:   #00b8d9;
  --dim:       rgba(0,229,160,0.08);
  --text:      #e2e8f0;
  --muted:     #5a7a72;
  --mono:      'Share Tech Mono', monospace;
  --display:   'Rajdhani', sans-serif;
  --body:      'Space Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 13px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Scanline overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.03) 2px,
    rgba(0,0,0,0.03) 4px
  );
  pointer-events: none;
  z-index: 1000;
}

/* ── Noise texture ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 999;
  opacity: 0.4;
}

/* ── Header ── */
header {
  position: relative;
  padding: 80px 2rem 60px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,229,160,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.header-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.2s;
}

.header-tag::before { content: '['; margin-right: 4px; }
.header-tag::after  { content: ']'; margin-left: 4px; }

h1 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
  color: #fff;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.4s;
}

h1 span {
  color: var(--accent);
  position: relative;
}

.header-sub {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.15em;
  margin-top: 16px;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.6s;
}

.header-line {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 24px auto 0;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.7s;
}

/* ── Nav strip ── */
.nav-strip {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 16px 2rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.nav-strip span { color: var(--accent); margin-right: 6px; }

/* ── Main ── */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 2rem 100px;
}

/* ── Section label ── */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.8s;
}

.section-label::before {
  content: '//';
  font-family: var(--mono);
  color: var(--accent);
  font-size: 1rem;
}

.section-label h2 {
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── Cards grid ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

/* ── Card ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
  text-decoration: none;
  display: block;
  color: inherit;
}

.card:nth-child(1) { animation-delay: 0.9s; }
.card:nth-child(2) { animation-delay: 1.0s; }
.card:nth-child(3) { animation-delay: 1.1s; }

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,229,160,0.25);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 30px rgba(0,229,160,0.04);
}

.card:hover::before { transform: scaleX(1); }

/* ── Card thumbnail ── */
.card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface2);
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.4s ease;
  filter: brightness(0.85) saturate(0.9);
}

.card:hover .card-thumb img {
  transform: scale(1.03);
  filter: brightness(0.95) saturate(1);
}

.card-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(6,13,15,0.8) 100%
  );
}

.card-status {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  padding: 3px 8px;
  border-radius: 1px;
  text-transform: uppercase;
}

.card-status.published {
  background: rgba(62,207,142,0.15);
  border: 1px solid rgba(62,207,142,0.3);
  color: #3ecf8e;
}

.card-status.pending {
  background: rgba(0,184,217,0.12);
  border: 1px solid rgba(0,184,217,0.3);
  color: var(--accent2);
}

/* ── Placeholder thumb ── */
.card-thumb-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.placeholder-icon {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-align: center;
  position: relative;
  z-index: 1;
}

.placeholder-icon::before {
  content: '[PENDING]';
  display: block;
  color: var(--accent);
  margin-bottom: 4px;
}

.card-thumb-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,229,160,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,160,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ── Card body ── */
.card-body {
  padding: 20px 20px 16px;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.card-date {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.card-region {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  padding: 2px 6px;
  border: 1px solid var(--border);
  border-radius: 1px;
}

.card-title {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.card-desc {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* ── Tags ── */
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.tag {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 1px;
  text-transform: uppercase;
  background: var(--dim);
  border: 1px solid rgba(0,229,160,0.15);
  color: var(--accent2);
}

/* ── Card footer ── */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.confidence {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.confidence-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3ecf8e;
  box-shadow: 0 0 6px rgba(62,207,142,0.6);
  animation: pulse 2s ease infinite;
}

.btn-read {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(0,229,160,0.35);
  padding: 6px 14px;
  border-radius: 1px;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-read:hover {
  background: var(--accent);
  color: #060d0f;
  border-color: var(--accent);
}

.btn-read.disabled {
  color: var(--muted);
  border-color: var(--border);
  cursor: not-allowed;
  pointer-events: none;
}

/* ── About section ── */
.about-section {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 1.3s;
}

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

.about-block h3 {
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.about-block p {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.8;
}

.method-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.method-list li {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
}

.method-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 24px 2rem;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

footer span { color: var(--accent); }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .cards-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .nav-strip  { flex-wrap: wrap; gap: 1rem; justify-content: center; }
}






