/* Crack Ah Dawn (CAD) Wellness Club - Official Website & Portal Styles */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Syne:wght@700;800&display=swap');

:root {
  --bg-dark: #0a0c0e;
  --bg-primary: #0f1317;
  --bg-secondary: #151a20;
  --bg-card: #1b2129;
  --bg-card-elevated: #222a34;
  --bg-glass: rgba(21, 26, 32, 0.75);
  
  --brand-red: #ff3b19;
  --brand-orange: #ff5e1a;
  --brand-amber: #ff9500;
  --brand-gold: #ffbe1a;
  --brand-gradient: linear-gradient(135deg, #ff3b19 0%, #ff6a1a 50%, #ff9f1c 100%);
  --brand-glow: rgba(255, 94, 26, 0.25);
  --brand-glow-strong: rgba(255, 94, 26, 0.45);
  
  --corner-move: #ff5722;
  --corner-connect: #38bdf8;
  --corner-learn: #a855f7;
  --corner-giveback: #10b981;

  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-highlight: #ffbe1a;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 110, 30, 0.35);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(255, 94, 26, 0.25);
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #1c1410 0%, #0d0f12 45%, #08090a 100%);
  position: relative;
}

/* Background atmospheric glow */
body::before {
  content: '';
  position: fixed;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 94, 26, 0.12) 0%, rgba(255, 149, 0, 0.04) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, .brand-font {
  font-family: 'Syne', 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.02em;
  font-weight: 800;
  line-height: 1.15;
}

.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* HEADER & NAVBAR */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(10, 12, 14, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(255, 94, 26, 0.4));
  transition: transform 0.3s ease;
}

.logo-group:hover .logo-img {
  transform: rotate(-4deg) scale(1.05);
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1;
}

.brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--brand-amber);
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brand-gradient);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 700;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 4px 18px rgba(255, 94, 26, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 94, 26, 0.5);
  color: #fff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-portal {
  background: linear-gradient(135deg, rgba(255, 94, 26, 0.18), rgba(255, 149, 0, 0.1));
  color: #ff9f1c;
  border: 1px solid rgba(255, 149, 0, 0.35);
  position: relative;
}

.btn-portal:hover {
  background: linear-gradient(135deg, rgba(255, 94, 26, 0.28), rgba(255, 149, 0, 0.2));
  color: #fff;
  border-color: #ff9f1c;
  transform: translateY(-2px);
}

.btn-portal .badge-pulse {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 10px;
  height: 10px;
  background: #ff3b19;
  border-radius: 50%;
  box-shadow: 0 0 10px #ff3b19;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.82rem;
}

/* MOBILE TOGGLE */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 24px;
  cursor: pointer;
}

.mobile-toggle span {
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* SECTION TABS (PUBLIC SITE VS PORTAL) */
.view-switcher-bar {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 0;
}

.switcher-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.switch-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  transition: var(--transition);
}

.switch-pill.active {
  background: rgba(255, 94, 26, 0.15);
  border-color: rgba(255, 94, 26, 0.35);
  color: #fff;
}

.switch-pill svg {
  width: 16px;
  height: 16px;
}

/* HERO SECTION */
.hero {
  padding: 80px 0 60px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 94, 26, 0.1);
  border: 1px solid rgba(255, 94, 26, 0.25);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-amber);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: #ff5e1a;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 580px;
  line-height: 1.6;
}

.hero-motto-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 32px;
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-motto-strip span {
  color: var(--brand-amber);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

/* COUNTDOWN CARD */
.hero-countdown-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.hero-countdown-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-gradient);
}

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

.countdown-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

.countdown-status {
  font-size: 0.75rem;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.timer-units {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  text-align: center;
}

.timer-unit {
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  padding: 10px 4px;
  border: 1px solid var(--border-subtle);
}

.timer-num {
  font-size: 1.8rem;
  font-weight: 800;
  font-family: 'Syne', sans-serif;
  color: #fff;
  line-height: 1.1;
}

.timer-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* HERO VISUAL COLUMN */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 94, 26, 0.28) 0%, rgba(255, 165, 0, 0.08) 60%, transparent 80%);
  filter: blur(40px);
  z-index: 0;
}

