/* ==========================================================================
   LANFACTORY EVENTS & SUGGESTION HUB - THEME STYLES
   Colors: Obsidian Black (#0a0a0e), Electric Crimson Red (#ff1e27), Stark White (#ffffff)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@0,400;0,600;0,700;1,700&family=Inter:wght@300;400;500;600;700&family=Rajdhani:wght@500;600;700&family=Orbitron:wght@700;900&display=swap');

:root {
  /* Brand Theme Colors */
  --bg-main: #0a0a0f;
  --bg-surface: #121218;
  --bg-card: #181822;
  --bg-card-hover: #20202e;
  --bg-elevated: #262638;
  --bg-input: #101017;

  --red-primary: #ff202e;
  --red-hover: #ff4754;
  --red-deep: #b80d19;
  --red-glow: rgba(255, 32, 46, 0.45);
  --red-subtle: rgba(255, 32, 46, 0.12);
  --red-border: rgba(255, 32, 46, 0.3);

  --white-pure: #ffffff;
  --text-primary: #ffffff;
  --text-secondary: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* Status Colors */
  --status-live: #ff202e;
  --status-scheduled: #3b82f6;
  --status-planned: #10b981;
  --status-review: #f59e0b;
  --status-declined: #6b7280;

  /* Typography */
  --font-display: 'Chakra Petch', 'Orbitron', sans-serif;
  --font-heading: 'Rajdhani', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Shadows & Glass */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 20px var(--red-glow);
  --glass-bg: rgba(18, 18, 24, 0.85);
  --glass-border: rgba(255, 255, 255, 0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(255, 32, 46, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 10% 40%, rgba(255, 32, 46, 0.03) 0%, transparent 40%),
    linear-gradient(to bottom, #0a0a0f, #050508);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-elevated);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--red-primary);
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   NAVIGATION BAR & HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white-pure);
}

.logo-icon-badge {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--red-primary), var(--red-deep));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--red-glow);
  position: relative;
  overflow: hidden;
}

.logo-img-badge {
  width: 34px !important;
  height: 34px !important;
  max-width: 34px !important;
  max-height: 34px !important;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 0 5px rgba(255, 32, 46, 0.4));
  transition: transform 0.3s ease;
  flex-shrink: 0;
  display: block;
}

.logo-brand:hover .logo-img-badge {
  transform: scale(1.06) rotate(4deg);
}

.logo-icon-badge svg {
  width: 24px;
  height: 24px;
  fill: var(--white-pure);
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white-pure);
  line-height: 1.1;
}

.logo-title span {
  color: var(--red-primary);
  text-shadow: 0 0 10px var(--red-glow);
}

.logo-sub {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Nav Links */
.header-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border: 1px solid transparent;
}

.nav-link:hover {
  color: var(--white-pure);
  background: var(--bg-card);
  border-color: var(--border-subtle);
}

.nav-link.active {
  color: var(--white-pure);
  background: var(--red-subtle);
  border-color: var(--red-border);
}

.nav-link.active svg {
  color: var(--red-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red-primary), var(--red-deep));
  color: var(--white-pure);
  border-color: var(--red-primary);
  box-shadow: 0 2px 10px rgba(255, 32, 46, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--red-hover), var(--red-primary));
  box-shadow: 0 0 18px var(--red-glow);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-secondary);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  color: var(--white-pure);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white-pure, #ffffff) !important;
  border: 1px solid var(--border-strong, rgba(255, 255, 255, 0.2));
  border-radius: var(--radius-sm, 6px);
  padding: 0.55rem 1.15rem;
  font-family: var(--font-heading, 'Rajdhani', sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition, all 0.22s ease);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 32, 46, 0.15) !important;
  color: var(--white-pure, #ffffff) !important;
  border-color: var(--red-primary, #ff202e) !important;
  box-shadow: 0 0 16px var(--red-glow, rgba(255, 32, 46, 0.45));
  transform: translateY(-1px);
}

.btn-outline.btn-sm,
.btn-sm.btn-outline {
  padding: 0.4rem 0.85rem !important;
  font-size: 0.82rem !important;
}


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

.btn-outline-red:hover {
  background: var(--red-subtle);
  color: var(--white-pure);
  box-shadow: 0 0 12px var(--red-glow);
}

.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 0.8rem 1.6rem;
  font-size: 1.1rem;
}

