.bumpsPage {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 8%, rgba(244, 177, 63, 0.09), transparent 30rem),
    linear-gradient(180deg, #111317 0%, #0d0f12 100%);
}

.bumpsHero {
  position: relative;
  padding: clamp(4rem, 7vw, 6rem) 0 clamp(2.75rem, 5vw, 4.5rem);
  text-align: center;
}

.bumpsHero__inner {
  position: relative;
  z-index: 1;
  max-width: 890px;
}

.bumpsHero__logo {
  display: block;
  width: clamp(96px, 10vw, 140px);
  height: auto;
  margin: 0 auto clamp(1rem, 2vw, 1.4rem);
  object-fit: contain;
}

.bumpsHero__eyebrow,
.clanResults__eyebrow {
  margin: 0 0 0.85rem;
  color: #f4b13f;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.bumpsHero__title {
  max-width: 820px;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(2.35rem, 5vw, 4.65rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.bumpsHero__title span {
  color: #f4b13f;
  text-shadow: 0 0 38px rgba(244, 177, 63, 0.22);
}

.bumpsHero__description {
  max-width: 700px;
  margin: 1.35rem auto 0;
  color: #aaadb5;
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  line-height: 1.75;
}

.clanExplorer {
  padding: 0 0 clamp(5rem, 9vw, 8rem);
}

.clanFilters {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) minmax(450px, 2fr) auto;
  gap: 1rem;
  align-items: end;
  padding: clamp(1.15rem, 2vw, 1.6rem);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(31, 34, 40, 0.95), rgba(20, 22, 27, 0.97));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.26), inset 0 1px rgba(255, 255, 255, 0.03);
}

.clanFilters__primary {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 0.75rem;
}

.clanFilters label {
  display: block;
  margin-bottom: 0.55rem;
  color: #d9dbe0;
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.searchField {
  position: relative;
}

.searchField svg {
  position: absolute;
  top: 50%;
  left: 1rem;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #858994;
  stroke-width: 1.8;
  stroke-linecap: round;
  transform: translateY(-50%);
  pointer-events: none;
}

.searchField input,
.filterField select {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  outline: none;
  background-color: rgba(8, 10, 13, 0.56);
  color: #f5f5f6;
  font: inherit;
  font-size: 0.88rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.searchField input {
  padding: 0 1rem 0 2.8rem;
}

.searchField input::placeholder {
  color: #737782;
}

.filterField select {
  padding: 0 2.2rem 0 0.9rem;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #8b8e97 50%),
    linear-gradient(135deg, #8b8e97 50%, transparent 50%);
  background-position: calc(100% - 16px) 21px, calc(100% - 11px) 21px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.filterField select option {
  background: #1b1e23;
}

.searchField input:focus,
.filterField select:focus {
  border-color: rgba(244, 177, 63, 0.64);
  background-color: rgba(12, 14, 18, 0.78);
  box-shadow: 0 0 0 3px rgba(244, 177, 63, 0.11);
}

.clanFilters__actions {
  display: flex;
  gap: 0.65rem;
}

.filterButton {
  min-height: 48px;
  padding: 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  color: #d9dbe0;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.filterButton:hover {
  border-color: rgba(244, 177, 63, 0.36);
  background: rgba(244, 177, 63, 0.08);
  color: #fff;
}

.filterButton:active {
  transform: translateY(1px);
}

.filterButton:focus-visible,
.clanCard__button:focus-visible,
.clanCard__action:focus-visible {
  outline: 3px solid rgba(244, 177, 63, 0.35);
  outline-offset: 3px;
}

.filterButton--more {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
}

.filterButton--more svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform 180ms ease;
}

.filterButton--more[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.filterButton--reset {
  color: #a9acb4;
}

.advancedFilters {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 1rem 0.75rem;
  margin-top: 0.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.advancedFilters[hidden] {
  display: none;
}

.filterStepper {
  min-width: 0;
}

.filterStepper__label {
  display: block;
  margin-bottom: 0.55rem;
  color: #d9dbe0;
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.filterStepper__control {
  display: grid;
  height: 48px;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 11px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(0, 0, 0, 0.16)),
    #1d2026;
  box-shadow:
    0 3px 0 rgba(0, 0, 0, 0.38),
    0 9px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px rgba(255, 255, 255, 0.09);
}

.filterStepper__control input {
  display: none;
}

.filterStepper__control button {
  display: grid;
  width: 44px;
  height: 100%;
  place-items: center;
  border: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(0, 0, 0, 0.2));
  color: #efbd65;
  font: inherit;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 120ms ease;
}

.filterStepper__control button:first-child {
  border-right: 1px solid rgba(255, 255, 255, 0.075);
}

.filterStepper__control button:nth-of-type(2) {
  border-left: 1px solid rgba(255, 255, 255, 0.075);
}

.filterStepper__control button:hover {
  background: rgba(244, 177, 63, 0.14);
  color: #ffe1a5;
}

.filterStepper__control button:active {
  transform: scale(0.92);
}

.filterStepper__control button:focus-visible {
  position: relative;
  z-index: 2;
  outline: 3px solid rgba(244, 177, 63, 0.3);
  outline-offset: -3px;
}

.filterStepper__value {
  display: grid;
  min-width: 0;
  place-items: center;
  padding: 0 0.55rem;
  color: #f3f3f4;
  font-size: clamp(0.68rem, 1vw, 0.78rem);
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}

.clanResults__heading {
  display: flex;
  gap: 2rem;
  align-items: end;
  justify-content: space-between;
  margin: clamp(3.5rem, 6vw, 5.5rem) 0 1.5rem;
}

.clanResults__eyebrow {
  margin-bottom: 0.45rem;
  font-size: 0.7rem;
}

.clanResults__heading h2 {
  margin: 0;
  color: #f5f5f6;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  letter-spacing: -0.035em;
}

.clanResults__count {
  margin: 0 0 0.25rem;
  color: #979ba5;
  font-size: 0.88rem;
  white-space: nowrap;
}

.clanGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

@media (min-width: 621px) {
  .clanGrid > .clanCard:only-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 2.025rem) / 2);
  }
}

.clanCard {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(244, 177, 63, 0.065), transparent 42%),
    linear-gradient(145deg, rgba(30, 33, 39, 0.94), rgba(18, 20, 24, 0.97));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2), inset 0 1px rgba(255, 255, 255, 0.025);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.clanCard:hover {
  border-color: rgba(244, 177, 63, 0.25);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.28), 0 0 32px rgba(244, 177, 63, 0.04);
  transform: translateY(-4px);
}

