:root {
  --primary: #0d6efd;
  --primary-dark: #0a58ca;
  --light-bg: #f9fcff;
  --glow: rgba(13, 110, 253, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #ffffff;
  color: #222;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 24px 24px;
  box-shadow: inset 0 0 60px rgba(13,110,253,0.18),
              inset 0 0 120px rgba(13,110,253,0.08);
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.42), rgba(0,0,0,0.22) 50%, rgba(0,0,0,0.48));
  pointer-events: none;
}

.event-info {
  position: absolute;
  top: 20px;
  right: 20px;
  text-align: right;
  color: white;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.85);
  z-index: 10;
}

.event-name,
.event-time {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.2s ease-out forwards, pulseGlow 2.8s ease-out 1s forwards;
}

.event-name {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.1;
  animation-delay: 0.4s, 1s;
}

.event-time {
  font-size: 1.4rem;
  font-weight: 500;
  margin-top: 8px;
  opacity: 0.95;
  animation-delay: 0.7s, 1.3s;
}

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
  0%, 100% { text-shadow: 0 0 0 transparent; }
  25%      { text-shadow: 0 0 30px var(--glow), 0 0 50px rgba(13,110,253,0.5); }
  60%      { text-shadow: 0 0 20px var(--glow), 0 0 35px rgba(13,110,253,0.3); }
}

/* Marquee */
.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, #f0f4ff, #e6f0ff, #f0f4ff);
  box-shadow: inset 0 0 40px rgba(13,110,253,0.18);
  padding: 14px 0;
}

.marquee {
  display: inline-flex;
  white-space: nowrap;
  animation: scrollLeft 32s linear infinite;
  will-change: transform;
}

.marquee span {
  flex-shrink: 0;
  padding: 0 3rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  text-shadow: 0 0 8px rgba(13,110,253,0.3);
}

@keyframes scrollLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-wrapper:hover .marquee {
  animation-play-state: paused;
}

/* Main content */
main {
  max-width: 1100px;
  margin: 40px auto;
  padding: 40px 20px;
  background: white;
  text-align:center ; 
  border-radius: 24px;
  box-shadow: inset 0 0 50px rgba(13,110,253,0.12),
              inset 0 0 100px rgba(13,110,253,0.06);
}

h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 28px;
  font-size: 2.1rem;
  text-shadow: 0 0 12px var(--glow);
}

p.intro {
  text-align: center;
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.section-glow {
  margin: 60px 0;
  padding: 30px;
  border-radius: 20px;
  background: var(--light-bg);
  box-shadow: inset 0 0 45px rgba(13,110,253,0.15),
              inset 0 0 90px rgba(13,110,253,0.08);
}

.photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.photo-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12),
              inset 0 0 30px rgba(13,110,253,0.18);
  transition: all 0.3s ease;
}

.photo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.18),
              inset 0 0 50px rgba(13,110,253,0.28);
}

.photo-card img {
  width: 100%;
  height: auto;
  display: block;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2),
              inset 0 0 40px rgba(13,110,253,0.22);
}

.video-placeholder {
  position: absolute;
  inset: 0;
  background: rgba(240,244,255,0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 500;
  border-radius: 16px;
  transition: opacity 0.6s ease;
  z-index: 2;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 6px solid #e6f0ff;
  border-top: 6px solid var(--primary);
  border-radius: 50%;
  animation: spin 1.3s linear infinite;
  margin-bottom: 18px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.7s ease;
  z-index: 1;
}

p.video-note {
  margin-top: 20px;
  font-style: italic;
  text-align: center;
}

/* ──────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────── */
@media (max-width: 768px) {
  .event-name   { font-size: 0.9rem;  margin-bottom: 0; line-height: 1; }
  .event-time   { font-size: 0.7rem;  margin-top: 1px;  line-height: 1; }
  .event-info   { top: 10px; right: 10px; }
  main          { padding: 16px 10px; margin: 16px 8px; }
  h2            { font-size: 1.5rem; }
  .section-glow { padding: 16px; margin: 40px 0; }

  .marquee span {
    font-size: 1.05rem;
    padding: 0 2.2rem;
  }

  .marquee-wrapper {
    padding: 10px 0;
  }
}

@media (max-width: 480px) {
  .event-name   { font-size: 0.85rem; margin-bottom: 0; }
  .event-time   { font-size: 0.65rem; margin-top: 0; }
  main          { padding: 14px 8px; margin: 14px 6px; }
  h2            { font-size: 1.4rem; }

  .marquee span {
    font-size: 0.95rem;
    padding: 0 1.8rem;
  }
}