.btn-icon {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   LIVE BUILDING PULSE HERO BANNER
   ========================================================================== */
.hero-pulse-banner {
  background: linear-gradient(90deg, #160809 0%, #15151e 50%, #0d0d12 100%);
  border-bottom: 1px solid var(--red-border);
  padding: 0.85rem 0;
  position: relative;
  overflow: hidden;
}

.hero-pulse-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red-primary), transparent);
}

.pulse-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.pulse-indicator-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.live-pulse-dot {
  width: 10px;
  height: 10px;
  background: var(--red-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--red-primary);
  animation: liveBlink 1.8s infinite ease-in-out;
}

@keyframes liveBlink {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 12px var(--red-primary); }
  50% { opacity: 0.3; transform: scale(0.85); box-shadow: 0 0 2px var(--red-primary); }
}

.pulse-title-tag {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red-primary);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.pulse-marquee-text {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white-pure);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pulse-quick-stats {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pulse-stat-item strong {
  color: var(--white-pure);
  font-family: var(--font-display);
}

/* ==========================================================================
   PAGE HERO & HEADER CONTROLS
   ========================================================================== */
.main-content {
  flex: 1;
  padding: 2rem 0 4rem;
}

.dashboard-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-headings h1 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white-pure);
  line-height: 1.2;
}

.hero-headings h1 span {
  color: var(--red-primary);
  text-shadow: 0 0 15px var(--red-glow);
}

.hero-headings p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 0.25rem;
}

/* View Mode Switcher */
.view-switch-tabs {
  display: flex;
  background: var(--bg-surface);
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  gap: 4px;
}

.view-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.45rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.view-tab-btn:hover {
  color: var(--white-pure);
}

.view-tab-btn.active {
  background: var(--red-primary);
  color: var(--white-pure);
  box-shadow: 0 2px 8px var(--red-glow);
}

/* Filter Bar */
.filter-toolbar {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.filter-categories {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.category-pill {
  padding: 0.35rem 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.category-pill:hover {
  border-color: var(--border-strong);
  color: var(--white-pure);
}

.category-pill.active {
  background: var(--red-subtle);
  color: var(--white-pure);
  border-color: var(--red-primary);
  box-shadow: 0 0 10px rgba(255, 32, 46, 0.2);
}

.filter-inputs-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-box-wrapper {
  position: relative;
  min-width: 240px;
}

.search-box-wrapper input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-strong);
  color: var(--white-pure);
  padding: 0.5rem 0.85rem 0.5rem 2.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-family: var(--font-body);
  transition: var(--transition);
}

.search-box-wrapper input:focus {
  outline: none;
  border-color: var(--red-primary);
  box-shadow: 0 0 0 2px var(--red-subtle);
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* ==========================================================================
   MONTH GRID CALENDAR VIEW
   ========================================================================== */
.calendar-view-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.calendar-header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-subtle);
}

.cal-month-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--white-pure);
  text-transform: uppercase;
}

.cal-month-title span {
  color: var(--red-primary);
}

.cal-nav-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cal-grid-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

.cal-weekday {
  padding: 0.75rem 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.cal-grid-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: var(--border-subtle);
  gap: 1px;
}

