/* ===== EVENT DETAIL PAGE ===== */

/* Hero */
.ed-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.ed-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ed-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,0,16,0.2) 0%, rgba(8,0,16,0.85) 100%);
}

.ed-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 40px 48px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.ed-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 7vw, 72px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-top: 12px;
}

.ed-date-hero {
  font-family: var(--font-accent);
  font-size: 18px;
  letter-spacing: 0.1em;
  color: var(--accent-2);
  margin-top: 12px;
}

.ed-hero .urgency-badge {
  position: static;
  display: inline-block;
  margin-bottom: 8px;
}

.ed-back {
  position: absolute;
  top: 100px;
  left: 40px;
  z-index: 10;
  font-family: var(--font-accent);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--muted);
  transition: color 0.3s;
  text-transform: uppercase;
}

.ed-back:hover {
  color: var(--text);
}

/* Main */
.ed-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px 100px;
}

.ed-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: start;
}

@media (max-width: 900px) {
  .ed-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Section titles */
.ed-section-title {
  font-family: var(--font-accent);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* Lineup */
.ed-lineup {
  margin-bottom: 40px;
}

.ed-artists {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ed-artist {
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 800;
  text-transform: uppercase;
  padding: 8px 20px;
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 60px;
  background: rgba(0, 240, 255, 0.06);
  color: var(--accent-2);
  transition: all 0.3s;
}

.ed-artist:hover {
  border-color: rgba(0, 240, 255, 0.5);
  box-shadow: var(--glow-cyan);
}

/* Details */
.ed-details {
  margin-bottom: 40px;
}

.ed-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ed-detail-row svg {
  flex-shrink: 0;
  color: var(--accent-1);
  margin-top: 2px;
}

.ed-detail-label {
  font-family: var(--font-accent);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.ed-detail-value {
  font-size: 16px;
  line-height: 1.4;
}

.ed-venue-link {
  color: var(--accent-2);
  transition: opacity 0.3s;
}

.ed-venue-link:hover {
  opacity: 0.8;
}

/* Description */
.ed-description {
  margin-bottom: 40px;
}

.ed-description p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

/* Countdown */
.ed-countdown-wrap {
  margin-bottom: 40px;
}

/* Sidebar */
.ed-sidebar {
  position: sticky;
  top: 100px;
}

/* Map */
.ed-map-wrap {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.ed-map-link {
  display: block;
  position: relative;
}

.ed-map-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  filter: brightness(0.8) saturate(0.8);
  transition: filter 0.3s;
}

.ed-map-link:hover .ed-map-img {
  filter: brightness(0.9) saturate(1);
}

.ed-map-label {
  display: block;
  padding: 12px 16px;
  font-family: var(--font-accent);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--accent-2);
  background: var(--surface);
}

/* CTA Section */
.ed-cta-section {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}

.ed-price {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  display: block;
  margin-bottom: 16px;
}

.ed-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-ticket-lg {
  width: 100%;
  justify-content: center;
  text-align: center;
  margin-top: 0;
  padding: 16px 32px;
  font-size: 16px;
  opacity: 1;
  transform: none;
}

.btn-calendar-lg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 60px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: all 0.3s;
}

.btn-calendar-lg:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
}

.btn-ics {
  text-align: center;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
  transition: color 0.3s;
}

.btn-ics:hover {
  color: var(--text);
}

/* Past event CTA */
.ed-past-cta {
  text-align: center;
}

.ed-past-notice {
  font-family: var(--font-accent);
  font-size: 16px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 16px;
}

.ed-past-cta .btn-magnetic {
  opacity: 1;
  transform: none;
}

/* Share */
.ed-share {
  text-align: center;
}

.ed-share-label {
  font-family: var(--font-accent);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted);
  display: block;
  margin-bottom: 12px;
}

.ed-share-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.ed-share-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background: transparent;
  transition: all 0.3s;
}

.ed-share-btn:hover {
  border-color: var(--accent-1);
  color: var(--accent-1);
  box-shadow: 0 0 12px rgba(255, 45, 135, 0.2);
}

.ed-copy-link.copied {
  border-color: var(--accent-2);
  color: var(--accent-2);
}

/* Mobile */
@media (max-width: 768px) {
  .ed-hero { height: 50vh; min-height: 320px; }
  .ed-hero-content { padding: 0 20px 32px; }
  .ed-back { top: 80px; left: 20px; }
  .ed-main { padding: 40px 20px 60px; }
  .ed-sidebar { position: static; }
  .ed-artist { font-size: 18px; padding: 6px 16px; }
}

.ed-artist-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ed-artist-spotify {
  border-radius: 12px;
  overflow: hidden;
}

.ed-artist-spotify iframe {
  display: block;
}


/* ===== RELATED EVENTS ===== */
.ed-related {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 60px 40px;
}

.ed-related-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.ed-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.ed-related-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s, transform 0.3s;
}

.ed-related-card:hover {
  border-color: rgba(255, 45, 135, 0.3);
  transform: translateY(-4px);
}

.ed-related-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.5s;
}

.ed-related-card:hover img {
  transform: scale(1.03);
}

.ed-related-body {
  padding: 16px;
}

.ed-related-body h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 6px;
}

.ed-related-body p {
  font-family: var(--font-accent);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

@media (max-width: 768px) {
  .ed-related { padding: 40px 20px; }
  .ed-related-grid { grid-template-columns: 1fr; }
}


/* ===== PHOTO SUBMISSION ===== */
.photo-submit-section {
  margin-top: 40px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
}

.photo-submit-text {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.photo-submit-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.photo-submit-input {
  padding: 12px 16px;
  background: rgba(8, 0, 16, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  resize: none;
  transition: border-color 0.3s;
}

.photo-submit-input:focus {
  border-color: rgba(0, 240, 255, 0.3);
}

.photo-submit-input::placeholder { color: var(--muted); }

.photo-submit-btn {
  align-self: flex-start;
  padding: 12px 28px;
  background: var(--accent-1);
  color: #000;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: none;
  border-radius: 60px;
  cursor: pointer;
  transition: background 0.3s;
}

.photo-submit-btn:hover { background: #ff4da0; }

.photo-submit-success {
  display: none;
  text-align: center;
  padding: 20px;
  font-family: var(--font-accent);
  font-size: 16px;
  letter-spacing: 0.1em;
  color: var(--accent-2);
}
