@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Professional palette - Pickle green accent */
  --bg-main: #ffffff;
  --bg-subtle: #f7f8fa;
  --bg-card: #ffffff;
  --primary: #00b359;
  --primary-hover: #00994d;
  --text-main: #1a1a1a;
  --text-muted: #6b7280;
  --border-color: #e5e7eb;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.12);

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --container-max: 1200px;
}

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

body {
  font-family: var(--font-main);
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-main);
  font-weight: 600;
  line-height: 1.25;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.logo-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.anchor-offset {
  display: block;
  position: relative;
  top: -80px;
  height: 0;
  pointer-events: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border: none;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-outline:hover {
  background: rgba(0, 179, 89, 0.08);
}

/* Header - overlays hero when at top */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%);
  padding: 16px 0;
  transition: background 0.3s ease;
}

.header.scrolled {
  position: fixed;
  background: var(--bg-main);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
}

.header.scrolled .nav-links a,
.header.scrolled .logo-text,
.header.scrolled .search-bar input {
  color: var(--text-main);
}

.header.scrolled .nav-links a:hover {
  color: var(--primary);
}

.header:not(.scrolled) .nav-links a,
.header:not(.scrolled) .logo-text {
  color: rgba(255,255,255,0.95);
}

.header:not(.scrolled) .nav-links a:hover {
  color: #fff;
}

.header:not(.scrolled) .search-bar {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
}

.header:not(.scrolled) .search-bar input {
  color: #fff;
}

.header:not(.scrolled) .search-bar input::placeholder {
  color: rgba(255,255,255,0.7);
}

.header:not(.scrolled) .search-icon {
  color: rgba(255,255,255,0.8);
}

.header:not(.scrolled) .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,0.8);
}

.header:not(.scrolled) .btn-outline:hover {
  background: rgba(255,255,255,0.2);
}

.header:not(.scrolled) .btn-primary {
  background: var(--primary);
  color: #fff;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  color: var(--text-main);
}

.logo-text {
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

.search-bar {
  flex: 1;
  max-width: 360px;
  display: flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 6px;
  gap: 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
}

.search-icon {
  color: var(--text-muted);
  flex-shrink: 0;
}

.search-bar input {
  background: none;
  border: none;
  color: var(--text-main);
  outline: none;
  width: 100%;
  font-size: 0.95rem;
}

.auth-buttons {
  display: flex;
  gap: 10px;
}

/* Hero - with background image */
.hero-section {
  position: relative;
  padding: 100px 0 100px;
  background: linear-gradient(135deg, #0a2e1a 0%, #0d3d24 100%);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1470229722913-7c0e2dbbafd3?w=1920&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  z-index: 0;
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  max-width: 640px;
  margin-bottom: 14px;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-section > .container > p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  max-width: 500px;
  margin-bottom: 28px;
}

.hero-section .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,0.8);
}

.hero-section .btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

.hero-actions {
  display: flex;
  gap: 12px;
}

.btn-lg {
  padding: 12px 24px;
  font-size: 0.95rem;
}

/* Category filter - image cards */
.category-filter {
  padding: 32px 0;
  border-bottom: 1px solid var(--border-color);
}

.filter-header {
  margin-bottom: 24px;
}

.section-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-main);
}

.categories-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.categories-grid.categories-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 16px;
}

.category-card {
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.9rem;
  font-weight: 500;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

.category-image-card {
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  aspect-ratio: 1;
}

.category-image-card .category-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex: 1;
  min-height: 0;
}

.category-image-card .category-label {
  padding: 8px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  background: var(--bg-main);
  color: var(--text-main);
}

.category-card:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.category-image-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 179, 89, 0.2);
}

.category-image-card:hover .category-label {
  color: var(--primary);
}

.category-card.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.category-image-card.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary);
}

.category-image-card.active .category-label {
  background: var(--primary);
  color: #fff;
}

.category-card .icon {
  display: none;
}

/* Event cards - professional */
.events-gallery {
  padding: 48px 0 80px;
  min-height: 400px;
  scroll-margin-top: 80px;
}

.section-header {
  margin-bottom: 28px;
}

.section-header .section-title {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  min-height: 300px;
}

