/* =========================================================
   SMILES FOR BIKERS — Access Life America Fundraiser
   Design: Bold Road + Hope — Industrial chrome meets warm gold,
   with the gold ribbon of childhood cancer awareness.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Source+Sans+3:ital,wght@0,300;0,400;0,600;1,400&family=Bebas+Neue&display=swap');

/* ─── CSS Variables ─────────────────────────────────────── */
:root {
  /* Primary — warm yellow #F1E166 and neighbors */
  --ala-teal:        #8B7D2E;   /* olive-gold: replaces teal for links/CTAs */
  --ala-teal-dark:   #6B5F20;   /* dark olive: hover/active states */
  --ala-teal-light:  #B8A84A;   /* mid olive: light accents */
  --ala-orange:      #E8A838;   /* warm amber: replaces orange accent */
  --ala-orange-dark: #C98A20;   /* dark amber */

  /* Biker palette — keep blacks/chromes */
  --chrome:          #C8D0D8;
  --chrome-dark:     #8A9199;
  --asphalt:         #1A1C1E;   /* unchanged per request */
  --asphalt-mid:     #2C2F33;
  --asphalt-light:   #3D4147;

  /* Primary yellow — #F1E166 palette */
  --gold:            #F1E166;   /* primary: warm yellow */
  --gold-dark:       #D4C347;   /* darker: hover buttons, borders */
  --gold-light:      #F7EB8A;   /* lighter: backgrounds, highlights */

  /* Accents */
  --red-hot:         #C0392B;
  --white:           #FFFFFF;
  --off-white:       #FAF9EE;   /* warm off-white matching yellow palette */
  --text-dark:       #1A1C1E;
  --text-mid:        #4A4E54;
  --text-light:      #7A7E84;
  --border:          #E8E4C8;   /* warm-tinted border */

  /* Fonts */
  --font-display:    'Bebas Neue', sans-serif;
  --font-heading:    'Oswald', sans-serif;
  --font-body:       'Source Sans 3', sans-serif;

  /* Spacing */
  --radius:          4px;
  --radius-lg:       8px;
  --shadow-sm:       0 2px 8px rgba(0,0,0,.12);
  --shadow-md:       0 4px 20px rgba(0,0,0,.15);
  --shadow-lg:       0 8px 40px rgba(0,0,0,.2);
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--off-white);
  line-height: 1.6;
}

a { color: var(--ala-teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ala-teal-dark); }
img { max-width: 100%; height: auto; display: block; }

/* ─── Top Bar ───────────────────────────────────────────── */
.top-bar {
  background: var(--asphalt);
  color: var(--chrome);
  font-size: .78rem;
  font-family: var(--font-heading);
  letter-spacing: .05em;
  padding: .4rem 0;
  border-bottom: 2px solid var(--gold);
}
.top-bar-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
}
.top-bar a { color: var(--chrome); }
.top-bar a:hover { color: var(--gold); }

/* ─── Header / Nav ──────────────────────────────────────── */
header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky; top: 0; z-index: 1000;
  border-bottom: 3px solid var(--gold);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}

/* Logo */
.site-logo {
  display: flex; align-items: center; gap: .75rem;
  text-decoration: none;
}
.header-s4b-logo {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}
.logo-badge {
  background: var(--ala-teal);
  color: var(--white);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: .02em;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; }
.logo-title {
  font-family: var(--font-heading);
  font-weight: 700; font-size: 1.1rem;
  color: var(--ala-teal-dark);
  line-height: 1.1; letter-spacing: .03em;
  text-transform: uppercase;
}
.logo-sub {
  font-size: .7rem; color: var(--text-light);
  letter-spacing: .08em; text-transform: uppercase;
}

