/* ═══════════════════════════════════════════════════════
   BJJ FANATICS COMMUNITY — Design System
   Inspired by Skool Community with BJJ Fanatics branding
   ═══════════════════════════════════════════════════════ */

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

/* ── CSS Custom Properties ── */
:root {
  /* Brand Colors */
  --brand-primary: #E8A838;
  --brand-primary-hover: #D4952E;
  --brand-primary-light: rgba(232, 168, 56, 0.15);
  --brand-secondary: #1A1A2E;
  --brand-dark: #0F0F1A;
  --brand-accent: #FF6B35;

  /* Neutral Palette */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8F9FA;
  --bg-tertiary: #F0F2F5;
  --bg-card: #FFFFFF;
  --bg-hover: #F5F5F7;
  --bg-input: #F0F2F5;

  /* Text Colors */
  --text-primary: #1A1A2E;
  --text-secondary: #5F6368;
  --text-tertiary: #9AA0A6;
  --text-inverse: #FFFFFF;
  --text-link: #1967D2;

  /* Border Colors */
  --border-light: #E8EAED;
  --border-medium: #DADCE0;
  --border-focus: var(--brand-primary);

  /* Status Colors */
  --success: #34A853;
  --success-bg: rgba(52, 168, 83, 0.1);
  --warning: #FBBC04;
  --error: #EA4335;
  --info: #4285F4;

  /* Gamification Level Colors */
  --level-1: #9AA0A6;
  --level-2: #34A853;
  --level-3: #4285F4;
  --level-4: #FBBC04;
  --level-5: #E8A838;
  --level-6: #FF6B35;
  --level-7: #EA4335;
  --level-8: #A142F4;
  --level-9: #E8A838;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1), 0 6px 10px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 48px;
  --space-10: 64px;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 11px;
  --font-size-sm: 13px;
  --font-size-base: 14px;
  --font-size-md: 15px;
  --font-size-lg: 17px;
  --font-size-xl: 20px;
  --font-size-2xl: 24px;
  --font-size-3xl: 30px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --header-height: 64px;
  --sidebar-width: 340px;
  --content-max-width: 680px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  color: var(--text-primary);
  background-color: var(--bg-secondary);
  line-height: 1.5;
  min-height: 100vh;
}

a {
  color: var(--text-link);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--brand-primary);
}

button {
  font-family: var(--font-family);
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  font-size: var(--font-size-base);
}

img {
  max-width: 100%;
  display: block;
}

input, textarea, select {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  outline: none;
}

/* ── Scrollbar Styling ── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-tertiary);
}

/* ═══════════════════════════════════════════════════════
   HEADER / NAVBAR
   ═══════════════════════════════════════════════════════ */

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--brand-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-6);
  z-index: 1000;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

.header-left {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.logo-container:hover {
  opacity: 0.85;
}

.logo-img {
  height: 36px;
  width: 36px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.logo-text {
  font-size: var(--font-size-lg);
  font-weight: 800;
  color: var(--text-inverse);
  letter-spacing: -0.5px;
}

.logo-text span {
  color: var(--brand-primary);
}

.header-search {
  position: relative;
  width: 320px;
}

.header-search input {
  width: 100%;
  height: 38px;
  padding: 0 var(--space-4) 0 40px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--text-inverse);
  font-size: var(--font-size-sm);
  transition: all var(--transition-fast);
}

.header-search input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.header-search input:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(232, 168, 56, 0.4);
}

.header-search .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.header-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-fast);
  position: relative;
  font-size: 18px;
}

.header-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-inverse);
}

.header-btn .notification-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  background: var(--error);
  border-radius: 50%;
  border: 2px solid var(--brand-secondary);
}

.header-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition-fast);
}

.header-avatar:hover {
  border-color: var(--brand-primary);
}

/* ═══════════════════════════════════════════════════════
   COMMUNITY BANNER & TABS
   ═══════════════════════════════════════════════════════ */

.community-header {
  margin-top: var(--header-height);
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-light);
}

.banner-container {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

.banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(transparent, rgba(0,0,0,0.5));
}

.community-info {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex;
  align-items: flex-end;
  gap: var(--space-5);
  margin-top: -32px;
  position: relative;
  z-index: 2;
}

.community-avatar {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  border: 4px solid var(--bg-primary);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.community-details {
  flex: 1;
  padding-bottom: var(--space-3);
}

.community-name {
  font-size: var(--font-size-xl);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.community-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-1);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

.community-meta .dot {
  width: 3px;
  height: 3px;
  background: var(--text-tertiary);
  border-radius: 50%;
}

.community-actions {
  display: flex;
  gap: var(--space-3);
  padding-bottom: var(--space-3);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 10px 20px;
  background: var(--brand-primary);
  color: var(--text-primary);
  font-weight: 600;
  font-size: var(--font-size-sm);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--brand-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: var(--text-primary);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 10px 20px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-weight: 600;
  font-size: var(--font-size-sm);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

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

/* Navigation Tabs */
.nav-tabs {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex;
  gap: 0;
  margin-top: var(--space-4);
}

.nav-tab {
  padding: 12px 20px;
  font-weight: 500;
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
}

.nav-tab:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

.nav-tab.active {
  color: var(--brand-primary);
  border-bottom-color: var(--brand-primary);
  font-weight: 600;
}

.nav-tab .tab-icon {
  font-size: 16px;
}

/* ═══════════════════════════════════════════════════════
   MAIN CONTENT LAYOUT
   ═══════════════════════════════════════════════════════ */

.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-6);
  display: grid;
  grid-template-columns: 1fr var(--sidebar-width);
  gap: var(--space-6);
}

/* ═══════════════════════════════════════════════════════
   COMMUNITY FEED
   ═══════════════════════════════════════════════════════ */

.feed-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* Post Composer */
.post-composer {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--transition-fast);
}

.post-composer:hover {
  box-shadow: var(--shadow-sm);
}

.composer-top {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.composer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.composer-input {
  flex: 1;
  height: 42px;
  padding: 0 var(--space-4);
  background: var(--bg-input);
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: var(--font-size-base);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.composer-input::placeholder {
  color: var(--text-tertiary);
}

.composer-input:focus {
  border-color: var(--border-focus);
  background: var(--bg-primary);
  box-shadow: 0 0 0 3px var(--brand-primary-light);
}

/* Feed Filters */
.feed-filters {
  display: flex;
  gap: var(--space-2);
  padding: var(--space-2) 0;
}

.filter-btn {
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.filter-btn.active {
  background: var(--brand-primary-light);
  color: var(--brand-primary);
  font-weight: 600;
}

/* Post Card */
.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-base);
  animation: fadeInUp 0.4s ease both;
}

.post-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--border-medium);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.post-card:nth-child(2) { animation-delay: 0.05s; }
.post-card:nth-child(3) { animation-delay: 0.1s; }
.post-card:nth-child(4) { animation-delay: 0.15s; }
.post-card:nth-child(5) { animation-delay: 0.2s; }

.post-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.post-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.post-avatar:hover {
  transform: scale(1.08);
}

.post-user-info {
  flex: 1;
}

.post-user-name {
  font-weight: 600;
  font-size: var(--font-size-base);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.level-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1px 8px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--text-inverse);
  line-height: 1.6;
}

.level-badge.level-1 { background: var(--level-1); }
.level-badge.level-2 { background: var(--level-2); }
.level-badge.level-3 { background: var(--level-3); }
.level-badge.level-4 { background: var(--level-4); }
.level-badge.level-5 { background: var(--level-5); }
.level-badge.level-6 { background: var(--level-6); }
.level-badge.level-7 { background: var(--level-7); }
.level-badge.level-8 { background: var(--level-8); }
.level-badge.level-9 { background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent)); }

.post-timestamp {
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
}

.post-menu-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--text-tertiary);
  transition: all var(--transition-fast);
}

.post-menu-btn:hover {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
}

.post-title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  letter-spacing: -0.3px;
  line-height: 1.35;
}

.post-body {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-4);
}

.post-body p + p {
  margin-top: var(--space-3);
}

.post-image {
  width: calc(100% + 40px);
  margin-left: -20px;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.post-image img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

.post-category {
  display: inline-block;
  padding: 2px 10px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-3);
}

.post-footer {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-light);
}

.post-action {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.post-action:hover {
  color: var(--brand-primary);
  background: var(--brand-primary-light);
}

.post-action.liked {
  color: var(--brand-primary);
}

.post-action .action-icon {
  font-size: 18px;
}

/* ═══════════════════════════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════════════════════════ */

.sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-xs);
}

