/* BroCode — global stylesheet. Black, fire, no apologies. */
:root {
  --bc-black: #0a0a0a;
  --bc-ink: #141414;
  --bc-panel: #1a1a1a;
  --bc-border: #2a2a2a;
  --bc-text: #f5f5f5;
  --bc-mute: #a0a0a0;
  --bc-red: #FF2D2D;
  --bc-orange: #FF6A00;
  --bc-yellow: #FFD000;
  --bc-grad: linear-gradient(135deg, #FF2D2D 0%, #FF6A00 60%, #FFD000 100%);
  --bc-grad-flat: linear-gradient(90deg, #FF2D2D, #FFD000);
  --bc-shadow: 0 10px 40px rgba(255, 106, 0, 0.15);
  --bc-shadow-hard: 6px 6px 0 #FF2D2D;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bc-black); color: var(--bc-text); font-family: -apple-system, "Inter", "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* === Typography === */
.bc-display {
  font-family: "Arial Black", Impact, "Helvetica Neue", sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.9;
  text-transform: uppercase;
}
.bc-eyebrow {
  font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--bc-orange); font-weight: 700;
}
.bc-grad-text {
  background: var(--bc-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* === Layout === */
.bc-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.bc-section { padding: 80px 0; }

/* === Nav === */
.bc-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,10,0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bc-border);
}
.bc-nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: 1280px; margin: 0 auto; }
.bc-nav-logo { height: 36px; }
.bc-nav-links { display: flex; gap: 32px; align-items: center; }
.bc-nav-links a { font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: 0.1em; transition: color 0.2s; }
.bc-nav-links a:hover { color: var(--bc-orange); }
.bc-nav-cta {
  background: var(--bc-grad); color: #000; padding: 10px 18px; border-radius: 4px;
  font-weight: 900; text-transform: uppercase; font-size: 13px; letter-spacing: 0.1em;
  transition: transform 0.15s;
}
.bc-nav-cta:hover,
.bc-nav-links a.bc-nav-cta:hover { transform: translate(-2px,-2px); box-shadow: 4px 4px 0 #fff; color: #000 !important; }

/* === Buttons === */
.bc-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 28px; border-radius: 4px;
  font-weight: 900; text-transform: uppercase; font-size: 14px; letter-spacing: 0.12em;
  transition: all 0.15s ease;
  border: 2px solid transparent;
}
.bc-btn-primary { background: var(--bc-grad); color: #000; }
.bc-btn-primary:hover { transform: translate(-3px,-3px); box-shadow: var(--bc-shadow-hard); color: #000; }
.bc-btn-ghost { background: transparent; color: var(--bc-text); border-color: var(--bc-text); }
.bc-btn-ghost:hover { background: var(--bc-text); color: #000; }

/* === Hero === */
.bc-hero {
  min-height: 92vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(255,45,45,0.25), transparent 60%),
    radial-gradient(ellipse at 80% 70%, rgba(255,208,0,0.18), transparent 60%),
    var(--bc-black);
}
.bc-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.bc-hero-content { position: relative; z-index: 1; }
.bc-hero h1 { font-size: clamp(56px, 11vw, 180px); }
.bc-hero-sub { font-size: clamp(18px, 2vw, 22px); color: var(--bc-mute); margin: 24px 0 40px; max-width: 600px; }
.bc-hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* Marquee ticker */
.bc-marquee { overflow: hidden; border-top: 1px solid var(--bc-border); border-bottom: 1px solid var(--bc-border); padding: 18px 0; background: var(--bc-ink); }
.bc-marquee-track { display: flex; gap: 60px; animation: bcScroll 30s linear infinite; white-space: nowrap; }
.bc-marquee-item { font-family: "Arial Black", Impact, sans-serif; font-size: 32px; letter-spacing: 0.05em; text-transform: uppercase; }
.bc-marquee-item:nth-child(odd) { color: var(--bc-orange); }
@keyframes bcScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* === Product grid === */
.bc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.bc-card {
  background: var(--bc-panel); border: 1px solid var(--bc-border); border-radius: 8px;
  overflow: hidden; transition: all 0.2s ease; position: relative;
}
.bc-card:hover { transform: translateY(-4px); border-color: var(--bc-orange); box-shadow: var(--bc-shadow); }
.bc-card-img { aspect-ratio: 4/5; background: #050505; display: flex; align-items: center; justify-content: center; padding: 24px; }
.bc-card-body { padding: 16px 20px 20px; }
.bc-card-title { font-weight: 900; text-transform: uppercase; font-size: 16px; letter-spacing: 0.05em; margin-bottom: 8px; }
.bc-card-price { color: var(--bc-orange); font-weight: 900; font-size: 18px; }
.bc-card-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--bc-grad); color: #000; padding: 4px 10px; border-radius: 4px;
  font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em;
}

/* === Footer === */
.bc-footer { background: #050505; padding: 60px 0 30px; border-top: 1px solid var(--bc-border); }
.bc-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.bc-footer h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--bc-orange); margin-bottom: 16px; }
.bc-footer a { display: block; padding: 6px 0; color: var(--bc-mute); font-size: 14px; }
.bc-footer a:hover { color: var(--bc-text); }
.bc-footer-bottom { padding-top: 20px; border-top: 1px solid var(--bc-border); display: flex; justify-content: space-between; color: var(--bc-mute); font-size: 12px; }

@media (max-width: 768px) {
  .bc-nav-links { display: none; }
  .bc-footer-grid { grid-template-columns: 1fr 1fr; }
  .bc-section { padding: 50px 0; }
}

/* === Design cards (used on /designs and homepage special section) === */
.design-card { background: var(--bc-panel); border: 1px solid var(--bc-border); border-radius: 8px; overflow: hidden; transition: all 0.2s; position: relative; }
.design-card:hover { transform: translateY(-4px); border-color: var(--bc-orange); box-shadow: var(--bc-shadow); }
.design-card .img { aspect-ratio: 1; background: #050505; display: flex; align-items: center; justify-content: center; padding: 16px; cursor: zoom-in; }
.design-card .img img { max-width: 100%; max-height: 100%; }
.design-card .body { padding: 12px 14px 14px; }
.design-card .title { font-weight: 900; text-transform: uppercase; font-size: 13px; letter-spacing: 0.05em; }
.design-card .cat { color: var(--bc-orange); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; margin-top: 4px; }
.design-card .best-for { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 6px; }
.design-card .best-for-tag { background: rgba(255,106,0,0.12); border: 1px solid rgba(255,106,0,0.3); color: var(--bc-orange); font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 2px 6px; border-radius: 3px; }
.design-card .pick { position: absolute; inset: 0; background: rgba(10,10,10,0.85); display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.15s; gap: 8px; padding: 16px; }
.design-card:hover .pick { opacity: 1; }
.design-card .pick .best-for-hint { font-size: 11px; color: var(--bc-orange); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; margin-bottom: 4px; }
.star { position: absolute; top: 10px; right: 10px; color: var(--bc-orange); font-size: 18px; z-index: 10; }

/* Spinner for images loading */
.bc-img-loading {
  position: relative;
  background: #050505 !important;
}
.bc-img-loading::after {
  content: "";
  position: absolute;
  top: calc(50% - 16px);
  left: calc(50% - 16px);
  width: 32px;
  height: 32px;
  border: 3px solid rgba(255, 106, 0, 0.15);
  border-left-color: var(--bc-orange);
  border-radius: 50%;
  animation: bc-spin 0.8s linear infinite;
  box-sizing: border-box;
  z-index: 5;
}
@keyframes bc-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