/* Nav */
nav { display: flex; align-items: center; gap: .25rem; }
.nav-link {
  font-family: var(--font-heading);
  font-weight: 500; font-size: .9rem;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-dark);
  padding: .5rem .85rem;
  border-radius: var(--radius);
  transition: all .2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--ala-teal);
  background: rgba(139,125,46,.1);
}
.nav-cta {
  background: var(--gold);
  color: var(--asphalt) !important;
  font-weight: 700;
  padding: .5rem 1.2rem;
  border-radius: 2px;
  transition: all .2s;
}
.nav-cta:hover { background: var(--gold-dark); transform: translateY(-1px); }
.nav-register {
  background: var(--ala-teal);
  color: var(--white) !important;
  font-weight: 700;
  padding: .5rem 1.2rem;
  border-radius: 2px;
  margin-left: .25rem;
}
.nav-register:hover { background: var(--asphalt-mid); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span {
  display: block; width: 25px; height: 2px;
  background: var(--asphalt); border-radius: 2px; transition: all .3s;
}

/* ─── Hero Section ──────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--asphalt);
  min-height: 580px;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(139,125,46,.75) 0%, rgba(26,28,30,.97) 60%),
    repeating-linear-gradient(
      -45deg,
      transparent, transparent 40px,
      rgba(245,197,24,.03) 40px, rgba(245,197,24,.03) 41px
    );
}
.hero-road {
  position: absolute; bottom: 0; left: 0; right: 0; height: 80px;
  background: linear-gradient(to top, rgba(0,0,0,.4), transparent);
}
.hero-road::before {
  content: '';
  position: absolute; bottom: 20px; left: 0; right: 0; height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0px, var(--gold) 60px,
    transparent 60px, transparent 110px
  );
  opacity: .6;
}

.hero-inner {
  max-width: 1200px; margin: 0 auto; padding: 5rem 1.5rem;
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: center;
}
.hero-content {}
.hero-ribbon {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--gold);
  color: var(--asphalt);
  font-family: var(--font-heading);
  font-weight: 700; font-size: .75rem;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 2px; margin-bottom: 1.25rem;
}
.hero-ribbon svg { width: 14px; height: 14px; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--white);
  line-height: .95;
  letter-spacing: .02em;
  margin-bottom: 1rem;
}
.hero-title span { color: var(--gold); }

.hero-tagline {
  font-size: 1.15rem; color: var(--chrome);
  margin-bottom: 1.5rem; line-height: 1.5;
  font-weight: 300;
}
.hero-tagline strong { color: var(--gold); font-weight: 600; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }

.btn {
  font-family: var(--font-heading);
  font-weight: 600; font-size: .95rem;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .75rem 1.75rem;
  border-radius: 2px;
  border: none; cursor: pointer;
  transition: all .2s;
  display: inline-flex; align-items: center; gap: .5rem;
  text-decoration: none;
}
.btn-gold {
  background: var(--gold); color: var(--asphalt);
}
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--asphalt); }
.btn-teal {
  background: var(--ala-teal); color: var(--white);
}
.btn-teal:hover { background: var(--asphalt-mid); transform: translateY(-2px); color: var(--white); }
.btn-outline-white {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,.1); color: var(--white); }
.btn-outline-teal {
  background: transparent; color: var(--ala-teal-dark);
  border: 2px solid var(--ala-teal-dark);
}
.btn-outline-teal:hover { background: var(--ala-teal-dark); color: var(--gold-light); }
.btn-sm { padding: .45rem 1rem; font-size: .8rem; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn-danger { background: var(--red-hot); color: var(--white); }
.btn-danger:hover { background: #a93226; color: var(--white); }

/* Hero stats */
.hero-stats {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
}
.hero-stat {
  display: flex; flex-direction: column;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem; color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: .72rem; color: var(--chrome-dark);
  letter-spacing: .08em; text-transform: uppercase;
}

/* Hero visual panel */
.hero-visual {
  display: flex; flex-direction: column; gap: 1rem; align-items: flex-end;
}
.hero-event-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(245,197,24,.3);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: var(--white);
  width: 100%; max-width: 380px;
  backdrop-filter: blur(8px);
}
.event-card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
  border-bottom: 1px solid rgba(245,197,24,.3);
  padding-bottom: .75rem;
}
.event-detail {
  display: flex; gap: .75rem; align-items: flex-start;
  margin-bottom: .75rem; font-size: .95rem;
}
.event-detail-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.event-detail strong { display: block; color: var(--gold); font-size: .75rem;
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: .1rem; }

