@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Oswald:wght@300;400;600;700&family=Special+Elite&display=swap');

:root {
  --bg: #0a0a08;
  --bg2: #111109;
  --surface: #161612;
  --border: #2a2a22;
  --accent: #c8a84b;
  --accent2: #8b1a1a;
  --text: #c9c9b8;
  --text-dim: #6b6b58;
  --text-faint: #3a3a2e;
  --mono: 'Share Tech Mono', monospace;
  --display: 'Oswald', sans-serif;
  --body: 'Special Elite', cursive;
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.75;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0,0,0,0.15) 2px,
      rgba(0,0,0,0.15) 4px
    );
}

/* ── HEADER ── */
header {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 8, 0.95);
  backdrop-filter: blur(6px);
}

header h1 {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

header h1::before {
  content: '⚙ ';
  opacity: 0.6;
}

nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

nav a {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

nav a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ── MAIN ── */
main {
  flex: 1;
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

/* ── TYPOGRAPHY ── */
h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}

h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.5rem;
}

p {
  color: var(--text);
  margin-bottom: 1rem;
  max-width: 65ch;
}

a { color: var(--accent); }

ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

ul li {
  padding: 0.3rem 0 0.3rem 1.2rem;
  color: var(--text);
  position: relative;
}

ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-faint);
  font-family: var(--mono);
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.65rem 1.6rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bg);
  background: var(--accent);
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.btn:hover {
  background: #fff;
  color: var(--bg);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.btn-ghost:hover {
  background: var(--accent);
  color: var(--bg);
}

/* ── HERO ── */
.hero-image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
  margin-bottom: 2rem;
  border: 1px solid var(--border);
  filter: grayscale(20%) contrast(1.05);
}

/* ── TIER CARDS ── */
.tier {
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.tier::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: var(--accent);
}

.tier .price {
  font-family: var(--mono);
  font-size: 1.5rem;
  color: var(--accent);
  margin: 0.4rem 0 0.75rem;
}

/* ── BLOG POSTS ── */
.blog-post-link {
  display: block;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.blog-post-link:hover {
  border-color: var(--accent);
  background: #1a1a14;
}

.blog-post-link .date {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
}

.blog-post-link h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: #fff;
}

.blog-post-link p {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin: 0;
}

/* ── SCREENSHOT GRID ── */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.screenshot-grid img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  border: 1px solid var(--border);
  filter: grayscale(15%);
  transition: filter 0.3s;
}

.screenshot-grid img:hover {
  filter: none;
}

/* ── INFO TABLE (press) ── */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-family: var(--mono);
  font-size: 0.85rem;
}

.info-table td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.info-table td:first-child {
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  width: 140px;
  white-space: nowrap;
}

.info-table td:last-child {
  color: var(--text);
}

/* ── WARNING / DISCLAIMER ── */
.disclaimer {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  margin-top: 2.5rem;
  padding-top: 1rem;
  line-height: 1.6;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 1.25rem 2rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  text-align: center;
}

footer a {
  color: var(--text-faint);
  text-decoration: none;
}

footer a:hover { color: var(--accent); }

/* ── LABEL CHIP ── */
.label {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent2);
  border: 1px solid var(--accent2);
  padding: 0.15rem 0.5rem;
  margin-bottom: 1rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  header { flex-direction: column; align-items: flex-start; }
  nav { gap: 1rem; }
  h1 { font-size: 2rem; }
  .screenshot-grid { grid-template-columns: 1fr; }
}
