/* ============================================
   MarketAmerica ICON 2025 Scavenger Hunt CSS
   Mobile-First Responsive Design System
   ============================================ */

   @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* CSS Custom Properties - Brand Colors */
:root {
  --ma-primary-blue: #36A9CB;
  --ma-accent-blue: #4A90E2;
  --ma-black: #000000;
  --ma-white: #FFFFFF;
  --ma-gray-light: #F8F9FA;
  --ma-gray-medium: #6C757D;
  --ma-gray-dark: #343A40;
  --ma-success-green: #28A745;
  --ma-warning-orange: #FFC107;
  --ma-danger-red: #DC3545;

  --scv-blue: #36A9CB;
  --scv-blue-dark: #2B87A2;
  --scv-gray-md: #C2C4C5;
  --scv-landing-spacing: 2rem;
  --scv-page-bg: #E4E2DD;
  --scv-panel-bg: white;
  --scv-panel-bg-alt: #eee;
  --scv-panel-bg-info: #fff3cd;
  --scv-panel-bg-info-dark: #ffeaa7;

  --scv-camera-color: #DC3545;
  --scv-camera-color-hover: #b02a37;

  --scv-bg-gold: radial-gradient(8% 10% at 18% 102%, #ebd4ad 33%, rgba(235, 212, 173, 0)), linear-gradient(45deg, #7b591e 8%, #b9852d 16% 13%, #ebd4ad 40% 49%, #cd9432 83%, #7b591e 92%);
  --scv-bg-silver: radial-gradient(8% 10% at 18% 102%, #cccccc 33%, rgba(204, 204, 204, 0)), linear-gradient(45deg, #666666 8%, #8c8c8c 16% 13%, #cccccc 40% 49%, #999999 83%, #666666 92%);
  --scv-bg-bronze: radial-gradient(8% 10% at 18% 102%, #e3c6b5 33%, rgba(227, 198, 181, 0)), linear-gradient(45deg, #6f432a 8%, #a6653f 16% 13%, #e3c6b5 40% 49%, #b97046 83%, #6f432a 92%);
  
  --scv-tier-card-border-width: 3px;

  --scv-icon-size: 1.5em;
  --scv-icon-size--sm: 1.25em;
  --scv-icon-size--lg: 2em;
  --scv-icon-size--xl: 2.5em;
  --scv-icon-size--xxl: 3.5em;
  /* icon svg masks */
  --scv-icon--camera: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 768 768'%3E%3Cpath d='M384 544.5q66 0 113.25-47.25t47.25-113.25-47.25-113.25-113.25-47.25-113.25 47.25-47.25 113.25 47.25 113.25 113.25 47.25zM288 64.5h192l58.5 63h102q25.5 0 44.25 19.5t18.75 45v384q0 25.5-18.75 45t-44.25 19.5h-513q-25.5 0-44.25-19.5t-18.75-45v-384q0-25.5 18.75-45t44.25-19.5h102zM282 384q0-42 30-72t72-30 72 30 30 72-30 72-72 30-72-30-30-72z'%3E%3C/path%3E%3C/svg%3E");
  --scv-icon--camera-rotate: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 768 768'%3E%3Cpath d='M528 496.5l79.5-81h-63q0-66-47.25-112.5t-113.25-46.5q-39 0-75 19.5l22.5 22.5q21-10.5 52.5-10.5 52.5 0 90 37.5t37.5 90h-63zM384 576q39 0 75-19.5l-22.5-24q-24 12-52.5 12-52.5 0-90-38.25t-37.5-90.75h63l-79.5-79.5-79.5 79.5h63q0 66 47.25 113.25t113.25 47.25zM640.5 160.5q25.5 0 44.25 18.75t18.75 44.25v384q0 25.5-18.75 45t-44.25 19.5h-513q-25.5 0-44.25-19.5t-18.75-45v-384q0-25.5 18.75-44.25t44.25-18.75h102l58.5-64.5h192l58.5 64.5h102z'%3E%3C/path%3E%3C/svg%3E");
  --scv-icon--redo: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 768 768'%3E%3Cpath d='M384 576v-96l127.5 127.5-127.5 129v-96q-105 0-180.75-75.75t-75.75-180.75q0-75 40.5-136.5l46.5 46.5q-22.5 40.5-22.5 90 0 79.5 56.25 135.75t135.75 56.25zM384 127.5q105 0 180.75 75.75t75.75 180.75q0 75-40.5 136.5l-46.5-46.5q22.5-40.5 22.5-90 0-79.5-56.25-135.75t-135.75-56.25v96l-127.5-127.5 127.5-129v96z'%3E%3C/path%3E%3C/svg%3E");
  --scv-icon--phone: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 2h26a2 2,0 0 1,2 2v92a2 2,0 0 1,-2 2h-26v-5h2a2 2,0 0 0,0-4h-4a2 2,0 0 0,0 4h2v5h-26a2 2,0 0 1,-2-2v-92a2 2,0 0 1,2-2h26v5h-5a2 2,0 0 0,0 4h10a2 2,0 0 0,0-4h-5z'/%3E%3C/svg%3E");
  --scv-icon--check: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 768 768'%3E%3Cpath d='M288 517.5l339-339 45 45-384 384-178.5-178.5 45-45z'%3E%3C/path%3E%3C/svg%3E");
  --scv-icon--check-circle: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 768 768'%3E%3Cpath d='M319.5 544.5l288-288-45-46.5-243 243-114-114-45 45zM384 64.5q132 0 225.75 93.75t93.75 225.75-93.75 225.75-225.75 93.75-225.75-93.75-93.75-225.75 93.75-225.75 225.75-93.75z'%3E%3C/path%3E%3Ccircle cx='384' cy='384' r='306' fill='none' stroke-width='30' stroke='black'/%3E%3C/svg%3E");
  --scv-icon--circle: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 768 768'%3E%3Ccircle cx='384' cy='384' r='306' fill='none' stroke-width='30' stroke='black'/%3E%3C/svg%3E");
  --scv-icon--close: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 768 768'%3E%3Cpath d='M607.5 205.5l-178.5 178.5 178.5 178.5-45 45-178.5-178.5-178.5 178.5-45-45 178.5-178.5-178.5-178.5 45-45 178.5 178.5 178.5-178.5z'%3E%3C/path%3E%3C/svg%3E");
  --scv-icon--arrow-right: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 768 768'%3E%3Cpath d='M384 127.5l256.5 256.5-256.5 256.5-45-45 178.5-180h-390v-63h390l-178.5-180z'%3E%3C/path%3E%3C/svg%3E");
  --scv-icon--arrow-left: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 768 768'%3E%3Cpath d='M640.5 352.5v63h-390l178.5 180-45 45-256.5-256.5 256.5-256.5 45 45-178.5 180h390z'%3E%3C/path%3E%3C/svg%3E");
  --scv-icon--lightbulb: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 768 768'%3E%3Cpath d='M475.5 418.5q69-48 69-130.5 0-66-47.25-113.25t-113.25-47.25-113.25 47.25-47.25 113.25q0 34.5 20.25 72t48.75 58.5l27 19.5v73.5h129v-73.5zM384 64.5q93 0 158.25 65.25t65.25 158.25q0 117-96 183v73.5q0 13.5-9 22.5t-22.5 9h-192q-13.5 0-22.5-9t-9-22.5v-73.5q-96-66-96-183 0-93 65.25-158.25t158.25-65.25zM288 672v-31.5h192v31.5q0 13.5-9 22.5t-22.5 9h-129q-13.5 0-22.5-9t-9-22.5z'%3E%3C/path%3E%3C/svg%3E%0A");
  --scv-icon--share: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 768 768'%3E%3Cpath d='M576 514.5q39 0 66 27.75t27 65.25q0 39-27.75 66.75t-65.25 27.75-65.25-27.75-27.75-66.75q0-15 1.5-21l-226.5-132q-28.5 25.5-66 25.5-39 0-67.5-28.5t-28.5-67.5 28.5-67.5 67.5-28.5q37.5 0 66 25.5l225-130.5q-3-15-3-22.5 0-39 28.5-67.5t67.5-28.5 67.5 28.5 28.5 67.5-28.5 67.5-67.5 28.5q-36 0-66-27l-225 132q3 15 3 22.5t-3 22.5l228 132q27-24 63-24z'%3E%3C/path%3E%3C/svg%3E");
  --scv-icon--link: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23000' d='M220.118 317.883c-6.655 0-13.308-2.538-18.385-7.615-47.567-47.568-47.567-124.967 0-172.535l96-96c23.044-23.043 53.68-35.733 86.267-35.733s63.224 12.69 86.268 35.732c47.566 47.568 47.566 124.967 0 172.535l-43.883 43.883c-10.154 10.154-26.615 10.154-36.77 0-10.153-10.153-10.153-26.616 0-36.77l43.883-43.883c27.292-27.293 27.292-71.702 0-98.995-13.221-13.221-30.8-20.502-49.498-20.502s-36.276 7.281-49.498 20.503l-96 95.999c-27.293 27.293-27.293 71.703 0 98.996 10.154 10.153 10.153 26.616 0 36.77-5.075 5.076-11.731 7.615-18.384 7.615z'%3E%3C/path%3E%3Cpath fill='%23000' d='M128 506c-32.588 0-63.225-12.69-86.267-35.732-47.567-47.568-47.567-124.967 0-172.535l43.882-43.882c10.154-10.153 26.617-10.153 36.77 0 10.154 10.153 10.154 26.616 0 36.77l-43.882 43.882c-27.293 27.293-27.293 71.703 0 98.996 13.22 13.22 30.799 20.501 49.497 20.501s36.276-7.281 49.499-20.503l96-95.999c27.292-27.293 27.292-71.703 0-98.996-10.154-10.154-10.153-26.616 0-36.77 10.153-10.153 26.616-10.153 36.77 0.001 47.566 47.567 47.566 124.966 0.001 172.534l-96.001 96c-23.045 23.044-53.682 35.733-86.269 35.733z'%3E%3C/path%3E%3C/svg%3E%0A");
  --scv-icon--save: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 768 768'%3E%3Cpath d='M480 288v-127.5h-319.5v127.5h319.5zM384 607.5q39 0 67.5-28.5t28.5-67.5-28.5-67.5-67.5-28.5-67.5 28.5-28.5 67.5 28.5 67.5 67.5 28.5zM544.5 96l127.5 127.5v384q0 25.5-19.5 45t-45 19.5h-447q-27 0-45.75-18.75t-18.75-45.75v-447q0-27 18.75-45.75t45.75-18.75h384z'%3E%3C/path%3E%3C/svg%3E");
  --scv-icon--add: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 768 768'%3E%3Cpath d='M607.5 415.5h-192v192h-63v-192h-192v-63h192v-192h63v192h192v63z'%3E%3C/path%3E%3C/svg%3E");
  --scv-icon--add-circle: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 768 768'%3E%3Cpath d='M544.5 415.5v-63h-129v-129h-63v129h-129v63h129v129h63v-129h129zM384 64.5q132 0 225.75 93.75t93.75 225.75-93.75 225.75-225.75 93.75-225.75-93.75-93.75-225.75 93.75-225.75 225.75-93.75z'%3E%3C/path%3E%3C/svg%3E");
  --scv-icon--remove: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 768 768'%3E%3Cpath d='M607.5 415.5h-447v-63h447v63z'%3E%3C/path%3E%3C/svg%3E");
  --scv-icon--remove-circle: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 768 768'%3E%3Cpath d='M544.5 415.5v-63h-321v63h321zM384 64.5q132 0 225.75 93.75t93.75 225.75-93.75 225.75-225.75 93.75-225.75-93.75-93.75-225.75 93.75-225.75 225.75-93.75z'%3E%3C/path%3E%3C/svg%3E");
  --scv-icon--gear: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 768 768'%3E%3Cpath d='M384 496.5q46.5 0 79.5-33t33-79.5-33-79.5-79.5-33-79.5 33-33 79.5 33 79.5 79.5 33zM622.5 415.5l67.5 52.5q10.5 7.5 3 21l-64.5 111q-6 10.5-19.5 6l-79.5-31.5q-31.5 22.5-54 31.5l-12 84q-3 13.5-15 13.5h-129q-12 0-15-13.5l-12-84q-28.5-12-54-31.5l-79.5 31.5q-13.5 4.5-19.5-6l-64.5-111q-7.5-13.5 3-21l67.5-52.5q-1.5-10.5-1.5-31.5t1.5-31.5l-67.5-52.5q-10.5-7.5-3-21l64.5-111q6-10.5 19.5-6l79.5 31.5q31.5-22.5 54-31.5l12-84q3-13.5 15-13.5h129q12 0 15 13.5l12 84q28.5 12 54 31.5l79.5-31.5q13.5-4.5 19.5 6l64.5 111q7.5 13.5-3 21l-67.5 52.5q1.5 10.5 1.5 31.5t-1.5 31.5z'%3E%3C/path%3E%3C/svg%3E");
  
  /* Typography */
  --font-primary: 'Montserrat', sans-serif, sans-serif;
  --font-size-xs: 0.75rem;   /* 12px */
  --font-size-sm: 0.875rem;  /* 14px */
  --font-size-base: 1rem;    /* 16px */
  --font-size-lg: 1.125rem;  /* 18px */
  --font-size-xl: 1.25rem;   /* 20px */
  --font-size-2xl: 1.5rem;   /* 24px */
  --font-size-3xl: 1.875rem; /* 30px */
  --font-size-4xl: 2.25rem;  /* 36px */
  
  /* Spacing */
  --spacing-xs: 0.25rem;  /* 4px */
  --spacing-sm: 0.5rem;   /* 8px */
  --spacing-md: 1rem;     /* 16px */
  --spacing-lg: 1.5rem;   /* 24px */
  --spacing-xl: 2rem;     /* 32px */
  --spacing-2xl: 3rem;    /* 48px */
  --spacing-3xl: 4rem;    /* 64px */
  
  /* Border Radius */
  --border-radius-sm: 0.25rem;  /* 4px */
  --border-radius-md: 0.5rem;   /* 8px */
  --border-radius-lg: 0.75rem;  /* 12px */
  --border-radius-xl: 1rem;     /* 16px */
  --border-radius-pill: 100vw;
  --card-radius: var(--border-radius-xl);
 
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* ============================================
   BASE STYLES & RESET
   ============================================ */

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

html {
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ma-black);
  background-color: var(--scv-page-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

hr {
  border-color: var(--ma-gray-medium);
  border-width: 1px 0 0;
  opacity: 0.25;
}


/* ============================================
   TYPOGRAPHY SYSTEM
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--ma-black);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
  color: var(--ma-gray-dark);
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
}

a {
  color: var(--scv-blue);
  text-decoration: none;
}

a:hover {
  color: var(--ma-accent-blue);
  text-decoration: underline;
}

/* ============================================
   LAYOUT SYSTEM
   ============================================ */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.container-fluid {
  width: 100%;
  padding: 0 var(--spacing-md);
}

.container-narrow {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.d-inline-block {
  display: inline-block;
}

/* Flexbox Utilities */
.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.flex-row { flex-direction: row; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; }
.align-items-start { align-items: flex-start; }
.align-items-end { align-items: flex-end; }
.flex-grow-1 { flex-grow: 1; }

/* Text Alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-uppercase { text-transform: uppercase; }

/* Spacing Utilities */
.m-0 { margin: 0; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.p-0 { padding: 0; }
.p-1 { padding: var(--spacing-xs); }
.p-2 { padding: var(--spacing-sm); }
.p-3 { padding: var(--spacing-md); }
.p-4 { padding: var(--spacing-lg); }
.p-5 { padding: var(--spacing-xl); }

/* ============================================
   BUTTON SYSTEM
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md) var(--spacing-lg);
  border: 2px solid transparent;
  border-radius: var(--border-radius-pill);
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  min-height: 44px; /* Touch-friendly minimum */
  min-width: 44px;
  user-select: none;
  -webkit-appearance: none;
  appearance: none;
  text-transform: uppercase;
}

.btn:focus {
  outline: none;
}


.btn-close {
  background: none;
  border: none;
  cursor: pointer;
}

.btn-camera {
  background-color: var(--scv-camera-color);
  border-color: var(--scv-camera-color);
  color: var(--ma-white)
}
.btn-camera:hover {
  background-color: var(--scv-camera-color-hover);
  border-color: var(--scv-camera-color-hover);
}


.btn-primary {
  background-color: var(--ma-black);
  color: var(--ma-white);
  border-color: var(--ma-black);
}

.btn-primary:hover {
  background-color: var(--scv-blue-dark);
  border-color: var(--scv-blue-dark);
  color: var(--ma-white);
  text-decoration: none;
}

.btn-secondary {
  background-color: var(--scv-blue);
  color: var(--ma-white);
  border-color: var(--scv-blue);
}

.btn-secondary:hover {
  background-color: var(--scv-blue-dark);
  border-color: var(--scv-blue-dark);
  color: var(--ma-white);
  text-decoration: none;
}

.btn-outline-secondary {
  background-color: var(--ma-white);
  color: var(--scv-blue);
  border-color: var(--scv-blue);
}

.btn-outline-secondary:hover {
  background-color: var(--scv-blue-dark);
  border-color: var(--scv-blue-dark);
  color: var(--ma-white);
  text-decoration: none;
}

.btn-success {
  background-color: var(--ma-success-green);
  color: var(--ma-white);
  border-color: var(--ma-success-green);
}

.btn-success:hover {
  background-color: #218838;
  border-color: #1e7e34;
  color: var(--ma-white);
  text-decoration: none;
}

.btn-lg {
  padding: var(--spacing-lg) var(--spacing-2xl);
  font-size: var(--font-size-lg);
  min-height: 56px;
}

.btn-sm {
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: var(--font-size-sm);
  min-height: 36px;
}

.btn-xs {
  padding: var(--spacing-xs) var(--spacing-sm);
  font-size: var(--font-size-xs);
  min-height: 32px;
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-outline-default {
  background-color: rgba(255,255,255,0);
  border-color: var(--ma-black);
  color: var(--ma-black);
}

.btn.t-gold,
.btn.t-silver,
.btn.t-bronze {
  color: var(--ma-black);
}
.btn.t-gold {
  background-image: var(--scv-bg-gold);
}
.btn.t-silver {
  background-image: var(--scv-bg-silver);
}
.btn.t-bronze {
  background-image: var(--scv-bg-bronze);
}

/* ============================================
   tier badges
   ============================================ */
.badge {
  align-items: center;
  border: 2px solid transparent;
  border-radius: var(--border-radius-pill);
  color: var(--ma-black);
  display: inline-flex;
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  font-weight: 600;
  justify-content: center;
  min-height: 44px; /* Touch-friendly minimum */
  min-width: 44px;
  padding: var(--spacing-md) var(--spacing-lg);
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}
.badge-sm {
  font-size: var(--font-size-sm);
  min-height: 36px;
  padding: var(--spacing-sm) var(--spacing-md);
}
.badge-block {
  display: block;
}

.badge.t-gold {
  background-image: var(--scv-bg-gold);
}
.badge.t-silver {
  background-image: var(--scv-bg-silver);
}
.badge.t-bronze {
  background-image: var(--scv-bg-bronze);
}
.badge.t-unranked {
  border-color: var(--ma-gray-medium);
  border-style: dotted;
}

/* ============================================
   FORM SYSTEM
   ============================================ */

.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
  color: var(--ma-black);
}

.form-control {
  display: block;
  width: 100%;
  padding: var(--spacing-md);
  font-size: var(--font-size-base);
  line-height: 1.5;
  color: var(--ma-black);
  background-color: var(--ma-white);
  border: 1px solid var(--ma-black);
  border-radius: var(--border-radius-md);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  min-height: 44px; /* Touch-friendly */
  -webkit-appearance: none;
  appearance: none;
}

.form-control:focus {
  border-color: var(--scv-blue);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

.form-control::placeholder {
  color: var(--ma-gray-medium);
  opacity: 1;
}

.form-control:disabled {
  background-color: var(--ma-gray-light);
  opacity: 1;
}

.invalid-feedback {
  display: block;
  width: 100%;
  margin-top: var(--spacing-xs);
  font-size: var(--font-size-sm);
  color: var(--ma-danger-red);
}

.form-control.is-invalid {
  border-color: var(--ma-danger-red);
}

/* File Upload Styling */
.file-upload {
  position: relative;
  display: inline-block;
  cursor: pointer;
  width: 100%;
}

.file-upload input[type="file"] {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.file-upload-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xl);
  border: 2px dashed var(--ma-gray-medium);
  border-radius: var(--border-radius-lg);
  background-color: var(--ma-gray-light);
  color: var(--ma-gray-dark);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  min-height: 120px;
}

.file-upload-label:hover {
  border-color: var(--scv-blue);
  background-color: var(--ma-white);
  color: var(--scv-blue);
}

.file-upload-icon {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--spacing-sm);
}

/* ============================================
   CARD SYSTEM
   ============================================ */

.card {
  background-color: var(--ma-white);
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: var(--card-radius);
  transition: box-shadow 0.15s ease-in-out, transform 0.15s ease-in-out;
}

.card:hover {
  /* transform: translateY(-2px); */
}

.card.card-narrow {
  margin-left: auto;
  margin-right: auto;
  max-width: 500px;
}


.card + .card {
  margin-top: var(--spacing-sm);
}

.card.card-info {
  border: 2px solid var(--scv-panel-bg-info-dark);
}
.card.card-info .card-header {
  background-color: var(--scv-panel-bg-info);
}

.card-header {
  padding:  var(--spacing-md) var(--spacing-md);
  border: none;
  border-radius: var(--card-radius) var(--card-radius) 0 0;
  background-color: var(--scv-panel-bg-alt);
  line-height: 1.3;
}
.card-header.t-primary {
  background-color: var(--scv-blue);
  color: var(--ma-white);
}
.card-header.has-icon {
  font-weight: 600;
  text-transform: uppercase;
}
.card-header.has-icon .card-title {
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
  display: block;
  margin: 0;
  padding-left: calc(var(--scv-icon-size--lg) + var(--spacing-sm));
  padding-right: calc(var(--scv-icon-size--lg) + var(--spacing-sm));
  position: relative;
}
.card-header.has-icon .card-title:before {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  height: var(--scv-icon-size--lg);
  width: var(--scv-icon-size--lg);
}
.card-body {
  padding: var(--spacing-lg);
}

.card-footer {
  padding: var(--spacing-lg);
  border-top: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0 0 var(--card-radius) var(--card-radius);
  background-color: var(--ma-gray-light);
}

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

.card-text {
  margin-bottom: var(--spacing-md);
  color: var(--ma-gray-dark);
}

/* Task Cards - Special styling based on mockups */
.task-card {
  margin-bottom: var(--spacing-lg);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.task-card.completed {
  background-color: rgba(40, 167, 69, 0.05);
  border-color: var(--ma-success-green);
}

.task-card.completed::after {
  content: "✓";
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  width: 24px;
  height: 24px;
  background-color: var(--ma-success-green);
  color: var(--ma-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: var(--font-size-sm);
}

.task-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--scv-blue);
  color: var(--ma-white);
  border-radius: 50%;
  font-weight: bold;
  font-size: var(--font-size-sm);
  margin-right: var(--spacing-md);
}

.task-card.completed .task-number {
  background-color: var(--ma-success-green);
}

/* ============================================
   ALERT SYSTEM
   ============================================ */

.alert {
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  border: 1px solid transparent;
  border-radius: var(--border-radius-md);
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.alert-warning {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeaa7;
}

.alert-info {
  color: #0c5460;
  background-color: #d1ecf1;
  border-color: #bee5eb;
}

/* ============================================
   PROGRESS SYSTEM
   ============================================ */

.progress {
  display: flex;
  height: 1rem;
  overflow: hidden;
  background-color: var(--scv-gray-md);
  border-radius: var(--border-radius-pill);
}

.progress-bar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--ma-white);
  text-align: center;
  white-space: nowrap;
  background-color: var(--scv-blue);
  border-radius: var(--border-radius-pill);
  transition: width 0.6s ease;
}

.progress-bar-success {
  background-color: var(--ma-success-green);
}

.progress-text {
  color: var(--ma-black);
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  text-align: center;
  text-transform: uppercase;
}

/* ============================================
   LOGO & BRANDING
   ============================================ */

.logo {
  max-width: 100%;
  height: auto;
}

.logo-sm {
  max-height: 40px;
}

/* Mobile logo sizing - make larger on mobile */
@media (max-width: 767px) {
  .logo-sm {
    max-height: 50px;
  }
}

@media (max-width: 479px) {
  .logo-sm {
    max-height: 45px;
  }
}

.logo-md {
  max-height: 80px;
}

.logo-lg {
  max-height: 120px;
}

.brand-header {
  text-align: center;
  /* margin-bottom: var(--spacing-xl); */
}

.brand-title {
  color: var(--scv-blue);
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

/* ============================================
   HERO SECTION (Landing Page)
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: var(--spacing-xl) 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--ma-white);
  max-width: 600px;
  padding: 0 var(--spacing-lg);
}

.hero-title {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-2xl);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-button {
  font-size: var(--font-size-xl);
  padding: var(--spacing-lg) var(--spacing-3xl);
  box-shadow: var(--shadow-lg);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   PHOTO CAPTURE INTERFACE
   ============================================ */

.c-video {
  border-radius: var(--border-radius-md);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.c-proof__instruction {
  background-color: var(--ma-gray-light);
  border: 2px dashed var(--ma-gray-medium);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-xl) var(--spacing-md);
  width: 100%;
}
.c-proof__instruction--alt {
  border: 2px solid var(--scv-blue);
}
.c-proof__instruction p {
  font-weight: 400;
  line-height: 1.2;
  margin: var(--spacing-sm) 0 0;
}
.c-proof__instruction [class*=' u-icon--'],
.c-proof__instruction [class^='u-icon--'] {
  color: var(--scv-blue);
}

.c-camera__preview,
.c-photo__preview {
  max-height: 70vh;
}
.c-photo__preview {
  margin: var(--spacing-md) auto 0;
}
.c-camera__preview-message,
.c-photo__preview-message {
  line-height: 1.2;
}
.c-camera__controls,
.c-photo__controls {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  margin: var(--spacing-sm) auto 0;
  max-width: 400px;
}


.photo-capture {
  text-align: center;
  padding: var(--spacing-lg) 0;
}

.camera-preview {
  width: 100%;
  max-width: 400px;
  height: 300px;
  border: 3px solid var(--scv-blue);
  border-radius: var(--border-radius-lg);
  background-color: var(--ma-gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-lg);
  position: relative;
  overflow: hidden;
}

/* Mobile camera adjustments */
@media (max-width: 767px) {
  .photo-capture {
    padding: var(--spacing-md) var(--spacing-sm);
  }
  
  .camera-preview {
    max-width: calc(100vw - 40px);
    height: 250px;
    margin: 0 auto var(--spacing-md);
  }
  
  .camera-placeholder {
    padding: var(--spacing-md);
  }
  
  .camera-placeholder span {
    font-size: 3rem;
  }
  
  .camera-placeholder p {
    font-size: var(--font-size-sm);
    margin: var(--spacing-sm) 0;
  }
  
  /* Better mobile card spacing */
  .card-body .photo-capture {
    padding: var(--spacing-sm);
  }
  
  /* Ensure proper container centering */
  #camera-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  /* Mobile button sizing */
  #start-camera-btn {
    font-size: var(--font-size-base);
    padding: var(--spacing-sm) var(--spacing-lg);
  }
}

.camera-placeholder {
  font-size: var(--font-size-xl);
  color: var(--ma-gray-medium);
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
}

/* Camera controls container styling */
/* #camera-controls-container {
  text-align: center;
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--ma-gray-light);
  background: var(--ma-gray-lightest);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-md);
} */

/* #camera-controls-container .btn {
  margin: 0 4px 8px 4px;
} */

/* Mobile camera controls */
@media (max-width: 767px) {
  /* #camera-controls-container {
    padding: var(--spacing-sm);
  } */
  
  /* #camera-controls-container .btn {
    font-size: var(--font-size-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    margin: 0 2px 8px 2px;
  } */
  
  /* #camera-controls-container .btn-lg {
    font-size: var(--font-size-base);
    padding: var(--spacing-sm) var(--spacing-lg);
  } */
}

.photo-preview {
  max-width: 100%;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

/* Mobile photo preview */
@media (max-width: 767px) {
  .photo-preview {
    max-width: calc(100vw - 40px);
    height: auto;
  }
  
  /* Ensure section doesn't overflow viewport */
  .task-detail-page .container {
    padding-left: var(--spacing-sm);
    padding-right: var(--spacing-sm);
  }
  
  /* Better card spacing on mobile */  
  .card-body {
    padding: var(--spacing-md);
  }
  
  /* Photo preview container adjustments */
  #photo-preview-container {
    /* text-align: center; */
    /* padding: var(--spacing-md); */
  }
  
  #photo-preview-container .btn {
    /* font-size: var(--font-size-sm); */
    /* padding: var(--spacing-xs) var(--spacing-md); */
  }
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
  background-color: var(--scv-page-bg);
  box-shadow: none;
  padding: var(--spacing-md) 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  max-width: 100%;
}

.navbar-brand {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--scv-blue);
  text-decoration: none;
  flex-shrink: 0;
}

.navbar-nav {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: var(--spacing-sm);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--ma-gray-dark);
  font-size: 0.9rem;
  font-weight: 500;
  padding: var(--spacing-sm);
  border-radius: var(--border-radius-pill);
  text-transform: uppercase;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--scv-blue);
  background-color: var(--ma-gray-light);
  text-decoration: none;
}