.hero-card-showcase {
  position: relative;
  z-index: 1;
  background: linear-gradient(145deg, rgba(30, 37, 46, 0.9), rgba(18, 22, 28, 0.95));
  border: 1px solid rgba(255, 94, 26, 0.3);
  border-radius: var(--radius-xl);
  padding: 36px;
  width: 100%;
  max-width: 440px;
  text-align: center;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 94, 26, 0.15);
  backdrop-filter: blur(12px);
}

.hero-main-logo {
  max-height: 250px;
  margin: 0 auto 24px;
  filter: drop-shadow(0 10px 20px rgba(255, 94, 26, 0.35));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.cad-code-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 16px;
}

.hero-quote {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}

.hero-quick-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
}

.h-stat-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand-amber);
  font-family: 'Syne', sans-serif;
}

.h-stat-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

/* SECTION STYLING */
.section {
  padding: 90px 0;
  position: relative;
}

.section-alt {
  background: rgba(15, 19, 23, 0.5);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-orange);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* FOUR CORNERSTONES */
.cornerstones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.cornerstone-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cornerstone-card:hover {
  transform: translateY(-6px);
  border-color: var(--card-accent, var(--brand-orange));
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 94, 26, 0.15);
}

.cornerstone-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-accent, var(--brand-orange));
}

.card-num {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--card-accent, var(--brand-orange));
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.corner-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--card-accent, var(--brand-orange));
}

.corner-icon-box svg {
  width: 28px;
  height: 28px;
}

.corner-title {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.corner-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.corner-list {
  list-style: none;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
  margin-top: auto;
}

.corner-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.corner-list li::before {
  content: '•';
  color: var(--card-accent, var(--brand-orange));
  font-size: 1.2rem;
  line-height: 1;
}

/* CODE CALLOUT STRIP */
.code-callout-strip {
  margin-top: 48px;
  background: linear-gradient(90deg, rgba(255, 94, 26, 0.12), rgba(255, 149, 0, 0.06));
  border: 1px solid rgba(255, 94, 26, 0.25);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.callout-content h4 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 4px;
}

.callout-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ORIGIN STORY SECTION */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.story-lead {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.5;
}

.story-body p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 16px;
  line-height: 1.7;
}

.story-quote-card {
  background: var(--bg-card);
  border-left: 4px solid var(--brand-orange);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin-top: 24px;
  font-style: italic;
  color: #fff;
}

.story-visual-stack {
  position: relative;
}

.story-visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.story-img-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.story-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.story-visual-card:hover .story-img-container img {
  transform: scale(1.03);
}

.story-caption-box {
  padding: 24px;
  border-top: 1px solid var(--border-subtle);
}

.story-tagline {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-amber);
  font-weight: 800;
  margin-bottom: 6px;
}

.story-caption-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* 6-WEEK PROGRAMMING RHYTHM */
.calendar-rhythm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.week-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.week-card:hover {
  transform: translateY(-4px);
  border-color: var(--week-color, var(--brand-orange));
}

.week-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--week-color, var(--brand-orange));
}

.week-pill {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.week-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #fff;
}

.week-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* SIGNATURE EVENTS GRID */
.signature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.signature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.sig-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 94, 26, 0.12);
  color: var(--brand-amber);
  margin-bottom: 16px;
}

.sig-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.sig-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.sig-charity-tag {
  margin-top: auto;
  font-size: 0.8rem;
  color: #34d399;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

/* MEMBERSHIP PATHWAY */
.membership-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
}

.step-num-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 800;
  font-family: 'Syne', sans-serif;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(255, 94, 26, 0.35);
}

