/* Vein Services colour theme: replaces the site's blue accent with the logo red.
   Loaded after the site stylesheet on every page (added by .reanimate/site/tools/rebrand.cjs).
   #C8102E  main accent (logo red)   — buttons, fills, borders, rings
   #8B1023  dark accent              — hover/pressed fills, gradient starts
   #E0213F  secondary accent         — hover on accent buttons
   #F0475F  accent text              — accent-coloured text on the dark background (readable) */

/* the site's own colour tokens (unlayered :root wins over the theme layer) */
:root {
  --accent: #c8102e;
  --accentsecondary: #e0213f;
  --accentdark: #8b1023;
  --color-cyan-600: #c8102e; /* price tags */
  --color-blue-500: #e0213f;
  --vein-accent-text: #f0475f;
}

@layer components {
  /* accent buttons: red fill, light-to-dark red rim (was light-to-dark blue) */
  .button-accent {
    background: linear-gradient(var(--accent), var(--accent)) padding-box, linear-gradient(to bottom, #f0475f, #8b1023) border-box;
  }
  .button-accent:hover {
    border-color: var(--accentsecondary);
    background: linear-gradient(var(--accentsecondary), var(--accentsecondary)) padding-box, linear-gradient(to bottom, var(--accentsecondary), var(--accentsecondary)) border-box;
  }
}

@layer utilities {
  /* dark text sat on the light blue; on red it needs to be white */
  .button-accent.text-background,
  .bg-accent.text-background,
  .hover\:bg-accent:hover.hover\:text-background,
  .hover\:bg-accent:hover .hover\:text-background { color: #fff; }

  /* accent-coloured text */
  .text-accent,
  .hover\:text-accent:hover,
  .group-hover\:text-accent:is(:where(.group):hover *),
  .text-\[\#2dc6ff\] { color: var(--vein-accent-text); }

  /* gradients that were hard-coded blue (stats numbers, keys-sold bar) */
  .from-\[\#125d83\], .from-\[\#1b84da\] { --tw-gradient-from: #8b1023; }
  .via-\[\#23a9da\] { --tw-gradient-via: #c8102e; }
  .to-\[\#2dc6ff\] { --tw-gradient-to: #f0475f; }

  /* glows and focus rings that were blue */
  [class*="rgba(45,198,255,0.18)"] { --tw-shadow: 0 0 24px rgba(200, 16, 46, 0.3); }
  [class*="rgba(45,198,255,0.2)"]:focus-visible { --tw-shadow: 0 0 0 1px #000, 0 2px 5px rgba(0, 0, 0, 0.28), 0 0 0 3px rgba(200, 16, 46, 0.3); }
}

/* blue dot fields */
.dot-fade { background-image: radial-gradient(#c8102e 1px, #0000 1px); }
.discount-dots {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Crect width='2' height='2' fill='%23c8102e' fill-opacity='.9'/%3E%3C/svg%3E");
}

/* product gallery panel: the near-black teal background and glow become near-black red */
@layer utilities {
  .bg-\[rgb\(4\,15\,17\)\] { background-color: rgb(17, 4, 6); }
  .shadow-\[0_0_21px_rgba\(2\,9\,10\,1\)\] { --tw-shadow: 0 0 21px rgba(10, 2, 3, 1); }
}

/* login / signup art panel (replaces the old brand video) */
.vein-auth-art { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: radial-gradient(60% 50% at 50% 42%, color-mix(in oklab, #C8102E 32%, transparent), transparent 70%), #0b0b0c; }
.vein-auth-art::before { content: ""; position: absolute; inset: 0; opacity: .18;
  background-image: radial-gradient(#E0213F 1px, transparent 1.4px); background-size: 14px 14px;
  mask-image: radial-gradient(55% 45% at 50% 42%, #000, transparent 75%); }
.vein-auth-art img { position: relative; width: min(46%, 360px); margin-top: -12%; filter: drop-shadow(0 0 40px rgba(200, 16, 46, .55));
  animation: vein-float 6s ease-in-out infinite; }
@keyframes vein-float { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .vein-auth-art img { animation: none; } }

/* header: the name next to the logo */
a[aria-label="Vein Services home"] { display: flex; align-items: center; white-space: nowrap; font-size: 22px; font-weight: 700; line-height: 1; letter-spacing: -.01em; }
a[aria-label="Vein Services home"]::before { content: "Vein"; order: 1; margin-left: 10px; color: #fff; }
a[aria-label="Vein Services home"]::after { content: "Cheats"; order: 2; color: #f01f3c; }