.cal-day-cell {
  background: var(--bg-surface);
  min-height: 125px;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.cal-day-cell:hover {
  background: var(--bg-card);
}

.cal-day-cell.other-month {
  background: rgba(10, 10, 15, 0.7);
  opacity: 0.45;
}

.cal-day-cell.today {
  background: rgba(255, 32, 46, 0.05);
}

.cal-day-cell.today .day-number {
  background: var(--red-primary);
  color: var(--white-pure);
  font-weight: 800;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px var(--red-glow);
}

.day-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.day-number {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.day-events-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  overflow-y: auto;
}

/* Event Pill inside Calendar */
.cal-event-pill {
  padding: 4px 6px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
  border-left: 3px solid var(--red-primary);
  background: var(--bg-card);
  color: var(--white-pure);
}

.cal-event-pill:hover {
  transform: translateX(2px);
  background: var(--bg-elevated);
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.cal-event-pill.pill-tournament {
  border-left-color: #ff202e;
  background: rgba(255, 32, 46, 0.15);
}

.cal-event-pill.pill-lock_in {
  border-left-color: #ec4899;
  background: rgba(236, 72, 153, 0.15);
}

.cal-event-pill.pill-lan_party {
  border-left-color: #f59e0b;
  background: rgba(245, 158, 11, 0.15);
}

.cal-event-pill.pill-casual_night {
  border-left-color: #10b981;
  background: rgba(16, 185, 129, 0.15);
}

.cal-event-pill.pill-vr_experience {
  border-left-color: #06b6d4;
  background: rgba(6, 182, 212, 0.15);
}

.cal-event-pill.pill-workshop {
  border-left-color: #8b5cf6;
  background: rgba(139, 92, 246, 0.15);
}

.cal-event-pill.is-live {
  border-left-color: var(--red-primary);
  background: rgba(255, 32, 46, 0.3);
  animation: liveGlow 2s infinite ease-in-out;
}

@keyframes liveGlow {
  0%, 100% { box-shadow: 0 0 5px var(--red-glow); }
  50% { box-shadow: 0 0 12px var(--red-glow); }
}

.cal-more-events {
  font-size: 0.72rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px;
  font-weight: 600;
}
.cal-more-events:hover {
  color: var(--red-primary);
}

/* ==========================================================================
   AGENDA / LIST VIEW
   ========================================================================== */
.agenda-view-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.agenda-event-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.agenda-event-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--red-primary);
}

.agenda-event-card:hover {
  background: var(--bg-card);
  border-color: var(--red-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  transform: translateY(-2px);
}

.agenda-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.5rem;
  text-align: center;
}

.badge-month {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--red-primary);
  text-transform: uppercase;
}

.badge-day {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--white-pure);
  line-height: 1;
  margin: 2px 0;
}

.badge-weekday {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.agenda-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.agenda-meta-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.category-tag {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  background: var(--red-subtle);
  color: var(--red-primary);
  border: 1px solid var(--red-border);
}

.game-tag {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white-pure);
  background: var(--bg-elevated);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}

.zone-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.agenda-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white-pure);
  cursor: pointer;
  transition: var(--transition);
}

.agenda-title:hover {
  color: var(--red-primary);
}

.agenda-desc-preview {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.agenda-perks-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.25rem;
  font-family: var(--font-heading);
  font-size: 0.88rem;
}

.perk-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-secondary);
}

.perk-item.prize strong {
  color: #f59e0b;
}

.perk-item.fee strong {
  color: #10b981;
}

.agenda-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 140px;
}

/* ==========================================================================
   WEEK SCHEDULE VIEW
   ========================================================================== */
.week-view-container {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1rem;
}

.week-day-col {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.week-day-header {
  background: var(--bg-card);
  padding: 0.85rem 0.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
}

.week-day-header.is-today {
  background: var(--red-subtle);
  border-bottom-color: var(--red-border);
}

.week-day-header .wd-name {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.week-day-header.is-today .wd-name {
  color: var(--red-primary);
}

.week-day-header .wd-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white-pure);
}

.week-events-stack {
  padding: 0.75rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.week-event-card {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 0.6rem;
  border-left: 3px solid var(--red-primary);
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition);
}

.week-event-card:hover {
  background: var(--bg-elevated);
  transform: translateY(-2px);
}

.week-event-time {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--red-primary);
  margin-bottom: 2px;
}

.week-event-title {
  font-weight: 600;
  color: var(--white-pure);
  line-height: 1.2;
}