.event-card {
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
}

.event-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: #d1d5db;
}

.event-image {
  height: 180px;
  background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}

.event-image .event-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.category-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 2;
  letter-spacing: 0.5px;
  background: rgba(0,0,0,0.6);
  color: #fff;
}

.event-placeholder {
  display: none;
}

.event-content {
  padding: 20px;
}

.event-date {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.8rem;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.event-title {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-main);
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-info {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.event-info svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.ticket-area.event-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  margin-top: 0;
  border-top: 1px solid var(--border-color);
  background: linear-gradient(180deg, transparent 0%, rgba(0, 179, 89, 0.04) 100%);
  margin: 0 -20px -20px -20px;
  padding: 16px 20px 20px;
  border-radius: 0 0 8px 8px;
}

.btn-ticket {
  flex-shrink: 0;
  min-width: 120px;
}

.event-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.event-price {
  display: flex;
  flex-direction: column;
}

.event-price .label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.event-price .value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: 6px;
}

/* No results */
.no-results {
  padding: 64px 40px;
  text-align: center;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
}

.no-results h3 {
  font-size: 1.125rem;
  color: var(--text-main);
}

.no-results p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.no-results svg {
  color: var(--text-muted);
  opacity: 0.5;
}

/* Info tabs */
.info-tabs {
  padding: 0 0 56px;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-color);
}

.info-tabs-banner {
  height: 200px;
  background: url('https://images.unsplash.com/photo-1540575467063-178a50c2df87?w=1200&q=80') center/cover;
  margin: 0 -24px 40px;
  border-radius: 0 0 8px 8px;
  position: relative;
}

.info-tabs-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,179,89,0.2) 0%, rgba(0,0,0,0.4) 100%);
  border-radius: 0 0 8px 8px;
}