.step-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.merch-aspiration-box {
  background: linear-gradient(135deg, rgba(27, 33, 41, 0.9), rgba(34, 42, 52, 0.9));
  border: 1px solid rgba(255, 190, 26, 0.3);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.merch-content h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.merch-content p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  margin-bottom: 20px;
}

.merch-badge-quote {
  font-size: 0.9rem;
  color: var(--brand-gold);
  font-weight: 700;
  border-left: 2px solid var(--brand-gold);
  padding-left: 14px;
}

.merch-visual {
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  border: 1px solid var(--border-subtle);
}

.merch-status-pill {
  display: inline-block;
  background: rgba(255, 190, 26, 0.15);
  color: #ffbe1a;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 14px;
}

/* FOUNDING COUNCIL */
.council-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.council-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.council-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 94, 26, 0.35);
  background: var(--bg-card-elevated);
}

.council-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 94, 26, 0.2), rgba(255, 190, 26, 0.1));
  border: 2px solid rgba(255, 94, 26, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brand-amber);
  flex-shrink: 0;
}

.council-info h4 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.council-role {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.council-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* PARTNERS & SPONSORSHIP */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.partner-tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: var(--transition);
}

.partner-tier-card:hover {
  border-color: rgba(255, 94, 26, 0.35);
}

.partner-tier-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.partner-tier-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.5;
}

.partner-features {
  list-style: none;
}

.partner-features li {
  font-size: 0.85rem;
  color: var(--text-main);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.partner-features li svg {
  color: var(--brand-amber);
  flex-shrink: 0;
}

/* =========================================================================
   MEMBER PORTAL VIEW (INTERACTIVE PASS-PORT & TOOLS)
   ========================================================================= */
.portal-section {
  display: none; /* toggled via JS */
  padding: 40px 0 80px;
}

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

.portal-banner {
  background: linear-gradient(135deg, rgba(255, 94, 26, 0.15), rgba(20, 25, 32, 0.85));
  border: 1px solid rgba(255, 94, 26, 0.3);
  border-radius: var(--radius-xl);
  padding: 32px;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.portal-user-profile {
  display: flex;
  align-items: center;
  gap: 20px;
}

.user-avatar-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  border: 3px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(255, 94, 26, 0.4);
}

.user-meta h3 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.user-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.user-stats-bar {
  display: flex;
  gap: 24px;
}

.stat-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  text-align: center;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-amber);
  font-family: 'Syne', sans-serif;
  line-height: 1.1;
}

.stat-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* PORTAL TABS */
.portal-nav-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  overflow-x: auto;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-subtle);
}