/* ==========================================================================
   SUGGESTION BOX BOARD & CARDS
   ========================================================================== */
.suggestions-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.sugg-stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sugg-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--red-subtle);
  color: var(--red-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sugg-stat-info h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white-pure);
  line-height: 1;
}

.sugg-stat-info p {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.suggestions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 1.5rem;
}

.suggestion-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  transition: var(--transition);
  position: relative;
}

.suggestion-card:hover {
  background: var(--bg-card);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Upvote Button */
.vote-control-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 54px;
}

.vote-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  width: 52px;
  padding: 0.5rem 0;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  transition: var(--transition);
}

.vote-btn:hover {
  background: var(--bg-elevated);
  color: var(--white-pure);
  border-color: var(--red-border);
}

.vote-btn.has-voted {
  background: var(--red-primary);
  border-color: var(--red-primary);
  color: var(--white-pure);
  box-shadow: 0 0 14px var(--red-glow);
}

.vote-btn.has-voted svg {
  transform: translateY(-2px);
}

.vote-count-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
}

.sugg-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.sugg-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.sugg-status-badge {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
}

.sugg-status-badge.status-new {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.sugg-status-badge.status-under_review {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.sugg-status-badge.status-planned {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.sugg-status-badge.status-scheduled {
  background: rgba(255, 32, 46, 0.15);
  color: var(--red-primary);
  border: 1px solid var(--red-border);
}

.sugg-status-badge.status-declined {
  background: rgba(107, 114, 128, 0.15);
  color: #9ca3af;
  border: 1px solid rgba(107, 114, 128, 0.3);
}

.sugg-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white-pure);
}

.sugg-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.sugg-rules-box {
  background: var(--bg-input);
  border-left: 2px solid var(--red-primary);
  padding: 0.5rem 0.75rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.sugg-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.6rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.sugg-author strong {
  color: var(--white-pure);
}

.sugg-admin-note {
  background: rgba(255, 32, 46, 0.08);
  border: 1px solid var(--red-border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}

.sugg-admin-note strong {
  color: var(--red-primary);
  font-family: var(--font-heading);
}

/* ==========================================================================
   MODALS & OVERLAYS
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-window {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 32, 46, 0.2);
  transform: scale(0.95);
  transition: all 0.25s ease;
  position: relative;
}

.modal-backdrop.active .modal-window {
  transform: scale(1);
}

.modal-header {
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  position: sticky;
  top: 0;
  z-index: 10;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--white-pure);
  text-transform: uppercase;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
  border-radius: 4px;
  transition: var(--transition);
}

.modal-close-btn:hover {
  color: var(--red-primary);
}

.modal-body {
  padding: 1.75rem;
}

.modal-footer {
  padding: 1.25rem 1.75rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.form-label span.req {
  color: var(--red-primary);
}

.form-control {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--white-pure);
  padding: 0.65rem 0.85rem;
  font-size: 0.92rem;
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--red-primary);
  box-shadow: 0 0 0 2px var(--red-subtle);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Event Detail Modal Specific */
.event-detail-banner {
  background: linear-gradient(135deg, rgba(255, 32, 46, 0.2), rgba(0, 0, 0, 0.6));
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--red-border);
  margin-bottom: 1.5rem;
}

.event-detail-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white-pure);
  margin-bottom: 0.5rem;
}

.event-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.detail-item {
  background: var(--bg-card);
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.detail-item-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.detail-item-val {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white-pure);
  margin-top: 2px;
}

.attendees-list-wrap {
  background: var(--bg-input);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  max-height: 140px;
  overflow-y: auto;
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.attendee-tag {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--white-pure);
  font-family: var(--font-heading);
  font-weight: 600;
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--red-primary);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.25rem;
  color: var(--white-pure);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 280px;
  max-width: 420px;
  animation: slideInToast 0.3s ease forwards;
}

.toast.toast-success {
  border-left-color: #10b981;
}

.toast.toast-error {
  border-left-color: #ef4444;
}