.tabs-header {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 32px;
  padding: 4px;
  background: var(--bg-main);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.tab-btn.active {
  background: var(--primary);
  color: #fff;
}

.tab-content {
  padding: 40px;
  border-radius: 8px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
}

.content-fade {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.tab-content .section-title {
  text-align: center;
  margin-bottom: 32px;
  font-size: 1.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--bg-main);
}

.feature-icon {
  display: none;
}

.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pricing-card {
  padding: 28px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.pricing-card.highlight {
  border-color: var(--primary);
  background: rgba(0, 179, 89, 0.06);
}

.pricing-card h4 {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.pricing-card .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 8px 0;
}

.pricing-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.help-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.help-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid var(--border-color);
  background: var(--bg-main);
}

.help-item:hover {
  border-color: var(--primary);
  background: rgba(0, 179, 89, 0.06);
}

.help-item svg {
  flex-shrink: 0;
  color: var(--text-muted);
}

/* Footer */
.footer {
  margin-top: 0;
  padding: 48px 0 32px;
  background: var(--text-main);
  color: #9ca3af;
}

.footer .logo-text {
  color: #fff;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  color: inherit;
}

.footer-brand p {
  color: #9ca3af;
  max-width: 280px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  color: #9ca3af;
  transition: color 0.2s;
}

.social-links a:hover {
  color: #fff;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.link-group h4 {
  margin-bottom: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

.link-group a {
  display: block;
  color: #9ca3af;
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.link-group a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid #374151;
  text-align: center;
  color: #6b7280;
  font-size: 0.85rem;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-content {
  width: 100%;
  max-width: 500px;
  min-width: 0;
  border-radius: 8px;
  padding: 32px;
  padding-top: 48px;
  position: relative;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--bg-main);
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  margin: auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
  -webkit-overflow-scrolling: touch;
}

.close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

.modal-header h2 {
  margin-bottom: 8px;
  font-size: 1.35rem;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  padding-right: 24px;
}

.modal-header .event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.modal-header .event-meta span {
  word-break: break-word;
  overflow-wrap: break-word;
}

.ticket-selector h3,
.quantity-selector span {
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.ticket-option {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 8px;
  border: 1px solid var(--border-color);
}

.ticket-option.active {
  border-color: var(--primary);
  background: rgba(0, 179, 89, 0.08);
}

.ticket-info {
  min-width: 0;
  flex: 1;
}
.ticket-info .type {
  font-weight: 600;
  word-break: break-word;
  overflow-wrap: break-word;
}
.ticket-info .desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  word-break: break-word;
  overflow-wrap: break-word;
}

.ticket-price {
  font-weight: 700;
  color: var(--text-main);
  flex-shrink: 0;
}

.quantity-selector {
  margin: 20px 0;
}

.controls {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.controls button {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.125rem;
  cursor: pointer;
  padding: 0 8px;
}

/* Ticket purchase modal */
.ticket-purchase-modal {
  max-width: 540px;
}

/* Add-ons section */
.addons-section {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.addons-section h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.optional-tag {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-subtle);
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.addons-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.addon-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.addon-card:hover {
  border-color: var(--primary);
  background: rgba(0, 179, 89, 0.03);
}

.addon-card.active {
  border-color: var(--primary);
  background: rgba(0, 179, 89, 0.06);
}

.addon-icon {
  font-size: 1.4rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--bg-subtle);
  border-radius: 8px;
}

.addon-card.active .addon-icon {
  background: rgba(0, 179, 89, 0.12);
}

.addon-info {
  flex: 1;
  min-width: 0;
}

.addon-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
}

.addon-desc {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.addon-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.addon-price {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-main);
  white-space: nowrap;
}

.addon-card.active .addon-price {
  color: var(--primary);
}

.addon-qty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 2px 4px;
}

.addon-qty button {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.95rem;
  cursor: pointer;
  padding: 2px 6px;
  line-height: 1;
  font-weight: 600;
}

.addon-qty span {
  font-size: 0.85rem;
  font-weight: 600;
  min-width: 16px;
  text-align: center;
}

.summary {
  margin: 20px 0;
  padding: 16px;
  border-radius: 8px;
  background: var(--bg-subtle);
}

.summary .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.summary .row span:first-child {
  word-break: break-word;
  overflow-wrap: break-word;
  min-width: 0;
}

.summary .row.total {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 16px;
  text-align: center;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Payment step */
.payment-step {
  margin-top: 4px;
}

.back-link {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  margin-bottom: 16px;
  display: inline-block;
}

.back-link:hover {
  text-decoration: underline;
}

.payment-summary-compact {
  background: var(--bg-subtle);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 20px;
}

.payment-summary-compact .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.payment-summary-compact .row.total {
  font-weight: 700;
  font-size: 1rem;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border-color);
  margin-bottom: 0;
}

.payment-heading {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-main);
}

.stripe-container {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
  background: #fff;
  min-height: 100px;
}

