/* ========================================
   XRC EVENTS PAGE - PREMIUM STYLES
   ======================================== */

/* Events Hero */
.events-hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
}

.events-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #0a0a1a 50%, var(--bg-darker) 100%);
}

.hero-grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.floating-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: floatShape 15s ease-in-out infinite;
}

.shape.s1 {
  width: 400px;
  height: 400px;
  background: var(--primary);
  top: -100px;
  right: 10%;
  animation-delay: 0s;
}

.shape.s2 {
  width: 300px;
  height: 300px;
  background: var(--accent);
  bottom: -50px;
  left: 5%;
  animation-delay: -5s;
}

.shape.s3 {
  width: 250px;
  height: 250px;
  background: var(--secondary);
  top: 50%;
  left: 50%;
  animation-delay: -10s;
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.1); }
}

.events-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 25px;
  backdrop-filter: blur(10px);
}

.events-hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  margin-bottom: 15px;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.events-hero-content > p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.quick-stats {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 60px;
  backdrop-filter: blur(10px);
}

.stat-pill i {
  font-size: 1.2rem;
  color: var(--primary);
}

.stat-pill span {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.stat-pill strong {
  color: white;
  font-weight: 700;
}

/* Events Main Section */
.events-main {
  padding: 60px 0 100px;
  background: var(--bg-darker);
}

.events-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
}

/* Filters Panel */
.filters-panel {
  position: sticky;
  top: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 30px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.filters-panel::-webkit-scrollbar {
  width: 6px;
}

.filters-panel::-webkit-scrollbar-track {
  background: transparent;
}

.filters-panel::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}

.filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.filters-header h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.filters-header h3 i {
  color: var(--primary);
}

.reset-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.reset-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Filter Groups */
.filter-group {
  margin-bottom: 28px;
}

.filter-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.filter-label i {
  color: var(--primary);
  font-size: 0.85rem;
}

/* Search Input */
.search-input {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
}

.search-input input {
  flex: 1;
  padding: 14px 16px;
  background: transparent;
  border: none;
  color: white;
  font-size: 0.95rem;
}

.search-input input:focus {
  outline: none;
}

.search-btn {
  padding: 14px 18px;
  background: var(--primary);
  border: none;
  color: var(--bg-dark);
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-btn:hover {
  background: var(--primary-light);
}

/* Custom Select */
.custom-select select,
.filter-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: white;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.custom-select select:focus,
.filter-input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(0, 240, 255, 0.05);
}

.custom-select select option {
  background: var(--bg-dark);
  color: white;
  padding: 10px;
}

/* Checkbox Group */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.checkbox-item:hover {
  background: rgba(0, 240, 255, 0.05);
  border-color: rgba(0, 240, 255, 0.1);
}

.checkbox-item input {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  position: relative;
  transition: all 0.3s ease;
}

.checkbox-item input:checked + .checkmark {
  background: var(--primary);
  border-color: var(--primary);
}

.checkbox-item input:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  color: var(--bg-dark);
  font-weight: 700;
}

