/* Main CSS - Single unified stylesheet for entire application */

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Base */
html { font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.5;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font: inherit; }

/* ========================================
   HEADER
   ======================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
}

.logo-mark.small {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.nav-desktop {
  display: none;
  gap: 24px;
}

.nav-desktop a {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-muted);
  transition: color 0.15s;
}

.nav-desktop a:hover {
  color: var(--c-text);
}

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-select {
  padding: 8px 12px;
  border: 1px solid var(--c-border);
  border-radius: 6px;
  background: var(--c-bg);
  color: var(--c-text);
  font-size: 13px;
}

.btn-ghost {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text);
  background: transparent;
  border: 1px solid var(--c-border);
  transition: all 0.15s;
  display: none;
}

.btn-ghost:hover {
  background: var(--c-surface);
  border-color: var(--c-text);
}

@media (min-width: 768px) {
  .btn-ghost { display: inline-flex; }
}

.btn-primary {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-bg);
  background: var(--c-text);
  border: 1px solid var(--c-text);
  transition: opacity 0.15s;
  display: none;
}

.btn-primary:hover {
  opacity: 0.9;
}

@media (min-width: 768px) {
  .btn-primary { display: inline-flex; }
}

/* Header Right */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hamburger - Always visible */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 8px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: all 0.2s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Slide-out Menu */
.mobile-menu {
  position: fixed;
  top: 64px;
  right: 0;
  width: 300px;
  max-width: 85vw;
  bottom: 0;
  background: var(--c-surface);
  border-left: 1px solid var(--c-border);
  z-index: 99;
  padding: 20px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav a, .mobile-nav-btn {
  display: block;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--c-text);
  border-radius: 8px;
  transition: background 0.15s;
  width: 100%;
  text-align: left;
}

.mobile-nav a:hover, .mobile-nav-btn:hover {
  background: var(--c-bg);
}

/* ========================================
   MAIN CONTENT
   ======================================== */
.main {
  min-height: calc(100vh - 64px - 100px);
}

.main.with-sidebar {
  display: grid;
  grid-template-columns: 240px 1fr;
}

@media (max-width: 768px) {
  .main.with-sidebar {
    grid-template-columns: 1fr;
  }
  .main.with-sidebar .sidebar {
    display: none;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px;
}

.container.narrow {
  max-width: 600px;
}

/* ========================================
   SIDEBAR (Admin/Operator)
   ======================================== */
.sidebar {
  width: 240px;
  min-width: 240px;
  max-width: 240px;
  background: var(--c-surface);
  border-right: 1px solid var(--c-border);
  padding: 20px;
  overflow-y: auto;
}

.sidebar-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--c-muted);
  margin-bottom: 12px;
  padding: 0 12px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-link {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-muted);
  border-radius: 6px;
  transition: all 0.15s;
}

.sidebar-link:hover {
  background: var(--c-bg);
  color: var(--c-text);
}

.sidebar-link.active {
  background: color-mix(in oklab, var(--c-primary) 15%, transparent);
  color: var(--c-primary);
}

.sidebar-spacer {
  flex: 1;
  min-height: 20px;
}

@media (max-width: 768px) {
  .sidebar {
    display: none;
  }
}

/* ========================================
   PAGE CONTENT
   ======================================== */
.content {
  flex: 1;
  padding: 24px;
  min-width: 0;
}

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

.page-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.page-subtitle {
  color: var(--c-muted);
  font-size: 14px;
}

/* ========================================
   CARDS & PANELS
   ======================================== */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 20px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.card-title {
  font-size: 16px;
  font-weight: 600;
}

/* ========================================
   GRID LAYOUTS
   ======================================== */
.grid {
  display: grid;
  gap: 16px;
}

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

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Stats */
.stat-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 16px;
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--c-muted);
  margin-top: 4px;
}

/* ========================================
   FORMS
   ======================================== */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-muted);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  background: var(--c-bg);
  color: var(--c-text);
  font-size: 14px;
}