.clanCard__header {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.clanCard__emblem {
  display: grid;
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  place-items: center;
  border: 1px solid rgba(244, 177, 63, 0.16);
  border-radius: 16px;
  background:
    radial-gradient(circle, rgba(244, 177, 63, 0.1), transparent 68%),
    rgba(4, 6, 9, 0.35);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035), 0 8px 24px rgba(0, 0, 0, 0.2);
}

.clanCard__badge {
  width: 61px;
  height: 61px;
  object-fit: contain;
  filter: drop-shadow(0 8px 13px rgba(0, 0, 0, 0.36));
}

.clanCard__identity {
  min-width: 0;
}

.clanCard__name {
  margin: 0;
  overflow: hidden;
  color: #fff;
  font-size: 1.06rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.clanCard__tag {
  margin: 0.28rem 0 0;
  color: #8d919b;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.clanCard__status {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-left: auto;
  padding: 0.32rem 0.52rem;
  border: 1px solid rgba(79, 207, 134, 0.22);
  border-radius: 999px;
  background: rgba(79, 207, 134, 0.08);
  color: #79dca3;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.clanCard__status--closed {
  border-color: rgba(255, 125, 125, 0.2);
  background: rgba(255, 125, 125, 0.07);
  color: #e99999;
}

.clanCard__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
  margin-top: 0.5rem;
}

.clanCard__label {
  padding: 0.2rem 0.42rem;
  border: 1px solid rgba(244, 177, 63, 0.2);
  border-radius: 7px;
  background: rgba(244, 177, 63, 0.07);
  color: #e7b865;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.clanCard__description {
  display: -webkit-box;
  margin: 0.75rem 0 0;
  overflow: hidden;
  color: #9da0a9;
  font-size: 0.76rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.clanCard__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.clanCard__chip {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  gap: 0.28rem;
  padding: 0.3rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 8px;
  background: rgba(5, 7, 10, 0.25);
  color: #c3c5ca;
  font-size: 0.66rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.clanCard__chip b {
  color: #e6b760;
  font-size: 0.61rem;
  font-weight: 700;
}

.clanCard__footer {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.8rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.065);
}

.clanCard__requirement {
  color: #858994;
  font-size: 0.72rem;
  line-height: 1.45;
}

.clanCard__button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 0.85rem;
  border: 1px solid rgba(244, 177, 63, 0.28);
  border-radius: 10px;
  background: rgba(244, 177, 63, 0.1);
  color: #f1c16d;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

/* Cartes de clans — composition inspirée du système Bump historique */
.clanGrid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem 2.025rem;
}