.portal-tab-btn {
  padding: 10px 20px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: transparent;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.portal-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.portal-tab-btn.active {
  color: #fff;
  background: var(--bg-card);
  border-bottom: 2px solid var(--brand-orange);
}

/* PORTAL TAB CONTENT */
.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* PASSPORT & BADGES GRID */
.badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.badge-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.badge-card.unlocked {
  border-color: rgba(255, 149, 0, 0.35);
  background: linear-gradient(180deg, rgba(34, 42, 52, 0.6) 0%, var(--bg-card) 100%);
}

.badge-card.locked {
  opacity: 0.6;
  filter: grayscale(0.7);
}

.badge-icon-wrap {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  position: relative;
}

.badge-card.unlocked .badge-icon-wrap {
  background: var(--brand-gradient);
  box-shadow: 0 4px 18px rgba(255, 94, 26, 0.4);
}

.badge-icon-wrap svg {
  width: 32px;
  height: 32px;
  color: #fff;
}

.badge-name {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.badge-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 12px;
}

.badge-status {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: var(--radius-full);
}

.badge-card.unlocked .badge-status {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.badge-card.locked .badge-status {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

/* LEADERBOARD */
.leaderboard-table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.leaderboard-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.leaderboard-filter-btns {
  display: flex;
  gap: 8px;
}

.lb-filter-btn {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

.lb-filter-btn.active {
  background: var(--brand-orange);
  color: #fff;
}

.lb-table {
  width: 100%;
  border-collapse: collapse;
}

.lb-table th {
  padding: 12px 24px;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.lb-table td {
  padding: 16px 24px;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.lb-rank {
  font-weight: 800;
  font-family: 'Syne', sans-serif;
  color: var(--brand-amber);
}

.lb-member {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.lb-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
}

.rank-1 .lb-avatar {
  background: var(--brand-gradient);
  color: #fff;
}

/* STRETCH ROUTINE WIDGET */
.stretch-widget-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.stretch-display-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  text-align: center;
  position: relative;
}

.timer-circle-wrap {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 24px;
}

.timer-svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.timer-circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 8;
}

.timer-circle-progress {
  fill: none;
  stroke: var(--brand-orange);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 502;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s linear;
}

.timer-center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.stretch-sec-num {
  font-size: 2.4rem;
  font-weight: 800;
  font-family: 'Syne', sans-serif;
  color: #fff;
  line-height: 1;
}

.stretch-sec-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.stretch-exercise-name {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.stretch-exercise-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  min-height: 48px;
}

.stretch-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.routine-list-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 24px;
}

.routine-list-box h4 {
  font-size: 1.15rem;
  margin-bottom: 16px;
}

.routine-step-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.routine-step-item.active {
  background: rgba(255, 94, 26, 0.12);
  border-color: rgba(255, 94, 26, 0.3);
}

.routine-step-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* CALORIE & HYDRATION CALCULATOR */
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.calc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
}

.calc-form-group {
  margin-bottom: 20px;
}

.calc-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.calc-input, .calc-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.calc-input:focus, .calc-select:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: 0 0 10px rgba(255, 94, 26, 0.25);
}

.calc-results-card {
  background: linear-gradient(145deg, var(--bg-card), var(--bg-card-elevated));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calc-result-display {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.res-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
}

.res-num {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: 'Syne', sans-serif;
  color: var(--brand-amber);
  line-height: 1.1;
}

.res-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 6px;
}

.climate-tip-box {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-md);
  padding: 16px;
  font-size: 0.85rem;
  color: #bae6fd;
  line-height: 1.5;
}

/* SPONSOR DEALS VAULT */
.perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.perk-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.perk-brand {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--brand-orange);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.perk-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.perk-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  flex-grow: 1;
}

.perk-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.4);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}

.code-text {
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--brand-gold);
}

.copy-btn {
  font-size: 0.75rem;
  color: #fff;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.copy-btn:hover {
  background: var(--brand-orange);
}

/* MODALS */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

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

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  transition: var(--transition);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.modal-title {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.modal-sub {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--brand-orange);
}

.form-input.input-error, .form-textarea.input-error, .form-select.input-error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25) !important;
  animation: fieldShake 0.35s ease;
}

@keyframes fieldShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}

.form-error-hint {
  color: #ef4444;
  font-size: 0.78rem;
  margin-top: 5px;
  font-weight: 600;
  display: block;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.form-checkbox-label input {
  margin-top: 3px;
}

/* FOOTER */
.footer {
  background: #08090b;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin: 16px 0 20px;
  max-width: 320px;
}

.footer-col h5 {
  font-size: 0.95rem;
  margin-bottom: 18px;
  color: #fff;
  letter-spacing: 0.04em;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--brand-amber);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* TOAST NOTIFICATION */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--bg-card);
  border: 1px solid var(--brand-orange);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .hero-grid, .story-grid, .merch-aspiration-box, .stretch-widget-grid, .calc-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn-primary {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-menu-active .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    padding: 24px;
    border-bottom: 1px solid var(--border-subtle);
    gap: 18px;
  }

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

  .portal-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .user-stats-bar {
    width: 100%;
    justify-content: space-between;
  }
}

