@import url("https://cdn.jsdelivr.net/npm/bootstrap@5.3.5/dist/css/bootstrap.min.css");


:root {
  --deep-blue: #13293D;
  --ocean-blue: #1B4965;
  --teal: #247BA0;
  --dark-teal: #1B4965;
  --light-teal: #5C9EAD;
  --electric-blue: #5C9EAD;
  --vibrant-orange: #FF6B35;
  --light-orange: #FF8C61;
  --light-blue: #FFFFFF;
  --pink: #FF6B35;
  --nav-link: #C6DAE7;
  --nav-hover: #FFFFFF;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--light-blue);
  background: linear-gradient(to bottom, var(--deep-blue) 0%, #0A1925 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

.navbar {
  background: linear-gradient(to right, var(--ocean-blue), var(--teal), var(--ocean-blue));
  border-bottom: 2px solid var(--vibrant-orange);
  backdrop-filter: blur(8px);
}

.navbar .container {
  max-width: none;
  width: 100%;
  padding: 0 1rem;
  margin: 0;
}

.navbar-nav .nav-link {
  color: var(--nav-link) !important;
  transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
  color: var(--nav-hover) !important;
}

.nav-btn {
  background: none;
  border: 1px solid var(--nav-link);
  color: var(--nav-link);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
  text-decoration: none;
  font-size: 0.9rem;
}

.nav-btn:hover {
  border-color: var(--nav-hover);
  color: var(--nav-hover);
  background: rgba(255, 255, 255, 0.1);
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: var(--pink);
  border-radius: 50%;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  box-shadow: 0 0 10px var(--pink), 0 0 20px var(--pink);
}

.stream-container {
  width: 100%;
  padding: 0;
  margin: 0;
}

.container {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
}

.now-playing {
  background-color: var(--light-teal);
  width: 100%;
}

.now-playing-badge {
  background-color: var(--vibrant-orange);
  color: var(--deep-blue);
  font-weight: 600;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  width: 100%;
  transition: all 0.3s ease;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

turbo-frame#main > section {
  margin-top: 64px;
  padding-top: 2rem;
}

body[data-full-player="true"] #video {
  margin-top: 64px;
  position: relative;
  width: 100%;
  height: auto;
  bottom: auto;
  right: auto;
  z-index: auto;
}

body[data-full-player="false"] #video,
body[data-full-player="true"] #video.scrolled {
  position: fixed;
  width: 420px;
  height: 240px;
  bottom: 1rem;
  right: 1rem;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .3);
  border-radius: .5rem;
  border: 3px solid var(--vibrant-orange);
  overflow: hidden;
}

/* Search Overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(19, 41, 61, 0.85);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.search-overlay.active {
  display: flex;
  opacity: 1;
}

.search-container {
  width: 100%;
  max-width: 1400px;
  margin: 2rem auto;
  padding: 0 2rem;
}

.search-header {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.search-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-bottom: 2px solid var(--vibrant-orange);
  padding: 1rem;
  color: var(--light-blue);
  font-size: 1.5rem;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.search-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
}

.search-close {
  font-size: 2.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  background: none;
  border: none;
  color: var(--light-blue);
  cursor: pointer;
  padding: 0;
  transition: color 0.3s, transform 0.2s;
}

.search-close:hover {
  color: var(--vibrant-orange);
  transform: scale(1.1);
}

.search-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 1rem;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  padding-right: 0.5rem;
}

.search-results::-webkit-scrollbar {
  width: 8px;
}

.search-results::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.search-results::-webkit-scrollbar-thumb {
  background: var(--vibrant-orange);
  border-radius: 4px;
}

.search-result {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 4px;
  transition: transform 0.2s;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-result:hover {
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.15);
}

.search-result img {
  width: 60px;
  height: 60px;
  border-radius: 4px;
  object-fit: cover;
}

.result-content {
  flex: 1;
}

.search-result h3 {
  color: var(--vibrant-orange);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.search-result p {
  color: var(--light-blue);
  opacity: 0.8;
  margin: 0;
}





.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(19, 41, 61, 0.85);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.show {
  display: flex;
  opacity: 1;
}

.modal-container {
  margin: auto;
  position: relative;
  background: var(--ocean-blue);
  padding: 2.5rem;
  border-radius: 8px;
  border: 2px solid var(--vibrant-orange);
  max-width: 90%;
}

@media (max-width: 768px) {
  .modal-container {
    padding: 0.5rem;
  }
}

.modal-inner {
  max-width: 100%;
  &.login { width: 400px; }
  &.registration { width: 500px; }
  &.directdonation { width: 400px; }
}

.closeModal {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--light-blue);
  font-size: 2.5rem;
  cursor: pointer;
  padding: 0;
  transition: color 0.3s;
  line-height: 1;
}

.closeModal:hover {
  color: var(--vibrant-orange);
}

.oauth-providers {
  margin-top: 1.5rem;
}

.signup-text {
  text-align: center;
  margin-top: 1.75rem;
  font-size: 0.9rem;
  color: #eef2f7;
}

.signup-link {
  margin-left: 0.25rem;
  font-weight: 600;
  color: var(--vibrant-orange);
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.signup-link:hover {
  color: #fff;
  text-decoration: underline;
}



.cancel-button {
  position: absolute;
  top: 1.75rem;
  left: 1.5rem;
  background: none;
  border: none;
  color: var(--light-blue);
  cursor: pointer;
  transition: color 0.3s;
}

.cancel-button:hover {
  color: var(--vibrant-orange);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.75rem;
  border-radius: 4px;
  color: var(--light-blue);
  transition: border-color 0.3s;
}

.login-input:focus {
  outline: none;
  border-color: var(--vibrant-orange);
}

.login-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.login-submit {
  background: var(--vibrant-orange);
  color: var(--deep-blue);
  border: none;
  padding: 0.75rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.login-submit:hover {
  background: var(--light-orange);
}

/* OAuth Providers */
.oauth-providers {
  margin-top: 2rem;
  text-align: center;
}

