/* Events Hub - Drift Events Discovery */

/* ========== Main Screen ========== */
.events-screen {
  background: #000;
  min-height: 100vh;
  padding-top: 0 !important;
  padding-bottom: 80px;
  display: block !important;
  overflow-x: hidden;
}

.events-header {
  position: sticky;
  top: 56px;
  z-index: 25;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 16px 0;
  border-bottom: 1px solid #1a1a1a;
}

.events-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.events-header-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
}

.events-header-icon {
  font-size: 20px;
}

/* Tab Switcher */
.events-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 10px;
  border-bottom: 1px solid #222;
}

.events-tab {
  flex: 1;
  padding: 10px 0;
  background: transparent;
  border: none;
  color: #555;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}

.events-tab.active {
  color: #fff;
}

.events-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: #ff6b00;
  border-radius: 1px;
}

/* Filter Chips */
.events-filters {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 4px 0 10px;
}
.events-filters::-webkit-scrollbar { display: none; }

.events-filter-chip {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid #333;
  background: transparent;
  color: #888;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.events-filter-chip.active {
  background: #fff;
  color: #000;
  border-color: #fff;
}

/* ========== Section Layout ========== */
.events-section {
  margin-top: 24px;
}

.events-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 12px;
}

.events-section-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.events-section-see-all {
  font-size: 13px;
  color: #ff6b00;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  padding: 0;
}

/* Horizontal Scroll Container */
.events-hscroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 16px;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}
.events-hscroll::-webkit-scrollbar { display: none; }

/* ========== Featured Carousel ========== */
.events-featured-card {
  flex-shrink: 0;
  width: 85vw;
  max-width: 360px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  cursor: pointer;
}

.events-featured-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.events-featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
}

.events-featured-type {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.events-featured-type.drift_day { background: #ff6b00; color: #fff; }
.events-featured-type.school { background: #3b82f6; color: #fff; }
.events-featured-type.competition { background: #ef4444; color: #fff; }
.events-featured-type.carnival { background: #a855f7; color: #fff; }

.events-featured-name {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.2;
}

.events-featured-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

/* ========== This Week / Upcoming Cards ========== */
.events-upcoming-card {
  flex-shrink: 0;
  width: 145px;
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: start;
  cursor: pointer;
  border: 1px solid #1a1a1a;
  transition: transform 0.2s;
}

.events-upcoming-card:active {
  transform: scale(0.97);
}

.events-upcoming-img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  display: block;
}

.events-upcoming-info {
  padding: 10px;
}

.events-upcoming-date {
  font-size: 11px;
  color: #ff6b00;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.events-upcoming-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.events-upcoming-location {
  font-size: 11px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ========== By Track Cards ========== */
.events-track-card {
  flex-shrink: 0;
  width: 180px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  cursor: pointer;
  border: 1px solid #1a1a1a;
}

.events-track-img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
}

.events-track-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
}

.events-track-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.events-track-count {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
}

/* ========== By Organizer ========== */
.events-org-item {
  flex-shrink: 0;
  text-align: center;
  width: 72px;
  cursor: pointer;
}

.events-org-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #333;
  margin: 0 auto 6px;
  display: block;
}

.events-org-name {
  font-size: 11px;
  color: #aaa;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========== Event Social Card (full card in See All / category) ========== */
.events-card {
  background: #111;
  border: 1px solid #1a1a1a;
  border-radius: 16px;
  overflow: hidden;
  margin: 0 16px 16px;
}

.events-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
}

.events-card-org-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.events-card-org-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  flex: 1;
}

.events-card-date {
  font-size: 11px;
  color: #666;
}

.events-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.events-card-body {
  padding: 14px;
}

.events-card-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.3;
}

.events-card-location {
  font-size: 12px;
  color: #888;
  margin-bottom: 4px;
}

.events-card-type-price {
  font-size: 12px;
  color: #666;
  margin-bottom: 4px;
}

.events-card-time {
  font-size: 12px;
  color: #666;
  margin-bottom: 10px;
}

/* Info Panel */
.events-card-info {
  background: #0a0a0a;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.events-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
}

