.header {
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm)
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
  flex-shrink: 0;
}

@media(max-width:1023px) {
  .mobile-menu-toggle {
    display: flex !important;
  }
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background: var(--charcoal);
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-color);
  margin-top: 1rem;
  background: var(--white);
  width: 100%;
}

.mobile-nav.active {
  display: flex;
}

@media(min-width:1024px) {
  .mobile-nav {
    display: none !important;
  }
}

.mobile-nav a {
  padding: 0.75rem 1rem;
  color: var(--charcoal);
  text-decoration: none;
  border-radius: 0.25rem;
  transition: var(--transition-base);
}

.mobile-nav a:hover {
  background: var(--bg-fundraiser-grey);
}

.mobile-nav .btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-width: 0;
}

.header-container .logo {
  flex-shrink: 0;
  max-width: 150px;
}

@media(max-width:1023px) {
  .header-container {
    flex-wrap: nowrap;
    overflow: hidden;
  }
  
  .header-container .nav {
    display: none !important;
  }
  
  .header-container .d-flex {
    flex-shrink: 0;
    gap: 0.5rem;
  }
  
  .header-container .d-flex .btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }
  
  .mobile-menu-toggle {
    flex-shrink: 0;
    margin-left: 0.5rem;
  }
}

.logo {
  height: 50px
}

.nav {
  display: flex;
  gap: 1.5rem;
  align-items: center
}

.nav a {
  padding: .5rem 1rem;
  border-radius: .25rem;
  transition: var(--transition-base)
}

.nav a:hover {
  background: var(--bg-fundraiser-grey)
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: .25rem;
  cursor: pointer;
  transition: var(--transition-base);
  border: none;
  text-align: center;
  gap: .5rem
}

.btn-primary {
  background: var(--fundraiser-primary-500);
  color: var(--white)
}

.btn-primary:hover {
  background: var(--fundraiser-primary-600)
}

.btn-secondary {
  background: transparent;
  color: var(--fundraiser-primary-500);
  border: 2px solid var(--fundraiser-primary-500)
}

.btn-secondary:hover {
  background: var(--fundraiser-primary-500);
  color: var(--white)
}

.btn-success {
  background: var(--fundraiser-secondary-500);
  color: var(--white)
}

.btn-success:hover {
  background: var(--fundraiser-secondary-600)
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem
}

.btn-sm {
  padding: .5rem 1rem;
  font-size: .875rem
}

.btn:disabled {
  opacity: .5;
  cursor: not-allowed
}

.card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: .5rem;
  overflow: hidden;
  transition: var(--transition-base)
}

.card:hover {
  box-shadow: var(--shadow)
}

.card-img {
  width: 100%;
  height: auto;
  object-fit: cover
}

.card-body {
  padding: 1.5rem
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: .5rem
}

.card-text {
  color: var(--charcoal);
  line-height: 1.6
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .5);
  z-index: 1000;
  align-items: center;
  justify-content: center
}

.modal.active {
  display: flex
}

.modal-content {
  background: var(--white);
  border-radius: .5rem;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center
}

.modal-body {
  padding: 1.5rem
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--charcoal);
  padding: .5rem;
  line-height: 1
}

.modal-close:hover {
  color: var(--fundraiser-primary-500)
}

.form-group {
  margin-bottom: 1.5rem
}

.form-label {
  display: block;
  margin-bottom: .5rem;
  font-weight: 600;
  color: var(--charcoal)
}

.form-control {
  width: 100%;
  padding: .75rem;
  border: 1px solid var(--border-color);
  border-radius: .25rem;
  font-size: 1rem;
  transition: var(--transition-base)
}

.form-control:focus {
  outline: none;
  border-color: var(--fundraiser-primary-500);
  box-shadow: 0 0 0 3px rgba(39, 41, 120, .1)
}

.cart-sidebar {
  position: fixed;
  right: 0;
  top: 0;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: var(--white);
  box-shadow: -2px 0 10px rgba(0, 0, 0, .1);
  transform: translateX(100%);
  transition: transform .3s ease;
  z-index: 999;
  display: flex;
  flex-direction: column
}

.cart-sidebar.active {
  transform: translateX(0)
}

.cart-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-color)
}

.cart-empty {
  text-align: center;
  color: var(--steel-grey);
  padding: 2rem
}

.cart-item {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  gap: 1rem
}

.cart-item-info {
  flex: 1
}

.cart-item-name {
  font-weight: 600;
  margin-bottom: .25rem
}

.cart-item-price {
  color: var(--fundraiser-secondary-500);
  font-weight: 600
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--steel-grey);
  cursor: pointer;
  padding: .5rem
}

.cart-item-remove:hover {
  color: var(--fundraiser-primary-500)
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 1.125rem
}

.cart-total-label {
  font-weight: 600
}

.cart-total-amount {
  font-weight: 700;
  color: var(--fundraiser-primary-500);
  font-size: 1.5rem
}

.number-stepper {
  display: flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid var(--border-color);
  border-radius: .25rem;
  overflow: hidden;
  width: fit-content
}

.number-stepper button {
  padding: .5rem 1rem;
  background: var(--bg-fundraiser-grey);
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--charcoal)
}

.number-stepper button:hover {
  background: var(--lavender-grey)
}

.number-stepper button:disabled {
  opacity: .5;
  cursor: not-allowed
}

.number-stepper input {
  border: none;
  text-align: center;
  width: 60px;
  padding: .5rem;
  font-size: 1rem
}