.oauth-text {
  color: var(--light-blue);
  margin-bottom: 1rem;
  position: relative;
}

.oauth-text::before,
.oauth-text::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 25%;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.oauth-text::before {
  left: 0;
}

.oauth-text::after {
  right: 0;
}

.oauth-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.oauth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: var(--light-blue);
  cursor: pointer;
  transition: all 0.3s ease;
}

.oauth-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.oauth-btn img {
  width: 24px;
  height: 24px;
}

.section-title {
  color: var(--light-blue);
  margin-bottom: 2rem;
}

.section-subtitle {
  color: var(--electric-blue);
  opacity: 0.8;
}

.event-card {
  background-color: rgba(27, 73, 101, 0.5);
  backdrop-filter: blur(8px);
}

.countdown-item {
  background-color: rgba(27, 73, 101, 0.3);
}

.footer {
  background: linear-gradient(to bottom right, var(--deep-blue), var(--teal), var(--ocean-blue));
  border-top: 3px solid var(--vibrant-orange);
  padding: 4rem;
}

.footer .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}


.pricing-section {
  margin-left: auto;
  margin-right: auto;
  max-width: calc(100% - 8rem);
}

.pricing-section .table {
  background: rgba(92, 158, 173, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.pricing-section .table th {
  background: rgba(27, 73, 101, 0.6);
  border: none;
  padding: 1.5rem;
}

.pricing-section .table td {
  padding: 1rem 1.5rem;
  border-color: rgba(255, 255, 255, 0.1);
}

.pricing-section .btn-login {
  width: 100%;
  padding: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  background: var(--vibrant-orange);
  color: var(--deep-blue);
  border: none;
  border-radius: 6px;
  margin-top: 1rem;
}

.pricing-section .btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
  background: var(--light-orange);
}

.pricing-badge {
  background: var(--vibrant-orange);
  color: var(--deep-blue);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
  margin-top: 0.5rem;
}

/* Stream Info & Donation Styles */
.stream-info {
  background: var(--ocean-blue);
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  border-bottom: 2px solid var(--vibrant-orange);
}

.info-content {
  flex: 2;
}

.info-content h3 {
  color: var(--vibrant-orange);
  margin-bottom: 1rem;
}

.artist-details p {
  margin: 0.5rem 0;
  color: var(--light-blue);
}

.artist-name {
  font-size: 1.25rem;
  font-weight: 600;
}

.stream-date,
.view-count {
  font-size: 0.9rem;
  opacity: 0.8;
}

.donation-section {
  flex: 1;
  text-align: center;
}

.donation-section h4 {
  color: var(--vibrant-orange);
  margin-bottom: 1rem;
}

.donation-buttons {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.donate-btn {
  background: var(--teal);
  color: var(--light-blue);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.donate-btn:hover {
  background: var(--vibrant-orange);
  transform: translateY(-2px);
}

.donate-btn.custom {
  background: transparent;
  border: 2px solid var(--vibrant-orange);
}

/* Payment Modal */
.payment-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(19, 41, 61, 0.9);
  backdrop-filter: blur(6px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 2rem;
}

.payment-modal.active {
  display: flex;
}

.payment-content {
  background: var(--ocean-blue);
  padding: 2rem;
  border-radius: 8px;
  width: 100%;
  max-width: 900px;
  position: relative;
  border: 2px solid var(--vibrant-orange);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--light-blue);
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 1;
}

.modal-close:hover {
  color: var(--vibrant-orange);
}

.payment-content h3 {
  color: var(--vibrant-orange);
  font-size: 1.75rem;
  margin-bottom: 1rem;
  text-align: center;
}

.support-text {
  color: var(--light-blue);
  text-align: center;
  margin-bottom: 2rem;
}

.payment-columns {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.payment-left,
.payment-right {
  flex: 1;
}

.amount-display {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#donationAmount {
  background: none;
  border: none;
  color: var(--vibrant-orange);
  font-size: 1.25rem;
  font-weight: 600;
  width: 80px;
}

.processing-fee {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.fee-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--light-blue);
  cursor: pointer;
}

.total-amount {
  margin-top: 0.5rem;
  color: var(--vibrant-orange);
  font-weight: 600;
}

.payment-form .form-group {
  margin-bottom: 1rem;
}

.payment-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--light-blue);
}