.checkbox-label {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.count {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 10px;
  border-radius: 20px;
}

.grade-tag {
  font-size: 0.75rem;
  color: var(--primary);
  background: rgba(0, 240, 255, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
}

/* Date Inputs */
.date-inputs {
  display: flex;
  gap: 12px;
}

.date-field {
  flex: 1;
}

.date-field span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.date-field input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: white;
  font-size: 0.9rem;
  cursor: pointer;
}

.date-field input:focus {
  outline: none;
  border-color: var(--primary);
}

/* Range Slider */
.range-slider {
  padding: 10px 0;
}

.range-slider input[type="range"] {
  width: 100%;
  height: 6px;
  background: var(--border-color);
  border-radius: 3px;
  outline: none;
  -webkit-appearance: none;
}

.range-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.range-values {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.current-val {
  color: var(--primary);
  font-weight: 600;
}

/* Toggle Filters */
.toggle-filters {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toggle-item {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}

.toggle-item input {
  display: none;
}

.toggle-switch {
  width: 44px;
  height: 24px;
  background: var(--border-color);
  border-radius: 12px;
  position: relative;
  transition: all 0.3s ease;
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.toggle-item input:checked + .toggle-switch {
  background: var(--primary);
}

.toggle-item input:checked + .toggle-switch::after {
  left: 23px;
}

.toggle-item span:last-child {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Apply Filters Button */
.apply-filters-btn {
  width: 100%;
  padding: 16px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 14px;
  color: var(--bg-dark);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.apply-filters-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.3);
}

.filter-count {
  background: rgba(0, 0, 0, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
}

/* Events Content */
.events-content {
  min-width: 0;
}

/* Events Toolbar */
.events-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding: 20px 25px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  flex-wrap: wrap;
  gap: 20px;
}

.results-count {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.results-count strong {
  color: var(--primary);
}

.view-options {
  display: flex;
  align-items: center;
  gap: 25px;
}

.sort-dropdown {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sort-dropdown label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.sort-dropdown select {
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: white;
  font-size: 0.9rem;
  cursor: pointer;
}

.view-toggle {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  overflow: hidden;
}

.view-btn {
  padding: 10px 16px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-btn:hover {
  color: white;
}

.view-btn.active {
  background: var(--primary);
  color: var(--bg-dark);
}

/* Events Grid */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 25px;
}

/* Event Card */
.event-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.event-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.event-card.featured {
  border-color: var(--secondary);
}

.event-card.world {
  border: 2px solid transparent;
  background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
              linear-gradient(135deg, var(--primary), var(--accent), var(--secondary)) border-box;
}

.world-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(0, 240, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.featured-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 6px 14px;
  background: var(--gradient-secondary);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.event-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px 15px;
}

.event-type {
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.event-type.qualifier {
  background: rgba(0, 240, 255, 0.15);
  color: var(--primary);
}

.event-type.national {
  background: rgba(255, 61, 0, 0.15);
  color: var(--secondary);
}

.event-type.world {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(124, 58, 237, 0.2));
  color: white;
}

.event-type.scrimmage {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.event-type.workshop {
  background: rgba(234, 179, 8, 0.15);
  color: #eab308;
}

.event-actions {
  display: flex;
  gap: 8px;
}

.bookmark-btn,
.share-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.bookmark-btn:hover,
.share-btn:hover {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--primary);
  color: var(--primary);
}

.event-card-body {
  display: flex;
  gap: 20px;
  padding: 0 25px 20px;
}

.event-date-badge {
  min-width: 75px;
  text-align: center;
  padding: 15px 12px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(124, 58, 237, 0.1));
  border-radius: 14px;
}

.event-date-badge .month {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-date-badge .day {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: white;
  line-height: 1.2;
}

.event-date-badge .year {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.event-info {
  flex: 1;
}

.event-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.event-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.event-meta span i {
  color: var(--text-secondary);
  width: 16px;
}

.event-leagues {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.league-tag {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.league-tag.junior { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.league-tag.middle { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.league-tag.high { background: rgba(255, 61, 0, 0.15); color: var(--secondary); }
.league-tag.university { background: rgba(124, 58, 237, 0.15); color: var(--accent); }
.league-tag.ai { background: rgba(0, 240, 255, 0.15); color: var(--primary); }
.league-tag.drone { background: rgba(234, 179, 8, 0.15); color: #eab308; }
.league-tag.all { background: rgba(255, 255, 255, 0.1); color: white; }

.event-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid var(--border-color);
}

.event-stats {
  display: flex;
  gap: 20px;
}

.event-stats .stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.event-stats .stat i {
  color: var(--text-muted);
}

.event-stats .stat.qualify { color: var(--primary); }
.event-stats .stat.qualify i { color: var(--primary); }
.event-stats .stat.free { color: #22c55e; }
.event-stats .stat.free i { color: #22c55e; }
.event-stats .stat.prize { color: #eab308; }
.event-stats .stat.prize i { color: #eab308; }
.event-stats .stat.certificate { color: var(--accent); }
.event-stats .stat.certificate i { color: var(--accent); }

.registration-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.registration-status.open { color: #22c55e; }
.registration-status.open .status-dot { background: #22c55e; }

.registration-status.limited { color: #eab308; }
.registration-status.limited .status-dot { background: #eab308; }

.registration-status.closed { color: #ef4444; }
.registration-status.closed .status-dot { background: #ef4444; }

.registration-status.invite { color: var(--accent); }
.registration-status.invite .status-dot { background: var(--accent); }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.event-register-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 25px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(124, 58, 237, 0.1));
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.event-register-btn:hover {
  background: var(--gradient-primary);
  color: var(--bg-dark);
}

.event-register-btn.world-btn {
  background: linear-gradient(135deg, rgba(255, 61, 0, 0.2), rgba(255, 145, 0, 0.2));
  color: var(--secondary);
}

.event-register-btn.world-btn:hover {
  background: var(--gradient-secondary);
  color: white;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 50px;
}

.page-btn {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-btn:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
}

.page-btn.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: var(--bg-dark);
  font-weight: 700;
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.page-dots {
  color: var(--text-muted);
  padding: 0 10px;
}

/* Host Event Section */
.host-event-section {
  padding: 80px 0;
  background: var(--bg-dark);
}

.host-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 60px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.05), rgba(124, 58, 237, 0.05));
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 30px;
  flex-wrap: wrap;
  gap: 30px;
}

.host-content {
  display: flex;
  align-items: center;
  gap: 30px;
}

.host-icon {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(124, 58, 237, 0.2));
  border-radius: 25px;
  font-size: 2.5rem;
  color: var(--primary);
}

.host-text h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.host-text p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 500px;
}

.host-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  background: var(--gradient-primary);
  border-radius: 50px;
  color: var(--bg-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.3s ease;
}

.host-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 240, 255, 0.3);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1200px) {
  .events-layout {
    grid-template-columns: 280px 1fr;
    gap: 30px;
  }
  
  .events-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 992px) {
  .events-layout {
    grid-template-columns: 1fr;
  }
  
  .filters-panel {
    position: relative;
    top: 0;
    max-height: none;
  }
  
  .host-card {
    flex-direction: column;
    text-align: center;
  }
  
  .host-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .events-hero {
    padding: 130px 0 50px;
  }

  .events-hero-content h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
  }

  .events-hero-content > p {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .hero-chip {
    padding: 10px 20px;
    font-size: 0.8rem;
  }
  
  .quick-stats {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .stat-pill {
    padding: 12px 20px;
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .events-main {
    padding: 40px 0 70px;
  }
  
  .events-toolbar {
    flex-direction: column;
    gap: 15px;
    padding: 15px 18px;
  }
  
  .view-options {
    width: 100%;
    justify-content: space-between;
  }

  .sort-dropdown {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
  }

  .sort-dropdown select {
    width: 100%;
  }
  
  .events-grid {
    grid-template-columns: 1fr;
  }
  
  .event-card-body {
    flex-direction: column;
    gap: 15px;
  }
  
  .event-date-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
  }
  
  .event-date-badge .day {
    font-size: 1.3rem;
  }
  
  .event-card-footer {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .host-card {
    padding: 30px 25px;
    flex-direction: column;
    text-align: center;
  }

  .host-content {
    flex-direction: column;
  }

  .host-text h2 {
    font-size: 1.4rem;
  }

  .host-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .events-hero {
    padding: 110px 0 40px;
  }

  .filters-panel {
    padding: 18px;
    border-radius: 16px;
  }

  .filters-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
  }

  .filter-group {
    margin-bottom: 20px;
  }

  .checkbox-item {
    padding: 10px 12px;
  }
  
  .event-card-header,
  .event-card-body,
  .event-card-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .event-card-header {
    padding-top: 16px;
  }

  .event-title {
    font-size: 1rem;
  }

  .event-type {
    padding: 6px 14px;
    font-size: 0.7rem;
  }

  .event-register-btn {
    padding: 14px 20px;
    font-size: 0.85rem;
  }

  .event-stats {
    gap: 12px;
    flex-wrap: wrap;
  }

  .event-stats .stat {
    font-size: 0.8rem;
  }
  
  .pagination {
    gap: 6px;
  }
  
  .page-btn {
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
  }

  .host-card {
    padding: 25px 18px;
    border-radius: 20px;
  }

  .host-icon {
    width: 65px;
    height: 65px;
    font-size: 1.8rem;
  }

  .host-btn {
    padding: 15px 30px;
    font-size: 0.95rem;
  }

  .host-event-section {
    padding: 50px 0;
  }
}