.form-input:focus {
  outline: none;
  border-color: var(--c-primary);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.15s;
  border: 1px solid transparent;
}

.btn-primary, .btn.primary {
  background: var(--c-text);
  color: var(--c-bg);
  border-color: var(--c-text);
}

.btn-primary:hover { opacity: 0.9; }

.btn-secondary, .btn.secondary {
  background: transparent;
  color: var(--c-text);
  border-color: var(--c-border);
}

.btn-secondary:hover {
  border-color: var(--c-text);
}

.btn-danger {
  background: var(--c-danger);
  color: white;
  border-color: var(--c-danger);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 13px;
}

.btn-wide { width: 100%; }

/* ========================================
   TABLES
   ======================================== */
.table {
  width: 100%;
  border-collapse: collapse;
}

.table th, .table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--c-border);
}

.table th {
  font-size: 12px;
  font-weight: 600;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.table tr:hover td {
  background: var(--c-surface);
}

/* ========================================
   PILLS & BADGES
   ======================================== */
.pill {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
}

.pill.success {
  background: color-mix(in oklab, var(--c-success) 15%, transparent);
  border-color: var(--c-success);
  color: var(--c-success);
}

.pill.warning {
  background: color-mix(in oklab, var(--c-warn) 15%, transparent);
  border-color: var(--c-warn);
  color: var(--c-warn);
}

.pill.danger {
  background: color-mix(in oklab, var(--c-danger) 15%, transparent);
  border-color: var(--c-danger);
  color: var(--c-danger);
}

/* ========================================
   EVENT CARDS
   ======================================== */
.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.event-card {
  display: block;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.15s;
}

.event-card:hover {
  border-color: var(--c-text);
  transform: translateY(-2px);
}

.event-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.event-location {
  font-size: 12px;
  font-weight: 600;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.event-price {
  font-size: 14px;
  font-weight: 700;
}

.event-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}

.event-date {
  font-size: 14px;
  color: var(--c-muted);
  margin-bottom: 12px;
}

.event-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 4px 8px;
  background: color-mix(in oklab, var(--c-primary) 15%, transparent);
  color: var(--c-primary);
  border-radius: 4px;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  text-align: center;
  padding: 60px 20px;
  max-width: 600px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--c-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   SECTION
   ======================================== */
.section {
  padding: 24px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
}

.section-link {
  font-size: 14px;
  color: var(--c-muted);
}

.section-link:hover {
  color: var(--c-text);
}

/* ========================================
   EMPTY STATE
   ======================================== */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  background: var(--c-surface);
  border: 1px dashed var(--c-border);
  border-radius: 12px;
}

.empty-state p {
  color: var(--c-muted);
  margin-bottom: 16px;
}

/* ========================================
   AUTH PAGES
   ======================================== */
.auth-card {
  max-width: 400px;
  margin: 40px auto;
  padding: 32px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 12px;
}

.auth-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

.auth-subtitle {
  text-align: center;
  color: var(--c-muted);
  margin-bottom: 24px;
}

.auth-footer {
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  color: var(--c-muted);
}

.auth-footer a {
  color: var(--c-text);
  font-weight: 600;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  padding: 24px 20px;
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  font-size: 14px;
  color: var(--c-muted);
}

.footer-nav a:hover {
  color: var(--c-text);
}

.footer-copy {
  font-size: 13px;
  color: var(--c-muted);
}

@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ========================================
   UTILITIES
   ======================================== */