.payment-form input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--light-blue);
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-row .form-group {
  flex: 1;
}

.terms-section {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.terms-section p {
  color: var(--light-blue);
  margin-bottom: 0.5rem;
}

.terms-section ul {
  list-style: disc;
  padding-left: 1.5rem;
  color: var(--light-blue);
  opacity: 0.9;
  font-size: 0.9rem;
}

.terms-section li {
  margin-bottom: 0.25rem;
}

.payment-submit {
  width: 100%;
  padding: 1rem;
  background: var(--vibrant-orange);
  color: var(--deep-blue);
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.payment-submit:hover {
  background: var(--light-orange);
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

@media (min-width: 1980px) {

  .stream-container,
  .container,
  .navbar .container,
  .search-container {
    max-width: 1980px;
    margin: 0 auto;
    padding: 0 1rem;
  }
}

@media (max-width: 768px) {
  .search-container {
    margin: 0;
    height: 100%;
    max-width: none;
    padding: 0 1rem;
  }

  .search-header {
    padding-top: 1rem;
  }

  .search-input {
    font-size: 1.25rem;
  }

  .search-results {
    grid-template-columns: 1fr;
    height: calc(100% - 100px);
    overflow-y: auto;
    padding-bottom: 2rem;
  }



  .login-container {
    margin: 1rem;
    padding: 1.5rem;
  }

  .pricing-section {
    margin: 2rem auto;
    max-width: calc(100% - 2rem);
  }

  .stream-info {
    flex-direction: column;
    padding: 1rem;
  }

  .donation-section {
    width: 100%;
  }

  .donation-buttons {
    flex-wrap: wrap;
  }

  .donate-btn {
    flex: 1;
    min-width: 80px;
  }

  .payment-content {
    flex-direction: column;
    max-height: none;
    gap: 1rem;
  }

  .payment-info {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
  }
}



.stepper {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.stepper::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: 0;
  right: 0;
  height: 2px;
  background: #dee2e6;
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
  flex: 1;
}

.step .step-number {
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
  margin: 0 auto .5rem;
  border-radius: 50%;
  background-color: #dee2e6;
  color: #fff;
}

.step.active .step-number {
  background-color: var(--vibrant-orange);
}

.step-label {
  display: block;
  color: #6c757d;
}

.step.active .step-label {
  color: #000;
  font-weight: 600;
}

.preset-grid,
.payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .5rem;
  justify-content: center;
}

.preset-amt {
  flex: 0 0 calc(33.333% - .5rem);
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 1rem;
}

.payment-method {
  flex: 0 0 calc(50% - .5rem);
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 1rem;
}

.donation-container {
  max-width: 500px;
  border: 2px solid #dee2e6;
  border-radius: 0;
  padding: 1.5rem;
}


/* Shared Stripe container styles */
.StripeElement {
  background: rgba(255, 255, 255, 0.15);
  padding: 1rem 1.25rem;
  border: 1px solid var(--ocean-blue);
  border-radius: 6px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

/* Focus / invalid */
.StripeElement--focus {
  border-color: var(--vibrant-orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.4);
}

.StripeElement--invalid {
  border-color: #e53e3e;
}

/* full-width top, side-by-side below */
#card-number {
  width: 100%;
}

#card-expiry,
#card-cvc {
  width: 100%;
}

/* spacing */
.payment-form .form-row {
  display: flex;
  gap: 1rem;
}

.payment-form .form-row .col {
  flex: 1;
}

/* Error text */
#card-errors {
  font-size: 0.95rem;
  color: #e53e3e;
  min-height: 1.2em;
}

/* Labels */
.payment-form .form-group label {
  color: var(--light-blue);
  font-size: 1rem;
  margin-bottom: 0.4rem;
  display: block;
}

/* Submit */
.payment-submit {
  font-size: 1.1rem;
  padding: 0.75rem 1.5rem;
}

/* Mobile: stack everything */
@media (max-width: 576px) {
  .payment-form .form-row {
    flex-direction: column;
  }
}
