:root {
  --ink: #050713;
  --panel: #0b1022;
  --panel-2: #111832;
  --cyan: #35e8ff;
  --cyan-soft: rgba(53, 232, 255, 0.2);
  --magenta: #ff3ed7;
  --orange: #ff9e2c;
  --lime: #c8ff4d;
  --text: #f4f8ff;
  --muted: #9aa9c7;
  --line: rgba(255, 255, 255, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 5%, rgba(255, 62, 215, 0.24), transparent 28rem),
    radial-gradient(circle at 85% 18%, rgba(53, 232, 255, 0.22), transparent 24rem),
    linear-gradient(135deg, #03040b 0%, #090e20 48%, #02030a 100%);
  color: var(--text);
  font-family: "Oxanium", sans-serif;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(53, 232, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 62, 215, 0.07) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  animation: gridDrift 16s linear infinite;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  background: linear-gradient(to bottom, rgba(5, 7, 19, 0.9), rgba(5, 7, 19, 0.2));
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Black Ops One", cursive;
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(53, 232, 255, 0.7);
  background: rgba(53, 232, 255, 0.12);
  color: var(--cyan);
  box-shadow: 0 0 24px rgba(53, 232, 255, 0.32);
}

nav {
  display: flex;
  gap: clamp(12px, 3vw, 34px);
  color: var(--muted);
  font-weight: 700;
}

nav a:hover {
  color: var(--cyan);
}

nav .nav-donate {
  margin-left: clamp(4px, 1vw, 14px);
  border: 1px solid rgba(200, 255, 77, 0.52);
  padding: 8px 14px;
  color: var(--lime);
  box-shadow: 0 0 20px rgba(200, 255, 77, 0.16);
}

.hero {
  position: relative;
  display: grid;
  min-height: 96vh;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: center;
  gap: clamp(28px, 6vw, 84px);
  padding: 112px clamp(18px, 5vw, 72px) 64px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 7, 19, 0.88) 0%, rgba(5, 7, 19, 0.5) 54%, rgba(5, 7, 19, 0.94) 100%),
    url("assets/brp-energy-can-hero.jpg") center / cover;
  filter: saturate(1.2);
  opacity: 0.42;
}

.hero-copy {
  max-width: 830px;
  animation: riseIn 900ms ease both;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-family: "Black Ops One", cursive;
  font-size: clamp(4.2rem, 12vw, 11rem);
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    0 0 18px rgba(53, 232, 255, 0.72),
    0 0 40px rgba(255, 62, 215, 0.45);
}

.slogan {
  margin-bottom: 20px;
  color: var(--lime);
  font-size: clamp(1.4rem, 3vw, 2.5rem);
  font-weight: 800;
}

.hero-text,
.section-copy p,
.ingredient-lede,
.air-copy p,
.game-copy p {
  color: #d6def2;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.donate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  padding: 0 22px;
  color: var(--text);
  font-family: "Oxanium", sans-serif;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  border-color: rgba(53, 232, 255, 0.7);
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  color: #03040b;
  box-shadow: 0 0 28px rgba(53, 232, 255, 0.3);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.06);
}

.button.donate-button {
  border-color: rgba(200, 255, 77, 0.78);
  background: linear-gradient(90deg, var(--lime), var(--orange));
  color: #03040b;
  box-shadow:
    0 0 26px rgba(200, 255, 77, 0.26),
    0 0 42px rgba(255, 158, 44, 0.18);
}

.hero-product {
  position: relative;
  transform: rotate(2deg);
  animation: floatCan 5s ease-in-out infinite;
}

.hero-product img {
  width: min(100%, 440px);
  margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 0 70px rgba(53, 232, 255, 0.32),
    0 0 120px rgba(255, 62, 215, 0.2);
}

.scanline {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
  animation: scan 3.2s ease-in-out infinite;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.16);
  background: #f9fbff;
  color: #03040b;
  font-family: "Black Ops One", cursive;
  font-size: clamp(1.5rem, 4vw, 3rem);
  text-transform: uppercase;
}

.ticker div {
  display: flex;
  width: max-content;
  animation: marquee 18s linear infinite;
}

.ticker span {
  padding: 18px 34px;
  white-space: nowrap;
}

.product-band,
.ingredients,
.air-strip,
.game-section {
  padding: clamp(72px, 10vw, 130px) clamp(18px, 5vw, 72px);
}