.muted { color: var(--c-muted); }
.text-sm { font-size: 14px; }
.text-xs { font-size: 12px; }
.tiny { font-size: 11px; }
.font-bold { font-weight: 700; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.flex { display: flex; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }

/* ========================================
   ADMIN/OPERATOR PANELS
   ======================================== */
.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.panel {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 20px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.panel-title {
  font-size: 16px;
  font-weight: 600;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 600px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}

.stat {
  text-align: center;
  padding: 12px 8px;
  background: var(--c-bg);
  border-radius: 8px;
}

.stat-num {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}

.steps {
  padding-left: 20px;
  margin: 0;
}

.steps li {
  padding: 8px 0;
  color: var(--c-muted);
}

.ai-assistant {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.ai-assistant .input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  background: var(--c-bg);
  color: var(--c-text);
}

.ai-answer {
  min-height: 40px;
  padding: 12px;
  background: var(--c-bg);
  border-radius: 8px;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--c-border);
}

th {
  font-size: 12px;
  font-weight: 600;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

tbody tr:hover {
  background: var(--c-bg);
}

/* Forms */
.form-row {
  margin-bottom: 16px;
}

.form-row label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}

input, select, textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid var(--c-border);
  border-radius: 6px;
  background: var(--c-bg);
  color: var(--c-text);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--c-primary);
}

textarea {
  resize: vertical;
}

/* Page headings */
h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 24px 0;
}

h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 16px 0;
}

/* Button sizes */
.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

/* Pill variants */
.pill.ok, .pill.success {
  background: color-mix(in oklab, var(--c-success) 15%, transparent);
  border-color: var(--c-success);
  color: var(--c-success);
}

.pill.warn, .pill.warning {
  background: color-mix(in oklab, var(--c-warn) 15%, transparent);
  border-color: var(--c-warn);
  color: var(--c-warn);
}

.pill.subtle {
  background: var(--c-bg);
  border-color: var(--c-border);
  color: var(--c-muted);
}

/* ========================================
   HOME PAGE - EXCITING REDESIGN
   ======================================== */

/* Hero Section */
.home-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 60px 20px;
}

.hero-bg-effects {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: float 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 400px;
  height: 400px;
  background: var(--c-primary);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 350px;
  height: 350px;
  background: var(--c-secondary);
  top: 50%;
  right: -80px;
  animation-delay: -3s;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: var(--c-accent);
  bottom: -50px;
  left: 30%;
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: color-mix(in oklab, var(--c-surface) 80%, transparent);
  border: 1px solid var(--c-border);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-muted);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.location-icon {
  font-size: 16px;
}

.hero-headline {
  font-size: clamp(36px, 8vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 20px 0;
}

.hero-line {
  display: block;
}

.hero-gradient-text {
  background: linear-gradient(135deg, var(--c-primary), var(--c-secondary), var(--c-accent));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 5s ease infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-tagline {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--c-muted);
  margin-bottom: 32px;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.hero-btn-primary {
  background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
  color: white;
  box-shadow: 0 8px 32px color-mix(in oklab, var(--c-primary) 40%, transparent);
}

.hero-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px color-mix(in oklab, var(--c-primary) 50%, transparent);
}

.hero-btn-secondary {
  background: color-mix(in oklab, var(--c-surface) 90%, transparent);
  color: var(--c-text);
  border: 1px solid var(--c-border);
  backdrop-filter: blur(10px);
}

.hero-btn-secondary:hover {
  background: var(--c-surface);
  border-color: var(--c-primary);
  transform: translateY(-3px);
}

.btn-icon {
  font-size: 18px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px 32px;
  background: color-mix(in oklab, var(--c-surface) 70%, transparent);
  border: 1px solid var(--c-border);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 13px;
  color: var(--c-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--c-border);
}

/* Home Section */
.home-section {
  padding: 48px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header-fancy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-icon {
  font-size: 28px;
}

.section-title-big {
  font-size: 28px;
  font-weight: 800;
  margin: 0;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: color-mix(in oklab, var(--c-surface) 80%, transparent);
  border: 1px solid var(--c-border);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text);
  transition: all 0.3s ease;
}

.view-all-link:hover {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: white;
}

.view-all-link .arrow {
  transition: transform 0.3s ease;
}

.view-all-link:hover .arrow {
  transform: translateX(4px);
}

/* Events Showcase */
.events-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.event-card-fancy {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  text-decoration: none;
  color: inherit;
}

.event-card-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    color-mix(in oklab, var(--c-primary) 15%, transparent),
    color-mix(in oklab, var(--c-secondary) 10%, transparent)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.event-card-fancy:hover .event-card-glow {
  opacity: 1;
}

.event-card-content {
  position: relative;
  padding: 24px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 20px;
  height: 100%;
  transition: all 0.4s ease;
}

.event-card-fancy:hover .event-card-content {
  transform: translateY(-4px);
  border-color: var(--c-primary);
  box-shadow: 0 20px 60px color-mix(in oklab, var(--c-primary) 20%, transparent);
}

.event-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.event-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: var(--c-bg);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-muted);
}

