* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: #000;
  overflow-x: hidden;
  /* removed overflow-y hidden to fix mobile scrolling */
}

.container {
  min-height: 100vh;
  position: relative;
  /* removed overflow hidden to allow proper scrolling */
}

/* Animated Background */
.animated-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #fb923c, #a855f7, #10b981);
  opacity: 0.8;
  animation: backgroundPulse 20s ease-in-out infinite;
}

@keyframes backgroundPulse {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  25% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1) rotate(0deg);
  }
  75% {
    transform: scale(1) rotate(0deg);
  }
}

/* Mouse Follower */
.mouse-follower {
  position: fixed;
  width: 40px;
  height: 40px;
  pointer-events: none;
  z-index: 50;
  /* replaced spinning ring with subtle glow effect */
  background: radial-gradient(circle, rgba(255, 107, 53, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  transition: transform 0.15s ease-out;
  display: none;
}

@media (min-width: 768px) {
  body {
    cursor: none;
  }

  .mouse-follower {
    display: block;
  }
}

/* Main Content */
.main-content {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: slideDown 1s ease-out 0.5s both;
}

@keyframes slideDown {
  from {
    transform: translateY(-100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.main-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #ff6b35;
  animation: titleGlow 2s ease-in-out infinite;
}

@keyframes titleGlow {
  0%,
  100% {
    text-shadow: 0 0 10px currentColor;
  }
  50% {
    text-shadow: 0 0 20px currentColor, 0 0 30px currentColor;
  }
}

/* Event Showcase */
.event-showcase {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.event-container {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  animation: slideIn 0.8s ease-out;
}

@media (min-width: 768px) {
  .event-container {
    grid-template-columns: 1fr 1fr;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Event Image */
.event-image-wrapper {
  position: relative;
  transition: transform 0.3s ease;
  max-height: 70vh;
  overflow: hidden;
}

.event-image {
  position: relative;
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 0.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transition: filter 0.5s ease;
}

.image-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #fb923c, #a855f7, #10b981);
  opacity: 0.5;
  filter: blur(40px);
  border-radius: 0.5rem;
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0.5rem;
  transition: background 0.3s ease;
}

.event-image-wrapper:hover .image-overlay {
  background: transparent;
}

/* Event Details */
.event-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  animation: slideUp 0.8s ease-out 0.2s both;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.event-title {
  font-size: clamp(1.875rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  color: #ff6b35;
  animation: titlePulse 3s ease-in-out infinite;
}

@keyframes titlePulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  animation: metaGlow 4s ease-in-out infinite;
}

@keyframes metaGlow {
  0%,
  100% {
    text-shadow: 0 0 5px #8b5cf6;
  }
  50% {
    text-shadow: 0 0 15px #8b5cf6, 0 0 25px #8b5cf6;
  }
}

.event-date {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  color: white;
}

.event-venue {
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
}

.event-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.event-info p {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(0.875rem, 2vw, 1rem);
  color: rgba(255, 255, 255, 0.7);
  animation: infoSlide 0.8s ease-out both;
}

.event-info p:nth-child(2) {
  animation-delay: 0.1s;
}

@keyframes infoSlide {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.tickets-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  /* Removed specific colors to let theme classes override */
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-family: "JetBrains Mono", monospace;
  transition: all 0.3s ease;
  width: fit-content;
}

.tickets-btn:hover {
  /* Removed specific hover colors to let theme classes override */
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
  transform: scale(1.05);
}

/* Event Switcher */
.event-switcher {
  padding: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  animation: slideUp 1s ease-out 1s both;
}

.switcher-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.switcher-dot:hover {
  transform: scale(1.2);
}

.switcher-dot.active {
  background: white;
  border-color: white;
  box-shadow: 0 0 15px #ff6b35;
}

/* Glitch Overlay */
.glitch-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glitch-overlay.active {
  opacity: 1;
}

.glitch-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.2), transparent, rgba(59, 130, 246, 0.2));
  animation: glitchPulse 0.5s ease-in-out;
}

.glitch-lines {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.1) 2px,
    rgba(255, 255, 255, 0.1) 4px
  );
}

@keyframes glitchPulse {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

/* Glitch Effect for Image */
.glitch-active {
  filter: hue-rotate(180deg) saturate(200%) contrast(150%) !important;
}

/* Color Themes */
.theme-ouch {
  --primary: #ff6b35;
  --secondary: #8b5cf6;
  --accent: #10b981;
  --bg-gradient: linear-gradient(135deg, #fb923c, #a855f7, #10b981);
}

.theme-ohm {
  --primary: #fcd34d;
  --secondary: #581c87;
  --accent: #f59e0b;
  --bg-gradient: linear-gradient(135deg, #581c87, #fcd34d, #7c2d12);
}

.theme-ouch .event-title {
  color: #ff6b35;
}

.theme-ouch .event-venue {
  color: #ff6b35; /* Using orange color to match date 12+13.09.25 */
}

.theme-ohm .event-title {
  color: #fcd34d;
}

.theme-ohm .event-venue {
  color: #fcd34d; /* Using yellow color to match date 02.10.25 */
}

.theme-ohm .animated-background {
  background: linear-gradient(135deg, #581c87, #fcd34d, #7c2d12);
}

.theme-ouch .animated-background {
  background: linear-gradient(135deg, #fb923c, #a855f7, #10b981);
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--modal-bg, linear-gradient(135deg, #fb923c, #a855f7, #10b981));
  border-radius: 1rem;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.modal-body h2 {
  color: white;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.modal-body h3 {
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.modal-body p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.modal-body section {
  margin-bottom: 1.5rem;
}

.modal-body footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-body footer p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.modal-body a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}

.modal-body a:hover {
  color: white;
}

/* Fixed Imprint Button */
.imprint-btn-fixed {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-family: "JetBrains Mono", monospace;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 50;
}

.imprint-btn-fixed:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  transform: scale(1.05);
}

/* RSVP Button */
.rsvp-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: rgba(252, 211, 77, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(252, 211, 77, 0.3);
  border-radius: 0.5rem;
  color: #fcd34d;
  text-decoration: none;
  font-family: "JetBrains Mono", monospace;
  transition: all 0.3s ease;
  width: fit-content;
}

.rsvp-btn:hover {
  background: rgba(252, 211, 77, 0.3);
  transform: scale(1.05);
  box-shadow: 0 0 20px #fcd34d;
}

/* Added theme-specific button styling to ensure proper color application */
.theme-ouch .tickets-btn {
  background: rgba(16, 185, 129, 0.2) !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
  color: #10b981 !important;
}

.theme-ouch .tickets-btn:hover {
  background: rgba(255, 107, 53, 0.2) !important;
  border-color: rgba(255, 107, 53, 0.4) !important;
  color: #ff6b35 !important;
  box-shadow: 0 0 20px #ff6b35 !important;
}

.theme-ohm .tickets-btn,
.theme-ohm .rsvp-btn {
  background: rgba(252, 211, 77, 0.2) !important;
  border-color: rgba(252, 211, 77, 0.3) !important;
  color: #fcd34d !important;
}

.theme-ohm .tickets-btn:hover,
.theme-ohm .rsvp-btn:hover {
  background: rgba(252, 211, 77, 0.3) !important;
  box-shadow: 0 0 20px #fcd34d !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header {
    padding: 1rem;
  }

  .event-showcase {
    padding: 1rem;
  }

  .event-container {
    gap: 1.5rem;
  }

  .event-details {
    gap: 1rem;
  }

  .modal-content {
    padding: 1.5rem;
    margin: 1rem;
  }

  .modal-body h2 {
    font-size: 1.5rem;
  }

  /* adjusted fixed button position for mobile */
  .imprint-btn-fixed {
    bottom: 1rem;
    right: 1rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }

  /* disable mouse follower on mobile to prevent stuttering */
  .mouse-follower {
    display: none !important;
  }

  body {
    cursor: auto !important;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
