.event-list-section {
  background: #f6f8fb;
  padding: 32px 24px 16px;
}

.list-container {
  max-width: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.list-header h2 {
  margin: 0;
  font-size: 28px;
}

.list-sub {
  margin: 0;
  color: var(--text-secondary);
}

.event-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
  cursor: pointer;
  gap: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.list-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.list-item.active {
  border-color: var(--primary);
  box-shadow: 0 6px 18px rgba(255, 0, 0, 0.12);
}

.list-item.disabled {
  cursor: not-allowed;
  opacity: 0.5;
  box-shadow: none;
}

.list-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.list-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.list-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  background: #e9eef5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  border: 1px solid var(--border);
}

.list-thumb.placeholder {
  font-weight: 700;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  border: 1px solid #e6e9ee;
  color: #6b7280;
  background: #f3f4f6;
}

.status-pill.ongoing {
  color: #0f5132;
  background: #d1f4e0;
  border-color: #a8e5c1;
}

.status-pill.upcoming {
  color: #0b4f8a;
  background: #d6e9ff;
  border-color: #b7d6ff;
}

.status-pill.ended {
  color: #4b5563;
  background: #e9ecef;
  border-color: #d6dade;
}

.list-empty {
  padding: 14px;
  text-align: center;
  color: var(--text-secondary);
  border: 1px dashed var(--border);
  border-radius: 12px;
  background: #fff;
}
:root {
  --primary: #FF0000;
  --primary-dark: #CC0000;
  --primary-light: #FF6666;
  --secondary: #0066FF;
  --secondary-dark: #0052CC;
  --background: #ffffff;
  --surface: #f8f9fa;
  --text-primary: #2c3e50;
  --text-secondary: #7f8c8d;
  --border: #ecf0f1;
  --success: #27ae60;
  --warning: #f39c12;
  --error: #FF0000;
  --shadow: 0 2px 8px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

html {
  -webkit-text-size-adjust: 100%;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
}

/* Header & Navigation moved to ../shared/topbar-admin-sync.css */

.content {
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: auto;
  padding: 80px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0f3247 0%, #1a5f7a 50%, #0f3247 100%);
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(15, 50, 70, 0.3) 0%, rgba(10, 35, 50, 0.6) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  padding: 0 32px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-hero {
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.spinner-small {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.event-hero-full {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  color: white;
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  max-width: none;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  letter-spacing: 1px;
  text-wrap: balance;
  word-spacing: 0.1em;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.meta-location {
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.95;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.meta-location span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.meta-dates {
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.95;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.meta-dates span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-hero-cta {
  --border_radius: 9999px;
  --transition: 0.3s ease-in-out;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transform-origin: center;
  padding: 1rem 2.5rem;
  background-color: transparent;
  text-decoration: none;
  border: none;
  border-radius: var(--border_radius);
  transform: scale(calc(1 + (var(--active, 0) * 0.1)));
  transition: transform var(--transition);
  margin-top: 20px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-hero-cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background-color: #FF0000;
  border-radius: var(--border_radius);
  box-shadow: inset 0 0.5px hsl(0, 0%, 100%), 
              inset 0 -1px 2px 0 hsl(0, 0%, 0%),
              0px 4px 10px -4px hsla(0 0% 0% / calc(1 - var(--active, 0))),
              0 0 0 calc(var(--active, 0) * 0.375rem) hsla(217, 100%, 50%, 0.75);
  transition: all var(--transition);
  z-index: 0;
}

.btn-hero-cta::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background-color: #0066FF;
  background-image: radial-gradient(at 51% 89%, hsla(217, 100%, 55%, 1) 0px, transparent 50%),
                    radial-gradient(at 100% 100%, hsla(200, 100%, 50%, 1) 0px, transparent 50%),
                    radial-gradient(at 22% 91%, hsla(217, 100%, 60%, 1) 0px, transparent 50%);
  background-position: top;
  opacity: var(--active, 0);
  border-radius: var(--border_radius);
  transition: opacity var(--transition);
  z-index: 2;
}

.btn-hero-cta:is(:hover, :focus-visible) {
  --active: 1;
}

.btn-hero-cta:active {
  transform: scale(1);
}

.btn-hero-cta .dots_border {
  --size_border: calc(100% + 2px);
  overflow: hidden;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: var(--size_border);
  height: var(--size_border);
  background-color: transparent;
  border-radius: var(--border_radius);
  z-index: -10;
}

.btn-hero-cta .dots_border::before {
  content: "";
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  transform-origin: left;
  width: 100%;
  height: 2rem;
  background-color: white;
  mask: linear-gradient(transparent 0%, white 120%);
  animation: rotate 2s linear infinite;
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

.btn-hero-cta .text_button {
  position: relative;
  z-index: 10;
  color: white;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ============== Event Status Styles ============== */
.event-status-ongoing,
.event-status-ended {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.status-message {
  color: white;
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  margin: 0;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  line-height: 1.4;
  letter-spacing: 0.5px;
}

.status-message strong {
  color: #FFD700;
  font-weight: 700;
}

.btn-follow {
  background-color: #0066FF;
}

.btn-follow::before {
  background-color: #0066FF;
  box-shadow: inset 0 0.5px hsl(0, 0%, 100%), 
              inset 0 -1px 2px 0 hsl(0, 0%, 0%),
              0px 4px 10px -4px hsla(0 0% 0% / calc(1 - var(--active, 0))),
              0 0 0 calc(var(--active, 0) * 0.375rem) hsla(120, 100%, 50%, 0.75);
}

.btn-follow::after {
  background-color: #00CC66;
  background-image: radial-gradient(at 51% 89%, hsla(145, 100%, 55%, 1) 0px, transparent 50%),
                    radial-gradient(at 100% 100%, hsla(160, 100%, 50%, 1) 0px, transparent 50%),
                    radial-gradient(at 22% 91%, hsla(145, 100%, 60%, 1) 0px, transparent 50%);
}

/* ============== Carousel Styles ============== */
.carousel-container {
  position: relative;
  width: 100%;
}

.carousel-slides {
  position: relative;
  width: 100%;
  min-height: 400px;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

/* ============== Detail Section ============== */
.hidden {
  display: none !important;
}

.event-detail-section {
  background: #f6f8fb;
  padding: 64px 24px 32px;
}

.detail-container {
  max-width: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.detail-banner {
  position: relative;
  background: linear-gradient(135deg, #0f3247, #1a5f7a);
  border-radius: 16px;
  overflow: hidden;
  min-height: 360px;
  box-shadow: var(--shadow-lg);
}

.detail-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e5e8ed;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #11293a, #1f4560);
}

.fallback-label {
  background: rgba(255, 255, 255, 0.08);
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.detail-info {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.info-eyebrow {
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 12px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  border: 1px solid #e6e9ee;
  color: #6b7280;
  background: #f3f4f6;
}

.status-badge.success {
  color: #0f5132;
  background: #d1f4e0;
  border-color: #a8e5c1;
}

.status-badge.info {
  color: #0b4f8a;
  background: #d6e9ff;
  border-color: #b7d6ff;
}

.status-badge.muted {
  color: #4b5563;
  background: #e9ecef;
  border-color: #d6dade;
}

.info-title {
  font-size: 28px;
  line-height: 1.3;
  margin: 0;
}

.info-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.info-label {
  min-width: 110px;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  font-weight: 700;
}

.info-value {
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.6;
}

.info-value.multiline {
  white-space: pre-wrap;
}

.detail-cta {
  margin-top: 4px;
  display: flex;
  gap: 12px;
}

.btn-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--primary);
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-detail:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 0, 0, 0.28);
  background: var(--primary-dark);
}

.btn-detail.secondary {
  background: var(--secondary);
  border-color: var(--secondary);
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.2);
}

.btn-detail.secondary:hover {
  background: var(--secondary-dark);
  box-shadow: 0 10px 24px rgba(0, 82, 204, 0.28);
}

.btn-detail.ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border);
  box-shadow: none;
}

.btn-detail.ghost:hover {
  background: #f1f3f5;
}

.partner-block {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-lg);
}

.partner-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}

.partner-head h3 {
  margin: 0;
  font-size: 18px;
}

.partner-sub {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
}

.partner-item {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  transition: none;
}

.partner-item img {
  max-width: 100%;
  max-height: 120px;
  object-fit: contain;
}

.partner-item:hover {
  transform: none;
  box-shadow: none;
}

.partner-empty {
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 14px;
}

.detail-empty {
  padding: 16px;
  text-align: center;
  color: var(--text-secondary);
  border: 1px dashed var(--border);
  border-radius: 12px;
  background: #fff;
}

@media (max-width: 1024px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-banner {
    min-height: 240px;
  }
}

@media (max-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr;
  }

  .detail-info,
  .partner-block {
    padding: 18px;
  }

  .info-title {
    font-size: 24px;
  }
}

.carousel-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-btn:hover {
  background: rgba(255, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 20px rgba(255, 0, 0, 0.4);
}

.carousel-prev {
  left: 20px;
}

.carousel-next {
  right: 20px;
}

.carousel-dots {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.carousel-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.carousel-dots .dot:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.2);
}

.carousel-dots .dot.active {
  background: #FF0000;
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.3);
}

.no-event, .error {
  color: white;
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  line-height: 1.4;
}

/* ============== Footer ============== */
.footer {
  background: var(--text-primary);
  color: white;
  padding: 60px 32px 24px;
  margin-top: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  max-width: none;
  width: 100%;
  margin: 0 0 40px;
}

.footer-col h4 {
  margin-bottom: 16px;
  font-size: 16px;
}

.footer-col p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
}

/* ============== Responsive Design ============== */
@media (max-width: 900px) {
/* Profile dropdown mobile */
.hero-content {
    padding: 0 20px;
  }

  .hero-title {
    font-size: 40px;
  }

  .meta-location {
    font-size: 16px;
  }

  .meta-dates {
    font-size: 16px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }

  .carousel-prev {
    left: 10px;
  }

  .carousel-next {
    right: 10px;
  }

  .carousel-dots {
    bottom: -40px;
  }

  .carousel-dots .dot {
    width: 10px;
    height: 10px;
  }

  .status-message {
    font-size: 36px;
  }

  .no-event, .error {
    font-size: 36px;
  }

  .btn-hero-cta {
    padding: 0.875rem 2rem;
    font-size: 15px;
  }

  .btn-hero-cta .text_button {
    font-size: 15px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
.hero-content {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 28px;
  }

  .meta-location {
    font-size: 14px;
  }

  .meta-dates {
    font-size: 14px;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
  }

  .carousel-btn svg {
    width: 18px;
    height: 18px;
  }

  .carousel-prev {
    left: 5px;
  }

  .carousel-next {
    right: 5px;
  }

  .carousel-dots {
    bottom: -35px;
    gap: 8px;
  }

  .carousel-dots .dot {
    width: 8px;
    height: 8px;
  }

  .status-message {
    font-size: 24px;
  }

  .no-event, .error {
    font-size: 24px;
  }

  .btn-hero-cta {
    padding: 0.75rem 1.5rem;
    font-size: 14px;
  }

  .btn-hero-cta .text_button {
    font-size: 14px;
  }

  .footer {
    padding: 40px 16px 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-col h4 {
    font-size: 14px;
  }

  .footer-col p,
  .footer-col a {
    font-size: 13px;
  }
}