/* ─── Progress Bar ──────────────────────────────────────── */
.progress-bar-wrap {
  background: var(--asphalt-mid);
  padding: 1.25rem 0;
  border-bottom: 3px solid var(--gold);
}
.progress-bar-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
}
.progress-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: .6rem;
}
.progress-label {
  font-family: var(--font-heading);
  font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.8);
}
.progress-amount {
  font-family: var(--font-display);
  font-size: 1.4rem; color: var(--gold);
}
.progress-track {
  height: 12px; background: rgba(0,0,0,.3);
  border-radius: 6px; overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  border-radius: 6px;
  transition: width .8s ease;
  position: relative;
}
.progress-fill::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.3) 50%, transparent 100%);
  animation: shimmer 2s infinite;
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ─── Section Layout ────────────────────────────────────── */
.section { padding: 4rem 0; }
.section-alt { background: var(--white); }
.section-dark { background: var(--asphalt); color: var(--white); }
.section-teal { background: var(--asphalt-mid); color: var(--white); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 780px; margin: 0 auto; padding: 0 1.5rem; }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-eyebrow {
  font-family: var(--font-heading);
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ala-orange);
  margin-bottom: .4rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1; letter-spacing: .02em;
  color: var(--asphalt);
}
.section-dark .section-title { color: var(--white); }
.section-teal .section-title { color: var(--white); }
.section-title span { color: var(--ala-teal); }
.section-dark .section-title span { color: var(--gold); }
.section-lead {
  margin-top: .75rem; font-size: 1.05rem; color: var(--text-mid);
  max-width: 600px; margin-left: auto; margin-right: auto;
}
.section-dark .section-lead { color: var(--chrome); }
.section-teal .section-lead { color: rgba(255,255,255,.85); }

/* ─── Impact Stats ──────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}
.stat-card {
  text-align: center; padding: 2rem 1rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--gold);
  transition: transform .2s, box-shadow .2s;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-icon { font-size: 2rem; margin-bottom: .5rem; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.6rem; color: var(--ala-teal);
  line-height: 1;
}
.stat-label {
  font-size: .82rem; color: var(--text-light);
  letter-spacing: .06em; text-transform: uppercase;
  margin-top: .25rem;
}

/* ─── Leaderboard ───────────────────────────────────────── */
.leaderboard-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
}
.leaderboard-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.leaderboard-header {
  background: var(--asphalt);
  padding: 1rem 1.5rem;
  display: flex; align-items: center; gap: .75rem;
}
.leaderboard-header h3 {
  font-family: var(--font-heading);
  font-size: 1rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold); font-weight: 700;
}
.leaderboard-icon { font-size: 1.3rem; }

