@font-face {
  font-family: "Grindy Brush";
  src: url("../fonts/Grindy%20Brush.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.soho-vote-page {
  position: relative;
  padding: 60px 0 40px;
  background-color: var(--soho-black);
  background-image: url(../img/background-dark.webp);
  background-size: cover;
  background-position: center center;
}

.soho-vote-page .container {
  position: relative;
  z-index: 2;
}

.soho-vote-hero {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 45px;
}

.soho-vote-hero-title {
  font-family: "Grindy Brush", "Oswald", sans-serif;
  font-weight: 100;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 2px;
  margin-bottom: 25px;
  width: 1000px;
}

.soho-vote-hero-title-main,
.soho-vote-hero-title-accent {
  display: block;
  font-size: clamp(1.9rem, 5vw, 3.6rem);
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.85);
}

.soho-vote-hero-title-main {
  color: #fff;
}

.soho-vote-hero-title-accent {
  color: var(--soho-red);
  margin-top: 8px;
}

.soho-vote-hero-text {
  color: var(--soho-text-grey);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
}

.soho-vote-panel {
  max-width: 720px;
  margin: 0 auto 55px;
  background: rgba(15, 15, 15, 0.82);
  border: 1px solid #262626;
  border-top: 4px solid var(--soho-red);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.85);
  padding: 30px;
}

.soho-vote-card {
  background: var(--soho-dark-grey);
  border: 1px solid #222;
  border-top: 4px solid var(--soho-red);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.8);
  padding: 30px;
  margin-bottom: 30px;
}

.soho-vote-card-title {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--soho-red);
  font-size: 1.8rem;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.soho-vote-card-text {
  color: var(--soho-text-grey);
  font-size: 0.95rem;
  margin-bottom: 22px;
}

.soho-vote-field {
  margin-bottom: 20px;
}

.soho-vote-label {
  display: block;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 1px;
  font-size: 0.85rem;
  color: #fff;
  margin-bottom: 8px;
}

.soho-vote-input {
  width: 100%;
  background: #0f0f0f;
  border: 1px solid #333;
  border-radius: 25px;
  color: #fff;
  padding: 12px 20px;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.soho-vote-input::placeholder {
  color: #666;
}

.soho-vote-input:focus {
  outline: none;
  border-color: var(--soho-red);
  box-shadow: 0 0 12px rgba(245, 44, 59, 0.35);
}

.soho-vote-error {
  color: var(--soho-red);
  font-size: 0.85rem;
  min-height: 1.1em;
  margin-top: 6px;
  font-weight: 500;
}

.soho-vote-consent {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: start;
  gap: 12px;
  cursor: pointer;
  margin-top: 10px;
  user-select: none;
}

.soho-vote-consent-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.soho-vote-consent-box {
  width: 24px;
  height: 24px;
  border: 2px solid #444;
  border-radius: 6px;
  background: #0f0f0f;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.soho-vote-consent-box i {
  color: #fff;
  font-size: 1rem;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s ease;
}

.soho-vote-consent-input:checked + .soho-vote-consent-box {
  background: linear-gradient(50deg, #f52c3b, #8f1923);
  border-color: var(--soho-red);
  box-shadow: 0 0 12px rgba(245, 44, 59, 0.5);
}

.soho-vote-consent-input:checked + .soho-vote-consent-box i {
  opacity: 1;
  transform: scale(1);
}

.soho-vote-consent-input:focus-visible + .soho-vote-consent-box {
  border-color: var(--soho-red);
}

.soho-vote-consent-text {
  color: #ddd;
  font-size: 0.9rem;
  line-height: 24px;
  text-align: left;
}

.soho-vote-consent + .soho-vote-error {
  padding-left: 36px;
}

.soho-vote-actions {
  margin-top: 22px;
}

.soho-vote-next {
  border: none;
  cursor: pointer;
  font-family: "Oswald", sans-serif;
  font-size: 1rem !important;
  padding: 10px 28px !important;
  letter-spacing: 1px;
}

.soho-vote-standings {
  max-width: 900px;
  margin: 0 auto;
}

.soho-vote-standings-full {
  margin-top: 10px;
}

.soho-vote-standings-title {
  font-family: "Grindy Brush", "Oswald", sans-serif;
  font-weight: 400;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.85);
  margin-bottom: 30px;
}

.soho-vote-total {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--soho-text-grey);
  text-align: center;
  margin-top: 18px;
}

.soho-vote-total strong {
  color: var(--soho-red);
  font-size: 1rem;
}

.soho-vote-standings-viewport {
  overflow: hidden;
}

.soho-vote-standings-track {
  display: flex;
  transition: transform 0.4s ease;
}

.soho-vote-standings-page {
  flex: 0 0 100%;
  min-width: 100%;
}

.soho-vote-standing {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.soho-vote-standing:last-child {
  margin-bottom: 0;
}

.soho-vote-standing-badge {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--soho-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 0 15px rgba(245, 44, 59, 0.55);
}

.soho-vote-standing-name {
  font-family: "Grindy Brush", "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  font-size: clamp(1.1rem, 2.2vw, 1.75rem);
  line-height: 1.25;
  white-space: nowrap;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.8);
}