.events-card-tag.hot { background: rgba(239,68,68,0.15); color: #ef4444; }
.events-card-tag.trending { background: rgba(255,107,0,0.15); color: #ff6b00; }
.events-card-tag.new { background: rgba(59,130,246,0.15); color: #3b82f6; }
.events-card-tag.sold-out { background: rgba(239,68,68,0.2); color: #ef4444; }

.events-card-tag.beginner { background: rgba(34,197,94,0.15); color: #22c55e; }
.events-card-tag.intermediate { background: rgba(234,179,8,0.15); color: #eab308; }
.events-card-tag.advanced { background: rgba(239,68,68,0.15); color: #ef4444; }
.events-card-tag.school-tag { background: rgba(59,130,246,0.15); color: #3b82f6; }

/* Seat Time Bar */
.events-card-seat-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: 4px;
}

.events-card-seat-label {
  font-size: 11px;
  color: #666;
  white-space: nowrap;
}

.events-card-seat-bar {
  flex: 1;
  height: 4px;
  background: #222;
  border-radius: 2px;
  overflow: hidden;
}

.events-card-seat-fill {
  height: 100%;
  background: linear-gradient(90deg, #22c55e, #eab308, #ef4444);
  border-radius: 2px;
  transition: width 0.4s;
}

.events-card-seat-value {
  font-size: 11px;
  color: #aaa;
  white-space: nowrap;
}

/* Learn More Button */
.events-card-learn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px;
  background: rgba(255,107,0,0.1);
  border: 1px solid rgba(255,107,0,0.25);
  border-radius: 10px;
  color: #ff6b00;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}

.events-card-learn:hover {
  background: rgba(255,107,0,0.18);
}

/* Social Bar */
.events-card-social {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 14px;
  border-top: 1px solid #1a1a1a;
}

.events-card-social-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  color: #666;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

.events-card-social-btn:hover { color: #aaa; }
.events-card-social-btn.liked { color: #ef4444; }

.events-card-social-btn svg {
  width: 18px;
  height: 18px;
}

.events-card-social-spacer {
  flex: 1;
}

/* Comments Preview */
.events-card-comments {
  padding: 0 14px 12px;
}

.events-card-comment-preview {
  font-size: 12px;
  color: #888;
  margin-bottom: 3px;
}

.events-card-comment-preview strong {
  color: #ccc;
  font-weight: 600;
}

.events-card-view-comments {
  font-size: 12px;
  color: #555;
  margin-top: 4px;
  cursor: pointer;
}

/* ========== Category Grid (See All) ========== */
.events-category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 16px;
}

.events-category-tile {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 1;
}

.events-category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.events-category-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
}

.events-category-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.events-category-count {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
}

/* ========== Sub-page Header (See All / Detail) ========== */
.events-subpage-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 30;
}

.events-back-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}

.events-subpage-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  flex: 1;
}

/* ========== Date Group Headers (By Time see-all) ========== */
.events-date-group {
  padding: 16px 16px 8px;
  font-size: 13px;
  font-weight: 700;
  color: #ff6b00;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: sticky;
  top: 48px;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px);
  z-index: 5;
}

/* ========== Empty State ========== */
.events-empty {
  text-align: center;
  padding: 60px 20px;
}

.events-empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.events-empty-text {
  font-size: 16px;
  color: #666;
  font-weight: 500;
}

.events-empty-sub {
  font-size: 13px;
  color: #444;
  margin-top: 6px;
}

/* ========== Crew Section on Event Cards ========== */
.events-card-crews {
  padding: 12px 14px;
  border-top: 1px solid #1a1a1a;
}

.events-card-crews-title {
  font-size: 12px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.events-crew-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: #111;
  border: 1px solid #1a1a1a;
  border-radius: 10px;
  margin-bottom: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.events-crew-item:active {
  background: #1a1a1a;
}

.events-crew-icon {
  font-size: 16px;
  flex-shrink: 0;
}

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

.events-crew-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.events-crew-desc {
  font-size: 11px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.events-crew-skills {
  display: flex;
  gap: 2px;
  font-size: 10px;
  flex-shrink: 0;
}

.events-crew-capacity {
  font-size: 11px;
  color: #888;
  font-weight: 600;
  flex-shrink: 0;
}

.events-crew-capacity.open { color: #4CAF50; }
.events-crew-capacity.full { color: #f44336; }

.events-crew-join-btn {
  padding: 4px 12px;
  border-radius: 14px;
  border: 1px solid #ff6b00;
  background: transparent;
  color: #ff6b00;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
}

.events-crew-join-btn:active {
  background: #ff6b00;
  color: #000;
}

.events-card-crew-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.events-crew-create-btn {
  flex: 1;
  padding: 8px 0;
  border-radius: 8px;
  border: 1px dashed #333;
  background: transparent;
  color: #888;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.events-crew-create-btn:active {
  border-color: #ff6b00;
  color: #ff6b00;
}

/* ========== My Crew Tab ========== */
.crew-empty {
  text-align: center;
  padding: 60px 20px;
}

.crew-empty-icon {
  font-size: 56px;
  margin-bottom: 16px;
}

.crew-empty-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.crew-empty-desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 24px;
  line-height: 1.5;
}

.crew-create-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  border-radius: 12px;
  border: none;
  background: #ff6b00;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s;
}

.crew-create-cta:active {
  transform: scale(0.97);
}

.crew-browse-link {
  display: block;
  margin-top: 14px;
  color: #ff6b00;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
}

/* Crew Dashboard (has crew) */
.crew-dashboard {
  padding: 16px;
}

.crew-profile-card {
  background: #111;
  border: 1px solid #1a1a1a;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
}

.crew-profile-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.crew-profile-avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff6b00, #ff9500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

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

.crew-profile-name {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.crew-profile-meta {
  font-size: 12px;
  color: #666;
  margin-top: 2px;
}

.crew-profile-desc {
  font-size: 13px;
  color: #999;
  line-height: 1.4;
}

/* Crew Members Row */
.crew-members-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 0;
  scrollbar-width: none;
}
.crew-members-row::-webkit-scrollbar { display: none; }

.crew-member-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.crew-member-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #222;
}

.crew-member-name {
  font-size: 11px;
  color: #888;
  max-width: 56px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.crew-member-skill {
  font-size: 10px;
}

/* Crew Event Rooms */
.crew-rooms-title {
  font-size: 13px;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 20px 0 12px;
}

.crew-room-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #111;
  border: 1px solid #1a1a1a;
  border-radius: 12px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.crew-room-card:active {
  background: #1a1a1a;
}

.crew-room-date {
  text-align: center;
  flex-shrink: 0;
  width: 44px;
}

.crew-room-date-month {
  font-size: 10px;
  color: #ff6b00;
  font-weight: 700;
  text-transform: uppercase;
}

.crew-room-date-day {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

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

.crew-room-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.crew-room-going {
  font-size: 12px;
  color: #666;
  margin-top: 2px;
}

.crew-room-badges {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.crew-room-badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  background: #1a1a1a;
  color: #888;
}

.crew-room-badge.new {
  background: rgba(255,107,0,0.15);
  color: #ff6b00;
}

/* Crew Actions */
.crew-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.crew-action-btn {
  flex: 1;
  padding: 10px 0;
  border-radius: 10px;
  border: 1px solid #222;
  background: #111;
  color: #888;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.crew-action-btn:active {
  border-color: #ff6b00;
  color: #ff6b00;
}

/* ========== Crew Browse / Discovery ========== */
.crew-browse-card {
  background: #111;
  border: 1px solid #1a1a1a;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 10px;
  transition: border-color 0.2s;
}
.crew-browse-card:active { border-color: #333; }
.crew-browse-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.crew-browse-icon {
  font-size: 28px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  border-radius: 12px;
  flex-shrink: 0;
}
.crew-browse-info { flex: 1; min-width: 0; }
.crew-browse-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.crew-browse-meta {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}
.crew-browse-desc {
  font-size: 13px;
  color: #999;
  margin-top: 8px;
  line-height: 1.4;
}
.crew-browse-members {
  display: flex;
  gap: -4px;
  margin-top: 10px;
}
.crew-browse-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #111;
  margin-left: -6px;
}
.crew-browse-avatar:first-child { margin-left: 0; }
.crew-browse-event {
  font-size: 11px;
  color: #ff6b00;
  margin-top: 8px;
  font-weight: 500;
}

/* ========== Filter Rows ========== */
.events-filter-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 16px;
  margin-bottom: 6px;
}
.events-filter-row::-webkit-scrollbar { display: none; }
.events-filter-row:last-child { margin-bottom: 0; }

/* ========== Location Link & Badge ========== */
.ev-loc-link {
  cursor: pointer;
  color: #ff6b00;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 2px;
}
.ev-loc-link:active { opacity: 0.7; }
.ev-loc-active {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: rgba(255,107,0,0.12);
  border: 1px solid rgba(255,107,0,0.3);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #ff6b00;
}

/* ========== Instructor Banner ========== */
.ev-instructor-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 16px 8px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border: 1px solid #2a2a4a;
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
}
.ev-instructor-banner:active {
  transform: scale(0.98);
  border-color: #ff6b00;
}
.ev-instructor-banner-icon {
  font-size: 32px;
  width: 48px;
  height: 48px;
  background: rgba(255,107,0,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ev-instructor-banner-text { flex: 1; min-width: 0; }
.ev-instructor-banner-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.ev-instructor-banner-desc {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}
.ev-instructor-banner-arrow {
  font-size: 18px;
  color: #ff6b00;
  font-weight: 700;
  flex-shrink: 0;
}

/* ========== IG Contact Button ========== */
.ev-ig-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  margin: 8px 0 4px;
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
  border-radius: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
}
.ev-ig-contact:active { opacity: 0.8; }
.ev-ig-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.2);
  border-radius: 8px;
  flex-shrink: 0;
}

/* ========== Quick Links Row ========== */
.ev-quick-link {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid #222;
  background: #111;
  color: #aaa;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.ev-quick-link:active {
  background: #1a1a1a;
  border-color: #ff6b00;
  color: #ff6b00;
}

/* ========== Comment Input ==========*/
.ev-comment-input-row {
  display: flex;
  gap: 8px;
  padding: 8px 14px 12px;
  border-top: 1px solid #111;
}
.ev-comment-input {
  flex: 1;
  background: #111;
  border: 1px solid #222;
  border-radius: 20px;
  padding: 8px 14px;
  color: #fff;
  font-size: 13px;
  outline: none;
}
.ev-comment-input::placeholder { color: #444; }
.ev-comment-input:focus { border-color: #ff6b00; }
.ev-comment-send {
  background: none;
  border: none;
  color: #ff6b00;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 0 4px;
}

/* Liked state */
.events-card-social-btn.liked { color: #ff4757; }

/* ========== Crew Chat Room ========== */
.crew-chat-messages {
  padding: 12px 16px;
  min-height: 200px;
  max-height: 50vh;
  overflow-y: auto;
}
.crew-chat-msg {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  align-items: flex-end;
}
.crew-chat-msg.me {
  flex-direction: row-reverse;
}
.crew-chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.crew-chat-bubble {
  max-width: 75%;
  padding: 8px 12px;
  border-radius: 16px 16px 16px 4px;
  background: #1a1a1a;
}
.crew-chat-bubble.me {
  background: #ff6b00;
  border-radius: 16px 16px 4px 16px;
}
.crew-chat-name {
  font-size: 11px;
  font-weight: 600;
  color: #ff6b00;
  margin-bottom: 2px;
}
.crew-chat-bubble.me .crew-chat-name { color: rgba(0,0,0,0.6); }
.crew-chat-text {
  font-size: 14px;
  color: #fff;
  line-height: 1.4;
  word-break: break-word;
}
.crew-chat-bubble.me .crew-chat-text { color: #000; }
.crew-chat-time {
  font-size: 10px;
  color: #555;
  margin-top: 4px;
}
.crew-chat-bubble.me .crew-chat-time { color: rgba(0,0,0,0.4); }

/* Chat input bar */
.crew-chat-input-bar {
  display: flex;
  gap: 8px;
  padding: 10px 16px;
  border-top: 1px solid #1a1a1a;
  background: #0a0a0a;
  position: sticky;
  bottom: 0;
}
.crew-chat-photo-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
}
.crew-chat-input {
  flex: 1;
  background: #111;
  border: 1px solid #222;
  border-radius: 20px;
  padding: 10px 16px;
  color: #fff;
  font-size: 14px;
  outline: none;
}
.crew-chat-input::placeholder { color: #444; }
.crew-chat-input:focus { border-color: #ff6b00; }
.crew-chat-send-btn {
  background: #ff6b00;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.crew-chat-send-btn:active { opacity: 0.8; }

/* ========== Create Crew Modal ========== */
.ev-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}
.ev-modal-overlay.show { opacity: 1; }
.ev-modal {
  background: #111;
  border: 1px solid #222;
  border-radius: 20px;
  padding: 24px;
  width: 90%;
  max-width: 360px;
}
.ev-modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.ev-modal-cost {
  font-size: 13px;
  color: #888;
  margin-bottom: 20px;
}
.ev-modal-label {
  font-size: 12px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 6px;
  margin-top: 14px;
}
.ev-modal-input {
  width: 100%;
  background: #0a0a0a;
  border: 1px solid #222;
  border-radius: 10px;
  padding: 10px 14px;
  color: #fff;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
}
.ev-modal-input:focus { border-color: #ff6b00; }
.ev-modal-input::placeholder { color: #444; }
.ev-modal-skills {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}
.ev-skill-btn {
  flex: 1;
  padding: 8px 0;
  border-radius: 8px;
  border: 1px solid #222;
  background: #0a0a0a;
  color: #888;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.ev-skill-btn.active {
  border-color: #ff6b00;
  color: #ff6b00;
  background: rgba(255,107,0,0.1);
}
.ev-modal-btns {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.ev-modal-cancel {
  flex: 1;
  padding: 12px 0;
  border-radius: 10px;
  border: 1px solid #333;
  background: transparent;
  color: #888;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.ev-modal-confirm {
  flex: 1;
  padding: 12px 0;
  border-radius: 10px;
  border: none;
  background: #ff6b00;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.ev-modal-confirm:active { opacity: 0.8; }

/* ========== Toast ========== */
.ev-toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #222;
  color: #fff;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  z-index: 2000;
  opacity: 0;
  transition: all 0.3s;
  white-space: nowrap;
}
.ev-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ========== Responsive ========== */
@media (min-width: 768px) {
  .events-featured-card { width: 380px; }
  .events-upcoming-card { width: 180px; }
  .events-track-card { width: 240px; }
  .events-card { max-width: 520px; margin-left: auto; margin-right: auto; }
}