.hero-section {
  position: relative;
  background: var(--organization-primary-700);
  color: var(--white);
  padding: 4rem 0;
  overflow: hidden;
  min-height: 500px
}

.hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, .15) 1px, transparent 0);
  background-size: 40px 40px;
  z-index: 0;
  opacity: .3
}

.hero-content {
  position: relative;
  z-index: 1
}

.hero-logo-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem
}

.hero-logo-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--fundraiser-secondary-500);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .3)
}

.hero-logo-text {
  text-align: center;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.3
}

.hero-logo-text strong {
  display: block;
  font-size: 1.125rem
}

.hero-jackpot-text {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 600
}

.hero-gift-icon {
  font-size: 1.5rem
}

.hero-image-wrapper {
  position: relative;
  z-index: 1
}

.hero-dog-image {
  max-width: 100%;
  height: auto;
  border-radius: .5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .3)
}

.hero-card {
  background: rgba(255, 255, 255, .95);
  color: var(--charcoal);
  padding: 2rem;
  border-radius: .5rem;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1
}

.hero-jackpot-section {
  background: var(--bg-fundraiser-grey) !important
}

@media(max-width:1023px) {
  .hero-logo-circle {
    width: 150px;
    height: 150px;
    padding: 1.5rem
  }

  .hero-logo-text {
    font-size: .875rem
  }

  .hero-logo-text strong {
    font-size: 1rem
  }

  .hero-section {
    min-height: 400px;
    padding: 2rem 0
  }

  .hero-card {
    padding: 1.5rem;
    margin-top: 2rem
  }
}

@media(max-width:767px) {
  .hero-logo-section {
    display: none
  }

  .hero-dog-image {
    max-width: 80%;
    margin: 0 auto
  }

  .hero-card {
    margin-top: 1rem
  }
}

.countdown {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1rem;
  background: var(--steel-grey);
  color: var(--white);
  border-radius: .25rem;
  font-weight: 600
}

.prize-carousel {
  position: relative;
  overflow: hidden
}

.prize-carousel-inner {
  display: flex;
  transition: transform .5s ease
}

.prize-carousel-item {
  min-width: 100%;
  flex-shrink: 0
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1rem
}

.carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-color);
  border: none;
  cursor: pointer;
  padding: 0
}

.carousel-indicators button.active {
  background: var(--fundraiser-primary-500)
}

.carousel-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none
}

.carousel-control {
  pointer-events: all;
  background: rgba(255, 255, 255, .9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem
}

.carousel-control:hover {
  background: var(--white)
}

.ticket-options {
  display: flex;
  flex-direction: column;
  gap: 1rem
}

.ticket-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: .5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .1)
}

.ticket-option-price {
  font-weight: 700;
  color: var(--fundraiser-secondary-500);
  font-size: 1.25rem
}

.footer {
  background: var(--bg-fundraiser-grey);
  padding: 3rem 0;
  margin-top: 4rem;
  border-top: 1px solid var(--border-color)
}

.footer-logo {
  height: 60px;
  margin-bottom: 1rem
}

.footer-text {
  color: var(--charcoal);
  line-height: 1.8
}

.powered-by {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  font-style: italic;
  color: var(--charcoal);
  font-size: .875rem
}

.accordion-header {
  cursor: pointer;
  padding: 1rem;
  background: var(--bg-fundraiser-grey);
  border-radius: .25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600
}

.accordion-header:hover {
  background: var(--lavender-grey)
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease
}

.accordion-body.active {
  max-height: 2000px;
  padding: 1rem
}

.story-section {
  background: var(--fundraiser-secondary-500);
  color: var(--white);
  padding: 3rem 0
}

.donation-card-img {
  aspect-ratio: 16/9;
  object-fit: cover
}

.promo-input {
  display: flex;
  gap: .5rem
}

.promo-input input {
  flex: 1
}

.ticket-card {
  position: relative;
  border-left: 4px solid var(--fundraiser-secondary-500)
}

.ticket-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--fundraiser-secondary-500)
}

.bokeh-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 20% 30%, rgba(39, 41, 120, .15) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(255, 255, 255, .2) 0%, transparent 50%), radial-gradient(circle at 40% 60%, rgba(39, 41, 120, .1) 0%, transparent 50%), radial-gradient(circle at 90% 20%, rgba(255, 255, 255, .15) 0%, transparent 50%), radial-gradient(circle at 10% 80%, rgba(39, 41, 120, .12) 0%, transparent 50%);
  background-size: 200% 200%;
  animation: bokeh 20s ease-in-out infinite;
  z-index: 0
}

@keyframes bokeh {

  0%,
  100% {
    background-position: 0% 0%, 100% 100%, 50% 50%, 80% 20%, 20% 80%
  }

  50% {
    background-position: 100% 100%, 0% 0%, 80% 20%, 20% 80%, 50% 50%
  }
}

.tickets-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem
}

.tickets-content {
  flex: 1;
  min-width: 0
}

.tickets-cart {
  flex: 0 0 100%;
  max-width: 100%
}

@media(min-width:1024px) {
  .tickets-layout {
    flex-direction: row
  }

  .tickets-content {
    flex: 0 0 100%;
    max-width: 100%
  }

  .tickets-cart {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding-left: 1.5rem
  }
}

#fiftyPurchaseBar {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  margin-top: 1rem;
  padding: 1rem;
  display: none;
}

#fiftyPurchaseBar .h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 0.25rem;
  color: var(--charcoal);
}

#fiftyPurchaseBar button {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}