.soho-vote-bar {
  flex: 1 1 auto;
  min-width: 60px;
  height: 22px;
  display: block;
  background: #5d1a1f;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.6);
}

.soho-vote-bar-fill {
  display: block;
  height: 100%;
  background: var(--soho-red);
  border-radius: 4px;
  box-shadow: 0 0 14px rgba(245, 44, 59, 0.65);
  transition: width 0.5s ease;
}

.soho-vote-standing-votes {
  flex: 0 0 auto;
  min-width: 62px;
  text-align: right;
  font-family: "Grindy Brush", "Oswald", sans-serif;
  color: #fff;
  font-size: clamp(1rem, 1.8vw, 1.45rem);
  line-height: 1.25;
  letter-spacing: 1px;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.8);
}

.soho-vote-dots {
  margin-top: 26px;
  padding-bottom: 0 !important;
  flex-wrap: wrap;
  gap: 10px !important;
  max-width: 100%;
  padding-left: 50px;
  justify-content: flex-start !important;
}

.soho-vote-dots .soho-carousel-dot {
  width: 10px;
  height: 10px;
  background-color: #8a8a8a;
}

.soho-vote-dots .soho-carousel-dot.active {
  background-color: var(--soho-red);
}

.soho-vote-step2-head {
  text-align: center;
  margin-bottom: 35px;
}

.soho-vote-step2-head .soho-vote-card-title {
  font-family: "Grindy Brush", "Oswald", sans-serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.85);
  margin-bottom: 18px;
}

.soho-vote-limit {
  color: #fff;
  font-size: 0.85rem;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.soho-vote-limit i {
  color: var(--soho-red);
  margin-right: 5px;
}

.soho-vote-back {
  background: transparent;
  border: 1px solid #444;
  color: #fff;
  border-radius: 25px;
  padding: 6px 22px;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
}

.soho-vote-back:hover {
  border-color: var(--soho-red);
  color: var(--soho-red);
}

.soho-vote-dj {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.soho-vote-vinyl {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.soho-vote-vinyl-disc {
  position: absolute;
  inset: 0;
  background-image: url(../img/cd_events_background.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.6s ease;
  z-index: 0;
  pointer-events: none;
}

.soho-vote-dj:hover .soho-vote-vinyl-disc {
  transform: rotate(10deg);
}

.soho-vote-dj-media {
  position: relative;
  z-index: 1;
  width: 72%;
  aspect-ratio: 1 / 1;
  background: #000;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.85);
  transition: box-shadow 0.3s, outline-color 0.3s;
  outline: 3px solid transparent;
  outline-offset: 0;
}

.soho-vote-dj-media.has-video {
  cursor: pointer;
}

.soho-vote-dj.is-picked .soho-vote-dj-media {
  outline-color: var(--soho-red);
  box-shadow: 0 0 35px rgba(245, 44, 59, 0.55);
}

.soho-vote-dj-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.soho-vote-dj-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  display: block;
}

.soho-vote-dj-media.has-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.soho-vote-dj-media.has-video:hover::after {
  opacity: 1;
}

.soho-vote-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.85);
  background: linear-gradient(50deg, #f52c3b, #8f1923);
  color: #fff;
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.7), 0 0 20px rgba(245, 44, 59, 0.6);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
  z-index: 3;
  padding: 0;
  line-height: 1;
}

.soho-vote-play i {
  margin-left: 3px;
}

.soho-vote-dj-media:hover .soho-vote-play {
  transform: translate(-50%, -50%) scale(1.08);
}

.soho-vote-play:hover {
  background: #fff;
  color: var(--soho-red);
}

.soho-vote-dj-name {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  font-size: 1.25rem;
  text-align: center;
  padding: 18px 15px 0;
}

.soho-vote-pick {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 15px 20px 22px;
  padding: 12px 20px;
  border: 2px solid #333;
  border-radius: 50px;
  background: #0f0f0f;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease;
}

.soho-vote-pick:hover {
  border-color: #666;
}

.soho-vote-pick-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.soho-vote-pick-box {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border: 2px solid #555;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.soho-vote-pick-box i {
  color: #fff;
  font-size: 1rem;
  opacity: 0;
  transform: scale(0.4);
  transition: all 0.2s ease;
}

.soho-vote-pick-label {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 0.9rem;
  color: #fff;
}

.soho-vote-dj.is-picked .soho-vote-pick {
  border-color: var(--soho-red);
  background: linear-gradient(50deg, rgba(245, 44, 59, 0.18), rgba(143, 25, 35, 0.18));
  box-shadow: 0 0 15px rgba(245, 44, 59, 0.3);
}

.soho-vote-dj.is-picked .soho-vote-pick-box {
  background: linear-gradient(50deg, #f52c3b, #8f1923);
  border-color: var(--soho-red);
}

.soho-vote-dj.is-picked .soho-vote-pick-box i {
  opacity: 1;
  transform: scale(1);
}

.soho-vote-dj.is-picked .soho-vote-pick-label {
  color: var(--soho-red);
}

.soho-vote-pick.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.soho-vote-bottombar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  padding: 18px 15px 22px;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.92) 55%);
  z-index: 1050;
  pointer-events: none;
}