.sidebar-title {
  font-size: var(--font-size-md);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.sidebar-title .title-icon {
  font-size: 18px;
}

/* About Section */
.about-text {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.stat-item {
  text-align: center;
  padding: var(--space-3);
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
}

.stat-value {
  font-size: var(--font-size-xl);
  font-weight: 800;
  color: var(--text-primary);
}

.stat-label {
  font-size: var(--font-size-xs);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* Events */
.event-item {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border-light);
  transition: background var(--transition-fast);
  cursor: pointer;
}

.event-item:last-child {
  border-bottom: none;
}

.event-item:hover {
  background: var(--bg-hover);
  margin: 0 calc(var(--space-3) * -1);
  padding-left: var(--space-3);
  padding-right: var(--space-3);
  border-radius: var(--radius-sm);
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--brand-primary-light);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.event-date .month {
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--brand-primary);
  text-transform: uppercase;
  line-height: 1;
}

.event-date .day {
  font-size: var(--font-size-lg);
  font-weight: 800;
  color: var(--brand-primary);
  line-height: 1.2;
}

.event-info {
  flex: 1;
}

.event-title {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.event-time {
  font-size: var(--font-size-xs);
  color: var(--text-tertiary);
}

/* Leaderboard */
.leaderboard-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border-light);
  transition: background var(--transition-fast);
  cursor: pointer;
}

.leaderboard-item:last-child {
  border-bottom: none;
}

.leaderboard-item:hover {
  background: var(--bg-hover);
  margin: 0 calc(var(--space-3) * -1);
  padding-left: var(--space-3);
  padding-right: var(--space-3);
  border-radius: var(--radius-sm);
}

.rank-number {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
  flex-shrink: 0;
}

.rank-number.top-3 {
  color: var(--brand-primary);
}

.leaderboard-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

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

.leaderboard-name {
  font-weight: 600;
  font-size: var(--font-size-sm);
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.leaderboard-level {
  font-size: var(--font-size-xs);
  color: var(--text-tertiary);
}

.leaderboard-points {
  font-weight: 700;
  font-size: var(--font-size-sm);
  color: var(--brand-primary);
  white-space: nowrap;
}

.view-all-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: var(--space-3);
  margin-top: var(--space-3);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--brand-primary);
  background: var(--brand-primary-light);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.view-all-btn:hover {
  background: var(--brand-primary);
  color: var(--text-inverse);
}

/* ═══════════════════════════════════════════════════════
   TAB PAGES — CLASSROOM
   ═══════════════════════════════════════════════════════ */

.page-section {
  display: none;
}

.page-section.active {
  display: block;
}

.classroom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  cursor: pointer;
  animation: fadeInUp 0.4s ease both;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-medium);
}

.course-card:nth-child(2) { animation-delay: 0.05s; }
.course-card:nth-child(3) { animation-delay: 0.1s; }
.course-card:nth-child(4) { animation-delay: 0.15s; }

.course-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  position: relative;
}

.course-thumb-container {
  position: relative;
}

.course-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: var(--brand-primary);
  border-radius: 0 2px 0 0;
  transition: width var(--transition-slow);
}

.course-info {
  padding: var(--space-4);
}

.course-title {
  font-size: var(--font-size-md);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.course-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
}

.course-meta .progress-text {
  color: var(--brand-primary);
  font-weight: 600;
}

.locked-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  color: var(--text-tertiary);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════
   TAB PAGES — CALENDAR / LIVE EVENTS  
   ═══════════════════════════════════════════════════════ */

/* ── Live Now Banner ── */
.live-now-banner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: linear-gradient(135deg, #1A0A0A, #2D1010, #1A0A0A);
  border: 1px solid rgba(234, 67, 53, 0.3);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-5);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.5s ease;
}

.live-now-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(234, 67, 53, 0.08), transparent 60%);
  pointer-events: none;
}

.live-now-pulse {
  width: 14px;
  height: 14px;
  background: #EA4335;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  animation: livePulse 2s ease-in-out infinite;
}

.live-now-pulse::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(234, 67, 53, 0.4);
  animation: livePulseRing 2s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.85; }
}

@keyframes livePulseRing {
  0%, 100% { transform: scale(1); opacity: 0; }
  50% { transform: scale(1.6); opacity: 1; }
}

.live-now-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.live-now-badge {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(234, 67, 53, 0.2);
  border: 1px solid rgba(234, 67, 53, 0.4);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: #FF6B5E;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-1);
}

.live-now-info h3 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.live-now-info p {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.5);
}

.live-now-info p span {
  color: #FF6B5E;
  font-weight: 600;
}

.live-join-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 12px 28px;
  background: linear-gradient(135deg, #EA4335, #D32F2F);
  color: white;
  font-weight: 700;
  font-size: var(--font-size-base);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  box-shadow: 0 4px 16px rgba(234, 67, 53, 0.35);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.live-join-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 24px rgba(234, 67, 53, 0.5);
}

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

/* ── Events Header ── */
.events-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.events-header-left {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.events-header-left h2 {
  font-size: var(--font-size-xl);
  font-weight: 800;
  color: var(--text-primary);
}

.events-count {
  padding: 3px 12px;
  background: var(--brand-primary-light);
  color: var(--brand-primary);
  font-size: var(--font-size-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
}

.events-header-right {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.view-toggle {
  display: flex;
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  padding: 3px;
}

.view-toggle-btn {
  width: 36px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-tertiary);
  transition: all var(--transition-fast);
}

.view-toggle-btn:hover {
  color: var(--text-secondary);
}

.view-toggle-btn.active {
  background: var(--bg-primary);
  color: var(--brand-primary);
  box-shadow: var(--shadow-xs);
}

.create-event-btn {
  font-size: var(--font-size-sm) !important;
}

.create-event-btn span {
  font-size: 18px;
  font-weight: 300;
}

/* ── Event Type Filters ── */
.event-type-filters {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

.event-filter-pill {
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.event-filter-pill:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-medium);
  color: var(--text-primary);
}

.event-filter-pill.active {
  background: var(--brand-primary);
  color: var(--text-inverse);
  border-color: var(--brand-primary);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(232, 168, 56, 0.3);
}

/* ── Events List View ── */
.events-list-view {
  display: none;
}

.events-list-view.active {
  display: block;
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* ── Event Card ── */
.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  cursor: pointer;
  animation: fadeInUp 0.4s ease both;
  display: flex;
}

.event-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-medium);
}

.event-card:nth-child(2) { animation-delay: 0.05s; }
.event-card:nth-child(3) { animation-delay: 0.1s; }
.event-card:nth-child(4) { animation-delay: 0.15s; }
.event-card:nth-child(5) { animation-delay: 0.2s; }

.event-card-date-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  padding: var(--space-4);
  position: relative;
}

.event-card-date-strip.type-live {
  background: linear-gradient(180deg, #2D1010, #1A0808);
}
.event-card-date-strip.type-workshop {
  background: linear-gradient(180deg, #0A1A2D, #081018);
}
.event-card-date-strip.type-competition {
  background: linear-gradient(180deg, #2D2A0A, #1A1808);
}
.event-card-date-strip.type-drilling {
  background: linear-gradient(180deg, #0A2D15, #081A0C);
}

.event-card-date-strip .event-strip-month {
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-card-date-strip .event-strip-day {
  font-size: var(--font-size-3xl);
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.1;
}

.event-card-date-strip .event-strip-weekday {
  font-size: var(--font-size-xs);
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  font-weight: 500;
}

.event-card-body {
  flex: 1;
  padding: var(--space-4) var(--space-5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-2);
}

.event-card-type {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 600;
  width: fit-content;
}

.event-card-type.type-live {
  background: rgba(234, 67, 53, 0.1);
  color: #EA4335;
}
.event-card-type.type-workshop {
  background: rgba(66, 133, 244, 0.1);
  color: #4285F4;
}
.event-card-type.type-competition {
  background: rgba(251, 188, 4, 0.1);
  color: #D4952E;
}
.event-card-type.type-drilling {
  background: rgba(52, 168, 83, 0.1);
  color: #34A853;
}

.event-card-title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.event-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
}

.event-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.event-card-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding: var(--space-4) var(--space-5);
  gap: var(--space-2);
  min-width: 140px;
}

.event-rsvp-count {
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
  text-align: right;
}

.event-rsvp-count strong {
  color: var(--text-primary);
  font-weight: 700;
}

.event-card-rsvp-btn {
  padding: 8px 20px;
  background: var(--brand-primary);
  color: var(--text-primary);
  font-weight: 600;
  font-size: var(--font-size-sm);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.event-card-rsvp-btn:hover {
  background: var(--brand-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(232, 168, 56, 0.3);
}

.event-card-rsvp-btn.rsvped {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid rgba(52, 168, 83, 0.3);
}

.event-card-rsvp-btn.rsvped:hover {
  background: rgba(52, 168, 83, 0.15);
  box-shadow: none;
  transform: none;
}

/* ── Calendar View ── */
.events-calendar-view {
  display: none;
}

.events-calendar-view.active {
  display: block;
}

.calendar-container {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-xs);
}

.calendar-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
}

.calendar-month-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
}

.calendar-nav-btns {
  display: flex;
  gap: var(--space-2);
}

.cal-nav-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.cal-nav-btn:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-medium);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.calendar-day-header {
  text-align: center;
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: var(--space-3);
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: var(--space-2);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: var(--font-size-sm);
  color: var(--text-primary);
  position: relative;
}

.calendar-day:hover {
  background: var(--bg-tertiary);
}

.calendar-day.today {
  background: var(--brand-primary-light);
  font-weight: 700;
}

.calendar-day.has-event::after {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--brand-primary);
  border-radius: 50%;
  margin-top: 4px;
}