.clanCard {
  --clan-accent: #9c6ee8;
  --clan-accent-rgb: 156, 110, 232;
  --clan-secondary: #dc72b5;
  --clan-secondary-rgb: 220, 114, 181;
  height: 368px;
  min-height: 368px;
  padding: 1.35rem 1.35rem 1.15rem;
  overflow: visible;
  isolation: isolate;
  border-color: rgba(var(--clan-accent-rgb), 0.28);
  background:
    radial-gradient(380px 150px at 5% 0%, rgba(var(--clan-secondary-rgb), 0.16), transparent 62%),
    radial-gradient(280px 160px at 100% 100%, rgba(var(--clan-accent-rgb), 0.08), transparent 68%),
    linear-gradient(145deg, rgba(29, 31, 37, 0.98), rgba(15, 17, 21, 0.99));
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.28),
    0 0 26px rgba(var(--clan-accent-rgb), 0.045),
    inset 0 1px rgba(255, 255, 255, 0.035);
}

.clanCard--premium {
  border: 2px solid rgba(244, 190, 88, 0.78);
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(244, 190, 88, 0.13),
    0 0 22px rgba(244, 177, 63, 0.13),
    inset 0 1px rgba(255, 243, 205, 0.08);
}

.clanCard--premium:hover {
  border-color: rgba(255, 207, 111, 0.92);
  box-shadow:
    0 27px 62px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(244, 190, 88, 0.2),
    0 0 30px rgba(244, 177, 63, 0.18),
    inset 0 1px rgba(255, 243, 205, 0.1);
}

.clanCard::before {
  position: absolute;
  inset: 7px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 15px;
  content: "";
  pointer-events: none;
}

.clanCard:hover {
  border-color: rgba(var(--clan-accent-rgb), 0.46);
  box-shadow:
    0 25px 58px rgba(0, 0, 0, 0.34),
    0 0 34px rgba(var(--clan-accent-rgb), 0.08),
    inset 0 1px rgba(255, 255, 255, 0.04);
}

