/* CTA Button Styling */
.cta-button {
  display: block;
  width: fit-content;
  padding: 8px 16px;
  background: #6f0545;
  color: #fff;
  font-size: 1.2em;
  font-family: "Impact", Arial, sans-serif;
  border: none;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(233, 30, 99, 0.15);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  margin-top: 18px;
  margin-bottom: 8px;
  transition: all 0.3s ease-in-out;
}
.cta-button:hover,
.cta-button:focus {
  background: linear-gradient(90deg, ##6f0545 0%, #e91e63 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 24px rgba(233, 30, 99, 0.18);
  text-decoration: none;
  cursor: pointer;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  background: linear-gradient(rgba(233, 30, 99, 0.05), rgba(233, 30, 99, 0.05)),
    repeating-linear-gradient(
      0deg,
      #d81b60 0px,
      #d81b60 15px,
      #e91e63 15px,
      #e91e63 30px
    ),
    repeating-linear-gradient(
      90deg,
      #e91e63 0px,
      #e91e63 100px,
      #d81b60 100px,
      #d81b60 200px
    );
  padding: 40px;
  min-height: 100vh;
}
body {
  background-image: url("../img/IMG_5558.jpg");
  background-size: contain;
}

.header {
  padding: 40px;
  text-align: center;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  img {
    max-width: 50%;
    height: auto;
    margin-bottom: 20px;
    max-height: 300px;
  }
}

h1 {
  font-family: "Impact", sans-serif;
  font-size: 3.5em;
  color: #333;
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 10px;
  position: relative;
}

.subtitle {
  font-size: 1.2em;
  color: #e91e63;
  font-weight: bold;
}

.location {
  margin-top: 10px;
  color: #666;
}

.clean-section {
  background: rgba(255, 255, 255, 0.98);
  padding: 30px;
  margin: 20px 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-left: 5px solid #e91e63;
}

h2 {
  color: #333;
  font-size: 1.6em;
  margin-bottom: 15px;
  font-weight: 300;
}

.street-accent {
  font-family: "Impact", sans-serif;
  color: #e91e63;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-details {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 15px;
}

.sponsors {
  margin-top: 20px;
}

.sponsor-list {
  font-weight: bold;
  color: #333;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: flex-end;
  gap: 20px;
}

.sponsor {
  margin-bottom: 10px;
  text-align: center;

  img {
    max-height: 100px;
    max-width: 150px;
    margin-bottom: 5px;
    height: auto;
    vertical-align: middle;
  }
  p {
    font-size: 0.9em;
    color: #818181;
    margin-top: 5px;
  }
}
.price {
  font-size: 1.3em;
  font-weight: bold;
  color: #e91e63;
}

.sponsorship-option {
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  body {
    padding: 00px;
  }

  h1 {
    font-size: 2.5em;
  }

  .header {
    padding: 0;
  }

  .clean-section {
    padding: 20px;
  }
  .cta-button {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Ticket Styles */
.ticket-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
  perspective: 1000px;
}

.ticket {
  width: 300px;
  height: 150px;
  background: linear-gradient(135deg, #e91e63 0%, #d81b60 50%, #6f0545 100%);
  border-radius: 15px;
  position: relative;
  cursor: pointer;
  transform-style: preserve-3d;
  border: 3px dashed rgba(255, 255, 255, 0.3);
  animation: ticketFloat 3s ease-in-out infinite;
}

.ticket::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -10px;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 50%;
  transform: translateY(-50%);
}

.ticket::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 50%;
  transform: translateY(-50%);
}

.ticket::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 50%;
  transform: translateY(-50%);
}

.ticket-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: white;
  text-align: center;
  padding: 20px;
}

.ticket-title {
  font-family: "Impact", sans-serif;
  font-size: 1.8em;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.ticket-subtitle {
  font-size: 1em;
  opacity: 0.9;
  font-weight: bold;
}

.ticket:hover:not(.ticket-hidden) {
  transform: translateY(-5px) scale(1.05);
}

/* Keyframe animations for ticket idle effects */
@keyframes ticketFloat {
  0%,
  100% {
    transform: translateY(0px) rotateZ(0deg);
  }
  33% {
    transform: translateY(-3px) rotateZ(0.5deg);
  }
  66% {
    transform: translateY(2px) rotateZ(-0.3deg);
  }
}

.ticket-hidden {
  pointer-events: none;
  transform-origin: center center;
  animation: ticketPeelAway 1.5s ease-out forwards,
    ticketFadeOut 2s ease forwards;
  animation-fill-mode: forwards;
}

.ticket:hover:not(.ticket-hidden) {
  transform: translateY(-5px) scale(1.05);
}

@keyframes ticketPeelAway {
  0% {
    transform: rotateY(0deg) scale(1) rotateX(0deg) translateX(0px)
      translateY(0px);
  }
  55% {
    transform: rotateY(970deg) scale(0.5) rotateX(20deg) translateX(100px)
      translateY(-50px);
  }
  100% {
    transform: rotateY(1080deg) scale(0.1) rotateX(40deg) translateX(200px)
      translateY(-100px);
  }
}

@keyframes ticketFadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.widget-container {
  display: block;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transform: scale(0.8);
  transition: all 0.8s ease;
}

.widget-visible {
  opacity: 1;
  height: 737px;
  transform: scale(1);
}

@media (max-width: 480px) {
  h1 {
    font-size: 2em;
  }
  h2 {
    text-align: center;
  }
  .header img {
    max-width: unset;
    max-height: unset;
    width: 100%;
  }

  .subtitle {
    font-size: 1em;
  }

  .sponsor-list {
    flex-wrap: no-wrap;
  }

  .ticket {
    width: 250px;
    height: 125px;
  }

  .ticket-title {
    font-size: 1.4em;
  }

  .ticket-subtitle {
    font-size: 0.9em;
  }
}
