:root {
  --bg: #050505;
  --white: #f7f7f7;
  --muted: #b8b8b8;
  --hot: #ff005c;
  --hot-soft: rgba(255, 0, 92, 0.28);
  --glass: rgba(255,255,255,0.075);
  --line: rgba(255,255,255,0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: 'Inter', 'Arial Black', system-ui, sans-serif;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 0, 92, 0.2), transparent 28%),
    radial-gradient(circle at 18% 82%, rgba(255, 255, 255, 0.07), transparent 26%),
    linear-gradient(135deg, #050505 0%, #0b0b0b 100%);
  color: var(--white);
  padding: clamp(42px, 6vw, 76px) 20px;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
  background-size: 100% 4px, auto;
  opacity: 0.18;
  pointer-events: none;
  z-index: -1;
}

.container {
  width: min(100%, 1000px);
  margin: 0 auto;
  text-align: center;
}

.title {
  text-transform: uppercase;
  letter-spacing: -0.07em;
  margin-bottom: clamp(32px, 5vw, 52px);
  font-size: clamp(2.8rem, 8vw, 6rem);
  line-height: 0.85;
  font-weight: 950;
  text-shadow: 0 18px 60px rgba(0,0,0,0.65);
}

.title::after {
  content: "";
  display: block;
  width: 78px;
  height: 5px;
  margin: 24px auto 0;
  background: var(--hot);
  border-radius: 999px;
  box-shadow: 0 0 28px rgba(255,0,92,0.45);
}

/* ALPHABET FILTER */
.alphabet-nav {
  margin-bottom: 50px;
  padding: 16px 18px;

  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;

  border-radius: 999px;
  background: rgba(255,255,255,0.075);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow:
    0 18px 60px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.14);
}

.alphabet-nav span {
  width: 32px;
  height: 32px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 0.78rem;
  font-weight: 950;
  cursor: pointer;
  color: rgba(255,255,255,0.55);

  transition: 0.3s ease;
}

.alphabet-nav span:hover {
  color: #fff;
  background: rgba(255, 0, 92, 0.2);
  box-shadow: 0 10px 30px rgba(255,0,92,0.16);
  transform: translateY(-2px);
}

/* BRANDS GRID */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: clamp(1rem, 3vw, 1.8rem);
  margin-top: 30px;
}

.brand-item {
  position: relative;
  overflow: hidden;

  padding: 32px 22px;
  border-radius: 22px;

  background:
    linear-gradient(135deg, rgba(255,255,255,0.09), rgba(255,255,255,0.025)),
    rgba(255,255,255,0.04);

  border: 1px solid var(--line);

  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: rgba(255,255,255,0.86);

  cursor: pointer;
  transition: 0.35s ease;

  box-shadow:
    0 20px 60px rgba(0,0,0,0.32),
    inset 0 1px 0 rgba(255,255,255,0.12);
}

.brand-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,0,92,0.2), transparent 40%);
  opacity: 0;
  transition: 0.35s ease;
}

.brand-item:hover {
  color: #fff;
  border-color: rgba(255, 0, 92, 0.5);
  transform: translateY(-8px) rotate(-1deg);
  box-shadow:
    12px 12px 0 var(--hot-soft),
    0 28px 80px rgba(0,0,0,0.5);
}

.brand-item:hover::before {
  opacity: 1;
}

/* MOBILE */
@media (max-width: 600px) {
  body {
    padding: 42px 16px;
  }

  .alphabet-nav {
    display: none;
  }

  .brands-grid {
    grid-template-columns: 1fr;
  }

  .brand-item {
    padding: 28px 18px;
  }
}