/* Payment success */
.payment-success {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: var(--primary);
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.payment-success h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.payment-success p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.success-detail {
  font-size: 0.9rem !important;
  color: var(--text-main) !important;
}

.success-total {
  font-size: 1.05rem !important;
  margin-top: 12px !important;
  color: var(--text-main) !important;
}

.success-note {
  font-size: 0.85rem !important;
  margin-top: 12px !important;
  margin-bottom: 20px !important;
}

/* Auth modal */
.auth-modal .modal-content { max-width: 420px; }
.auth-modal .modal-title {
  margin-bottom: 20px;
  word-break: break-word;
  overflow-wrap: break-word;
  padding-right: 28px;
}
.auth-tabs { display: flex; gap: 4px; margin-bottom: 24px; }
.auth-tabs .tab-btn { padding: 8px 20px; border-radius: 6px; background: none; border: 1px solid var(--border-color); cursor: pointer; font-weight: 600; }
.auth-tabs .tab-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.auth-form .form-group { margin-bottom: 16px; }
.auth-form label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--text-main); }
.auth-form input { width: 100%; padding: 10px 14px; border: 1px solid var(--border-color); border-radius: 6px; font-size: 1rem; }
.auth-form input:focus { outline: none; border-color: var(--primary); }
.auth-error { color: #dc2626; font-size: 0.9rem; margin-bottom: 16px; }
.auth-form .btn { margin-top: 8px; }
.user-menu { display: flex; align-items: center; gap: 12px; }
.user-menu .user-name { font-size: 0.9rem; font-weight: 500; color: var(--text-main); }
.user-menu .btn { padding: 6px 14px; font-size: 0.85rem; }
.admin-link { font-size: 0.8rem; color: var(--text-muted); cursor: pointer; margin-left: 8px; }

/* Create event form */
.create-event-form {
  max-width: 600px;
  margin: 0 auto;
  min-width: 0;
}
.create-event-form .section-title,
.create-event-form .form-intro {
  word-break: break-word;
  overflow-wrap: break-word;
}
.event-form .form-group { margin-bottom: 20px; }
.event-form label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; word-break: break-word; }
.event-form input,
.event-form textarea,
.event-form select {
  width: 100%;
  max-width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 1rem;
  box-sizing: border-box;
}
.event-form .form-row { display: flex; gap: 16px; flex-wrap: wrap; }
.event-form .form-row .form-group { flex: 1; min-width: 0; }
.event-form .form-row .form-group.flex-2 { flex: 2; min-width: 140px; }
.category-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.category-pills .pill {
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background: var(--bg-main);
  cursor: pointer;
  font-size: 0.85rem;
  white-space: nowrap;
}
.category-pills .pill.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.ticket-option-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.ticket-option-row input {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
}
.ticket-option-row .opt-label { min-width: 80px; }
.ticket-option-row .opt-price { max-width: 90px; }
.ticket-option-row .opt-qty { max-width: 70px; }
/* Add-on editor rows in event form */
.addon-editor-row {
  background: var(--bg-secondary, #f8f9fa);
  border: 1px solid var(--border-color, #e0e0e0);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
}
.addon-editor-top {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.icon-select {
  width: 48px;
  font-size: 1.25rem;
  text-align: center;
  padding: 4px;
  border: 1px solid var(--border-color, #e0e0e0);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}
.addon-edit-label {
  flex: 1 1 140px;
  min-width: 100px;
}
.addon-edit-price {
  width: 90px;
  flex: 0 0 90px;
}
.addon-edit-desc {
  width: 100%;
  margin-top: 0;
}
.addon-toggle-label {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  white-space: nowrap;
  font-size: 0.85rem;
}
.addon-toggle-text {
  font-weight: 500;
  color: var(--text-secondary, #555);
}
.addon-remove-btn {
  flex-shrink: 0;
}

/* Social media links grid */
.social-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}
.social-link-group label {
  display: flex;
  align-items: center;
  gap: 6px;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  background: #1877f2;
  line-height: 1;
  flex-shrink: 0;
}
.social-icon.ig {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.social-icon.tw { background: #000; }
.social-icon.tk { background: #010101; }
.social-icon.yt { background: #ff0000; }
.social-icon.web { background: #555; font-size: 0.55rem; }

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}
.form-section {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}
.form-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.form-section h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-main);
}
.section-hint {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.4;
}
.field-hint {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
}
.checkbox-label {
  display: flex !important;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 500 !important;
}
.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--primary);
  cursor: pointer;
}
.ad-section {
  background: rgba(0, 179, 89, 0.04);
  border: 1px solid rgba(0, 179, 89, 0.15);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 28px;
}
.create-event-cta { margin-bottom: 24px; padding: 20px; background: rgba(0,179,89,0.08); border-radius: 8px; border: 1px solid rgba(0,179,89,0.2); }
.create-event-cta p { margin-bottom: 12px; color: var(--text-main); word-break: break-word; }
.create-event-modal .modal-content { max-width: 680px; }

/* App wrapper */
.app-wrapper {
  background: var(--bg-main);
}

.gradient-text {
  color: var(--primary);
}

.btn-danger {
  color: #dc2626;
  border-color: #dc2626;
}
.btn-danger:hover {
  background: rgba(220, 38, 38, 0.08);
}

/* Admin page */
.admin-page {
  min-height: 100vh;
  background: var(--bg-subtle);
  padding-top: 100px;
  padding-bottom: 40px;
}
.admin-header {
  margin-bottom: 32px;
}
.admin-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.admin-title {
  font-size: 1.5rem;
  color: var(--text-main);
}
.admin-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.admin-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 8px;
}
.admin-loading,
.admin-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
}
.admin-empty p {
  margin-bottom: 16px;
}
.admin-table-wrap {
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th,
.admin-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}
.admin-table th {
  background: var(--bg-subtle);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.admin-table tbody tr:hover {
  background: var(--bg-subtle);
}
.event-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}
.event-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
}
.cat-tag,
.status-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
}
.cat-tag {
  background: rgba(0, 179, 89, 0.15);
  color: var(--primary);
}
.status-tag {
  background: var(--bg-subtle);
  color: var(--text-muted);
}
.status-tag.draft {
  background: rgba(251, 191, 36, 0.2);
  color: #b45309;
}
.status-tag.published {
  background: rgba(0, 179, 89, 0.15);
  color: var(--primary);
}
.admin-table .btn-sm {
  padding: 6px 12px;
  font-size: 0.8rem;
  margin-right: 8px;
}
.ad-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(59, 130, 246, 0.15);
  color: #2563eb;
  letter-spacing: 0.04em;
}
.confirm-modal {
  max-width: 420px;
  padding: 24px;
  padding-top: 44px;
}
.confirm-modal h3 {
  margin-bottom: 12px;
  word-break: break-word;
  overflow-wrap: break-word;
}
.confirm-modal p {
  color: var(--text-muted);
  margin-bottom: 20px;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Page layouts (Merch, Live Stream) */
.page {
  min-height: 100vh;
  padding-top: 80px;
  padding-bottom: 60px;
}

.page-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  padding: 48px 0 40px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300b359' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.page-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  position: relative;
}