/* ============================================
   UTILITIES
   ============================================ */

.hidden { display: none; }
.visible { display: block; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.spinner {
  animation: spin 1s ease-in-out infinite;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--ma-white);
  display: block;
  flex: 0 0 auto !important;
  height: var(--scv-icon-size);
  width: var(--scv-icon-size);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Small phones: 320px - 480px */
@media (max-width: 479px) {
  .hero-title {
    font-size: var(--font-size-3xl);
  }
  
  .hero-button {
    font-size: var(--font-size-lg);
    padding: var(--spacing-md) var(--spacing-xl);
  }
  
  .container {
    padding: 0 var(--spacing-sm);
  }
}

/* Large phones: 481px - 768px */
@media (min-width: 480px) and (max-width: 767px) {
  .hero-title {
    font-size: var(--font-size-4xl);
  }
}

/* Tablets: 769px - 1024px */
@media (min-width: 768px) {
  .container {
    padding: 0 var(--spacing-lg);
  }
  
  .hero-title {
    font-size: calc(var(--font-size-4xl) * 1.2);
  }
  
  .task-card {
    margin-bottom: var(--spacing-md);
  }
}

/* Desktop: 1025px+ */
@media (min-width: 1200px) {
  .hero {
    min-height: 80vh;
  }
  
  .hero-title {
    font-size: calc(var(--font-size-4xl) * 1.4);
  }
  
  .container {
    padding: 0 var(--spacing-xl);
  }
}

/* Desktop responsive adjustments */
@media (min-width: 769px) and (max-width: 1199px) {
    .stats-card {
        padding: 10px 12px;
        min-width: 70px;
        max-width: 140px; /* Increased from 120px to 140px for better text fit */
    }
    
    .stats-card.tier-card {
        padding: 10px 12px;
        min-width: 70px;
        max-width: 140px; /* Specific override for tier cards */
    }
    
    .stats-icon {
        font-size: 16px;
    }
    
    .stats-label {
        font-size: 10px; /* Increased from 9px to 10px for better readability */
    }
    
    .stats-value {
        font-size: 11px; /* Decreased from 12px to 11px to fit better */
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}



/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .btn, .navbar, .hero { display: none; }
  body { color: #000; background: #fff; }
}

/* ============================================
   TASK PHOTO STYLES
   ============================================ */
.submitted-photo-container {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.submitted-photo-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.submitted-photo-container img {
  transition: filter 0.2s ease;
  border: 2px solid var(--ma-gray-light);
}

.submitted-photo-container img:hover {
  filter: brightness(1.05);
  border-color: var(--scv-blue);
}

/* Photo modal overlay */
#photoModal {
  backdrop-filter: blur(2px);
}

/* Camera flip button styling */
/* #flip-camera-btn {
  transition: all 0.3s ease;
  background: linear-gradient(45deg, var(--ma-accent-blue), var(--scv-blue));
  border: none;
  color: white;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#flip-camera-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  background: linear-gradient(45deg, var(--scv-blue), var(--ma-accent-blue));
}

#flip-camera-btn:active {
  transform: translateY(0);
} */

/* Responsive photo sizing */
@media (max-width: 767px) {
  .submitted-photo-container {
    max-width: 150px;
  }
  
  .submitted-photo-container img {
    max-height: 120px;
  }
  
  /* Stack camera buttons vertically on mobile */
  .d-flex.justify-content-center.gap-3 {
    flex-direction: column;
    align-items: center;
  }
  
  .d-flex.justify-content-center.gap-3 button {
    min-width: 160px;
    margin-bottom: 8px;
  }
}

/* ============================================
   DASHBOARD STATS CARDS
   ============================================ */

.task-header-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  border: 1px solid #dee2e6;
}

.stats-row {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: flex-end;
}

.stats-card {
  display: flex;
  align-items: center;
  background: white;
  border-radius: var(--border-radius-md);
  padding: var(--spacing-sm) var(--spacing-md);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease-in-out;
  border: 1px solid transparent;
  height: 50px;
  min-width: 100px;
}

.stats-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.stats-card.rank-card {
  border-color: #ffc107;
}

.stats-card.rank-card:hover {
  border-color: #e0a800;
  background: linear-gradient(135deg, #fff8dc 0%, #ffffff 100%);
}

.stats-card.points-card {
  border-color: #20c997;
}

.stats-card.points-card:hover {
  border-color: #1aa179;
  background: linear-gradient(135deg, #f0fff4 0%, #ffffff 100%);
}

.stats-icon {
  font-size: 1.25rem;
  margin-right: var(--spacing-xs);
  flex-shrink: 0;
}

.stats-content {
  flex-grow: 1;
  min-width: 0;
}

.stats-label {
  font-size: 0.7rem;
  color: var(--ma-gray-medium);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
  margin-bottom: 2px;
}

.stats-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ma-gray-dark);
  line-height: 1;
}

/* Leaderboard link styles */
.leaderboard-link-container {
  text-align: center;
  margin-top: 1rem;
  padding-top: 0.75rem;
}

.leaderboard-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--scv-blue), var(--ma-accent-blue));
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 102, 204, 0.2);
}