.clanCard--violet-rose { --clan-accent: #9c78dc; --clan-accent-rgb: 156, 120, 220; --clan-secondary: #d875ad; --clan-secondary-rgb: 216, 117, 173; }
.clanCard--blue-violet { --clan-accent: #628fdc; --clan-accent-rgb: 98, 143, 220; --clan-secondary: #9875d8; --clan-secondary-rgb: 152, 117, 216; }
.clanCard--cyan-blue { --clan-accent: #50a9c7; --clan-accent-rgb: 80, 169, 199; --clan-secondary: #5d82d1; --clan-secondary-rgb: 93, 130, 209; }
.clanCard--green-cyan { --clan-accent: #62ae78; --clan-accent-rgb: 98, 174, 120; --clan-secondary: #4eb7ae; --clan-secondary-rgb: 78, 183, 174; }
.clanCard--turquoise-blue { --clan-accent: #48ad9e; --clan-accent-rgb: 72, 173, 158; --clan-secondary: #558fd0; --clan-secondary-rgb: 85, 143, 208; }
.clanCard--orange-red { --clan-accent: #d08d55; --clan-accent-rgb: 208, 141, 85; --clan-secondary: #c96565; --clan-secondary-rgb: 201, 101, 101; }
.clanCard--red-orange { --clan-accent: #c9696e; --clan-accent-rgb: 201, 105, 110; --clan-secondary: #d09a56; --clan-secondary-rgb: 208, 154, 86; }
.clanCard--rose-violet { --clan-accent: #ca709e; --clan-accent-rgb: 202, 112, 158; --clan-secondary: #8d70cf; --clan-secondary-rgb: 141, 112, 207; }
.clanCard--amber-orange { --clan-accent: #cda85d; --clan-accent-rgb: 205, 168, 93; --clan-secondary: #ce7d54; --clan-secondary-rgb: 206, 125, 84; }
.clanCard--indigo-cyan { --clan-accent: #747fd2; --clan-accent-rgb: 116, 127, 210; --clan-secondary: #50acbc; --clan-secondary-rgb: 80, 172, 188; }
.clanCard--plum-blue { --clan-accent: #aa72bd; --clan-accent-rgb: 170, 114, 189; --clan-secondary: #608ccc; --clan-secondary-rgb: 96, 140, 204; }
.clanCard--teal-green { --clan-accent: #479f9a; --clan-accent-rgb: 71, 159, 154; --clan-secondary: #75aa61; --clan-secondary-rgb: 117, 170, 97; }
.clanCard--lavender-cyan { --clan-accent: #9a83d2; --clan-accent-rgb: 154, 131, 210; --clan-secondary: #5caeba; --clan-secondary-rgb: 92, 174, 186; }
.clanCard--navy-amber { --clan-accent: #617caf; --clan-accent-rgb: 97, 124, 175; --clan-secondary: #c39b58; --clan-secondary-rgb: 195, 155, 88; }
.clanCard--forest-lime { --clan-accent: #568f69; --clan-accent-rgb: 86, 143, 105; --clan-secondary: #9eaf5e; --clan-secondary-rgb: 158, 175, 94; }
.clanCard--coral-violet { --clan-accent: #c97772; --clan-accent-rgb: 201, 119, 114; --clan-secondary: #9272c6; --clan-secondary-rgb: 146, 114, 198; }
.clanCard--sky-teal { --clan-accent: #659fc7; --clan-accent-rgb: 101, 159, 199; --clan-secondary: #52a58f; --clan-secondary-rgb: 82, 165, 143; }
.clanCard--magenta-indigo { --clan-accent: #bd6da3; --clan-accent-rgb: 189, 109, 163; --clan-secondary: #6f78c7; --clan-secondary-rgb: 111, 120, 199; }
.clanCard--copper-blue { --clan-accent: #bb805f; --clan-accent-rgb: 187, 128, 95; --clan-secondary: #608fc2; --clan-secondary-rgb: 96, 143, 194; }
.clanCard--emerald-amber { --clan-accent: #4e9b79; --clan-accent-rgb: 78, 155, 121; --clan-secondary: #c19a52; --clan-secondary-rgb: 193, 154, 82; }

.clanCard__lastBump {
  position: absolute;
  top: -13px;
  left: 50%;
  z-index: 4;
  display: grid;
  min-width: 126px;
  justify-items: center;
  padding: 0.42rem 0.9rem 0.46rem;
  border: 1px solid rgba(255, 221, 151, 0.78);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(180deg, #f8d581, #c98932);
  box-shadow: 0 8px 19px rgba(0, 0, 0, 0.34), 0 3px rgba(0, 0, 0, 0.12), inset 0 1px rgba(255, 255, 255, 0.42);
  color: #211609;
  line-height: 1;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.clanCard__lastBump::before,
.clanCard__lastBump::after {
  position: absolute;
  top: 0;
  z-index: -1;
  width: 11px;
  height: 16px;
  background: #d9a44e;
  content: "";
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.24));
}

.clanCard__lastBump::before {
  left: -10px;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.clanCard__lastBump::after {
  right: -10px;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}

.clanCard__lastBump span {
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  opacity: 0.74;
}

.clanCard__lastBump strong {
  margin-top: 0.2rem;
  font-size: 0.82rem;
  font-weight: 800;
}

.clanCard__header {
  gap: 1.15rem;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 0.5rem;
}

.clanCard__mainIdentity {
  display: flex;
  min-width: 0;
  gap: 1rem;
  align-items: center;
}

.clanCard__emblem {
  width: 76px;
  height: 76px;
  flex-basis: 76px;
  border-color: rgba(var(--clan-secondary-rgb), 0.28);
  background:
    radial-gradient(circle, rgba(var(--clan-secondary-rgb), 0.18), transparent 68%),
    rgba(4, 6, 9, 0.4);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.045),
    0 8px 24px rgba(0, 0, 0, 0.27),
    0 0 20px rgba(var(--clan-secondary-rgb), 0.09);
}

.clanCard__badge {
  width: 68px;
  height: 68px;
}

.clanCard__badgeFallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--clan-secondary);
  font-size: 2rem;
  opacity: 0.72;
}

.clanCard__badgeFallback[hidden],
.clanEmpty .filterButton[hidden] {
  display: none;
}

.clanCard__name {
  max-width: 245px;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.clanCard__tag {
  margin-top: 0.3rem;
  color: color-mix(in srgb, var(--clan-accent) 70%, #fff);
  font-size: 0.76rem;
  font-weight: 700;
}

.clanCard__rightInfo {
  display: grid;
  flex: 0 0 auto;
  gap: 0.62rem;
  justify-items: end;
}

.clanCard__members {
  display: inline-flex;
  min-height: 34px;
  gap: 0.42rem;
  align-items: center;
  padding: 0.4rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.22);
  color: #f0f1f3;
  font-size: 0.74rem;
}

.clanCard__members img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.clanCard__badges {
  min-height: 25px;
  justify-content: flex-end;
  margin: 0;
  gap: 0.42rem;
}

.clanCard__label {
  position: relative;
  display: inline-grid;
  width: 25px;
  height: 25px;
  place-items: center;
  padding: 0;
  border-radius: 7px;
  cursor: default;
  font-size: 0.72rem;
}

.clanCard__label::before {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: calc(100% + 9px);
  z-index: 8;
  width: max-content;
  max-width: 150px;
  padding: 0.42rem 0.58rem;
  border: 1px solid rgba(131, 85, 18, 0.22);
  border-radius: 7px;
  background: linear-gradient(180deg, #f8d77f, #dfaa4e);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3), inset 0 1px rgba(255, 255, 255, 0.35);
  color: #251807;
  content: attr(data-tooltip);
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(4px);
  transition: opacity 150ms ease, transform 150ms ease;
  white-space: nowrap;
}

.clanCard__label::after {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: calc(100% + 5px);
  z-index: 9;
  width: 8px;
  height: 8px;
  border-right: 1px solid rgba(131, 85, 18, 0.2);
  border-bottom: 1px solid rgba(131, 85, 18, 0.2);
  background: #dfaa4e;
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(4px) rotate(45deg);
  transition: opacity 150ms ease, transform 150ms ease;
}

.clanCard__label:hover::before,
.clanCard__label:hover::after,
.clanCard__label:focus-visible::before,
.clanCard__label:focus-visible::after {
  opacity: 1;
}

.clanCard__label:hover::before,
.clanCard__label:focus-visible::before {
  transform: translateX(-50%) translateY(0);
}

.clanCard__label:hover::after,
.clanCard__label:focus-visible::after {
  transform: translateX(-50%) translateY(0) rotate(45deg);
}

.clanCard__label--creator { border-color: rgba(225, 101, 101, 0.23); background: rgba(225, 101, 101, 0.1); color: #eba0a0; }
.clanCard__label--partner { border-color: rgba(88, 101, 242, 0.25); background: rgba(88, 101, 242, 0.12); color: #b8c0ff; }
.clanCard__label--premium { border-color: rgba(244, 177, 63, 0.28); background: rgba(244, 177, 63, 0.12); color: #f0c473; }

.clanCard__features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.05rem;
}

.clanCard__features > span {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  gap: 0.28rem;
  padding: 0.3rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 8px;
  background: rgba(3, 5, 8, 0.24);
  color: #c3c5ca;
  font-size: 0.65rem;
  font-weight: 500;
  line-height: 1;
}

.clanCard__features b {
  color: var(--clan-accent);
  font-size: 0.6rem;
}

.clanCard__features .clanCard__status {
  margin: 0;
  border-color: rgba(79, 207, 134, 0.2);
  background: rgba(79, 207, 134, 0.075);
  color: #79dca3;
}

.clanCard__features .clanCard__status--closed {
  border-color: rgba(255, 125, 125, 0.18);
  background: rgba(255, 125, 125, 0.065);
  color: #e99999;
}

.clanCard__features .clanCard__status--invite {
  border-color: rgba(244, 177, 63, 0.2);
  background: rgba(244, 177, 63, 0.075);
  color: #e8bc6e;
}

.clanCard__description {
  display: block;
  height: 5.9rem;
  min-height: 5.9rem;
  max-height: 5.9rem;
  margin: 1rem 0 0;
  padding: 0 0.55rem 0 0;
  color: #a5a8b0;
  font-size: 0.76rem;
  line-height: 1.55;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-box-orient: initial;
  -webkit-line-clamp: initial;
  scrollbar-color: rgba(var(--clan-accent-rgb), 0.6) transparent;
  scrollbar-width: thin;
  white-space: pre-line;
}

.clanCard__description::-webkit-scrollbar {
  width: 4px;
}

.clanCard__description::-webkit-scrollbar-track {
  background: transparent;
}

.clanCard__description::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(var(--clan-accent-rgb), 0.58);
}

.clanCard__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 1rem;
}

.clanCard__action {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  color: #f7f7f8;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: filter 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.clanCard__action--clan {
  border-color: rgba(var(--clan-accent-rgb), 0.25);
  background: rgba(var(--clan-accent-rgb), 0.16);
}

.clanCard__action--discord {
  border-color: rgba(112, 124, 255, 0.28);
  background: linear-gradient(180deg, rgba(88, 101, 242, 0.88), rgba(63, 75, 204, 0.9));
}

.clanCard__action:hover:not(.is-disabled) {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.clanCard__action.is-disabled {
  background: rgba(255, 255, 255, 0.04);
  color: #757983;
  cursor: not-allowed;
  opacity: 0.6;
}

.clanPagination {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  justify-content: center;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.clanPagination[hidden] {
  display: none;
}

.clanPagination__pages {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.clanPagination button {
  display: inline-flex;
  min-width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  color: #b7bac1;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.clanPagination button:hover:not(:disabled),
.clanPagination button.is-active {
  border-color: rgba(244, 177, 63, 0.35);
  background: rgba(244, 177, 63, 0.11);
  color: #f0bd64;
}

.clanPagination button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.clanPagination button:focus-visible {
  outline: 3px solid rgba(244, 177, 63, 0.3);
  outline-offset: 2px;
}

.clanPagination button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.clanPagination__direction {
  gap: 0.35rem;
  padding: 0 0.8rem;
}

.clanPagination__ellipsis {
  min-width: 24px;
  color: #6f737c;
  text-align: center;
}

.clanCard__button:hover {
  background: #f4b13f;
  color: #18130a;
  transform: translateY(-1px);
}

.clanEmpty {
  padding: clamp(3.5rem, 8vw, 6.5rem) 1.5rem;
  border: 1px dashed rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.018);
  text-align: center;
}

.clanEmpty__icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 1rem;
  border: 1px solid rgba(244, 177, 63, 0.2);
  border-radius: 50%;
  background: rgba(244, 177, 63, 0.06);
  color: #dca957;
  font-size: 2rem;
  line-height: 58px;
}

.clanEmpty h3 {
  margin: 0;
  color: #f0f1f2;
  font-size: 1.15rem;
}

.clanEmpty p {
  margin: 0.6rem 0 1.35rem;
  color: #8f929b;
  font-size: 0.88rem;
}

.clanEmpty .filterButton {
  color: #efbf69;
}

@media (max-width: 1180px) {
  .clanFilters {
    grid-template-columns: 1fr 1.6fr;
  }

  .clanFilters__actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }

  .clanGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .clanFilters__primary,
  .advancedFilters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .clanFilters__actions {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .bumpsHero {
    padding: 3.75rem 0 2.75rem;
  }

  .bumpsHero__description {
    line-height: 1.65;
  }

  .clanFilters {
    padding: 1rem;
    border-radius: 18px;
  }

  .clanFilters__primary,
  .advancedFilters {
    grid-template-columns: 1fr;
  }

  .clanFilters__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .filterButton--more {
    justify-content: center;
  }

  .clanResults__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }

  .clanResults__count {
    margin: 0;
  }

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

  .clanCard {
    padding: 1rem;
  }

  .clanCard__emblem {
    width: 66px;
    height: 66px;
    flex-basis: 66px;
  }

  .clanCard__badge {
    width: 56px;
    height: 56px;
  }

  .clanCard__header {
    gap: 0.75rem;
  }

  .clanCard__name {
    max-width: 190px;
    font-size: 1.02rem;
  }

  .clanCard__features .clanCard__status {
    position: static;
  }

  .clanCard__rightInfo {
    gap: 0.35rem;
  }

  .clanPagination {
    gap: 0.4rem;
  }

  .clanPagination__direction {
    padding: 0 0.65rem;
  }
}

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

  .clanCard__header {
    align-items: center;
  }

  .clanCard__emblem {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
  }

  .clanCard__badge {
    width: 52px;
    height: 52px;
  }

  .clanCard__members {
    padding-inline: 0.45rem;
  }

  .clanCard__name {
    max-width: 135px;
  }

  .clanCard__actions {
    gap: 0.45rem;
  }

  .clanPagination__direction span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .clanCard,
  .clanCard__button,
  .filterButton,
  .filterButton--more svg {
    transition: none;
  }
}