/* =========================================================================
   MEMBER REGISTRATION WIZARD & DIGITAL ID CARD STYLES
   ========================================================================= */

/* Step wizard indicators */
.wizard-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  position: relative;
}

.wizard-steps::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border-subtle);
  transform: translateY(-50%);
  z-index: 0;
}

.wizard-step-node {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  transition: var(--transition);
}

.wizard-step-node.active {
  background: var(--brand-orange);
  border-color: #ffbe1a;
  color: #fff;
  box-shadow: 0 0 14px rgba(255, 94, 26, 0.4);
}

.wizard-step-node.completed {
  background: #10b981;
  border-color: #34d399;
  color: #fff;
}

.wizard-step-title {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.wizard-step-node.active .wizard-step-title {
  color: #fff;
}

.wizard-form-step {
  display: none;
}

.wizard-form-step.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

.wizard-nav-btns {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  gap: 12px;
}

/* DIGITAL MEMBERSHIP CARD */
.member-pass-modal-content {
  text-align: center;
}

.digital-card-wrapper {
  perspective: 1000px;
  margin: 20px auto 28px;
  max-width: 380px;
}

.cad-digital-card {
  background: linear-gradient(135deg, #1b2129 0%, #0d1014 100%);
  border: 1px solid rgba(255, 94, 26, 0.4);
  border-radius: 20px;
  padding: 24px;
  text-align: left;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 94, 26, 0.2);
  position: relative;
  overflow: hidden;
}

.cad-digital-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 149, 0, 0.15), transparent 70%);
  pointer-events: none;
}

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

.card-logo-mini {
  height: 38px;
  width: auto;
}

.card-id-num {
  font-family: monospace;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--brand-gold);
  font-weight: 700;
}

.card-member-name {
  font-size: 1.4rem;
  font-weight: 800;
  font-family: 'Syne', sans-serif;
  color: #fff;
  margin-bottom: 4px;
}

.card-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
}