@keyframes slideInToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #060609;
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  max-width: 420px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white-pure);
  margin-bottom: 1rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links-list a:hover {
  color: var(--red-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   KIOSK / TV DIGITAL SIGNAGE MODE
   ========================================================================== */
.kiosk-body {
  background: #050508 !important;
  overflow: hidden !important;
}

.kiosk-header {
  padding: 1.25rem 2.5rem;
  background: #0c0c12;
  border-bottom: 2px solid var(--red-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kiosk-clock-time {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white-pure);
  letter-spacing: 2px;
}

.kiosk-clock-date {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--red-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.kiosk-main-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  height: calc(100vh - 120px);
  padding: 1.5rem 2.5rem;
  gap: 2rem;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .agenda-event-card {
    grid-template-columns: 120px 1fr;
  }
  .agenda-actions {
    grid-column: span 2;
    flex-direction: row;
  }
  .week-view-container {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .cal-grid-weekdays .cal-weekday {
    font-size: 0.7rem;
    padding: 0.4rem 0.2rem;
  }
  .cal-day-cell {
    min-height: 80px;
    padding: 0.25rem;
  }
  .cal-event-pill {
    font-size: 0.7rem;
    padding: 2px 4px;
  }
  .agenda-event-card {
    grid-template-columns: 1fr;
  }
  .agenda-actions {
    grid-column: span 1;
  }
  .week-view-container {
    grid-template-columns: 1fr;
  }
  .suggestions-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}



/* ==========================================================================
   HOMEPAGE, HERO, & SECTION STYLING
   ========================================================================== */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 0.35;
  filter: contrast(1.1) brightness(0.7);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(10, 10, 15, 0.65) 0%, rgba(10, 10, 15, 0.95) 85%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-box {
  background: rgba(16, 16, 24, 0.75);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 32, 46, 0.15);
  backdrop-filter: blur(14px);
}

.hero-logo-emblem {
  width: 160px !important;
  height: 160px !important;
  max-width: 160px !important;
  max-height: 160px !important;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 35px rgba(255, 32, 46, 0.45), 0 8px 24px rgba(0, 0, 0, 0.85);
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
  display: block;
}

.hero-logo-emblem:hover {
  transform: scale(1.04);
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  background: rgba(255, 32, 46, 0.12);
  border: 1px solid rgba(255, 32, 46, 0.35);
  border-radius: 999px;
  color: var(--red-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero .glitch {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--white-pure);
  letter-spacing: 1.5px;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-shadow: 0 0 25px rgba(255, 32, 46, 0.5);
}

.hero .glitch span {
  color: var(--red-primary);
  text-shadow: 0 0 25px var(--red-glow);
}

.hero-tagline {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 760px;
  margin: 0 auto 1.75rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* Upcoming Featured Events Grid */
.home-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.home-event-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.home-event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--red-primary);
  opacity: 0;
  transition: var(--transition);
}

.home-event-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 32, 46, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 32, 46, 0.15);
}

.home-event-card:hover::before {
  opacity: 1;
}

.home-event-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.home-event-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white-pure);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.home-event-game {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.home-event-meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.home-event-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.home-event-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  gap: 0.5rem;
}

/* Three Pillars / Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--red-primary);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 32, 46, 0.15);
}

.feature-icon-wrapper {
  font-size: 2.75rem;
  margin-bottom: 1rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
  transform: scale(1.15);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white-pure);
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Project Nights / About Grid */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}

.about-highlight-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
}

.about-highlight-item .icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.35rem;
}

.about-highlight-item h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white-pure);
  margin: 0;
}

.factory-pic {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 32, 46, 0.2);
  object-fit: cover;
  max-height: 440px;
}

/* General Layout Utilities */
.section-padding {
  padding: 4.5rem 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: var(--white-pure);
  letter-spacing: 1px;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.section-title span {
  color: var(--red-primary);
  text-shadow: 0 0 18px var(--red-glow);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 680px;
}

.glass-panel {
  background: rgba(16, 16, 24, 0.75);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 2rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
