:root {
    --red: #b3070f;
    --dark-bg: #050101;
    --text-main: #e5e5e5;
    --text-dim: #999;
    --border-color: rgba(255, 255, 255, 0.08);
    --grid-bg: rgba(15, 4, 4, 0.4);
}

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

body {
    background-color: var(--dark-bg);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#bgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 5%;
    z-index: 10;
}

.nav-brand svg {
    width: 40px;
    height: 40px;
    fill: var(--text-main);
    transition: fill 0.3s;
}

.nav-brand a:hover svg {
    fill: var(--red);
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 30px;
    font-size: 13px;
    letter-spacing: 0.15em;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--red);
}

.container {
    max-width: 1200px;
    width: 90%;
    margin: 40px auto 80px auto;
    flex: 1;
}

.page-title {
    font-size: 48px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-weight: 400;
    margin-bottom: 25px;
}

.divider {
    border: none;
    height: 1px;
    background-color: var(--border-color);
    margin-bottom: 50px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border: 1px solid var(--border-color);
    background-color: var(--grid-bg);
    backdrop-filter: blur(4px);
}

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

.product-section {
    position: relative;
    overflow: hidden;
    padding: 40px;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 340px;
    background: linear-gradient(to bottom, rgba(15, 4, 4, 0.25) 0%, rgba(5, 1, 1, 0.6) 100%);
}

.products-grid .product-section:nth-child(2n) {
    border-right: none;
}

.product-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1.0) 0%, rgba(0, 0, 0, 0.4) 45%, rgba(0, 0, 0, 0.0) 75%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1.0) 0%, rgba(0, 0, 0, 0.4) 45%, rgba(0, 0, 0, 0.0) 75%);
}

.product-cover img {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.50; 
    transition: opacity 0.3s ease;
}

.product-section:hover .product-cover img {
    opacity: 0.70;
}

.product-content {
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.product-meta {
    font-family: monospace;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: #cfcfcf;
    text-transform: uppercase;
    margin-bottom: 15px;
    text-shadow: -1px 3px 4px black;
}

.product-name {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 28px;
    font-weight: 200;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
    color: #fff;
}

.product-description {
    font-size: 15px;
    line-height: 1.6;
    color: #b3b3b3;
    margin-bottom: 35px;
    max-width: 420px;
}

.status-wip {
    font-style: italic;
    color: var(--text-dim);
    font-size: 14px;
}

.action-links {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 25px;
}

.btn-action {
    font-family: monospace;
    font-size: 12px;
    letter-spacing: 0.15em;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    transition: color 0.2s;
}

.btn-action:hover {
    color: var(--red);
}

.link-manual {
    font-family: monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    text-decoration: underline;
    text-transform: uppercase;
    transition: color 0.2s;
}

.link-manual:hover {
    color: #fff;
}

footer {
  border-top: 1px solid var(--line);
  padding: 40px clamp(20px, 5vw, 56px) 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}

.foot-mark {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
}

.foot-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.foot-links a {
  font-family: 'Space Mono', monospace;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  transition: color .2s ease;
}

.foot-links a:hover, 
.foot-links a:focus-visible {
  color: var(--red);
}

.support-card {
  margin: 42px auto 0;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background: linear-gradient(135deg, rgba(31, 8, 8, 0.82), rgba(8, 3, 3, 0.72));
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.support-copy {
  max-width: 650px;
}

.support-kicker {
  display: block;
  margin-bottom: 8px;
  font-family: monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  color: #d6a94f;
}

.support-card h2 {
  margin: 0 0 8px;
  font-family: 'Impact', 'Arial Black', sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 400;
  letter-spacing: .02em;
}

.support-card p {
  margin: 0;
  color: #aaa4a4;
  font-size: 14px;
  line-height: 1.65;
}

.coffee-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid rgba(255, 213, 104, .38);
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd66b, #e8a936);
  color: #231707;
  text-decoration: none;
  font-family: monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0px 0px 30px rgba(232, 169, 54, .16);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.coffee-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.coffee-button:hover,
.coffee-button:focus-visible {
  color: #231707;
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 0px 38px rgba(232, 169, 54, .25);
}

@media (max-width: 680px) {
  .support-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .coffee-button {
    width: 100%;
    justify-content: center;
  }
}