.product-band {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.section-copy {
  position: sticky;
  top: 110px;
}

.section-copy h2,
.ingredients h2,
.air-copy h2,
.game-copy h2 {
  margin-bottom: 16px;
  font-family: "Black Ops One", cursive;
  font-size: clamp(2.4rem, 5vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

.flavor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.flavor-card {
  min-height: 280px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(53, 232, 255, 0.14), rgba(255, 62, 215, 0.1)),
    rgba(255, 255, 255, 0.05);
  padding: 18px;
  box-shadow: inset 0 0 48px rgba(53, 232, 255, 0.08);
}

.flavor-card:first-child {
  grid-row: span 2;
}

.flavor-card img {
  height: 380px;
  width: 100%;
  margin-bottom: 18px;
  object-fit: cover;
}

.flavor-card h3 {
  color: var(--cyan);
  font-size: 1.5rem;
}

.flavor-card p {
  color: var(--muted);
  line-height: 1.55;
}

.flavor-card.accent {
  background:
    linear-gradient(145deg, rgba(200, 255, 77, 0.18), rgba(53, 232, 255, 0.09)),
    var(--panel);
}

.flavor-card.hot {
  background:
    linear-gradient(145deg, rgba(255, 158, 44, 0.2), rgba(255, 62, 215, 0.14)),
    var(--panel);
}

.ingredients {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(53, 232, 255, 0.08));
}

.ingredient-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ingredient-list span {
  border: 1px solid rgba(53, 232, 255, 0.4);
  background: rgba(53, 232, 255, 0.08);
  padding: 12px 15px;
  color: #effdff;
  font-weight: 800;
  box-shadow: 0 0 22px rgba(53, 232, 255, 0.08);
}

.disclaimer {
  grid-column: 1 / -1;
  max-width: 980px;
  color: var(--muted);
  font-size: 0.95rem;
}

.air-strip {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.air-strip img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.12) contrast(1.05);
}

.air-strip::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, rgba(5, 7, 19, 0.82), rgba(5, 7, 19, 0.18), rgba(5, 7, 19, 0.86));
}

.air-copy {
  max-width: 650px;
  padding: 28px;
  border-left: 5px solid var(--orange);
  background: rgba(5, 7, 19, 0.72);
  backdrop-filter: blur(12px);
}

.game-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(24px, 5vw, 54px);
  align-items: center;
}

.donate-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 clamp(18px, 5vw, 72px) clamp(72px, 10vw, 130px);
  border: 1px solid rgba(53, 232, 255, 0.34);
  background: linear-gradient(90deg, rgba(53, 232, 255, 0.12), rgba(255, 62, 215, 0.14));
  padding: clamp(20px, 4vw, 34px);
  box-shadow: 0 0 42px rgba(53, 232, 255, 0.14);
}

.donate-band h2 {
  margin-bottom: 10px;
  font-family: "Black Ops One", cursive;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.donate-band p:not(.eyebrow) {
  max-width: 62ch;
  margin-bottom: 0;
  color: var(--muted);
}

.game-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(53, 232, 255, 0.34);
  background: #050713;
  box-shadow: 0 0 42px rgba(53, 232, 255, 0.18);
}

.game-window-controls {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 2;
  display: flex;
  gap: 12px;
  transform: translateX(-50%);
}

.game-window-controls .button {
  min-width: 138px;
  background-clip: padding-box;
}

canvas {
  display: block;
  width: 100%;
  aspect-ratio: 900 / 520;
  touch-action: none;
}

.game-hud {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #03040b;
  font-weight: 800;
  pointer-events: none;
}

.game-hud span {
  background: rgba(249, 251, 255, 0.78);
  padding: 8px 10px;
}

.control-note {
  color: var(--muted);
  font-size: 0.95rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer p {
  margin: 0;
}

footer a {
  color: var(--cyan);
  font-weight: 800;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatCan {
  0%,
  100% {
    transform: translateY(0) rotate(2deg);
  }
  50% {
    transform: translateY(-18px) rotate(-1deg);
  }
}

@keyframes scan {
  0%,
  100% {
    top: 8%;
    opacity: 0;
  }
  20%,
  80% {
    opacity: 1;
  }
  50% {
    top: 86%;
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes gridDrift {
  to {
    background-position: 54px 54px;
  }
}

@media (max-width: 920px) {
  .site-header {
    position: absolute;
  }

  nav {
    display: none;
  }

  .hero,
  .product-band,
  .ingredients,
  .game-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-product {
    max-width: 420px;
    margin-inline: auto;
  }

  .section-copy {
    position: static;
  }

  .flavor-grid {
    grid-template-columns: 1fr;
  }

  .flavor-card:first-child {
    grid-row: auto;
  }

  .air-strip {
    min-height: 540px;
  }
}

@media (max-width: 560px) {
  .hero-actions,
  .game-window-controls,
  .donate-band,
  footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .flavor-card img {
    height: 280px;
  }

  .game-window-controls {
    left: 14px;
    right: 14px;
    transform: none;
  }
}
