/* SOUNINY cookie consent banner — first-visit only, front page */
.sn-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  background: rgba(13, 14, 17, 0.97);
  border-top: 0.5px solid #2a2c31;
  color: #c5c8cd;
  font-family: var(--font-sans, system-ui, -apple-system, "Segoe UI", sans-serif);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  display: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.sn-cookie-banner.is-visible {
  display: block;
  transform: translateY(0);
}
.sn-cookie-banner__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  gap: 24px;
  align-items: center;
}
.sn-cookie-banner__text {
  flex: 1;
  min-width: 0;
}
.sn-cookie-banner__text p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}
.sn-cookie-banner__text a {
  color: #ff7a1a;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sn-cookie-banner__text a:hover {
  opacity: 0.85;
}
.sn-cookie-banner__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.sn-cookie-banner__btn {
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  border: 0.5px solid;
  transition: opacity 0.15s, transform 0.05s;
  letter-spacing: 0.01em;
}
.sn-cookie-banner__btn:hover {
  opacity: 0.88;
}
.sn-cookie-banner__btn:active {
  transform: scale(0.98);
}
.sn-cookie-banner__btn--primary {
  background: #ff7a1a;
  color: #0d0e11;
  border-color: #ff7a1a;
}
.sn-cookie-banner__btn--secondary {
  background: transparent;
  color: #c5c8cd;
  border-color: #3a3c42;
}
.sn-cookie-banner__btn--secondary:hover {
  border-color: #55585f;
}

@media (max-width: 768px) {
  .sn-cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px;
  }
  .sn-cookie-banner__actions {
    flex-direction: column;
  }
  .sn-cookie-banner__btn {
    width: 100%;
    text-align: center;
  }
}

/* ============================================================
   Customize modal
   ============================================================ */
.sn-cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
}
.sn-cookie-modal.is-visible {
  display: block;
}
.sn-cookie-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.sn-cookie-modal__panel {
  position: relative;
  max-width: 560px;
  margin: 8vh auto;
  background: #16181c;
  border: 0.5px solid #2a2c31;
  border-radius: 14px;
  padding: 28px;
  color: #c5c8cd;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.sn-cookie-modal__panel h2 {
  font-size: 18px;
  margin: 0 0 8px;
  color: #f6f7f8;
  font-weight: 500;
}
.sn-cookie-modal__panel > p {
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 20px;
  color: #9aa0a6;
}
.sn-cookie-modal__row {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-top: 0.5px solid #2a2c31;
  align-items: center;
}
.sn-cookie-modal__row-label {
  flex: 1;
  min-width: 0;
}
.sn-cookie-modal__row-label h3 {
  font-size: 14px;
  margin: 0 0 4px;
  color: #f6f7f8;
  font-weight: 500;
}
.sn-cookie-modal__row-label p {
  font-size: 12px;
  line-height: 1.55;
  margin: 0;
  color: #7c8088;
}
.sn-cookie-modal__footer {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 0.5px solid #2a2c31;
}

/* Toggle switch */
.sn-cookie-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.sn-cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.sn-cookie-toggle span {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #3a3c42;
  border-radius: 24px;
  transition: background 0.2s;
}
.sn-cookie-toggle span::before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  top: 3px;
  background: #f6f7f8;
  border-radius: 50%;
  transition: transform 0.2s;
}
.sn-cookie-toggle input:checked + span {
  background: #ff7a1a;
}
.sn-cookie-toggle input:checked + span::before {
  transform: translateX(20px);
}
.sn-cookie-toggle--locked span {
  background: #ff7a1a;
  opacity: 0.55;
  cursor: not-allowed;
}
.sn-cookie-toggle--locked span::before {
  background: #f6f7f8;
  opacity: 0.7;
}

@media (max-width: 540px) {
  .sn-cookie-modal__panel {
    margin: 4vh 12px;
    padding: 22px;
  }
}