.soho-vote-submit {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  background: linear-gradient(50deg, #f52c3b, #8f1923);
  color: #fff;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 1.05rem;
  padding: 14px 38px;
  border-radius: 50px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(245, 44, 59, 0.45);
  transition: background 0.3s, color 0.3s, transform 0.2s;
}

.soho-vote-submit:hover {
  background: #fff;
  color: var(--soho-red);
  transform: translateY(-2px);
}

.soho-vote-submit-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 50px;
  background: rgba(0, 0, 0, 0.35);
  font-size: 0.9rem;
}

.soho-vote-submit:hover .soho-vote-submit-count {
  background: rgba(245, 44, 59, 0.15);
}

.soho-vote-done {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 25vh;
  margin-bottom: 45px;
}

.soho-vote-done-card {
  background: var(--soho-dark-grey);
  border: 1px solid #222;
  border-top: 4px solid var(--soho-red);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.85);
  padding: 55px 45px;
  text-align: center;
  max-width: 640px;
  width: 100%;
}

.soho-vote-done-icon {
  font-size: 4rem;
  color: var(--soho-red);
  line-height: 1;
  margin-bottom: 18px;
}

.soho-vote-done-title {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  font-size: 1.7rem;
  margin: 0;
}

.soho-swal-popup {
  background: #1a1a1a !important;
  color: #fff !important;
  border-radius: 16px !important;
  border: 2px solid var(--soho-red) !important;
  box-shadow: 0 0 30px #000a;
}

.soho-swal-title {
  font-family: "Oswald", sans-serif !important;
  color: var(--soho-red) !important;
  font-size: 2rem !important;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

.soho-swal-icon {
  color: var(--soho-red) !important;
}

.soho-btn-details.swal2-confirm {
  background: linear-gradient(50deg, #f52c3b, #8f1923) !important;
  color: #fff !important;
  border-radius: 20px !important;
  font-size: 1rem !important;
  font-family: "Oswald", sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  padding: 8px 30px !important;
  margin-top: 15px !important;
  border: none !important;
  box-shadow: none !important;
}

.soho-btn-details.swal2-confirm:hover {
  background: #fff !important;
  color: var(--soho-red) !important;
}

.soho-btn-cancel.swal2-cancel {
  background: #333 !important;
  color: #fff !important;
  border-radius: 20px !important;
  font-size: 1rem !important;
  font-family: "Oswald", sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  padding: 8px 30px !important;
  margin-top: 15px !important;
  border: none !important;
  box-shadow: none !important;
}

.soho-btn-cancel.swal2-cancel:hover {
  background: var(--soho-red) !important;
  color: #fff !important;
}

@media (max-width: 767.98px) {
  .soho-vote-page {
    padding: 35px 0 30px;
  }

  .soho-vote-page::after {
    background-attachment: scroll;
  }

  .soho-vote-card,
  .soho-vote-panel {
    padding: 22px 18px;
    margin-bottom: 30px;
  }

  .soho-vote-hero {
    margin-bottom: 30px;
  }

  .soho-vote-hero-title {
    letter-spacing: 1px;
    width: auto;
  }

  .soho-vote-standing {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
  }

  .soho-vote-standing-badge {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    font-size: 0.8rem;
  }

  .soho-vote-standing-name {
    white-space: normal;
    flex: 1 1 auto;
  }

  .soho-vote-bar {
    flex: 1 1 100%;
    height: 16px;
    order: 3;
  }

  .soho-vote-standing-votes {
    order: 2;
    min-width: 40px;
  }

  .soho-vote-dots {
    padding-left: 0;
    justify-content: center !important;
  }

  .soho-vote-card-title {
    font-size: 1.4rem;
  }

  .soho-vote-play {
    width: 62px;
    height: 62px;
    font-size: 1.8rem;
  }

  .soho-vote-vinyl {
    max-width: 420px;
  }

  .soho-vote-dj-name {
    font-size: 1.05rem;
    padding-top: 14px;
  }

  .soho-vote-pick {
    margin: 12px 14px 18px;
    padding: 10px 14px;
  }

  .soho-vote-submit {
    font-size: 0.95rem;
    padding: 12px 26px;
    width: 100%;
    justify-content: center;
  }

  .soho-vote-bottombar {
    padding: 14px 12px 16px;
  }

  .soho-vote-done-card {
    padding: 38px 22px;
  }

  .soho-vote-done-title {
    font-size: 1.3rem;
  }

  .soho-vote-done-icon {
    font-size: 3rem;
  }
}

body.soho-vote-has-bottombar .soho-vote-page {
  padding-bottom: 120px;
}