.leaderboard-list { list-style: none; }
.leaderboard-item {
  display: flex; align-items: center; gap: 1rem;
  padding: .85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.leaderboard-item:hover { background: rgba(139,125,46,.06); }
.leaderboard-item:last-child { border-bottom: none; }
.rank-badge {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: .85rem;
  flex-shrink: 0;
}
.rank-1 { background: var(--gold); color: var(--asphalt); }
.rank-2 { background: var(--chrome); color: var(--asphalt); }
.rank-3 { background: #cd7f32; color: var(--white); }
.rank-other { background: var(--border); color: var(--text-mid); }

.lb-biker { flex: 1; min-width: 0; }
.lb-biker-name {
  font-family: var(--font-heading); font-weight: 600;
  font-size: .95rem; color: var(--text-dark);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lb-biker-name a { color: inherit; }
.lb-biker-name a:hover { color: var(--ala-teal); }
.lb-biker-location { font-size: .75rem; color: var(--text-light); }
.lb-value {
  font-family: var(--font-display); font-size: 1.3rem;
  color: var(--ala-teal); flex-shrink: 0;
}

/* ─── Biker Cards ───────────────────────────────────────── */
.bikers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.biker-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.biker-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.biker-card-photo {
  height: 200px;
  background: var(--asphalt-light);
  position: relative; overflow: hidden;
}
.biker-card-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s;
}
.biker-card:hover .biker-card-photo img { transform: scale(1.05); }
.biker-card-photo-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; color: var(--asphalt-light); background: var(--chrome);
}
.biker-card-state {
  position: absolute; top: .75rem; right: .75rem;
  background: var(--asphalt);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: .75rem; font-weight: 700;
  letter-spacing: .05em; padding: .2rem .5rem;
  border-radius: 2px;
}
.biker-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.biker-card-name {
  font-family: var(--font-heading);
  font-size: 1.15rem; font-weight: 700;
  color: var(--text-dark); margin-bottom: .2rem;
}
.biker-card-bike { font-size: .82rem; color: var(--text-light); margin-bottom: 1rem; }
.biker-card-stats { display: flex; gap: 1rem; margin-top: auto; }
.biker-stat { flex: 1; text-align: center; }
.biker-stat-val {
  font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700;
  color: var(--ala-teal);
}
.biker-stat-key { font-size: .7rem; color: var(--text-light); text-transform: uppercase; }
.biker-card-footer {
  padding: .75rem 1.25rem;
  background: var(--off-white);
  border-top: 1px solid var(--border);
}

/* ─── Profile Page ──────────────────────────────────────── */
.profile-hero {
  background: var(--asphalt);
  padding: 3rem 0;
  position: relative; overflow: hidden;
}
.profile-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg, transparent, transparent 30px,
    rgba(245,197,24,.04) 30px, rgba(245,197,24,.04) 31px
  );
}
.profile-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  display: grid; grid-template-columns: auto 1fr; gap: 2.5rem;
  align-items: start; position: relative; z-index: 1;
}
.profile-avatar {
  width: 160px; height: 160px; border-radius: 50%;
  border: 4px solid var(--gold);
  overflow: hidden; flex-shrink: 0;
  background: var(--asphalt-mid);
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; color: var(--chrome-dark);
}
.profile-info { color: var(--white); }
.profile-biker-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1;
  color: var(--white); margin-bottom: .25rem;
}
.profile-real-name { font-size: 1rem; color: var(--chrome); margin-bottom: .75rem; }
.profile-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.badge {
  font-family: var(--font-heading);
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .25rem .65rem; border-radius: 2px;
  display: inline-flex; align-items: center; gap: .3rem;
}
.badge-gold { background: var(--gold); color: var(--asphalt); }
.badge-teal { background: var(--ala-teal); color: var(--white); }
.badge-dark { background: var(--asphalt-mid); color: var(--chrome); border: 1px solid var(--asphalt-light); }
.badge-orange { background: var(--ala-orange); color: var(--white); }

.profile-stats { display: flex; gap: 2rem; flex-wrap: wrap; }
.profile-stat { }
.profile-stat-val {
  font-family: var(--font-display); font-size: 2rem; color: var(--gold); line-height: 1;
}
.profile-stat-key { font-size: .75rem; color: var(--chrome-dark); letter-spacing: .06em; text-transform: uppercase; }

/* Fundraising progress */
.fundraise-progress { margin-top: 1.25rem; max-width: 400px; }
.fundraise-amounts {
  display: flex; justify-content: space-between;
  font-size: .8rem; color: var(--chrome); margin-bottom: .4rem;
}
.fundraise-raised { color: var(--gold); font-weight: 600; }
.fund-track {
  height: 8px; background: rgba(255,255,255,.15); border-radius: 4px; overflow: hidden;
}
.fund-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  border-radius: 4px;
}

/* ─── Forms ─────────────────────────────────────────────── */
.form-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2.5rem; box-shadow: var(--shadow-md);
}
.form-title {
  font-family: var(--font-display);
  font-size: 2rem; color: var(--asphalt);
  margin-bottom: .25rem;
}
.form-subtitle { font-size: .95rem; color: var(--text-mid); margin-bottom: 2rem; }

.form-section-title {
  font-family: var(--font-heading);
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ala-teal); font-weight: 700;
  padding-bottom: .4rem; border-bottom: 1px solid var(--border);
  margin: 2rem 0 1.25rem;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group.full { grid-column: 1 / -1; }