.event-price-tag {
  padding: 8px 14px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  color: white;
}

.event-price-tag.free {
  background: linear-gradient(135deg, var(--c-success), var(--c-accent));
}

.event-title-big {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.event-date-fancy {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--c-muted);
  margin-bottom: 20px;
}

.date-icon {
  font-size: 16px;
}

.event-card-footer {
  padding-top: 16px;
  border-top: 1px solid var(--c-border);
}

.book-badge, .source-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--c-bg);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-primary);
  transition: all 0.3s ease;
}

.event-card-fancy:hover .book-badge,
.event-card-fancy:hover .source-badge {
  background: var(--c-primary);
  color: white;
}

/* Empty State */
.empty-state-fancy {
  text-align: center;
  padding: 80px 40px;
  background: linear-gradient(135deg, 
    color-mix(in oklab, var(--c-surface) 90%, transparent),
    color-mix(in oklab, var(--c-primary) 5%, var(--c-surface))
  );
  border: 2px dashed var(--c-border);
  border-radius: 24px;
}

.empty-icon {
  font-size: 64px;
  margin-bottom: 24px;
}

.empty-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 12px 0;
}

.empty-text {
  font-size: 16px;
  color: var(--c-muted);
  margin-bottom: 32px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Feature Cards */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  position: relative;
  padding: 32px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-secondary));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px color-mix(in oklab, var(--c-primary) 15%, transparent);
}

.feature-icon-wrap {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, 
    color-mix(in oklab, var(--c-primary) 15%, transparent),
    color-mix(in oklab, var(--c-secondary) 10%, transparent)
  );
  border-radius: 16px;
  margin-bottom: 20px;
}

.feature-icon {
  font-size: 32px;
}

.feature-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px 0;
}

.feature-desc {
  font-size: 15px;
  color: var(--c-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-primary);
  transition: all 0.3s ease;
}

.feature-link:hover {
  gap: 12px;
}

.feature-link .arrow {
  transition: transform 0.3s ease;
}

.feature-link:hover .arrow {
  transform: translateX(4px);
}

/* Desktop - ensure full width */
@media (min-width: 1024px) {
  .home-hero {
    min-height: 80vh;
    padding: 80px 40px;
  }
  
  .hero-content {
    max-width: 900px;
  }
  
  .home-section {
    padding: 64px 40px;
    max-width: 1400px;
  }
  
  .events-showcase {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .feature-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .event-card-content {
    padding: 32px;
  }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1023px) {
  .events-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .feature-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .home-hero {
    min-height: 60vh;
    padding: 40px 16px;
  }
  
  .hero-orb {
    filter: blur(60px);
    opacity: 0.4;
  }
  
  .hero-orb-1 { width: 250px; height: 250px; }
  .hero-orb-2 { width: 200px; height: 200px; }
  .hero-orb-3 { width: 180px; height: 180px; }
  
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .hero-btn {
    justify-content: center;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
  }
  
  .stat-divider {
    width: 60px;
    height: 1px;
  }
  
  .home-section {
    padding: 32px 16px;
  }
  
  .section-title-big {
    font-size: 22px;
  }
  
  .events-showcase {
    grid-template-columns: 1fr;
  }
  
  .feature-cards {
    grid-template-columns: 1fr;
  }
  
  .empty-state-fancy {
    padding: 48px 24px;
  }
  
  .empty-icon {
    font-size: 48px;
  }
}