.leaderboard-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 102, 204, 0.3);
  color: white;
  text-decoration: none;
}

.leaderboard-link:active {
  transform: translateY(0);
}

/* Filter buttons container - floating with no background */
.task-filters-container {
  display: flex;
  justify-content: center;
}

.task-filters {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.task-filters .btn {
  border-radius: 0;
  font-weight: 600;
  padding: var(--spacing-sm) var(--spacing-lg);
}

.task-filters .btn:first-child {
  border-top-left-radius: var(--border-radius-md);
  border-bottom-left-radius: var(--border-radius-md);
}

.task-filters .btn:last-child {
  border-top-right-radius: var(--border-radius-md);
  border-bottom-right-radius: var(--border-radius-md);
}

/* Mobile responsive adjustments */
@media (max-width: 991px) {
  .stats-row {
    justify-content: center;
    margin-top: var(--spacing-md);
  }
}

@media (max-width: 575px) {
  .task-header-section {
    padding: var(--spacing-md);
  }
  
  .stats-row {
    /* Keep stats on same line on mobile */
    flex-direction: row;
    gap: var(--spacing-xs);
    justify-content: center;
  }
  
  .stats-card {
    height: 40px;
    padding: var(--spacing-xs);
    min-width: 80px;
    flex: 1;
    max-width: 120px;
  }
  
  .stats-icon {
    font-size: 1rem;
    margin-right: 4px;
  }
  
  .stats-label {
    font-size: 0.6rem;
    margin-bottom: 1px;
  }
  
  .stats-value {
    font-size: 0.85rem;
  }
  
  .task-filters .btn {
    padding: var(--spacing-xs) var(--spacing-sm);
    min-width: 50px;
    font-size: 0.85rem;
  }
  
  .task-filters-container {
    justify-content: center;
  }
  
  /* Leaderboard link mobile adjustments */
  .leaderboard-link-container {
    margin-top: 0.75rem;
    padding-top: 0.5rem;
  }
  
  .leaderboard-link {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    gap: 0.3rem;
  }
}

/* ============================================
   PROOF INDICATORS
   ============================================ */

.proof-emoji {
  font-size: 0.9em;
  margin-left: var(--spacing-xs);
  opacity: 0.7;
}

/* Keep the old proof indicator styles for other uses if needed */
.proof-indicator {
  display: inline-block;
  padding: 2px 6px;
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-xs);
  font-weight: 500;
  margin-left: var(--spacing-sm);
}