.calendar-day.other-month {
  color: var(--text-tertiary);
  opacity: 0.5;
}

/* ── Past Recordings ── */
.past-recordings-section {
  animation: fadeInUp 0.4s ease;
}

.recordings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.recording-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  cursor: pointer;
  animation: fadeInUp 0.4s ease both;
}

.recording-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.recording-card:nth-child(2) { animation-delay: 0.05s; }
.recording-card:nth-child(3) { animation-delay: 0.1s; }
.recording-card:nth-child(4) { animation-delay: 0.15s; }

.recording-thumb {
  position: relative;
  height: 140px;
  overflow: hidden;
}

.recording-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recording-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.recording-card:hover .recording-thumb-overlay {
  opacity: 1;
}

.recording-play-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
}

.recording-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  padding: 2px 8px;
  background: rgba(0,0,0,0.7);
  color: white;
  font-size: var(--font-size-xs);
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.recording-info {
  padding: var(--space-4);
}

.recording-info h4 {
  font-size: var(--font-size-md);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.recording-meta {
  font-size: var(--font-size-xs);
  color: var(--text-tertiary);
  display: flex;
  gap: var(--space-3);
}

/* ── Event Detail Modal ── */
.event-modal-content {
  max-width: 580px;
}

.event-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-5) var(--space-3);
}

.event-modal-type-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 700;
  background: rgba(234, 67, 53, 0.1);
  color: #EA4335;
}

.event-modal-body {
  padding: 0 var(--space-5) var(--space-5);
}

.event-modal-title {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-5);
  line-height: 1.25;
}

.event-modal-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.event-modal-meta-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3);
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
}

.event-modal-meta-item .meta-icon {
  font-size: 20px;
  margin-top: 2px;
}

.event-modal-meta-item .meta-label {
  font-size: var(--font-size-xs);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.event-modal-meta-item .meta-value {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 2px;
}

.event-modal-description {
  margin-bottom: var(--space-5);
}

.event-modal-description h4 {
  font-size: var(--font-size-md);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.event-modal-description p {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-3);
}

.event-modal-host {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-5);
}

.event-host-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand-primary);
}

.event-host-name {
  font-weight: 700;
  font-size: var(--font-size-base);
  color: var(--text-primary);
}

.event-host-role {
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
}

.event-modal-attendees-preview {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.attendees-stack {
  display: flex;
  align-items: center;
}

.attendee-mini {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg-primary);
  margin-left: -10px;
}

.attendee-mini:first-child {
  margin-left: 0;
}

.attendees-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand-primary-light);
  color: var(--brand-primary);
  font-size: var(--font-size-xs);
  font-weight: 700;
  border: 2px solid var(--bg-primary);
  margin-left: -10px;
}

.attendees-label {
  font-size: var(--font-size-xs);
  color: var(--text-tertiary);
  flex: 1;
}

.event-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid var(--border-light);
}

.event-rsvp-btn {
  min-width: 160px;
  justify-content: center;
}


/* ═══════════════════════════════════════════════════════
   TAB PAGES — MEMBERS
   ═══════════════════════════════════════════════════════ */

.members-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
}

.members-search {
  position: relative;
  width: 300px;
}

.members-search input {
  width: 100%;
  height: 40px;
  padding: 0 var(--space-4) 0 38px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: var(--font-size-sm);
  transition: all var(--transition-fast);
}

.members-search input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--brand-primary-light);
}

.members-search .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-tertiary);
  font-size: 14px;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.member-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: center;
  transition: all var(--transition-base);
  cursor: pointer;
  animation: fadeInUp 0.4s ease both;
}

.member-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-medium);
}

.member-card:nth-child(2) { animation-delay: 0.02s; }
.member-card:nth-child(3) { animation-delay: 0.04s; }
.member-card:nth-child(4) { animation-delay: 0.06s; }
.member-card:nth-child(5) { animation-delay: 0.08s; }
.member-card:nth-child(6) { animation-delay: 0.1s; }

.member-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-3);
  border: 3px solid var(--border-light);
  transition: border-color var(--transition-fast);
}

.member-card:hover .member-avatar {
  border-color: var(--brand-primary);
}

.member-name {
  font-weight: 700;
  font-size: var(--font-size-md);
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.member-role {
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
  margin-bottom: var(--space-3);
}

.member-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  font-size: var(--font-size-xs);
  color: var(--text-tertiary);
}

.member-stats span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.member-stats .stat-number {
  font-weight: 700;
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════
   TAB PAGES — LEADERBOARD
   ═══════════════════════════════════════════════════════ */

.leaderboard-page {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.leaderboard-page-header {
  padding: var(--space-6);
  background: linear-gradient(135deg, var(--brand-secondary), #252547);
  color: var(--text-inverse);
}

.leaderboard-page-header h2 {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  margin-bottom: var(--space-2);
}

.leaderboard-page-header p {
  font-size: var(--font-size-sm);
  color: rgba(255,255,255,0.6);
}

.leaderboard-time-filters {
  display: flex;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--border-light);
}

.time-filter-btn {
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.time-filter-btn:hover {
  background: var(--bg-tertiary);
}

.time-filter-btn.active {
  background: var(--brand-primary-light);
  color: var(--brand-primary);
  font-weight: 600;
}

.leaderboard-full-list {
  padding: 0 var(--space-6);
}

.leaderboard-full-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-fast);
}

.leaderboard-full-item:hover {
  background: var(--bg-hover);
  margin: 0 calc(var(--space-4) * -1);
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

.leaderboard-full-item:last-child {
  border-bottom: none;
}

.full-rank {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: var(--font-size-lg);
  color: var(--text-tertiary);
  flex-shrink: 0;
}

.full-rank.gold { color: #FFD700; }
.full-rank.silver { color: #C0C0C0; }
.full-rank.bronze { color: #CD7F32; }

.full-rank-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.full-rank-info {
  flex: 1;
}

.full-rank-name {
  font-weight: 700;
  font-size: var(--font-size-md);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.full-rank-level-info {
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
}

.full-rank-points {
  font-weight: 800;
  font-size: var(--font-size-lg);
  color: var(--brand-primary);
}

.full-rank-points span {
  font-size: var(--font-size-xs);
  font-weight: 500;
  color: var(--text-tertiary);
}

/* Progress Bar for Levels */
.level-progress-container {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: 4px;
}

.level-progress-bar {
  flex: 1;
  height: 4px;
  background: var(--bg-tertiary);
  border-radius: 2px;
  overflow: hidden;
  max-width: 120px;
}

.level-progress-fill {
  height: 100%;
  background: var(--brand-primary);
  border-radius: 2px;
  transition: width var(--transition-slow);
}

.level-progress-text {
  font-size: var(--font-size-xs);
  color: var(--text-tertiary);
}

/* ═══════════════════════════════════════════════════════
   POST MODAL / CREATE POST
   ═══════════════════════════════════════════════════════ */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease;
}

.modal-overlay.active {
  display: flex;
}

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

.modal-content {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 600px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5);
  border-bottom: 1px solid var(--border-light);
}

.modal-header h3 {
  font-size: var(--font-size-lg);
  font-weight: 700;
}

.modal-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 20px;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.modal-body {
  padding: var(--space-5);
}

.modal-body .form-group {
  margin-bottom: var(--space-4);
}

.modal-body label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.modal-body input[type="text"],
.modal-body textarea,
.modal-body select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.modal-body input[type="text"]:focus,
.modal-body textarea:focus,
.modal-body select:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--brand-primary-light);
  background: var(--bg-primary);
}

.modal-body textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid var(--border-light);
}

/* ═══════════════════════════════════════════════════════
   NOTIFICATION DROPDOWN
   ═══════════════════════════════════════════════════════ */

.notification-dropdown {
  display: none;
  position: absolute;
  top: calc(var(--header-height) - 4px);
  right: 80px;
  width: 360px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: 1001;
  animation: slideDown 0.2s ease;
}

.notification-dropdown.active {
  display: block;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.notification-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--border-light);
}