.page-desc {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0;
  position: relative;
}

/* Merch page */
.merch-page .products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  transition: all 0.2s;
}

.product-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: #d1d5db;
}

.product-image {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body {
  padding: 16px;
}

.product-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  display: block;
  margin-bottom: 4px;
}

.product-name {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.4;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-price {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-main);
}

/* Live stream page */
.stream-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(220, 38, 38, 0.2);
  color: #fca5a5;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.1); }
}

.stream-hero .page-title {
  margin-top: 4px;
}

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

.stream-card {
  background: var(--bg-card);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  transition: all 0.2s;
}

.stream-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.stream-thumbnail {
  aspect-ratio: 16/9;
  background: #0f172a;
  position: relative;
  overflow: hidden;
}

.stream-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stream-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.stream-card:hover .stream-overlay {
  background: rgba(0,0,0,0.3);
}

.play-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}

.play-placeholder svg {
  opacity: 0.95;
}

.stream-category-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  background: rgba(0,0,0,0.7);
  color: #fff;
}

.stream-body {
  padding: 16px;
}

.stream-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
  line-height: 1.3;
}

.stream-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.stream-body .btn {
  width: 100%;
  justify-content: center;
}

/* ── Calendar Page ── */
.calendar-page .calendar-hero {
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
}

.calendar-content {
  padding-top: 32px;
  padding-bottom: 64px;
}