.card-meta-item {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.card-meta-val {
  font-size: 0.88rem;
  color: #fff;
  font-weight: 700;
  margin-top: 2px;
}

.card-qr-box {
  background: #fff;
  padding: 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* TRIAL PROGRESS TRACKER */
.trial-banner-box {
  background: linear-gradient(135deg, rgba(255, 94, 26, 0.12), rgba(34, 42, 52, 0.7));
  border: 1px solid rgba(255, 94, 26, 0.35);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 28px;
  position: relative;
}

.trial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 10px;
}

.trial-progress-bar-wrap {
  width: 100%;
  height: 10px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 6px;
  overflow: hidden;
  margin: 10px 0;
  border: 1px solid var(--border-subtle);
}

.trial-progress-fill {
  height: 100%;
  background: var(--brand-gradient);
  border-radius: 6px;
  transition: width 0.4s ease;
  box-shadow: 0 0 10px rgba(255, 94, 26, 0.5);
}

.trial-sessions-checkpoints {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 700;
  margin-top: 4px;
}

.council-action-strip {
  background: rgba(0, 0, 0, 0.3);
  border: 1px dashed rgba(255, 190, 26, 0.4);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================================================================
   AUTHENTICATION & NAVIGATION STATE STYLES (NO MEMBER SWITCHER)
   ========================================================================= */

.auth-nav-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-admin-nav {
  background: rgba(255, 190, 26, 0.12);
  color: var(--brand-gold);
  border: 1px solid rgba(255, 190, 26, 0.35);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.btn-admin-nav:hover {
  background: rgba(255, 190, 26, 0.25);
  border-color: var(--brand-gold);
  color: #fff;
  box-shadow: 0 0 12px rgba(255, 190, 26, 0.25);
}

.btn-logout-nav {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-logout-nav:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.nav-user-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 4px 12px 4px 6px;
  border-radius: var(--radius-full);
}

.user-chip-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-chip-avatar.admin-avatar {
  background: linear-gradient(135deg, #ffbe1a, #f97316);
  color: #000;
}

.user-chip-info {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.user-chip-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
}

.user-chip-badge {
  font-size: 0.65rem;
  color: var(--brand-gold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}

/* PORTAL GUEST GATEWAY CARD */
.portal-guest-gate {
  background: linear-gradient(180deg, rgba(30, 24, 20, 0.85) 0%, rgba(18, 14, 12, 0.95) 100%);
  border: 1px solid rgba(255, 190, 26, 0.25);
  border-radius: var(--radius-xl);
  padding: 44px 28px;
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.portal-gate-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 94, 26, 0.15);
  border: 1px solid rgba(255, 94, 26, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-orange);
  margin-bottom: 18px;
}

.portal-gate-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.portal-gate-sub {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto 24px;
}

.portal-gate-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* QUICK DEMO LOGIN CHIPS */
.demo-chip-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  margin-bottom: 16px;
}

.demo-chip-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.demo-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.demo-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.demo-chip:hover {
  background: rgba(255, 94, 26, 0.15);
  border-color: rgba(255, 94, 26, 0.35);
  color: #fff;
}

/* ADMIN BADGES & ROLES */
.admin-perm-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.admin-perm-badge.super_admin {
  background: rgba(255, 190, 26, 0.2);
  color: #ffbe1a;
  border: 1px solid rgba(255, 190, 26, 0.4);
}

.admin-perm-badge.admin {
  background: rgba(56, 189, 248, 0.18);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

/* =========================================================================
   COUNCIL ADMIN & BACK-END ROSTER STYLES
   ========================================================================= */

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.admin-kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.admin-kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--kpi-accent, var(--brand-orange));
}

.admin-kpi-val {
  font-size: 2rem;
  font-weight: 800;
  font-family: 'Syne', sans-serif;
  color: #fff;
  line-height: 1.1;
}

.admin-kpi-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.admin-toolbar {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.admin-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-grow: 1;
  max-width: 400px;
}

.admin-search-input {
  width: 100%;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-size: 0.88rem;
}

.admin-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow-x: auto;
}

.admin-data-table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
}

.admin-data-table th {
  padding: 14px 18px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
}

.admin-data-table td {
  padding: 14px 18px;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.admin-data-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.status-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.status-tag.full {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.status-tag.prospect {
  background: rgba(255, 190, 26, 0.15);
  color: #ffbe1a;
}

.status-tag.review {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}

.action-pill-btn {
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.action-pill-btn.approve {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.action-pill-btn.approve:hover {
  background: #10b981;
  color: #fff;
}

.action-pill-btn.dossier {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid var(--border-subtle);
}

.action-pill-btn.dossier:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* =========================================================================
   12. UPCOMING EVENTS, ATTENDEE CHIPS & RSVP SYSTEM
   ========================================================================= */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.event-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 94, 26, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.event-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-gold));
}

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

.event-type-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 94, 26, 0.15);
  color: var(--brand-orange-light);
  border: 1px solid rgba(255, 94, 26, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.diff-pill {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.diff-pill.beginner {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.diff-pill.moderate {
  background: rgba(255, 190, 26, 0.15);
  color: #ffbe1a;
  border: 1px solid rgba(255, 190, 26, 0.3);
}

.diff-pill.high {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.event-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 10px;
}

.event-meta-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.event-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.event-meta-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--brand-orange);
}

.event-meeting-highlight {
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--brand-orange);
  padding: 8px 12px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 10px 0 14px;
  font-size: 0.82rem;
  color: #e2e8f0;
}

.event-meeting-highlight strong {
  color: #fff;
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

/* Confirmed Attendees (First Name Only) */
.attendees-section {
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
  margin-top: 14px;
}

.attendees-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 10px;
}

.attendees-count-badge {
  background: rgba(255, 94, 26, 0.2);
  color: var(--brand-orange-light);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 800;
}

