/*!*
 * This file is part of the SplendidBear Websites' projects.
 *
 * Copyright (c) 2026 @ www.splendidbear.org
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

.profile-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 32px 36px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(35, 111, 135, 0.2);
  border-radius: 10px;
  backdrop-filter: blur(4px);
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.4);
}

.profile-avatar {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(35, 111, 135, 0.45) 0%, rgba(173, 10, 5, 0.3) 100%);
  border: 2px solid rgba(35, 111, 135, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 800 28px 'Rajdhani', sans-serif;
  color: rgba(149, 207, 245, 0.9);
  letter-spacing: 2px;
  box-shadow: 0 0 0 4px rgba(35, 111, 135, 0.08), 0 0 24px rgba(35, 111, 135, 0.2);
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow 200ms ease;

  &:hover {
    box-shadow: 0 0 0 4px rgba(35, 111, 135, 0.18), 0 0 32px rgba(35, 111, 135, 0.4);

    .profile-avatar__overlay {
      opacity: 1;
    }
  }

  &--loading {
    pointer-events: none;
    opacity: 0.6;
  }

  &__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
  }

  &__initials {
    font: 800 28px 'Rajdhani', sans-serif;
    color: rgba(149, 207, 245, 0.9);
    letter-spacing: 2px;
    pointer-events: none;
  }

  &__overlay {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 200ms ease;
    pointer-events: none;

    i {
      font-size: 20px;
      color: #fff;
    }
  }
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.profile-name {
  font: 800 32px 'Rajdhani', sans-serif;
  color: #ffffff;
  letter-spacing: 1px;
  line-height: 1;
}

.profile-email {
  font: 400 14px 'Rajdhani', sans-serif;
  color: rgba(149, 207, 245, 0.6);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  i {
    font-size: 11px;
    opacity: 0.7;
  }
}

.profile-role {
  font: 600 11px 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  gap: 6px;

  i {
    font-size: 10px;
  }
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.profile-stat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 24px 16px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: border-color 200ms ease, background 200ms ease;

  &:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(35, 111, 135, 0.3);
  }

  &--win {
    border-color: rgba(42, 158, 96, 0.18);

    &:hover {
      border-color: rgba(42, 158, 96, 0.45);
    }
  }

  &--loss {
    border-color: rgba(173, 10, 5, 0.18);

    &:hover {
      border-color: rgba(173, 10, 5, 0.45);
    }
  }

  &--bomb {
    border-color: rgba(246, 125, 82, 0.18);

    &:hover {
      border-color: rgba(246, 125, 82, 0.45);
    }
  }

  &--draw {
    border-color: rgba(149, 207, 245, 0.15);

    &:hover {
      border-color: rgba(149, 207, 245, 0.4);
    }
  }

  &--rate {
    border-color: rgba(168, 130, 255, 0.18);

    &:hover {
      border-color: rgba(168, 130, 255, 0.4);
    }
  }

  &--avg {
    border-color: rgba(80, 200, 220, 0.18);

    &:hover {
      border-color: rgba(80, 200, 220, 0.4);
    }
  }

  &--bonus {
    border-color: rgba(255, 215, 0, 0.18);

    &:hover {
      border-color: rgba(255, 215, 0, 0.45);
    }
  }

  &--avg-bonus {
    border-color: rgba(230, 184, 60, 0.18);

    &:hover {
      border-color: rgba(230, 184, 60, 0.45);
    }
  }

  &--chain {
    border-color: rgba(94, 232, 154, 0.15);

    &:hover {
      border-color: rgba(94, 232, 154, 0.4);
    }
  }

  &--blind {
    border-color: rgba(255, 140, 90, 0.15);

    &:hover {
      border-color: rgba(255, 140, 90, 0.4);
    }
  }

  &--edge {
    border-color: rgba(168, 210, 255, 0.15);

    &:hover {
      border-color: rgba(168, 210, 255, 0.4);
    }
  }
}

.profile-stat__icon {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.15);
  margin-bottom: 2px;

  .profile-stat--win & {
    color: rgba(94, 232, 154, 0.3);
  }

  .profile-stat--loss & {
    color: rgba(246, 125, 82, 0.3);
  }

  .profile-stat--bomb & {
    color: rgba(246, 125, 82, 0.25);
  }

  .profile-stat--draw & {
    color: rgba(149, 207, 245, 0.35);
  }

  .profile-stat--rate & {
    color: rgba(168, 130, 255, 0.35);
  }

  .profile-stat--avg & {
    color: rgba(80, 200, 220, 0.35);
  }

  .profile-stat--bonus & {
    color: rgba(255, 215, 0, 0.35);
  }

  .profile-stat--avg-bonus & {
    color: rgba(230, 184, 60, 0.3);
  }

  .profile-stat--chain & {
    color: rgba(94, 232, 154, 0.3);
  }

  .profile-stat--blind & {
    color: rgba(255, 140, 90, 0.3);
  }

  .profile-stat--edge & {
    color: rgba(168, 210, 255, 0.3);
  }
}

.profile-stat__value {
  display: block;
  font: 800 40px 'Rajdhani', sans-serif;
  color: #ffffff;
  line-height: 1;

  .profile-stat--win & {
    color: #5ee89a;
  }

  .profile-stat--loss & {
    color: #f67d52;
  }

  .profile-stat--bomb & {
    color: rgba(246, 125, 82, 0.8);
  }

  .profile-stat--draw & {
    color: #95cff5;
  }

  .profile-stat--rate & {
    color: #c8a8ff;

    small {
      font-size: 0.55em;
      opacity: 0.7;
      margin-left: 1px;
    }
  }

  .profile-stat--avg & {
    color: #50c8dc;
  }

  .profile-stat--bonus & {
    color: #ffd700;
  }

  .profile-stat--avg-bonus & {
    color: #e6b83c;
  }

  .profile-stat--chain & {
    color: #5ee89a;
  }

  .profile-stat--blind & {
    color: #ff8c5a;
  }

  .profile-stat--edge & {
    color: #a8d2ff;
  }
}

.profile-stat__label {
  font: 600 10px 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.3);
}

.profile-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.profile-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: rgba(35, 111, 135, 0.12);
  color: rgba(149, 207, 245, 0.75);
  border: 1px solid rgba(35, 111, 135, 0.3);
  border-radius: 6px;
  text-decoration: none;
  font: 600 12px 'Rajdhani', sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease;

  i {
    font-size: 11px;
    opacity: 0.8;
  }

  &:hover {
    background: rgba(35, 111, 135, 0.22);
    border-color: rgba(35, 111, 135, 0.55);
    color: rgba(149, 207, 245, 1);
    text-decoration: none;
  }
}

.profile-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.profile-section__description {
  font-size: 13px;
  color: rgba(149, 207, 245, 0.65);
  line-height: 1.6;
  margin: 0;
}

.profile-section__title {
  font: 700 18px 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: rgba(149, 207, 245, 0.45);
  display: flex;
  align-items: center;
  gap: 8px;

  i {
    opacity: 0.7;
  }
}

.profile-games__filter-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}

.profile-games__filter-icon {
  position: absolute;
  left: 14px;
  font-size: 12px;
  color: rgba(149, 207, 245, 0.4);
  pointer-events: none;
}

.profile-games__filter {
  width: 100%;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  padding: 9px 14px 9px 36px;
  font: 500 13px 'Rajdhani', sans-serif;
  color: #fff;
  letter-spacing: 0.5px;
  transition: border-color 200ms ease, background 200ms ease;

  &::placeholder {
    color: rgba(255, 255, 255, 0.3);
  }

  &:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(35, 111, 135, 0.55);
  }
}

.profile-games {
  display: flex;
  flex-direction: column;
  gap: 6px;

  &.is-filtering + .profile-games__load-more {
    display: none;
  }

  &.is-filtering .profile-game--hidden:not(.profile-game--filtered-out) {
    display: grid;
  }

  .profile-game--filtered-out {
    display: none;
  }

  &__load-more {
    align-self: center;
    margin-top: 14px;
    background: rgba(35, 111, 135, 0.12);
    color: rgba(149, 207, 245, 0.75);
    border: 1px solid rgba(35, 111, 135, 0.3);
    border-radius: 6px;
    padding: 9px 20px;
    font: 600 12px 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 200ms ease, border-color 200ms ease, color 200ms ease;

    i {
      font-size: 11px;
      opacity: 0.8;
    }

    &:hover {
      background: rgba(35, 111, 135, 0.22);
      border-color: rgba(35, 111, 135, 0.55);
      color: rgba(149, 207, 245, 1);
    }
  }
}

.profile-game {
  display: grid;
  grid-template-columns: 60px 76px 22px 1fr 18px auto;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-left-width: 3px;
  font: 500 14px 'Rajdhani', sans-serif;
  transition: background 180ms ease, border-color 180ms ease;
  cursor: pointer;

  &:hover {
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(35, 111, 135, 0.35);
    border-left-width: 3px;
  }

  &--win {
    border-left-color: rgba(42, 158, 96, 0.55);
  }

  &--loss {
    border-left-color: rgba(173, 10, 5, 0.55);
  }

  &--draw {
    border-left-color: rgba(149, 207, 245, 0.25);
  }

  &--ongoing {
    border-left-color: rgba(255, 193, 7, 0.4);
    opacity: 0.85;
  }

  &--hidden {
    display: none;
  }
}

.profile-game__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  height: 20px;
  border-radius: 4px;
  font: 800 10px 'Rajdhani', sans-serif;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  gap: 4px;

  .profile-game--win & {
    background: rgba(42, 158, 96, 0.18);
    color: #5ee89a;
  }

  .profile-game--loss & {
    background: rgba(173, 10, 5, 0.18);
    color: #f67d52;
  }

  .profile-game--draw & {
    background: rgba(149, 207, 245, 0.1);
    color: rgba(149, 207, 245, 0.65);
  }

  .profile-game--ongoing & {
    background: rgba(255, 193, 7, 0.12);
    color: #ffc107;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    &::before {
      content: '';
      display: inline-block;
      width: 14px;
      height: 14px;
      border: 2px solid transparent;
      border-top-color: #ffc107;
      border-right-color: #ffc107;
      border-radius: 50%;
      animation: spin 1s linear infinite;
      flex-shrink: 0;
    }
  }

  .profile-game--abandoned & {
    background: rgba(107, 114, 126, 0.18);
    color: #6b727e;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.profile-game__score {
  font: 700 14px 'Rajdhani', sans-serif;
  color: #fff;
  letter-spacing: 1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.profile-game__vs {
  font: 400 10px 'Rajdhani', sans-serif;
  color: rgba(255, 255, 255, 0.22);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

.profile-game__opponent {
  color: rgba(149, 207, 245, 0.7);
  letter-spacing: 0.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-game__color {
  font-size: 10px;
  opacity: 0.6;
}

.profile-game__date {
  font: 400 11px 'Rajdhani', sans-serif;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.5px;
  text-align: right;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.profile-chart-block {
  min-width: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(35, 111, 135, 0.2);
  border-radius: 10px;
  padding: 24px 20px 16px;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 16px;

  .profile-section__title {
    margin: 0;
  }

  &--wide {
    grid-column: 1 / -1;

    .profile-chart-inner {
      justify-content: stretch;
      overflow: hidden;

      > * {
        width: 100% !important;
      }
    }
  }
}

.profile-chart-inner {
  display: flex;
  justify-content: center;
  overflow: hidden;

  svg text {
    font-family: 'Rajdhani', sans-serif !important;
  }
}

.bd {
  display: flex;
  flex-direction: column;
}

.bd-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px 24px 0;
}

.bd-header-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bd-label {
  font: 600 10px 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(149, 207, 245, 0.4);
}

.bd-title {
  font: 800 22px 'Rajdhani', sans-serif;
  color: #fff;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;

  i {
    color: rgba(149, 207, 245, 0.5);
    font-size: 18px;
  }
}

.bd-share {
  background: rgba(35, 111, 135, 0.12);
  border: 1px solid rgba(35, 111, 135, 0.35);
  border-radius: 6px;
  color: rgba(149, 207, 245, 0.7);
  height: 32px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font: 600 11px 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 180ms ease;
  white-space: nowrap;

  &:hover {
    background: rgba(35, 111, 135, 0.22);
    color: #95cff5;
  }

  &--copied {
    background: rgba(42, 158, 96, 0.15);
    border-color: rgba(42, 158, 96, 0.4);
    color: #5ee89a;
  }
}

.bd-continue {
  background: linear-gradient(135deg, rgba(42, 158, 96, 0.35) 0%, rgba(94, 232, 154, 0.35) 100%);
  border: 1px solid rgba(94, 232, 154, 0.6);
  border-radius: 6px;
  color: #5ee89a;
  height: 32px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font: 700 11px 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  transition: all 180ms ease;
  white-space: nowrap;
  box-shadow: 0 0 14px rgba(94, 232, 154, 0.25);

  &:hover {
    background: linear-gradient(135deg, rgba(42, 158, 96, 0.55) 0%, rgba(94, 232, 154, 0.55) 100%);
    color: #fff;
    box-shadow: 0 0 20px rgba(94, 232, 154, 0.45);
  }
}

.bd-close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.4);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 180ms ease;
  flex-shrink: 0;

  &:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
  }
}

.bd-vs-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px 24px;
  gap: 16px;
}

.bd-vs-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.bd-vs-label {
  font: 800 11px 'Rajdhani', sans-serif;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.2);
}

.bd-vs-score {
  display: flex;
  align-items: baseline;
  gap: 6px;

  &__red, &__blue {
    font: 800 52px 'Rajdhani', sans-serif;
    line-height: 1;
    letter-spacing: -1px;
  }

  &__red  { color: #f67d52; text-shadow: 0 0 24px rgba(173, 10, 5, 0.5); }
  &__blue { color: #95cff5; text-shadow: 0 0 24px rgba(35, 111, 135, 0.5); }

  &__sep {
    font: 800 32px 'Rajdhani', sans-serif;
    color: rgba(255, 255, 255, 0.2);
    line-height: 1;
  }
}

.bd-result-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 20px;
  font: 700 12px 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.bd-stats {
  padding: 0 24px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 4px;
  padding-top: 16px;
}

.profile-empty {
  text-align: center;
  padding: 48px 20px;
  color: rgba(255, 255, 255, 0.25);

  i {
    font-size: 40px;
    margin-bottom: 16px;
    opacity: 0.4;
  }

  p {
    font: 400 15px 'Rajdhani', sans-serif;
    letter-spacing: 0.5px;
  }

  a {
    color: #95cff5;
    text-decoration: none;
    font-weight: 600;
    transition: color 180ms;

    &:hover {
      color: #c5e8ff;
    }
  }
}

.bshare-page {
  display: flex;
  justify-content: center;
  padding: 48px 20px 80px;
}

.bshare-card {
  width: 100%;
  max-width: 560px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(35, 111, 135, 0.25);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 64px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);

  &__eyebrow {
    padding: 18px 28px 0;
    font: 600 10px 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(149, 207, 245, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
  }
}

.bshare-vs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  gap: 12px;
}

.bshare-player {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;

  &__name {
    font: 700 16px 'Rajdhani', sans-serif;
    letter-spacing: 0.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 120px;
    text-align: center;
  }

  &__side {
    font: 600 10px 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.3);
  }

  &--red .bshare-player__name { color: #f67d52; }
  &--blue .bshare-player__name { color: #95cff5; }
}

.bshare-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 800 24px 'Rajdhani', sans-serif;
  letter-spacing: 2px;

  &__img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
  }

  &--red {
    background: linear-gradient(135deg, rgba(173, 10, 5, 0.6) 0%, rgba(246, 125, 82, 0.4) 100%);
    border: 2px solid rgba(173, 10, 5, 0.5);
    box-shadow: 0 0 0 3px rgba(173, 10, 5, 0.12), 0 0 28px rgba(173, 10, 5, 0.3);
    color: #f67d52;
  }

  &--blue {
    background: linear-gradient(135deg, rgba(35, 111, 135, 0.6) 0%, rgba(41, 128, 185, 0.4) 100%);
    border: 2px solid rgba(35, 111, 135, 0.5);
    box-shadow: 0 0 0 3px rgba(35, 111, 135, 0.12), 0 0 28px rgba(35, 111, 135, 0.3);
    color: #95cff5;
  }
}

.bshare-vs__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.bshare-vs__label {
  font: 800 11px 'Rajdhani', sans-serif;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.18);
}

.bshare-score {
  display: flex;
  align-items: baseline;
  gap: 6px;

  &__red, &__blue {
    font: 800 56px 'Rajdhani', sans-serif;
    line-height: 1;
    letter-spacing: -1px;
  }

  &__red  { color: #f67d52; text-shadow: 0 0 24px rgba(173, 10, 5, 0.5); }
  &__blue { color: #95cff5; text-shadow: 0 0 24px rgba(35, 111, 135, 0.5); }

  &__sep {
    font: 800 32px 'Rajdhani', sans-serif;
    color: rgba(255, 255, 255, 0.18);
    line-height: 1;
  }

  &--na {
    font: 800 40px 'Rajdhani', sans-serif;
    color: rgba(255, 255, 255, 0.2);
  }
}

.bshare-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 20px;
  font: 700 12px 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;

  &--red  { background: rgba(173, 10, 5, 0.15);    border: 1px solid rgba(173, 10, 5, 0.4);    color: #f67d52; }
  &--blue { background: rgba(35, 111, 135, 0.15);  border: 1px solid rgba(35, 111, 135, 0.4);  color: #95cff5; }
  &--draw { background: rgba(149, 207, 245, 0.08); border: 1px solid rgba(149, 207, 245, 0.3); color: #95cff5; }
}

.bshare-details {
  padding: 16px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bshare-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 500 13px 'Rajdhani', sans-serif;
  color: rgba(255, 255, 255, 0.45);

  i {
    width: 14px;
    color: rgba(149, 207, 245, 0.4);
    font-size: 12px;
  }

  &--bomb {
    color: rgba(246, 125, 82, 0.7);

    i { color: rgba(246, 125, 82, 0.5); }
  }
}

.bshare-cta {
  padding: 20px 28px 28px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.bshare-bonus {
  padding: 28px 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bshare-bonus__title {
  font: 700 13px 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffd700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;

  i { font-size: 14px; }
}

.bshare-bonus__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.bshare-bonus__player {
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);

  &--red {
    border-color: rgba(246, 125, 82, 0.15);
    background: rgba(246, 125, 82, 0.04);
  }

  &--blue {
    border-color: rgba(149, 207, 245, 0.15);
    background: rgba(149, 207, 245, 0.04);
  }
}

.bshare-bonus__header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bshare-bonus__points {
  font: 700 24px 'Rajdhani', sans-serif;
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bshare-bonus__label {
  font: 700 11px 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 215, 0, 0.7);
}

.bshare-bonus__stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bshare-bonus__stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  gap: 8px;
}

.bshare-bonus__stat-label {
  color: rgba(255, 255, 255, 0.6);
  font: 500 11px 'Rajdhani', sans-serif;
  text-transform: capitalize;
}

.bshare-bonus__stat-value {
  font: 700 13px 'Rajdhani', sans-serif;
  color: rgba(255, 215, 0, 0.9);
  min-width: 24px;
  text-align: right;
}

.bshare-bonus__stat--empty {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
}

.bshare-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 6px;
  font: 700 13px 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  transition: all 200ms ease;

  background: linear-gradient(to bottom, #ad0a05 0%, #d4401a 55%, #f67d52 100%);
  border: 1px solid rgba(246, 125, 82, 0.3);
  color: #fff;
  box-shadow: 0 4px 20px rgba(173, 10, 5, 0.3);

  &:hover {
    box-shadow: 0 6px 28px rgba(173, 10, 5, 0.55);
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
  }

  &--ghost {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.5);
    box-shadow: none;

    &:hover {
      background: rgba(255, 255, 255, 0.08);
      color: rgba(255, 255, 255, 0.8);
      box-shadow: none;
    }
  }
}