.notification-header h4 {
  font-weight: 700;
}

.notification-header .mark-read {
  font-size: var(--font-size-sm);
  color: var(--brand-primary);
  cursor: pointer;
}

.notification-item {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  transition: background var(--transition-fast);
  cursor: pointer;
}

.notification-item:hover {
  background: var(--bg-hover);
}

.notification-item.unread {
  background: var(--brand-primary-light);
}

.notification-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.notification-text {
  flex: 1;
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.4;
}

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

.notification-time {
  font-size: var(--font-size-xs);
  color: var(--text-tertiary);
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════
   COMMENTS SECTION
   ═══════════════════════════════════════════════════════ */

.comments-section {
  display: none;
  margin-top: var(--space-4);
  padding-top: var(--space-4);
}

.comments-section.active {
  display: block;
}

.comment-item {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.comment-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.comment-content {
  flex: 1;
}

.comment-user-name {
  font-weight: 600;
  font-size: var(--font-size-sm);
  color: var(--text-primary);
  display: inline;
  margin-right: var(--space-2);
}

.comment-text {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  display: inline;
}

.comment-meta {
  display: flex;
  gap: var(--space-3);
  margin-top: 4px;
  font-size: var(--font-size-xs);
  color: var(--text-tertiary);
}

.comment-meta button {
  font-size: var(--font-size-xs);
  color: var(--text-tertiary);
  font-weight: 500;
}

.comment-meta button:hover {
  color: var(--brand-primary);
}

.comment-input-container {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.comment-input {
  flex: 1;
  height: 36px;
  padding: 0 var(--space-4);
  background: var(--bg-input);
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.comment-input:focus {
  border-color: var(--border-focus);
  background: var(--bg-primary);
}

.comment-submit {
  padding: 6px 16px;
  background: var(--brand-primary);
  color: var(--text-inverse);
  font-weight: 600;
  font-size: var(--font-size-sm);
  border-radius: var(--radius-full);
  transition: background var(--transition-fast);
}

.comment-submit:hover {
  background: var(--brand-primary-hover);
}

/* ═══════════════════════════════════════════════════════
   TOAST NOTIFICATIONS
   ═══════════════════════════════════════════════════════ */

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  background: var(--brand-secondary);
  color: var(--text-inverse);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: var(--font-size-sm);
  font-weight: 500;
  animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
  min-width: 280px;
}

.toast.success { border-left: 4px solid var(--success); }
.toast.error { border-left: 4px solid var(--error); }
.toast.info { border-left: 4px solid var(--info); }

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes toastOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .main-content {
    grid-template-columns: 1fr;
  }

  .sidebar {
    order: -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
  }

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

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

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

  .banner-container {
    height: 140px;
  }

  .community-info {
    flex-direction: column;
    align-items: flex-start;
    margin-top: -24px;
  }

  .community-actions {
    width: 100%;
  }

  .community-actions .btn-primary,
  .community-actions .btn-secondary {
    flex: 1;
    justify-content: center;
  }

  .nav-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

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

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

  .notification-dropdown {
    right: 10px;
    width: calc(100vw - 20px);
    max-width: 360px;
  }
}

@media (max-width: 480px) {
  .main-content {
    padding: var(--space-3);
  }

  .post-card {
    padding: var(--space-4);
  }

  .nav-tab {
    padding: 10px 14px;
    font-size: var(--font-size-sm);
  }

  .modal-content {
    margin: var(--space-4);
    max-height: calc(100vh - 32px);
  }
}

/* ═══════════════════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════════════════ */

.text-center { text-align: center; }
.text-muted { color: var(--text-tertiary); }
.font-bold { font-weight: 700; }
.mt-4 { margin-top: var(--space-4); }
.mb-4 { margin-bottom: var(--space-4); }
.gap-3 { gap: var(--space-3); }

/* Skeleton loading */
.skeleton {
  background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-hover) 50%, var(--bg-tertiary) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Pulse animation for notifications */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.pulse {
  animation: pulse 2s infinite;
}

/* Full-width for tab content */
.tab-content-full {
  grid-column: 1 / -1;
}

/* ═══════════════════════════════════════════════════════
   BOOK A CALL — Complete Booking System
   ═══════════════════════════════════════════════════════ */

.booking-page {
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Booking Hero ── */
.booking-hero {
  position: relative;
  background: linear-gradient(135deg, #1A1A2E 0%, #16213E 50%, #0F3460 100%);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  margin-bottom: 40px;
  overflow: hidden;
  border: 1px solid rgba(232, 168, 56, 0.15);
}

.booking-hero-glow {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(232, 168, 56, 0.2) 0%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

.booking-hero-content {
  position: relative;
  z-index: 1;
}

.booking-hero-badge {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(232, 168, 56, 0.15);
  border: 1px solid rgba(232, 168, 56, 0.3);
  border-radius: var(--radius-full);
  color: var(--brand-primary);
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: 16px;
}

.booking-hero-title {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 12px;
  line-height: 1.2;
}

.booking-hero-title .highlight {
  background: linear-gradient(135deg, var(--brand-primary), #FFD700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.booking-hero-subtitle {
  font-size: var(--font-size-md);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  max-width: 600px;
}

.booking-hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  position: relative;
  z-index: 1;
}

.booking-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.booking-stat-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-primary);
}

.booking-stat-label {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.5);
}

/* ── Section Headers ── */
.booking-section-header {
  margin-bottom: 24px;
}

.booking-section-header h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.booking-section-header p {
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
  margin-top: 4px;
}

/* ── Session Type Cards ── */
.session-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 16px;
}

.session-type-card {
  position: relative;
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.session-type-card:hover {
  border-color: var(--brand-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(232, 168, 56, 0.12);
}

.session-type-card.selected {
  border-color: var(--brand-primary);
  background: linear-gradient(180deg, rgba(232, 168, 56, 0.05) 0%, var(--bg-card) 100%);
  box-shadow: 0 8px 24px rgba(232, 168, 56, 0.15);
}

.session-type-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.session-type-card:hover .session-type-icon-wrap {
  transform: scale(1.1);
}

.session-type-icon-wrap.video {
  background: linear-gradient(135deg, rgba(66, 133, 244, 0.15), rgba(66, 133, 244, 0.05));
  border: 1px solid rgba(66, 133, 244, 0.2);
}

.session-type-icon-wrap.phone {
  background: linear-gradient(135deg, rgba(52, 168, 83, 0.15), rgba(52, 168, 83, 0.05));
  border: 1px solid rgba(52, 168, 83, 0.2);
}

.session-type-icon-wrap.group {
  background: linear-gradient(135deg, rgba(161, 66, 244, 0.15), rgba(161, 66, 244, 0.05));
  border: 1px solid rgba(161, 66, 244, 0.2);
}

.session-type-icon {
  font-size: 28px;
}

.session-type-popular {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 3px 10px;
  background: linear-gradient(135deg, var(--brand-primary), #FFD700);
  color: #1A1A2E;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-full);
}

.session-type-title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.session-type-desc {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.session-type-features {
  list-style: none;
  text-align: left;
  width: 100%;
  margin-bottom: 16px;
}

.session-type-features li {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  padding: 4px 0;
}

.session-type-duration {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
  margin-bottom: 12px;
}

.session-type-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 16px;
}

.price-from {
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
}

.price-amount {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -1px;
}

.session-select-btn {
  width: 100%;
  padding: 10px 20px;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: var(--font-size-sm);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.session-select-btn:hover {
  background: var(--bg-hover);
}

.session-select-btn.selected {
  background: var(--brand-primary);
  color: #1A1A2E;
}

/* ── Booking Calendar ── */
.booking-calendar-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 16px;
}

.booking-calendar {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.booking-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.booking-cal-month {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--text-primary);
}

.booking-cal-nav {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  background: var(--bg-tertiary);
  transition: all var(--transition-fast);
  font-size: 12px;
}

.booking-cal-nav:hover {
  background: var(--brand-primary);
  color: #1A1A2E;
}

.booking-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 8px;
}

.booking-cal-weekdays span {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 0;
}

.booking-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.booking-cal-day {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 2px solid transparent;
}

.booking-cal-day:hover:not(.disabled):not(.empty) {
  background: var(--brand-primary-light);
  border-color: var(--brand-primary);
}

.booking-cal-day.available {
  position: relative;
}

.booking-cal-day.available::after {
  content: '';
  position: absolute;
  bottom: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--success);
}

.booking-cal-day.selected {
  background: var(--brand-primary) !important;
  color: #1A1A2E !important;
  font-weight: 700;
  border-color: var(--brand-primary) !important;
  box-shadow: 0 4px 12px rgba(232, 168, 56, 0.3);
}

.booking-cal-day.disabled {
  color: var(--text-tertiary);
  opacity: 0.4;
  cursor: not-allowed;
}

.booking-cal-day.empty {
  cursor: default;
}

.booking-cal-day.today {
  border-color: var(--brand-primary);
  font-weight: 700;
}

/* ── Time Slots ── */
.booking-time-slots {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.time-slots-title {
  font-size: var(--font-size-md);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.time-slots-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  flex: 1;
  align-content: start;
}

.time-slot-btn {
  padding: 12px 16px;
  background: var(--bg-tertiary);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-weight: 500;
  font-size: var(--font-size-sm);
  transition: all var(--transition-fast);
  text-align: center;
}

.time-slot-btn:hover {
  background: var(--brand-primary-light);
  border-color: var(--brand-primary);
}

.time-slot-btn.selected {
  background: var(--brand-primary);
  color: #1A1A2E;
  font-weight: 700;
  border-color: var(--brand-primary);
  box-shadow: 0 4px 12px rgba(232, 168, 56, 0.25);
}

.time-slot-btn.unavailable {
  color: var(--text-tertiary);
  text-decoration: line-through;
  opacity: 0.5;
  cursor: not-allowed;
}

.booking-timezone {
  margin-top: auto;
  padding-top: 16px;
  font-size: var(--font-size-xs);
  color: var(--text-tertiary);
  text-align: center;
}

/* ── Booking Form ── */
.booking-form-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  margin-bottom: 16px;
}

.booking-form {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.booking-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.booking-form-group label {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.booking-form-group label .optional {
  font-weight: 400;
  color: var(--text-tertiary);
}

.booking-form-group select,
.booking-form-group textarea {
  padding: 12px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: var(--font-size-base);
  transition: all var(--transition-fast);
}

.booking-form-group select:focus,
.booking-form-group textarea:focus {
  border-color: var(--brand-primary);
  background: var(--bg-primary);
  box-shadow: 0 0 0 3px var(--brand-primary-light);
}

.booking-form-group textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

.duration-toggle {
  display: flex;
  gap: 8px;
}

.duration-option {
  flex: 1;
  padding: 12px;
  background: var(--bg-tertiary);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  text-align: center;
}

.duration-option:hover {
  border-color: var(--border-medium);
}

.duration-option.active {
  background: var(--brand-primary-light);
  border-color: var(--brand-primary);
  color: var(--brand-primary-hover);
  font-weight: 700;
}

/* ── Booking Summary Card ── */
.booking-summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.summary-title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.summary-instructor {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 20px;
}

.summary-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand-primary);
}

.summary-instructor-name {
  font-weight: 700;
  font-size: var(--font-size-base);
  color: var(--text-primary);
}

.summary-instructor-role {
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
}

.summary-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.summary-label {
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
}

.summary-value {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.summary-divider {
  height: 1px;
  background: var(--border-light);
  margin: 4px 0;
}

.summary-row.total .summary-label {
  font-size: var(--font-size-md);
  font-weight: 700;
  color: var(--text-primary);
}

.summary-row.total .summary-value {
  font-size: var(--font-size-xl);
  font-weight: 800;
  color: var(--brand-primary);
}

.booking-confirm-btn {
  width: 100%;
  padding: 14px;
  background: var(--brand-primary);
  color: #1A1A2E;
  font-weight: 700;
  font-size: var(--font-size-md);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
}

.booking-confirm-btn:hover:not(:disabled) {
  background: var(--brand-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 168, 56, 0.3);
}

.booking-confirm-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.booking-guarantee {
  font-size: var(--font-size-xs);
  color: var(--text-tertiary);
  text-align: center;
  line-height: 1.4;
}

/* ── Testimonials ── */
.booking-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-xs);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  font-size: 14px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-name {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-detail {
  font-size: var(--font-size-xs);
  color: var(--text-tertiary);
}

/* ── Booking Confirmation Modal ── */
.booking-confirm-modal {
  text-align: center;
  max-width: 440px;
  padding: 40px 32px 32px;
}

.booking-confirm-animation {
  margin-bottom: 20px;
}

.confirm-checkmark {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  color: var(--success);
  animation: confirmPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes confirmPop {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.checkmark-svg {
  width: 100%;
  height: 100%;
}

.checkmark-svg circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: checkStroke 0.6s 0.3s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-svg path {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: checkStroke 0.3s 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

@keyframes checkStroke {
  100% { stroke-dashoffset: 0; }
}

.confirm-title {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.confirm-subtitle {
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
  margin-bottom: 24px;
}

.confirm-details {
  background: var(--bg-tertiary);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
  text-align: left;
}

.confirm-detail-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.confirm-detail-row + .confirm-detail-row {
  border-top: 1px solid var(--border-light);
}

.confirm-icon {
  font-size: 18px;
  width: 28px;
  text-align: center;
}

.confirm-text {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-primary);
}

.confirm-email-note {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.5;
}

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

.confirm-actions .btn-primary,
.confirm-actions .btn-secondary {
  flex: 1;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .session-types-grid {
    grid-template-columns: 1fr;
  }
  .booking-calendar-container {
    grid-template-columns: 1fr;
  }
  .booking-form-container {
    grid-template-columns: 1fr;
  }
  .booking-testimonials {
    grid-template-columns: 1fr;
  }
  .booking-hero {
    padding: 32px 24px;
  }
  .booking-hero-title {
    font-size: 24px;
  }
  .booking-hero-stats {
    gap: 24px;
  }
}

/* ═══════════════════════════════════════════════════════
   VIDEO REVIEW — Footage Submission System
   ═══════════════════════════════════════════════════════ */

.vr-page {
  max-width: 1100px;
  margin: 0 auto;
}

/* ── VR Hero ── */
.vr-hero {
  position: relative;
  background: linear-gradient(135deg, #1A1A2E 0%, #2D1B4E 50%, #4A1942 100%);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  margin-bottom: 40px;
  overflow: hidden;
  border: 1px solid rgba(161, 66, 244, 0.2);
}

.vr-hero-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(161, 66, 244, 0.25) 0%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite;
}

.vr-hero-content { position: relative; z-index: 1; }

.vr-hero-badge {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(161, 66, 244, 0.15);
  border: 1px solid rgba(161, 66, 244, 0.3);
  border-radius: var(--radius-full);
  color: #C77DFF;
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: 16px;
}

.vr-hero-title {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 12px;
  line-height: 1.2;
}

.vr-hero-title .highlight {
  background: linear-gradient(135deg, #C77DFF, #E0AAFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.vr-hero-subtitle {
  font-size: var(--font-size-md);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  max-width: 640px;
}

.vr-hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  position: relative;
  z-index: 1;
}

/* ── How It Works Steps ── */
.vr-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.vr-step {
  flex: 1;
  max-width: 280px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.vr-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.vr-step-number {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 28px;
  height: 28px;
  background: var(--brand-primary);
  color: #1A1A2E;
  font-size: 13px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vr-step-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.vr-step h4 {
  font-size: var(--font-size-md);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.vr-step p {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

.vr-step-arrow {
  font-size: 24px;
  color: var(--text-tertiary);
  font-weight: 300;
  flex-shrink: 0;
}

/* ── Review Type Cards ── */
.vr-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 16px;
}

.vr-type-card {
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.vr-type-card:hover {
  border-color: #A142F4;
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(161, 66, 244, 0.12);
}

.vr-type-card.selected {
  border-color: #A142F4;
  background: linear-gradient(180deg, rgba(161, 66, 244, 0.05) 0%, var(--bg-card) 100%);
  box-shadow: 0 8px 24px rgba(161, 66, 244, 0.15);
}

.vr-type-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.vr-type-card h4 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.vr-type-card > p {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.vr-type-includes {
  text-align: left;
  margin-bottom: 16px;
  padding: 12px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
}

.vr-type-includes > span {
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vr-type-includes ul {
  list-style: none;
  margin-top: 6px;
}

.vr-type-includes li {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  padding: 2px 0;
}

.vr-type-select-btn {
  width: 100%;
  padding: 10px 20px;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: var(--font-size-sm);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.vr-type-select-btn.selected {
  background: #A142F4;
  color: #fff;
}

/* ── Upload Zone ── */
.vr-upload-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 16px;
}

.vr-upload-zone {
  background: var(--bg-card);
  border: 2px dashed var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 48px 32px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.vr-upload-zone:hover,
.vr-upload-zone.dragover {
  border-color: #A142F4;
  background: rgba(161, 66, 244, 0.03);
}

.vr-upload-zone.dragover {
  border-style: solid;
  transform: scale(1.01);
  box-shadow: 0 0 24px rgba(161, 66, 244, 0.15);
}

.vr-upload-icon {
  color: var(--text-tertiary);
  margin-bottom: 12px;
}

.vr-upload-zone:hover .vr-upload-icon {
  color: #A142F4;
}

.vr-upload-title {
  font-size: var(--font-size-md);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.vr-upload-subtitle {
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
  margin-bottom: 12px;
}

.vr-upload-formats {
  font-size: var(--font-size-xs);
  color: var(--text-tertiary);
  padding: 6px 14px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  display: inline-block;
}

.vr-upload-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.vr-upload-divider span {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-tertiary);
  background: var(--bg-secondary);
  padding: 8px 12px;
  border-radius: var(--radius-full);
}

.vr-link-upload {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
}

.vr-link-upload label {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  display: block;
}

.vr-link-input-wrap {
  position: relative;
  margin-bottom: 12px;
}

.vr-link-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
}

.vr-link-input-wrap input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: var(--font-size-base);
  transition: all var(--transition-fast);
}

.vr-link-input-wrap input:focus {
  border-color: #A142F4;
  box-shadow: 0 0 0 3px rgba(161, 66, 244, 0.12);
}

.vr-link-platforms {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.vr-link-platforms > span:first-child {
  font-size: var(--font-size-xs);
  color: var(--text-tertiary);
}

.vr-platform {
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  padding: 3px 8px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-sm);
}

/* ── Upload Status ── */
.vr-upload-status {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 16px;
}

.vr-file-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.vr-file-icon {
  font-size: 28px;
}

.vr-file-info { flex: 1; }

.vr-file-name {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.vr-file-size {
  font-size: var(--font-size-xs);
  color: var(--text-tertiary);
}

.vr-file-remove {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-tertiary);
  transition: all var(--transition-fast);
  font-size: 14px;
}

.vr-file-remove:hover {
  background: rgba(234, 67, 53, 0.1);
  color: var(--error);
}

.vr-upload-progress {
  height: 6px;
  background: var(--bg-tertiary);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.vr-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #A142F4, #C77DFF);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.vr-upload-progress-text {
  font-size: var(--font-size-xs);
  color: var(--text-tertiary);
  text-align: center;
}

/* ── Review Depth Cards ── */
.vr-depth-options {
  display: flex;
  gap: 12px;
}

.vr-depth-card {
  flex: 1;
  padding: 16px;
  background: var(--bg-tertiary);
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.vr-depth-card:hover {
  border-color: var(--border-medium);
}

.vr-depth-card.active {
  border-color: #A142F4;
  background: rgba(161, 66, 244, 0.05);
}

.vr-depth-popular {
  position: absolute;
  top: -8px;
  right: 12px;
  padding: 2px 8px;
  background: linear-gradient(135deg, #A142F4, #C77DFF);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-full);
}

.vr-depth-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.vr-depth-header h5 {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--text-primary);
}

.vr-depth-price {
  font-size: var(--font-size-lg);
  font-weight: 800;
  color: #A142F4;
}

.vr-depth-card p {
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ── VR Form Container ── */
.vr-form-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  margin-bottom: 16px;
}

.vr-form {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vr-summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

/* ── Example Breakdowns ── */
.vr-examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.vr-example-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.vr-example-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.vr-example-thumb {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.vr-example-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.vr-example-card:hover .vr-example-thumb img {
  transform: scale(1.05);
}

.vr-example-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  opacity: 0;
  transition: all 0.3s ease;
}

.vr-example-card:hover .vr-example-play {
  opacity: 1;
}

.vr-example-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  padding: 3px 8px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.vr-example-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 10px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.vr-example-info {
  padding: 16px;
}

.vr-example-info h4 {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.3;
}

.vr-example-info p {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 10px;
}

.vr-example-meta {
  display: flex;
  gap: 16px;
  font-size: var(--font-size-xs);
  color: var(--text-tertiary);
}

/* ── VR Responsive ── */
@media (max-width: 900px) {
  .vr-steps {
    flex-direction: column;
  }
  .vr-step-arrow {
    transform: rotate(90deg);
  }
  .vr-types-grid,
  .vr-examples-grid {
    grid-template-columns: 1fr;
  }
  .vr-upload-container {
    grid-template-columns: 1fr;
  }
  .vr-upload-divider {
    flex-direction: row;
  }
  .vr-form-container {
    grid-template-columns: 1fr;
  }
  .vr-depth-options {
    flex-direction: column;
  }
  .vr-hero {
    padding: 32px 24px;
  }
  .vr-hero-title {
    font-size: 24px;
  }
}

/* ═══════════════════════════════════════════════════════
   PRIVATE TRAINING — Lessons & Seminars
   ═══════════════════════════════════════════════════════ */

.pt-page { max-width: 1100px; margin: 0 auto; }

.pt-hero {
  position: relative;
  background: linear-gradient(135deg, #1A1A2E 0%, #1B3A2D 50%, #0D4A2E 100%);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid rgba(52, 168, 83, 0.2);
}

.pt-hero-glow {
  position: absolute; top: -60px; right: -60px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(52, 168, 83, 0.2) 0%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite;
}

.pt-hero-content { position: relative; z-index: 1; }

.pt-hero-badge {
  display: inline-block; padding: 5px 14px;
  background: rgba(52, 168, 83, 0.15);
  border: 1px solid rgba(52, 168, 83, 0.3);
  border-radius: var(--radius-full);
  color: #6FCF97; font-size: var(--font-size-sm); font-weight: 600; margin-bottom: 16px;
}

.pt-hero-title {
  font-size: 32px; font-weight: 800; color: #fff;
  letter-spacing: -1px; margin-bottom: 12px; line-height: 1.2;
}

.pt-hero-title .highlight {
  background: linear-gradient(135deg, #6FCF97, #A8E6CF);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.pt-hero-subtitle {
  font-size: var(--font-size-md); color: rgba(255,255,255,0.7);
  line-height: 1.6; max-width: 640px;
}

.pt-hero-stats { display: flex; gap: 40px; margin-top: 32px; position: relative; z-index: 1; }

.pt-location-bar {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 16px 24px;
  margin-bottom: 40px; box-shadow: var(--shadow-xs);
}

.pt-location-info {
  display: flex; align-items: center; gap: 12px;
  font-size: var(--font-size-sm); color: var(--text-primary);
}

.pt-location-icon { font-size: 20px; }
.pt-location-note { color: var(--text-tertiary); margin-left: 8px; }

.pt-availability-badge {
  display: flex; align-items: center; gap: 8px;
  font-size: var(--font-size-sm); font-weight: 600; color: var(--success);
}

.pt-avail-dot {
  width: 8px; height: 8px; background: var(--success);
  border-radius: 50%; animation: pulse 2s infinite;
}

.pt-offerings-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 16px;
}

.pt-offering-card {
  position: relative; background: var(--bg-card);
  border: 2px solid var(--border-light); border-radius: var(--radius-xl);
  padding: 32px 28px; cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pt-offering-card:hover {
  border-color: var(--success); transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(52, 168, 83, 0.12);
}

.pt-offering-card.selected {
  border-color: var(--success);
  background: linear-gradient(180deg, rgba(52, 168, 83, 0.04) 0%, var(--bg-card) 100%);
  box-shadow: 0 8px 24px rgba(52, 168, 83, 0.12);
}

.pt-offering-badge {
  position: absolute; top: 14px; right: 14px; padding: 3px 10px;
  background: linear-gradient(135deg, var(--success), #6FCF97);
  color: #fff; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px; border-radius: var(--radius-full);
}

.pt-offering-icon { font-size: 44px; margin-bottom: 16px; }

.pt-offering-card h3 {
  font-size: var(--font-size-xl); font-weight: 800;
  color: var(--text-primary); margin-bottom: 10px;
}

.pt-offering-desc {
  font-size: var(--font-size-sm); color: var(--text-secondary);
  line-height: 1.6; margin-bottom: 20px;
}

.pt-offering-details {
  background: var(--bg-tertiary); border-radius: var(--radius-md);
  padding: 14px 16px; margin-bottom: 16px;
}

.pt-detail-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0; font-size: var(--font-size-sm);
}

.pt-detail-row span:first-child { color: var(--text-secondary); }
.pt-detail-row span:last-child { font-weight: 600; color: var(--text-primary); }
.pt-detail-row + .pt-detail-row { border-top: 1px solid var(--border-light); }

.pt-offering-includes { margin-bottom: 20px; }

.pt-offering-includes > span {
  font-size: var(--font-size-xs); font-weight: 600; color: var(--text-tertiary);
  text-transform: uppercase; letter-spacing: 0.5px;
}

.pt-offering-includes ul { list-style: none; margin-top: 8px; }

.pt-offering-includes li {
  font-size: var(--font-size-sm); color: var(--text-secondary); padding: 3px 0;
}

.pt-offering-pricing {
  text-align: center; padding: 16px 0;
  border-top: 1px solid var(--border-light); margin-bottom: 16px;
}

.pt-price-label { display: block; font-size: var(--font-size-xs); color: var(--text-tertiary); margin-bottom: 4px; }
.pt-price-amount { display: block; font-size: 36px; font-weight: 800; color: var(--text-primary); letter-spacing: -1px; }
.pt-price-note { display: block; font-size: var(--font-size-xs); color: var(--text-tertiary); margin-top: 2px; }

.pt-select-btn {
  width: 100%; padding: 12px 20px; background: var(--bg-tertiary);
  color: var(--text-secondary); font-weight: 600; font-size: var(--font-size-sm);
  border-radius: var(--radius-md); transition: all var(--transition-fast);
}

.pt-select-btn.selected { background: var(--success); color: #fff; }

.pt-form-container {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; margin-bottom: 16px;
}

.pt-form {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-xl); padding: 28px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 20px;
}

.pt-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.pt-form input:focus, .pt-form select:focus {
  border-color: var(--success) !important;
  box-shadow: 0 0 0 3px rgba(52, 168, 83, 0.12) !important;
}

.pt-form-reason { margin-top: 4px; }

.pt-form-reason label {
  font-size: var(--font-size-sm); font-weight: 600;
  color: var(--text-primary); margin-bottom: 10px; display: block;
}

.pt-reason-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.pt-chip {
  padding: 8px 16px; background: var(--bg-tertiary);
  border: 2px solid transparent; border-radius: var(--radius-full);
  font-size: var(--font-size-sm); font-weight: 500; color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.pt-chip:hover { border-color: var(--border-medium); }

.pt-chip.active {
  background: rgba(52, 168, 83, 0.1); border-color: var(--success);
  color: var(--success); font-weight: 600;
}

.pt-summary-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-xl); padding: 28px; box-shadow: var(--shadow-sm);
  position: sticky; top: calc(var(--header-height) + 24px);
}

.pt-testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px;
}

.pt-testimonial-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-xl); padding: 24px;
  box-shadow: var(--shadow-xs); transition: all 0.3s ease;
}

.pt-testimonial-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

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

.pt-testimonial-type {
  font-size: var(--font-size-xs); color: var(--text-tertiary);
  padding: 3px 8px; background: var(--bg-tertiary); border-radius: var(--radius-sm);
}

.pt-testimonial-avatar-placeholder {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--success), #6FCF97);
  color: #fff; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

@media (max-width: 900px) {
  .pt-offerings-grid { grid-template-columns: 1fr; }
  .pt-form-container { grid-template-columns: 1fr; }
  .pt-form-row { grid-template-columns: 1fr; }
  .pt-testimonials-grid { grid-template-columns: 1fr; }
  .pt-location-bar { flex-direction: column; gap: 12px; text-align: center; }
  .pt-hero { padding: 32px 24px; }
  .pt-hero-title { font-size: 24px; }
  .pt-hero-stats { gap: 24px; }
}

/* ═══════════════════════════════════════════════════════
   SHOUTOUTS — Cameo-style Greeting Videos
   ═══════════════════════════════════════════════════════ */

.so-page { max-width: 1100px; margin: 0 auto; }

.so-hero {
  position: relative;
  background: linear-gradient(135deg, #2A1A0E 0%, #3D2413 40%, #5A2E0E 100%);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  margin-bottom: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 165, 0, 0.2);
}

.so-hero-glow {
  position: absolute; top: -60px; right: -60px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255, 165, 0, 0.2) 0%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite;
}

.so-hero-content { position: relative; z-index: 1; }

.so-hero-badge {
  display: inline-block; padding: 5px 14px;
  background: rgba(255, 165, 0, 0.15);
  border: 1px solid rgba(255, 165, 0, 0.3);
  border-radius: var(--radius-full);
  color: #FFB347; font-size: var(--font-size-sm); font-weight: 600; margin-bottom: 16px;
}

.so-hero-title {
  font-size: 32px; font-weight: 800; color: #fff;
  letter-spacing: -1px; margin-bottom: 12px; line-height: 1.2;
}

.so-hero-title .highlight {
  background: linear-gradient(135deg, #FFB347, #FFDA77);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.so-hero-subtitle {
  font-size: var(--font-size-md); color: rgba(255,255,255,0.7);
  line-height: 1.6; max-width: 640px;
}

.so-hero-stats { display: flex; gap: 40px; margin-top: 32px; position: relative; z-index: 1; }

/* ── Occasion Cards ── */
.so-occasions-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 16px;
}

.so-occasion-card {
  background: var(--bg-card); border: 2px solid var(--border-light);
  border-radius: var(--radius-xl); padding: 24px 20px; text-align: center;
  cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.so-occasion-card:hover {
  border-color: #FFB347; transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(255, 165, 0, 0.1);
}

.so-occasion-card.selected {
  border-color: #FFB347;
  background: linear-gradient(180deg, rgba(255, 165, 0, 0.04) 0%, var(--bg-card) 100%);
  box-shadow: 0 8px 24px rgba(255, 165, 0, 0.1);
}

.so-occasion-emoji { font-size: 44px; margin-bottom: 12px; }

.so-occasion-card h4 {
  font-size: var(--font-size-md); font-weight: 700;
  color: var(--text-primary); margin-bottom: 8px;
}

.so-occasion-card p {
  font-size: var(--font-size-xs); color: var(--text-tertiary);
  line-height: 1.5; margin-bottom: 14px;
}

.so-occasion-btn {
  width: 100%; padding: 8px 16px; background: var(--bg-tertiary);
  color: var(--text-secondary); font-weight: 600; font-size: var(--font-size-sm);
  border-radius: var(--radius-md); transition: all var(--transition-fast);
}

.so-occasion-btn.selected {
  background: linear-gradient(135deg, #FF9500, #FFB347); color: #fff;
}

/* ── Shoutout Form ── */
.so-form-container {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; margin-bottom: 16px;
}

.so-form {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-xl); padding: 28px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 20px;
}

.so-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.so-form input:focus, .so-form select:focus {
  border-color: #FFB347 !important;
  box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.12) !important;
}

/* ── Delivery Options ── */
.so-delivery-options {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px;
}

.so-delivery-card {
  position: relative; background: var(--bg-tertiary);
  border: 2px solid var(--border-light); border-radius: var(--radius-lg);
  padding: 18px; cursor: pointer; transition: all 0.3s ease;
}

.so-delivery-card:hover { border-color: #FFB347; }

.so-delivery-card.active {
  border-color: #FFB347;
  background: rgba(255, 165, 0, 0.05);
}

.so-delivery-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;
}

.so-delivery-header h5 {
  font-size: var(--font-size-sm); font-weight: 700; color: var(--text-primary);
}

.so-delivery-price {
  font-size: var(--font-size-lg); font-weight: 800; color: var(--text-primary);
}

.so-delivery-card p {
  font-size: var(--font-size-xs); color: var(--text-tertiary);
}

.so-delivery-popular {
  position: absolute; top: -10px; right: 12px;
  padding: 2px 10px; background: linear-gradient(135deg, #FF9500, #FFB347);
  color: #fff; font-size: 10px; font-weight: 700; text-transform: uppercase;
  border-radius: var(--radius-full); letter-spacing: 0.5px;
}

/* ── Summary Card ── */
.so-summary-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-xl); padding: 28px; box-shadow: var(--shadow-sm);
  position: sticky; top: calc(var(--header-height) + 24px);
}

/* ── Example Shoutouts ── */
.so-examples-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px;
}

.so-example-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all 0.3s ease;
}

.so-example-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.so-example-thumb {
  position: relative; width: 100%; aspect-ratio: 3/2;
  background: var(--bg-tertiary); overflow: hidden;
}

.so-example-thumb img {
  width: 100%; height: 100%; object-fit: cover;
}

.so-example-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 40px; height: 40px; background: rgba(0,0,0,0.6);
  color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 14px; backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.so-example-card:hover .so-example-play {
  background: linear-gradient(135deg, #FF9500, #FFB347);
  transform: translate(-50%, -50%) scale(1.1);
}

.so-example-badge {
  position: absolute; bottom: 8px; left: 8px;
  padding: 3px 8px; background: rgba(0,0,0,0.75);
  color: #fff; font-size: 10px; font-weight: 600;
  border-radius: var(--radius-sm); backdrop-filter: blur(4px);
}

.so-example-info { padding: 14px; }

.so-example-quote {
  font-size: var(--font-size-xs); color: var(--text-secondary);
  font-style: italic; line-height: 1.5; margin-bottom: 8px;
}

.so-example-meta {
  display: flex; gap: 12px; font-size: 11px; color: var(--text-tertiary);
}

/* ── SO Responsive ── */
@media (max-width: 900px) {
  .so-occasions-grid { grid-template-columns: repeat(2, 1fr); }
  .so-form-container { grid-template-columns: 1fr; }
  .so-form-row { grid-template-columns: 1fr; }
  .so-delivery-options { grid-template-columns: 1fr; }
  .so-examples-grid { grid-template-columns: repeat(2, 1fr); }
  .so-hero { padding: 32px 24px; }
  .so-hero-title { font-size: 24px; }
  .so-hero-stats { gap: 24px; }
}

@media (max-width: 600px) {
  .so-occasions-grid { grid-template-columns: 1fr; }
  .so-examples-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════
   SHOP — Autographed Merch & Collectibles
   ═══════════════════════════════════════════════════════ */

.shop-page { max-width: 1100px; margin: 0 auto; }

.shop-hero {
  position: relative;
  background: linear-gradient(135deg, #2A0E0E 0%, #3D1313 40%, #5A1A1A 100%);
  border-radius: var(--radius-xl);
  padding: 48px 40px; margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid rgba(220, 53, 69, 0.2);
}

.shop-hero-glow {
  position: absolute; top: -60px; right: -60px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(220, 53, 69, 0.2) 0%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite;
}

.shop-hero-content { position: relative; z-index: 1; }

.shop-hero-badge {
  display: inline-block; padding: 5px 14px;
  background: rgba(220, 53, 69, 0.15);
  border: 1px solid rgba(220, 53, 69, 0.3);
  border-radius: var(--radius-full);
  color: #FF6B7A; font-size: var(--font-size-sm); font-weight: 600; margin-bottom: 16px;
}

.shop-hero-title {
  font-size: 32px; font-weight: 800; color: #fff;
  letter-spacing: -1px; margin-bottom: 12px; line-height: 1.2;
}

.shop-hero-title .highlight {
  background: linear-gradient(135deg, #FF6B7A, #FFB3BA);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.shop-hero-subtitle {
  font-size: var(--font-size-md); color: rgba(255,255,255,0.7);
  line-height: 1.6; max-width: 640px;
}

.shop-hero-stats { display: flex; gap: 40px; margin-top: 32px; position: relative; z-index: 1; }

/* ── Filter Bar ── */
.shop-filter-bar {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 10px 16px;
  margin-bottom: 24px; box-shadow: var(--shadow-xs);
}

.shop-filter-tabs { display: flex; gap: 4px; }

.shop-filter {
  padding: 8px 16px; background: transparent;
  color: var(--text-secondary); font-weight: 600; font-size: var(--font-size-sm);
  border-radius: var(--radius-md); transition: all var(--transition-fast);
}

.shop-filter:hover { background: var(--bg-tertiary); }
.shop-filter.active { background: var(--bg-tertiary); color: var(--text-primary); }

.shop-cart-toggle {
  padding: 8px 16px; background: var(--bg-tertiary);
  border-radius: var(--radius-md); font-size: var(--font-size-sm);
  font-weight: 600; color: var(--text-primary);
  cursor: pointer; display: flex; align-items: center; gap: 8px;
  transition: all var(--transition-fast);
}

.shop-cart-toggle:hover { background: var(--border-light); }

.shop-cart-count {
  background: #DC3545; color: #fff;
  min-width: 20px; height: 20px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}

/* ── Product Cards ── */
.shop-products-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px;
}

.shop-product-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-xl); overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.shop-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.shop-product-card.hidden { display: none; }

.shop-product-img {
  position: relative; width: 100%; aspect-ratio: 4/3;
  background: var(--bg-tertiary); overflow: hidden;
}

.shop-product-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}

.shop-product-card:hover .shop-product-img img { transform: scale(1.05); }

.shop-product-badges {
  position: absolute; top: 10px; left: 10px;
  display: flex; flex-direction: column; gap: 6px;
}

.shop-badge-signed {
  padding: 3px 10px; background: rgba(220, 53, 69, 0.9);
  color: #fff; font-size: 10px; font-weight: 700;
  border-radius: var(--radius-full); backdrop-filter: blur(4px);
}

.shop-badge-limited {
  padding: 3px 10px; background: rgba(0,0,0,0.75);
  color: #FFB347; font-size: 10px; font-weight: 700;
  border-radius: var(--radius-full); backdrop-filter: blur(4px);
}

.shop-product-info { padding: 20px; }

.shop-product-info h4 {
  font-size: var(--font-size-md); font-weight: 700;
  color: var(--text-primary); margin-bottom: 8px;
}

.shop-product-desc {
  font-size: var(--font-size-xs); color: var(--text-tertiary);
  line-height: 1.5; margin-bottom: 16px;
}

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

.shop-product-price {
  font-size: 24px; font-weight: 800; color: var(--text-primary); letter-spacing: -0.5px;
}

.shop-add-btn {
  padding: 10px 18px;
  background: linear-gradient(135deg, #DC3545, #FF6B7A);
  color: #fff; font-weight: 700; font-size: var(--font-size-sm);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.shop-add-btn:hover { transform: scale(1.05); box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3); }

.shop-add-btn.added {
  background: var(--success); pointer-events: none;
}

/* ── Info Bar ── */
.shop-info-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 40px;
}

.shop-info-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 16px;
  font-size: var(--font-size-sm); color: var(--text-secondary); font-weight: 500;
}

.shop-info-item span { font-size: 20px; }

/* ── Cart Drawer ── */
.shop-cart-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}

.shop-cart-overlay.active { opacity: 1; pointer-events: all; }

.shop-cart-drawer {
  position: absolute; top: 0; right: -420px;
  width: 400px; max-width: 90vw; height: 100vh;
  background: var(--bg-card); border-left: 1px solid var(--border-light);
  box-shadow: -8px 0 32px rgba(0,0,0,0.2);
  display: flex; flex-direction: column;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.shop-cart-overlay.active .shop-cart-drawer { right: 0; }

.shop-cart-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px; border-bottom: 1px solid var(--border-light);
}

.shop-cart-header h3 { font-size: var(--font-size-lg); font-weight: 700; color: var(--text-primary); }

.shop-cart-close {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-tertiary); color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: all var(--transition-fast);
}

.shop-cart-close:hover { background: var(--border-light); }

.shop-cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; }

.shop-cart-empty {
  text-align: center; padding: 48px 0;
  color: var(--text-tertiary);
}

.shop-cart-empty span { font-size: 48px; display: block; margin-bottom: 12px; }

.shop-cart-item {
  display: flex; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.shop-cart-item-img {
  width: 60px; height: 60px; border-radius: var(--radius-md);
  background: var(--bg-tertiary); overflow: hidden; flex-shrink: 0;
}

.shop-cart-item-img img { width: 100%; height: 100%; object-fit: cover; }

.shop-cart-item-info { flex: 1; }

.shop-cart-item-name {
  font-size: var(--font-size-sm); font-weight: 600; color: var(--text-primary);
}

.shop-cart-item-price {
  font-size: var(--font-size-sm); font-weight: 700; color: var(--text-primary); margin-top: 4px;
}

.shop-cart-item-remove {
  padding: 4px 8px; font-size: 11px; color: #DC3545;
  background: rgba(220, 53, 69, 0.1); border-radius: var(--radius-sm);
  cursor: pointer; transition: all var(--transition-fast); margin-top: 4px;
  display: inline-block;
}

.shop-cart-item-remove:hover { background: rgba(220, 53, 69, 0.2); }

.shop-cart-footer {
  padding: 20px 24px; border-top: 1px solid var(--border-light);
}

.shop-cart-total {
  display: flex; justify-content: space-between; align-items: center;
  font-size: var(--font-size-lg); font-weight: 800; color: var(--text-primary);
  margin-bottom: 16px;
}

/* ── Shop Responsive ── */
@media (max-width: 900px) {
  .shop-products-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-info-bar { grid-template-columns: repeat(2, 1fr); }
  .shop-filter-bar { flex-direction: column; gap: 8px; }
  .shop-hero { padding: 32px 24px; }
  .shop-hero-title { font-size: 24px; }
  .shop-hero-stats { gap: 24px; }
}

@media (max-width: 600px) {
  .shop-products-grid { grid-template-columns: 1fr; }
  .shop-info-bar { grid-template-columns: 1fr; }
}