label {
  display: block;
  font-family: var(--font-heading);
  font-size: .82rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--text-mid); font-weight: 600; margin-bottom: .4rem;
}
input[type="text"], input[type="email"], input[type="password"],
input[type="number"], input[type="date"], input[type="tel"],
select, textarea {
  width: 100%; padding: .65rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body); font-size: 1rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--ala-teal);
  box-shadow: 0 0 0 3px rgba(139,125,46,.12);
}
.form-hint { font-size: .78rem; color: var(--text-light); margin-top: .3rem; }
.errorlist { list-style: none; }
.errorlist li {
  background: #fdecea; color: var(--red-hot);
  font-size: .82rem; padding: .3rem .6rem;
  border-radius: var(--radius); margin-top: .3rem;
  border-left: 3px solid var(--red-hot);
}
.messages-container { max-width: 1200px; margin: 1rem auto; padding: 0 1.5rem; }
.alert {
  padding: .85rem 1.25rem; border-radius: var(--radius);
  font-size: .95rem; margin-bottom: .75rem;
  display: flex; align-items: center; gap: .75rem;
}
.alert-success { background: #e8f5e9; color: #2e7d32; border-left: 4px solid #4caf50; }
.alert-error { background: #fdecea; color: var(--red-hot); border-left: 4px solid var(--red-hot); }
.alert-warning { background: #fff8e1; color: #e65100; border-left: 4px solid var(--gold); }
.alert-info { background: #fdfbe6; color: var(--ala-teal-dark); border-left: 4px solid var(--gold); }

/* Checkbox */
.checkbox-group { display: flex; align-items: flex-start; gap: .65rem; }
.checkbox-group input[type="checkbox"] { width: auto; margin-top: 3px; flex-shrink: 0; }
.checkbox-group label { text-transform: none; letter-spacing: 0; font-size: .9rem; margin-bottom: 0; }

/* ─── Dashboard ─────────────────────────────────────────── */
.dashboard-layout {
  display: grid; grid-template-columns: 240px 1fr; gap: 2rem;
  max-width: 1200px; margin: 0 auto; padding: 2rem 1.5rem;
}
.dash-sidebar {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
  height: fit-content; position: sticky; top: 90px;
}
.dash-user {
  text-align: center; padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border); margin-bottom: 1.25rem;
}
.dash-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  margin: 0 auto .75rem;
  border: 3px solid var(--gold); overflow: hidden;
  background: var(--chrome);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--chrome-dark);
}
.dash-avatar img { width: 100%; height: 100%; object-fit: cover; }
.dash-name {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 1rem; color: var(--text-dark);
}
.dash-handle { font-size: .82rem; color: var(--ala-teal); }
.dash-nav { list-style: none; }
.dash-nav li { margin-bottom: .25rem; }
.dash-nav a {
  display: flex; align-items: center; gap: .65rem;
  padding: .6rem .75rem; border-radius: var(--radius);
  font-family: var(--font-heading); font-size: .88rem;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--text-mid); font-weight: 600;
  transition: all .2s;
}
.dash-nav a:hover, .dash-nav a.active {
  background: rgba(139,125,46,.1); color: var(--ala-teal);
}
.dash-nav-icon { font-size: 1rem; }

.dash-main { display: flex; flex-direction: column; gap: 1.5rem; }
.dash-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 1.75rem; box-shadow: var(--shadow-sm);
}
.dash-card-title {
  font-family: var(--font-heading);
  font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ala-teal); font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: .6rem; border-bottom: 1px solid var(--border);
}
.dash-stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.dash-stat-box {
  background: var(--off-white); border-radius: var(--radius);
  padding: 1.25rem; text-align: center;
  border-top: 3px solid var(--ala-teal);
}
.dash-stat-box.gold { border-color: var(--gold); }
.dash-stat-val {
  font-family: var(--font-display); font-size: 2rem; color: var(--asphalt);
}
.dash-stat-key { font-size: .75rem; color: var(--text-light); text-transform: uppercase; letter-spacing: .06em; }

/* Table */
.data-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.data-table th {
  font-family: var(--font-heading); font-size: .75rem;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-light); font-weight: 700;
  padding: .65rem .75rem; text-align: left;
  border-bottom: 2px solid var(--border);
}
.data-table td {
  padding: .65rem .75rem; border-bottom: 1px solid var(--border);
  color: var(--text-dark);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(139,125,46,.04); }