.proof-indicator.photo-proof {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

.proof-indicator.no-proof {
  background-color: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .proof-emoji {
    font-size: 0.8em;
  }
  
  .proof-indicator {
    font-size: 0.65rem;
    padding: 1px 4px;
    margin-left: var(--spacing-xs);
  }
}

/* ============================================
   INLINE STYLES CLEANUP - NEW CLASSES
   ============================================ */

/* Emoji styling */
.emoji-large {
  font-size: 3em;
}

.emoji-extra-large {
  font-size: 6rem;
}

.emoji-medium {
  font-size: 2em;
}

.emoji-small {
  font-size: 1.2em;
}

/* Social media icons */
.social-icon {
  width: 24px;
  height: 24px;
  margin-right: var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  font-size: 24px;
}

.social-icon-large {
  width: 32px;
  height: 32px;
  font-size: 32px;
}

/* SVG Social Icons */
.social-icon-svg {
  width: var(--scv-icon-size--xl);
  height: var(--scv-icon-size--xl);
  vertical-align: middle;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.social-icon-svg:hover {
  transform: scale(1.1);
}

.social-icon-svg-large {
  width: 32px;
  height: 32px;
}

.social-icon-svg-small {
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

/* Platform-specific styles - keeping original brand colors as fallback */
.social-instagram { color: #E4405F; }
.social-facebook { color: #1877F2; }
.social-twitter, .social-x { color: #1DA1F2; }
.social-tiktok { color: #000000; }
.social-youtube { color: #FF0000; }
.social-linkedin { color: #0A66C2; }
.social-github { color: #333333; }
.social-pinterest { color: #BD081C; }
.social-bluesky { color: #00A8E8; }

/* Platform Grid Layout */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
}

/* Platform Selector Button Styles - Updated */
.platform-btn {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,0);
  border-radius: var(--border-radius-md);
  color: #333;
  cursor: pointer;
  display: flex;
  height: 90px;
  justify-content: center;
  transition: all 0.2s ease;
}

.platform-btn:hover {
  background: rgba(0, 0, 0, 0.025);
  border-color: rgba(0,0,0,0.1);
  color: #333;
}

.platform-btn:focus {
  background: transparent;
  border-color: rgba(0,0,0,0.1);
  color: #333;
  outline: none;
}

.platform-btn:active {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0,0,0,0.1);
}

/* Platform button images - remove any backgrounds */
.platform-btn img {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  box-shadow: none;
  border-radius: 0;
  width: 32px;
  height: 32px;
}

/* Platform button text styling */
.platform-btn small {
  font-size: 16px;
  font-weight: 500;
  margin-top: var(--spacing-sm);
}

/* Responsive adjustments - Improved mobile visibility */
@media (max-width: 767px) {
  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .platform-btn {
    height: 100px;
    padding: 1rem 0.5rem;
  }
  
  .platform-btn img {
    width: 36px;
    height: 36px;
  }
  
  .platform-btn small {
    font-weight: 600;
  }
}

@media (max-width: 479px) {
  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  .platform-btn {
    height: 110px;
    padding: 1rem 0.5rem;
  }
  
  .platform-btn img {
    width: 40px;
    height: 40px;
  }
  
  .platform-btn small {
    font-weight: 600;
  }
}

/* Remove Handle Button Styles */
.remove-handle {
  background: transparent;
  border: none;
  color: #dc3545;
  font-size: 1.2rem;
  font-weight: bold;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0;
  line-height: 1;
  cursor: pointer;
}

.remove-handle:hover {
  background: transparent;
  color: #a71e2a;
  transform: none;
  opacity: 0.8;
}

.remove-handle:focus {
  background: transparent;
  color: #dc3545;
  outline: 2px solid rgba(220, 53, 69, 0.3);
  outline-offset: 2px;
}

.remove-handle:active {
  color: #a71e2a;
  transform: scale(0.95);
}

/* Modal styling */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.modal-dialog {
  margin: var(--spacing-lg) auto;
}
.modal-content {
  background: white;
  border-radius: var(--border-radius-lg);
  max-width: 90vw;
  padding: var(--spacing-md);
  position: relative;
  cursor: default;
}

.modal-header {
  align-items: center;
  border: none;
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--spacing-md);
}

.modal-title {
  align-items: center;
}

.modal-body .c-caption {
  margin: var(--spacing-sm) 0 0;
  text-align: center;
}

.modal-fullscreen-lg {
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
}

.modal-fullscreen-lg .modal-content {
  height: 100%;
  border: none;
  border-radius: 0;
}

/* UI utilities */
.width-auto {
  width: auto;
}

.color-secondary {
  color: var(--color-secondary);
}
.text-black {
  color: black;
}

.text-dark {
  color: #333;
}

.text-small {
  font-size: 14px;
}

.border-secondary {
  border-color: var(--color-secondary);
}

.bg-secondary-light {
  background-color: rgba(var(--color-secondary-rgb), 0.1);
}

.font-size-small {
  font-size: 0.8rem;
}

.font-size-extra-small {
  font-size: 0.75rem;
}

.max-height-300 {
  max-height: 300px;
}

.progress-height-20 {
  height: 20px;
}

.flex-gap-2rem {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.dropdown-button-reset {
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

/* Form styling */
.form-group-inline {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.form-group-inline label {
  margin-bottom: 0;
  white-space: nowrap;
}

.form-group-inline input,
.form-group-inline select {
  flex: 1;
}

/* Button modifications */
.btn-no-wrap {
  white-space: nowrap;
}

.btn-join-hunt {
  padding: 12px 40px;
}

/* Image styling */
.img-logo {
  max-width: 100px;
  height: auto;
}

.img-footer-logo {
  width: 100px;
  height: auto;
}

.img-fluid {
  display: block;
  max-width: 100%;
}
.img-rounded {
  border-radius: var(--border-radius-md);
}

/* Mobile footer logo sizing - make much smaller on mobile */
@media (max-width: 767px) {
  .img-footer-logo {
    width: 60px;
  }
}

@media (max-width: 479px) {
  .img-footer-logo {
    width: 50px;
  }
}

/* Alert Close Button Styles */

.alert-close-btn {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: inherit;
  opacity: 0.6;
  cursor: pointer;
  padding: 2px 10px 4px 10px;
  border-radius: 50%;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
}

.alert-close-btn:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.1);
}

.alert-close-btn:focus {
  opacity: 1;
  outline: 2px solid rgba(0, 0, 0, 0.3);
  outline-offset: 2px;
}

.alert-close-btn:active {
  transform: scale(0.95);
}

/* Welcome Title Styling */
.welcome-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--scv-blue);
  line-height: 1.2;
}

/* Mobile adjustments for welcome title */
@media (max-width: 767px) {
  .welcome-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 479px) {
  .welcome-title {
    font-size: 1.25rem;
  }
}

/* Responsive modal adjustments */
@media (max-width: 991px) {
  .modal-fullscreen-lg {
    width: 95%;
    max-width: 95%;
    height: 90%;
    margin: 5% auto;
  }
  
  .modal-fullscreen-lg .modal-content {
    height: 100%;
    border-radius: var(--border-radius-md);
  }
}

/* ============================================
   IMAGE MODERATION STYLES
   ============================================ */

/* Admin Image Moderation Page */
.admin-moderate-images {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding-bottom: 2rem;
}

.admin-moderate-images .admin-header {
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.admin-moderate-images .admin-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

.admin-moderate-images .admin-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin: 0.5rem 0 0 0;
}

.admin-moderate-images .stats-bar {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.admin-moderate-images .stat-card {
    text-align: center;
    color: white;
}

.admin-moderate-images .stat-number {
    font-size: 2rem;
    font-weight: 700;
}

.admin-moderate-images .stat-info {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
}

.admin-moderate-images .stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.admin-moderate-images .usage-info {
    text-align: left;
}

.admin-moderate-images .usage-header {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.3rem;
}

.admin-moderate-images .usage-details {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.admin-moderate-images .usage-details strong {
    color: #fff;
}

/* Image Gallery Grid */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    padding: 1rem 0;
}

.image-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.image-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.image-wrapper,
.image-container {
    position: relative;
    width: 100%;
    height: 200px; /* Fixed height to control image size */
    overflow: hidden;
}

.proof-image,
.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure images fit properly without stretching */
    cursor: pointer;
    transition: transform 0.2s ease;
}

.proof-image:hover,
.image-container img:hover {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.5rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

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

.image-checkbox {
    transform: scale(1.5);
}

.quick-remove-btn {
    background: #dc3545;
    border: none;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background-color 0.2s ease;
}

.quick-remove-btn:hover {
    background: #c82333;
}

.image-info {
    padding: 1rem;
}

.image-info .participant-info {
    margin-bottom: 0.5rem;
}

.image-info .task-info {
    margin-bottom: 0.5rem;
}

.image-info .task-title {
    font-weight: 500;
    color: #333;
}

.image-info .date-info {
    margin-top: 0.5rem;
}

/* Empty State */
.admin-moderate-images .empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: white;
}

.admin-moderate-images .empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Button Overrides for Admin Moderation */
.admin-moderate-images .btn-outline {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.admin-moderate-images .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    text-decoration: none;
}

/* Modal Image Details */
.image-details h6 {
    color: #333;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.image-details h6:first-child {
    margin-top: 0;
}

.image-details p {
    margin-bottom: 0.25rem;
    color: #666;
}

/* Mobile Responsiveness for Image Moderation */
@media (max-width: 767px) {
    .admin-moderate-images .admin-title {
        font-size: 2rem;
    }
    
    .admin-moderate-images .admin-subtitle {
        font-size: 1rem;
    }
    
    .image-gallery {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 0.75rem;
    }
    
    .image-wrapper {
        height: 150px;
    }
    
    .image-info {
        padding: 0.75rem;
    }
    
    .admin-moderate-images .stats-bar {
        padding: 0.75rem 0;
    }
    
    .admin-moderate-images .stat-number {
        font-size: 1.5rem;
    }
    
    .admin-moderate-images .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 479px) {
    .image-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .image-wrapper {
        height: 120px;
    }
    
    .image-info {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
    
    .admin-moderate-images .admin-header {
        padding: 1.5rem 0;
    }
    
    .admin-moderate-images .empty-state {
        padding: 2rem 1rem;
    }
    
    .admin-moderate-images .empty-icon {
        font-size: 3rem;
    }
}

/* Additional Missing Image Gallery Styles */
.admin-moderate-images .no-images-found {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.admin-moderate-images .empty-state-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.admin-moderate-images .load-more-container {
    padding: 20px;
    text-align: center;
    border-top: 1px solid #eee;
    margin-top: 20px;
}

.admin-moderate-images .image-selection {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    background: rgba(255,255,255,0.9);
    border-radius: 6px;
    padding: 4px 8px;
}

.admin-moderate-images .image-checkbox {
    margin-right: 5px;
}

.admin-moderate-images .checkbox-label {
    font-size: 12px;
    color: #666;
    margin: 0;
    cursor: pointer;
}

.admin-moderate-images .image-container {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
}

.admin-moderate-images .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.admin-moderate-images .image-container:hover img {
    transform: scale(1.05);
}

.admin-moderate-images .image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px;
}

.admin-moderate-images .image-container:hover .image-overlay {
    opacity: 1;
}

.admin-moderate-images .image-info {
    color: white;
    font-size: 12px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.admin-moderate-images .participant-info {
    margin-bottom: 8px;
}

.admin-moderate-images .quick-actions {
    align-self: flex-end;
}

.admin-moderate-images .btn-quick-remove {
    background: rgba(220, 53, 69, 0.9);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-moderate-images .btn-quick-remove:hover {
    background: #dc3545;
    transform: scale(1.1);
}

.admin-moderate-images .image-meta {
    padding: 12px;
}

.admin-moderate-images .participant-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.admin-moderate-images .task-title {
    color: #666;
    font-size: 14px;
    margin-bottom: 4px;
}

.admin-moderate-images .completion-date {
    color: #999;
    font-size: 12px;
}

/* Image Loading and Error States */
.admin-moderate-images .image-loading {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #666;
}

.admin-moderate-images .image-loaded .image-loading {
    display: none;
}

.admin-moderate-images .loading-spinner {
    font-size: 24px;
    margin-bottom: 8px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.admin-moderate-images .image-error-placeholder {
    position: absolute;
    inset: 0;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.admin-moderate-images .error-icon {
  color: var(--ma-danger-red);
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.admin-moderate-images .error-text {
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 8px;
}

.admin-moderate-images .error-url {
    font-size: 10px;
    color: #adb5bd;
    font-family: monospace;
    word-break: break-all;
}

.admin-moderate-images .image-error .image-overlay {
    background: linear-gradient(to top, rgba(220, 53, 69, 0.8) 0%, transparent 50%);
}

.admin-moderate-images .image-error .btn-quick-remove {
    background: rgba(220, 53, 69, 1);
}

/* ============================================
   Tier-Based Leaderboard Styles
   ============================================ */

.c-tiers-heading {
  margin-top: var(--spacing-2xl);
}

/* Tier Cards */
.tier-card {
  border: 2px solid;
  border: none;
  transition: all 0.3s ease;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  padding: var(--scv-tier-card-border-width);
}
.tier-card.t-gold {
  background: var(--scv-bg-gold);
}
.tier-card.t-silver {
  background: var(--scv-bg-silver);
}
.tier-card.t-bronze {
  background: var(--scv-bg-bronze);
}

.tier-card .card-header {
  align-items: center;
  background: none;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  justify-content: space-between;
  text-align: center;
}

.tier-card .tier-title,
.tier-card .tier-info {
  color: var(--ma-black);
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
}

/*
.tier-card .card-body {
  background: var(--ma-white);
  border-radius: calc(var(--border-radius-lg) - var(--scv-tier-card-border-width));
}

.tier-title {
    color: inherit;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.tier-subtitle {
    color: inherit;
    opacity: 0.8;
    font-size: 0.9rem;
    margin: 0;
}
*/

/* Tier Preview */
.tier-preview {
    max-height: 200px;
    overflow-y: auto;
}

.participant-preview {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.participant-preview:last-child {
    border-bottom: none;
}

.participant-preview.current-participant {
    background-color: rgba(0, 102, 204, 0.1);
    border-radius: var(--border-radius-sm);
    padding: 0.5rem;
    margin: 0.2rem 0;
    border-bottom: 1px solid rgba(0, 102, 204, 0.2);
}

.participant-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.participant-info strong {
    color: #333;
    font-weight: 600;
}

.you-badge {
    background: var(--scv-blue);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.you-badge-large {
    background: var(--scv-blue);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.participant-stats {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Current Tier Badge */
.current-tier-badge .badge {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-lg);
}

/* Tier Detail Page Styles */
.tier-detail-page .participant-card {
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius-lg);
    transition: all 0.3s ease;
}

.tier-detail-page .participant-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.tier-detail-page .current-participant-card {
    border: 2px solid var(--scv-blue);
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05), #FFFFFF);
}

.participant-rank .rank-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--scv-blue);
}

.participant-name {
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.participant-details {
    margin-bottom: 1rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.detail-value {
    font-size: 0.9rem;
    color: #333;
    font-weight: 600;
}

/* Adaptive Stats Cards for Dashboard */
.stats-card.tier-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.stats-card.tier-card .stats-icon {
    font-size: 1.5rem;
}

.stats-card.progress-card {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(0, 102, 204, 0.05));
    border: 1px solid rgba(0, 102, 204, 0.3);
}

/* Empty State */
.empty-state {
    padding: 3rem 1rem;
}

.empty-state h4 {
    margin-bottom: 1rem;
}

.empty-state p {
    margin-bottom: 1.5rem;
}

/* Responsive Design for Tier Cards */
@media (max-width: 767px) {
    .participant-preview {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
    
    .participant-info {
        width: 100%;
    }
    
    .participant-stats {
        align-self: flex-end;
    }
    
    .current-tier-badge {
        margin-top: 1rem;
        text-align: center;
    }
    
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }
    
    .detail-value {
        font-weight: 700;
        color: var(--scv-blue);
    }
}




/* --- landing page --- */
.mobile-landing {
  background: var(--scv-page-bg) no-repeat;
  background-image:
    url(loren_and_marc_background_image.png),
    url(background-swirl.png)
  ;
  background-position: left bottom, left 35% center;
  background-size: contain, 200%;
  min-height: 100vh;
  overflow: hidden;
  padding: 20px;
  position: relative;
  text-align: center;
}
@media (min-width: 992px) {
  .mobile-landing {
    background-size: contain, 140%;
  }
}

.mobile-container {
  display: flex;
  flex-direction: column;
  gap: var(--scv-landing-spacing);
  justify-content: flex-start;
  margin: var(--scv-landing-spacing) auto 0;
  max-width: 400px;
  min-height: 80vh;
  position: relative;
  text-align: center;
  width: 100%;
  z-index: 2;
}

.c-logo {
  /* max-width: 100%; */
  margin-left: auto;
  margin-right: auto;
  max-width: 300px;
}
.c-logo--ma {
  max-width: 240px;
}
.c-logo--nav {
  max-width: 120px;
}

/* Brand Header */
.brand-header {
    /* margin-top: 20px; */
    /* margin-bottom: 40px; */
}

.ma-logo {
    width: 280px;
    max-width: 90%;
    height: auto;
    filter: none;
}

/* Hunt Logo Section */
.hunt-logo-section {
    /* margin-bottom: 40px; */
    flex-grow: 0;
}

.hunt-logo {
    width: 250px;
    max-width: 90%;
    height: auto;
    /* filter: brightness(0) invert(1); */
}

/* CTA Section */
.cta-section {
    /* margin-bottom: 40px; */
    z-index: 3;
    position: relative;
}

.btn--play-now {
  background-color: black;
  border: none;
  border-radius: 100vw;
  /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); */
  color: white;
  display: inline-block;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0.5em 1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

/* .play-now-btn:hover {
    background-color: #34495e;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
    color: white;
    text-decoration: none;
} */

/* Background Image */
.background-image {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 400px;
    z-index: 1;
    opacity: 0.7;
}

.hero-image {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    object-position: top center;
    border-radius: 20px 20px 0 0;
    filter: brightness(1.1) contrast(1.1);
}

/* Responsive adjustments */
@media (max-width: 479px) {
    .ma-logo {
        width: 240px;
    }
    
    .hunt-logo {
        width: 200px;
    }
    
    .play-now-btn {
        /* font-size: 16px; */
        /* padding: 12px 40px; */
    }
    
    .mobile-container {
        min-height: 75vh;
    }
    
    .hero-image {
        max-height: 250px;
    }
}

@media (max-height: 700px) {
    .brand-header {
        /* margin-bottom: 30px; */
        /* margin-top: 10px; */
    }
    
    .hunt-logo-section {
        /* margin-bottom: 30px; */
    }
    
    .cta-section {
        /* margin-bottom: 20px; */
    }
    
    .mobile-container {
        min-height: 70vh;
    }
    
    .hero-image {
        max-height: 200px;
    }
}

@media (min-height: 900px) {
    .mobile-container {
        min-height: 85vh;
    }
    
    .hero-image {
        max-height: 350px;
    }
}

/* Hide default body styles for landing page */
.landing-page {
    padding: 0;
    margin: 0;
}

.hero-main {
    padding: 0;
    margin: 0;
}



/* sections */
.c-summary,
.c-tasks {
  margin-top: var(--spacing-lg) !important;
}


/* user rank/link to leaderboard on dashboard */
.c-user-control {
  align-items: flex-end;
  display: flex;
  gap: 0.25rem;
  justify-content: stretch;
  margin-top: 1rem;
}
.c-user-control__item {
  flex: 1;
}
.c-user-control__item--wide {
  flex: 2;
}



/* filter display */
.c-filters {
  align-items: stretch;
  background-color: var(--scv-page-bg);
  box-shadow:
    calc(var(--spacing-3xl) * -1) 0 0 0 var(--scv-page-bg),
    var(--spacing-3xl) 0 0 0 var(--scv-page-bg),
    calc(var(--spacing-3xl) * -1) 3px 3px -3px var(--scv-page-bg),
    var(--spacing-3xl) 3px 3px -3px var(--scv-page-bg)
  ;
  box-shadow:
    calc(var(--spacing-3xl) * -1) 0 0 0 var(--scv-page-bg),
    var(--spacing-3xl) 0 0 0 var(--scv-page-bg)
  ;
  display: flex;
  gap: var(--spacing-sm);
  justify-content: stretch;
  margin-bottom: var(--spacing-sm);
  /* margin-left: calc(var(--spacing-sm) * -1); */
  /* margin-right: calc(var(--spacing-sm) * -1); */
  margin-top: -1px;
  padding: var(--spacing-xs) var(--spacing-sm);
  position: sticky;
  z-index: 1;
}



.c-filters .c-filter {
  flex: 1 1 auto;
}
.c-filters .c-filter__input {
  left: -1000vw;
  position: absolute;
}
.c-filters .c-filter__label {
  background-color: var(--ma-white);
  border-radius: var(--border-radius-pill);
  color: var(--scv-blue);
  cursor: pointer;
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.04em;
  padding: var(--spacing-xs) var(--spacing-md);
  text-align: center;
  text-transform: uppercase;
}
.c-filters .c-filter__input:checked ~ .c-filter__label {
  background-color: var(--scv-blue);
  color: var(--ma-white);
  cursor: default;
}


/* task cards */
.c-task__heading,
.c-task__label {
  display: flex;
  gap: var(--spacing-md);
  flex: 1 1 auto;
}
.c-task__heading {
  flex-wrap: wrap;
}
.c-task__title {
  flex: 1 1 auto;
  margin: 0;
}
.c-task__action {
  flex: 1 0 100%;
}
.c-task__body {
  /* background-color: var(--scv-panel-bg-alt); */
  /* border: none; */
  /* border-radius: var(--border-radius-md); */
  margin-top: var(--spacing-md);
  /* padding: 0 var(--spacing-sm); */
}
.c-task__body .c-task__photo img {
  border-radius: var(--border-radius-md);
}
.c-task__body h6 {
  margin: 0 0 var(--spacing-xs);
}
.c-task__body p {
  line-height: 1.35;
  margin: 0;
}
.c-task__divider {
  margin: var(--spacing-md) 0;
}

@media (min-width: 576px) {
  .c-task__body {
    display: flex;
    gap: var(--spacing-md);
  }
  .c-task__body .c-task__photo {
    align-self: center;
    flex: 1 0 30%;
  }
  .c-task__body .c-task__details {
    align-self: center;
    flex: 0 1 auto;
  }
  .c-task__body .c-task__divider {
    margin: 0;
  }
}

@media (min-width: 768px) {
  .c-task__heading {
    flex-wrap: nowrap;
  }
  .c-task__action {
    flex: 0 0 auto;
  }
  .c-task__body .c-task__photo {
    flex: 1 0 30%;
  }
}


/* footer logos */
.c-divided-logos {
  /* align-items: center; */
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}
.c-divided-logos .c-divided-logos__container {
  display: flex;
  flex: 1 1 auto;
  margin-top: 0.5rem;
}

.c-divided-logos .c-divider {
  background: var(--ma-black);
  height: 4rem;
  width: 1px;
}
.c-divided-logos .c-logo {
  height: 3.5rem;
  margin-left: 0;
}
.c-divided-logos .c-logo--ma {
  height: 2.5rem;
  margin-bottom: 1rem;
  margin-left: auto;
  margin-right: 0;
}

/* sub nav */
.c-sub-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  justify-content: center;
  margin-top: var(--spacing-md);
}

/* social media item */
.c-social-item {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--spacing-sm);
}
.c-social-item + .c-social-item {
  margin-top: var(--spacing-lg);
}

.c-social-item__icon,
.c-social-item__action {
  flex: 0 1 var(--scv-icon-size--xl);
  text-align: center;
}

.c-social-item__label {
  flex: 1 1 100%;
  padding: 0 calc(calc(var(--scv-icon-size--xl)) + calc(var(--spacing-sm)));
}

.c-social-item__main {
  flex: 1 1;
  font-size: var(--font-size-xl);
  line-break: anywhere;
  line-height: 1.2;
}

.c-instruction {
  font-size: 18px;
  text-align: center;
}
.c-instruction + .c-instruction {
  margin-top: var(--spacing-lg);
}
.c-instruction__title {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  justify-content: center;
}
.c-instruction__label {
  align-items: center;
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: var(--border-radius-md);
  display: flex;
  font-size: 16px;
  font-weight: 500;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs);
  padding-right: var(--spacing-sm);
}
.c-instruction__label .social-icon-svg {
  height: var(--scv-icon-size);
  width: var(--scv-icon-size);
}
.c-instruction__content {
  margin: var(--spacing-sm) 0 0;
}


/* icon masks */
[class*=' u-icon--'],
[class^='u-icon--'] {
  display: inline-flex;
  gap: 0.5em;
}
[class*=' u-icon--'].btn,
[class^='u-icon--'].btn {
  padding-left: var(--spacing-md);
}
[class*=' u-icon--'].btn-lg,
[class^='u-icon--'].btn-lg {
  padding-left: var(--spacing-lg);
}
[class*=' u-icon--'].btn-sm,
[class^='u-icon--'].btn-sm {
  padding-left: var(--spacing-sm);
}
[class*=' u-icon--'].btn-xs,
[class^='u-icon--'].btn-xs {
  padding-left: var(--spacing-xs);
}

[class*=' u-icon--'].btn.o-icon-pos--right:before,
[class^='u-icon--'].btn.o-icon-pos--right:before {
  order: 2;
}
[class*=' u-icon--'].btn.o-icon-pos--right span,
[class^='u-icon--'].btn.o-icon-pos--right span {
  order: 1;
}
[class*=' u-icon--'].btn.o-icon-pos--right,
[class^='u-icon--'].btn.o-icon-pos--right {
  padding-left: var(--spacing-lg);
  padding-right: var(--spacing-md);
}
[class*=' u-icon--'].btn-lg.o-icon-pos--right,
[class^='u-icon--'].btn-lg.o-icon-pos--right {
  padding-left: var(--spacing-xl);
  padding-right: var(--spacing-lg);
}
[class*=' u-icon--'].btn-sm.o-icon-pos--right,
[class^='u-icon--'].btn-sm.o-icon-pos--right {
  padding-left: var(--spacing-md);
  padding-right: var(--spacing-sm);
}
[class*=' u-icon--'].btn-xs.o-icon-pos--right,
[class^='u-icon--'].btn-xs.o-icon-pos--right {
  padding-left: var(--spacing-sm);
  padding-right: var(--spacing-xs);
}

[class*=' u-icon--'].o-icon-pos--middle.btn,
[class^='u-icon--'].o-icon-pos--middle.btn {
  padding-left: var(--spacing-md);
  padding-right: var(--spacing-md);
}
[class*=' u-icon--'].o-icon-pos--middle.btn-lg,
[class^='u-icon--'].o-icon-pos--middle.btn-lg {
  padding-left: var(--spacing-lg);
  padding-right: var(--spacing-lg);
}
[class*=' u-icon--'].o-icon-pos--middle.btn-sm,
[class^='u-icon--'].o-icon-pos--middle.btn-sm {
  padding-left: var(--spacing-sm);
  padding-right: var(--spacing-sm);
}
[class*=' u-icon--'].o-icon-pos--middle.btn-xs,
[class^='u-icon--'].o-icon-pos--middle.btn-xs {
  padding-left: var(--spacing-xs);
  padding-right: var(--spacing-xs);
}


[class*=' u-icon--'] span,
[class^='u-icon--'] span {
  flex: 1 auto;
}

[class*=' u-icon--']:before,
[class^='u-icon--']:before {
  background: no-repeat center/cover;
  background-color: currentColor;
  content: '';
  display: inline-flex;
  flex: 0 1 var(--scv-icon-size);
  height: var(--scv-icon-size);
  width: var(--scv-icon-size);
  mask: no-repeat center/cover;
  min-width: var(--scv-icon-size);
}

[class*=' u-icon--'].o-icon-size--sm:before,
[class^='u-icon--'].o-icon-size--sm:before {
  --scv-icon-size: var(--scv-icon-size--sm);
}

[class*=' u-icon--'].o-icon-size--lg:before,
[class^='u-icon--'].o-icon-size--lg:before {
  --scv-icon-size: var(--scv-icon-size--lg);
}

[class*=' u-icon--'].o-icon-size--xl:before,
[class^='u-icon--'].o-icon-size--xl:before {
  --scv-icon-size: var(--scv-icon-size--xl);
}

[class*=' u-icon--'].o-icon-size--xxl:before,
[class^='u-icon--'].o-icon-size--xxl:before {
  --scv-icon-size: var(--scv-icon-size--xxl);
}

.u-icon--camera:before {
  mask-image: var(--scv-icon--camera);
}

.u-icon--camera-rotate:before {
  mask-image: var(--scv-icon--camera-rotate);
}

.u-icon--redo:before {
  mask-image: var(--scv-icon--redo);
}

.u-icon--phone:before {
  mask-image: var(--scv-icon--phone);
}

.u-icon--check:before {
  mask-image: var(--scv-icon--check);
}

.u-icon--check-circle:before {
  mask-image: var(--scv-icon--check-circle);
}

.u-icon--circle:before {
  mask-image: var(--scv-icon--circle);
}

.u-icon--close:before {
  mask-image: var(--scv-icon--close);
}

.u-icon--arrow-right:before {
  mask-image: var(--scv-icon--arrow-right);
}

.u-icon--arrow-left:before {
  mask-image: var(--scv-icon--arrow-left);
}

.u-icon--lightbulb:before {
  mask-image: var(--scv-icon--lightbulb);
}

.u-icon--share:before {
  mask-image: var(--scv-icon--share);
}

.u-icon--link:before {
  mask-image: var(--scv-icon--link);
}

.u-icon--save:before {
  mask-image: var(--scv-icon--save);
}

.u-icon--add:before {
  mask-image: var(--scv-icon--add);
}

.u-icon--add-circle:before {
  mask-image: var(--scv-icon--add-circle);
}

.u-icon--remove:before {
  mask-image: var(--scv-icon--remove);
}

.u-icon--remove-circle:before {
  mask-image: var(--scv-icon--remove-circle);
}

.u-icon--gear:before {
  mask-image: var(--scv-icon--gear);
}

.u-pointer-none {
  pointer-events: none;
}


/* task detail page */
.c-task-detail__description {
  line-height: 1.5;
}

/* lists and centered lists */
.c-list ol,
.c-list ul {
  padding-left: var(--spacing-md);
}
.c-list li + li {
  margin-top: var(--spacing-md);
}
.c-list--centered {
  display: flex;
  justify-content: center;
}
.c-list--centered ol,
.c-list--centered ul {
  max-width: 500px;
}