.calendar-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.cal-tab {
  padding: 8px 20px;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  background: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cal-tab:hover { border-color: var(--primary); color: var(--primary); }
.cal-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.tab-badge {
  background: rgba(255,255,255,0.3);
  border-radius: 10px;
  padding: 1px 7px;
  font-size: 0.75rem;
  font-weight: 600;
}
.cal-tab.active .tab-badge { background: rgba(255,255,255,0.3); }

.cal-login-prompt {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
  font-size: 1rem;
}

.calendar-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 0;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

/* Calendar grid panel */
.calendar-panel {
  padding: 24px;
}
.cal-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.cal-nav-btn {
  background: none;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.cal-nav-btn:hover { border-color: var(--primary); color: var(--primary); }
.cal-month-title {
  font-size: 1.2rem;
  font-weight: 600;
  flex: 1;
  text-align: center;
}
.cal-today-btn {
  padding: 5px 14px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}
.cal-today-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--border-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}
.cal-weekday {
  padding: 8px 4px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  background: #f9fafb;
  letter-spacing: 0.04em;
}
.cal-day {
  min-height: 70px;
  padding: 6px;
  background: #fff;
  cursor: pointer;
  transition: background 0.12s;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.cal-day:hover { background: #f0fdf4; }
.cal-day.other-month { background: #fafafa; }
.cal-day.other-month .cal-day-num { color: #ccc; }
.cal-day.is-today .cal-day-num {
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cal-day.selected { background: #ecfdf5; box-shadow: inset 0 0 0 2px var(--primary); }
.cal-day.has-events { font-weight: 500; }
.cal-day-num {
  font-size: 0.88rem;
  line-height: 1;
  margin-bottom: 4px;
}
.cal-dots {
  display: flex;
  gap: 3px;
  margin-top: auto;
}
.cal-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

/* Calendar sidebar */
.calendar-sidebar {
  border-left: 1px solid var(--border-color);
  padding: 24px;
  overflow-y: auto;
  max-height: 600px;
}
.sidebar-date {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-main);
}
.sidebar-empty {
  text-align: center;
  padding: 24px 0;
  color: var(--text-muted);
}
.sidebar-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 48px 12px;
  color: var(--text-muted);
  text-align: center;
}

.sidebar-event-card {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}
.sec-img {
  position: relative;
  height: 110px;
  overflow: hidden;
}
.sec-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sec-cat {
  position: absolute;
  top: 8px;
  left: 8px;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.sec-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}
.sec-body {
  padding: 12px;
}
.sec-body h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.3;
}
.sec-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.sec-price {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
}
.sec-free {
  color: var(--text-muted);
}
.sec-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Calendar add dropdown */
.cal-add-dropdown {
  position: relative;
}
.cal-dropdown-menu {
  position: absolute;
  bottom: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: var(--shadow-hover);
  padding: 4px 0;
  min-width: 160px;
  z-index: 100;
  margin-bottom: 4px;
}
.cal-dropdown-menu a {
  display: block;
  padding: 8px 14px;
  font-size: 0.85rem;
  color: var(--text-main);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.1s;
}
.cal-dropdown-menu a:hover {
  background: #f0fdf4;
  color: var(--primary);
}

/* My Tickets list */
.my-tickets-list {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}
.my-tickets-list h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.my-ticket-card {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 8px;
}
.mt-thumb {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}
.mt-info {
  flex: 1;
  min-width: 0;
}
.mt-info h4 {
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mt-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mt-detail {
  font-weight: 500;
  color: var(--primary) !important;
}
.mt-actions {
  flex-shrink: 0;
}

.cal-loading {
  text-align: center;
  padding: 32px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .modal-overlay {
    padding: 12px;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .modal-content {
    padding: 24px 16px;
    padding-top: 44px;
    max-height: calc(100vh - 32px);
  }
  .modal-header h2 {
    font-size: 1.15rem;
  }
  .modal-header .event-meta {
    font-size: 0.85rem;
  }
  .event-form .form-row {
    flex-direction: column;
  }
  .event-form .form-row .form-group {
    min-width: 100%;
  }
  .ticket-option-row {
    flex-direction: column;
    align-items: stretch;
  }
  .ticket-option-row input {
    max-width: none;
  }
  .addon-editor-top {
    flex-direction: column;
    align-items: stretch;
  }
  .addon-edit-price {
    width: 100%;
    flex: 1 1 auto;
  }
  .social-links-grid {
    grid-template-columns: 1fr;
  }
  .form-actions {
    flex-direction: column;
  }
  .form-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .nav-links,
  .search-bar {
    display: none;
  }

  .hero-section h1 {
    font-size: 1.75rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .categories-grid {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .category-card {
    flex-shrink: 0;
  }

  .admin-table-wrap {
    overflow-x: auto;
  }
  .admin-table {
    min-width: 600px;
  }
  .admin-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .merch-page .products-grid {
    grid-template-columns: 1fr;
  }
  .stream-content .streams-grid {
    grid-template-columns: 1fr;
  }
  .page-hero {
    padding: 32px 0 28px;
  }
  .page-title {
    font-size: 1.5rem;
  }

  .calendar-layout {
    grid-template-columns: 1fr !important;
  }
  .calendar-sidebar {
    border-left: none !important;
    border-top: 1px solid var(--border-color);
    padding-left: 0 !important;
    padding-top: 24px;
  }
  .cal-day {
    min-height: 48px !important;
    padding: 4px 2px !important;
  }
  .cal-day-num {
    font-size: 0.8rem !important;
  }
}