.attendees-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
  max-height: 110px;
  overflow-y: auto;
}

.attendee-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px 4px 6px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  color: #f1f5f9;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.attendee-chip:hover {
  background: rgba(255, 94, 26, 0.18);
  border-color: rgba(255, 94, 26, 0.4);
}

.attendee-avatar-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-gold));
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

.attendee-first-name {
  font-weight: 600;
}

/* Event RSVP Action Buttons */
.event-actions-bar {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.btn-rsvp-going {
  flex: 1;
  padding: 9px 14px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-rsvp-going:hover, .btn-rsvp-going.active {
  background: #10b981;
  color: #fff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.btn-rsvp-decline {
  padding: 9px 12px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.btn-rsvp-decline:hover, .btn-rsvp-decline.active {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.4);
}

/* =========================================================================
   13. AUTOMATICALLY BRANDED COMMUNITY PHOTO GALLERY
   ========================================================================= */
.cad-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0f1317;
  border: 1px solid var(--border-subtle);
  aspect-ratio: 1 / 1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-orange);
  box-shadow: 0 14px 30px rgba(255, 94, 26, 0.25);
}

.gallery-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-card:hover .gallery-card-img {
  transform: scale(1.04);
}

/* AUTOMATIC CRACK AH DAWN EMBOSSED BRAND WATERMARK */
.cad-photo-brand-watermark {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: rgba(10, 12, 14, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 190, 26, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  z-index: 2;
  pointer-events: none;
}

.cad-watermark-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: drop-shadow(0 0 2px rgba(255, 94, 26, 0.6));
}

.cad-watermark-text {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  white-space: nowrap;
}

.cad-watermark-text span {
  color: var(--brand-gold);
}

/* Gallery Hover Overlay */
.gallery-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(10,12,14,0.1) 0%, rgba(10,12,14,0.88) 75%);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 1;
}

.gallery-card:hover .gallery-card-overlay {
  opacity: 1;
}

.gallery-caption {
  font-size: 0.85rem;
  color: #fff;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.3;
}

.gallery-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--brand-orange-light);
  font-weight: 600;
}

/* =========================================================================
   14. MEMBER PRIVATE PROFILE & PROGRESS METERS
   ========================================================================= */
.profile-overview-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.progress-milestone-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-top: 16px;
}

.progress-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.progress-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.progress-meter-track {
  height: 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
  margin: 10px 0;
}

.progress-meter-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-gold));
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px rgba(255, 94, 26, 0.5);
}

.progress-meter-fill.green {
  background: linear-gradient(90deg, #10b981, #34d399);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.progress-subtext {
  font-size: 0.78rem;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
}

/* =========================================================================
   15. PHOTO UPLOAD & WATERMARK PREVIEW
   ========================================================================= */
.upload-dropzone {
  border: 2px dashed rgba(255, 94, 26, 0.4);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  background: rgba(255, 94, 26, 0.03);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.upload-dropzone:hover, .upload-dropzone.dragover {
  border-color: var(--brand-orange);
  background: rgba(255, 94, 26, 0.08);
}

.upload-preview-container {
  margin-top: 18px;
  position: relative;
  display: inline-block;
  max-width: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.upload-preview-img {
  width: 100%;
  display: block;
}

/* =========================================================================
   16. ADMIN CONSOLE SUB-NAVIGATION & MODERATION
   ========================================================================= */
.admin-subnav {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 22px;
  padding-bottom: 12px;
  overflow-x: auto;
}

.admin-subtab-btn {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.admin-subtab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.admin-subtab-btn.active {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 94, 26, 0.35);
}

.admin-subtab-pane {
  display: none;
}

.admin-subtab-pane.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.photo-mod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 18px;
}

.photo-mod-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.photo-mod-thumb-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #000;
}

.photo-mod-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-mod-body {
  padding: 14px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.btn-increment-attendance {
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-increment-attendance:hover {
  background: #38bdf8;
  color: #000;
}