/* ─── About / Info ──────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.info-list { list-style: none; }
.info-list li {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem 0; border-bottom: 1px solid var(--border);
}
.info-list li:last-child { border-bottom: none; }
.info-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(139,125,46,.1); color: var(--ala-teal);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.info-text strong { display: block; font-family: var(--font-heading); font-weight: 700; margin-bottom: .2rem; }

/* ─── Photo Gallery ─────────────────────────────────────── */
.photo-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .75rem; }
.gallery-item {
  aspect-ratio: 1; overflow: hidden; border-radius: var(--radius);
  background: var(--chrome);
  cursor: pointer; transition: transform .2s;
}
.gallery-item:hover { transform: scale(1.03); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

/* ─── Footer ────────────────────────────────────────────── */
footer {
  background: var(--asphalt);
  color: var(--chrome);
  padding: 3rem 0 0;
  border-top: 3px solid var(--gold);
}
.footer-grid {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem 2.5rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
}
.footer-brand {}
.footer-logo { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.footer-logo-text {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 1rem; color: var(--white); text-transform: uppercase; letter-spacing: .05em;
}
.footer-logo-sub { font-size: .7rem; color: var(--chrome-dark); letter-spacing: .08em; }
.footer-desc { font-size: .9rem; color: var(--chrome-dark); line-height: 1.7; max-width: 280px; }
.footer-social { display: flex; gap: .65rem; margin-top: 1.25rem; }
.social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--asphalt-mid); color: var(--chrome);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; transition: all .2s;
}
.social-btn:hover { background: var(--gold); color: var(--asphalt); }

.footer-col h4 {
  font-family: var(--font-heading); font-weight: 700;
  font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { font-size: .88rem; color: var(--chrome-dark); transition: color .2s; }
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  background: rgba(0,0,0,.3);
  padding: 1rem 1.5rem;
  text-align: center;
  font-size: .78rem; color: var(--chrome-dark);
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-bottom a { color: var(--ala-teal); }
.footer-bottom a:hover { color: var(--gold); }

/* ─── Decorative Elements ───────────────────────────────── */
.ribbon-divider {
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0, var(--gold) 30px,
    var(--gold-dark) 30px, var(--gold-dark) 60px
  );
}
.gold-rule { height: 2px; background: var(--gold); margin: 2rem 0; }

/* Bike wheel decoration */
.wheel-bg {
  position: absolute; right: -100px; top: 50%;
  transform: translateY(-50%);
  width: 400px; height: 400px; border-radius: 50%;
  border: 2px solid rgba(245,197,24,.1);
  pointer-events: none;
}
.wheel-bg::before {
  content: ''; position: absolute; inset: 20px; border-radius: 50%;
  border: 1px solid rgba(245,197,24,.08);
}

/* ─── Page header banner ────────────────────────────────── */
.page-banner {
  background: var(--asphalt);
  padding: 2.5rem 0;
  position: relative; overflow: hidden;
}
.page-banner::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark), var(--gold));
}
.page-banner-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.page-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem); color: var(--white);
  line-height: 1;
}
.page-banner p { color: var(--chrome); margin-top: .5rem; }
.breadcrumb {
  font-family: var(--font-heading); font-size: .78rem;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--chrome-dark); margin-bottom: .5rem;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { color: var(--gold-dark); }

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .leaderboard-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero { min-height: 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 1rem; padding: 1.5rem 1rem; }
  .hero-content { align-self: auto !important; display: block !important; }
  .hero-visual { display: flex; align-items: stretch; }
  .hero-event-card { max-width: 100%; background: rgba(0,0,0,.55); -webkit-backdrop-filter: none; backdrop-filter: none; }
  #hero-carousel { min-height: 260px !important; height: 260px; }
  nav { display: none; }
  nav.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); padding: 1rem 1.5rem;
    box-shadow: var(--shadow-md);
    border-bottom: 3px solid var(--gold);
    z-index: 999;
  }
  nav.open .nav-link { padding: .75rem; border-bottom: 1px solid var(--border); }
  .hamburger { display: flex; }
  header { position: relative; }
  .form-grid, .form-grid-3 { grid-template-columns: 1fr; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .dash-sidebar { position: static; }
  .dash-stats-row { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .profile-inner { grid-template-columns: 1fr; text-align: center; }
  .profile-avatar { margin: 0 auto; }
  .profile-stats { justify-content: center; }
  .fundraise-progress { margin: 1rem auto 0; }
}
