/* ============================================================================
   TCGC Pro-Member Invitational Auction -- Premium Golf Theme
   ============================================================================ */

/* -- Design Tokens --------------------------------------------------------- */
:root {
  /* Greens */
  --green-950:    #071f14;
  --green-900:    #0b3020;
  --green-800:    #0f4a30;
  --green-700:    #16603f;
  --green-600:    #1d7a50;
  --green-500:    #27955f;
  --green-400:    #4db87e;
  --green-100:    #ddf0e4;
  --green-50:     #eef7f1;

  /* Golds */
  --gold-700:     #8a6a10;
  --gold-600:     #a5800f;
  --gold-500:     #c9a84c;
  --gold-400:     #d4b85e;
  --gold-300:     #e0c876;
  --gold-200:     #ecda9e;
  --gold-100:     #faf3de;

  /* Neutrals */
  --cream:        #f8f5ef;
  --cream-dark:   #efe9dc;
  --white:        #ffffff;
  --text:         #1a2b1f;
  --text-secondary: #4a5e50;
  --text-muted:   #6b7f72;
  --border:       #d4cdb9;
  --border-light: #e4ded0;

  /* Semantic */
  --red-600:      #c0392b;
  --red-100:      #fdf0ee;
  --red-border:   #f0b8b0;

  /* Shadows */
  --shadow-xs:    0 1px 2px rgba(0,0,0,.06);
  --shadow-sm:    0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:    0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.05);
  --shadow-lg:    0 10px 25px rgba(0,0,0,.1), 0 4px 10px rgba(0,0,0,.06);
  --shadow-xl:    0 20px 40px rgba(0,0,0,.12), 0 8px 16px rgba(0,0,0,.08);

  /* Layout */
  --radius:       10px;
  --radius-sm:    6px;
  --radius-lg:    14px;
  --radius-pill:  99px;
  --max-width:    1240px;
  --transition:   0.2s ease;
  --transition-slow: 0.35s ease;
}

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

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

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--cream);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; }
input, select { font-family: inherit; }

/* -- Utility -------------------------------------------------------------- */
.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ============================================================================
   Auction Login Overlay
   ============================================================================ */
.login-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: linear-gradient(160deg, var(--green-950) 0%, var(--green-800) 45%, var(--green-700) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.login-overlay.hidden { display: none; }

.login-overlay-inner {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 2.75rem 2.25rem;
  width: 100%;
  max-width: 400px;
  text-align: center;
  border: 1px solid var(--border-light);
}

.login-logo {
  height: 72px;
  width: auto;
  margin: 0 auto 1.25rem;
  opacity: 0.9;
}

.login-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green-800);
  margin-bottom: 0.35rem;
}

.login-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.login-form-auction {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: left;
}

.login-submit-btn {
  width: 100%;
  padding: 0.7rem;
  margin-top: 0.35rem;
}

.login-back-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.login-back-link:hover { color: var(--green-700); }

/* -- User Badge (header) --------------------------------------------------- */
.user-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.5rem 0.35rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-300);
  white-space: nowrap;
  margin-left: auto;
  flex-shrink: 0;
}

.user-badge.hidden { display: none; }

.btn-logout {
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 50%;
  width: 1.5rem;
  height: 1.5rem;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
}

.btn-logout:hover {
  background: rgba(255,255,255,0.25);
  color: var(--white);
}

/* -- Bid-as-user display --------------------------------------------------- */
.bid-as-user {
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.9rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.bid-as-user strong {
  color: var(--green-800);
}

/* ============================================================================
   Site Header (shared by auction + admin pages)
   ============================================================================ */
.site-header {
  background: linear-gradient(135deg, var(--green-950) 0%, var(--green-800) 50%, var(--green-700) 100%);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 200;
}

.site-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300), var(--gold-500));
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  position: relative;
}

.header-logo { display: flex; align-items: center; flex-shrink: 0; }

.site-logo {
  height: 64px;
  width: auto;
  filter: brightness(0) invert(1);
  display: block;
  opacity: 0.95;
}

.header-text h1 {
  font-size: clamp(1.25rem, 3.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--white);
  line-height: 1.2;
}

.header-subtitle {
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  color: var(--gold-300);
  margin-top: 0.2rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ============================================================================
   Status Banner
   ============================================================================ */
.status-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}

.status-open {
  background: var(--green-50);
  color: var(--green-700);
  border-bottom: 2px solid var(--green-100);
}

.status-closed {
  background: var(--red-100);
  color: var(--red-600);
  border-bottom: 2px solid var(--red-border);
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.4rem;
  vertical-align: middle;
}

.status-open .status-dot { background: var(--green-500); }
.status-closed .status-dot { background: var(--red-600); }

.status-refresh {
  font-size: 0.76rem;
  font-weight: 400;
  color: var(--text-muted);
}

/* ============================================================================
   Controls Bar (search, sort, count)
   ============================================================================ */
.controls-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: 0.75rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 150;
  box-shadow: var(--shadow-xs);
}

.controls-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.search-wrap {
  flex: 1;
  min-width: 200px;
  position: relative;
}

.search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.85rem;
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 0.55rem 0.85rem 0.55rem 2.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  background: var(--cream);
}

.search-input:focus {
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(22, 96, 63, 0.1);
  background: var(--white);
}

.sort-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.sort-select {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  background: var(--cream);
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition);
}

.sort-select:focus { border-color: var(--green-600); }

.pro-count {
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
  font-weight: 500;
}

/* ============================================================================
   Main Content Area
   ============================================================================ */
.main-content {
  flex: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  padding: 1.75rem 1.5rem 3.5rem;
}

/* ============================================================================
   Pro Grid
   ============================================================================ */
.pros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

/* ============================================================================
   Pro Card
   ============================================================================ */
.pro-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.pro-card-header {
  background: linear-gradient(145deg, var(--green-800) 0%, var(--green-700) 100%);
  color: var(--white);
  padding: 1.15rem 1.25rem 1rem;
  position: relative;
}

.pro-card-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

.pro-card-number {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 0.35rem;
}

.pro-card-name {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--white);
}

.pro-card-photo {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid rgba(255,255,255,0.35);
  margin-bottom: 0.5rem;
  display: block;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.pro-card-bio {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.3rem;
  font-style: italic;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pro-card-body {
  padding: 1rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.bid-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--green-700);
  line-height: 1;
  letter-spacing: -0.5px;
}

.bid-amount.no-bid {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  font-style: italic;
  letter-spacing: 0;
}

.bid-leader {
  font-size: 0.8rem;
  color: var(--text-muted);
  min-height: 1.3em;
}

.bid-leader strong {
  color: var(--text);
  font-weight: 600;
}

.badge-no-bid {
  display: inline-block;
  background: var(--gold-100);
  color: var(--gold-700);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.3px;
}

.pro-card-footer {
  padding: 0.85rem 1.25rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: var(--cream);
}

/* ============================================================================
   Buttons
   ============================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.3;
}

.btn:active:not(:disabled) { transform: scale(0.97); }

.btn-primary {
  background: var(--green-700);
  color: var(--white);
  flex: 1;
}

.btn-primary:hover:not(:disabled) {
  background: var(--green-800);
  box-shadow: var(--shadow-sm);
}

.btn-primary:disabled {
  background: #9ab8a8;
  cursor: not-allowed;
  opacity: 0.65;
}

.btn-secondary {
  background: var(--cream-dark);
  color: var(--text);
}

.btn-secondary:hover { background: var(--border); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.45rem 0.7rem;
  font-size: 0.78rem;
}

.btn-outline:hover {
  background: var(--white);
  border-color: var(--green-600);
  color: var(--green-700);
}

.btn-danger {
  background: var(--red-600);
  color: var(--white);
}

.btn-danger:hover { background: #9b2d22; }

/* ============================================================================
   Buy Now Button & Sold State
   ============================================================================ */
.btn-buy-now {
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-400) 100%);
  color: var(--green-950);
  font-weight: 700;
  flex: 1;
  border: none;
  border-radius: var(--radius-sm);
  letter-spacing: 0.2px;
}

.btn-buy-now:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-300) 100%);
  box-shadow: var(--shadow-sm);
}

.pro-card.sold .pro-card-header {
  background: linear-gradient(145deg, var(--gold-700) 0%, var(--gold-500) 100%);
}

.sold-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green-950);
  background: var(--gold-200);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.4rem;
  width: fit-content;
}

.sold-to-name {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
  margin-top: 0.15rem;
}

/* ============================================================================
   Modals
   ============================================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 31, 20, 0.6);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease;
}

.modal-overlay.hidden { display: none; }

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

.modal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 460px;
  position: relative;
  animation: slideUp 0.25s ease;
  max-height: 90vh;
  overflow-y: auto;
}

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

.modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
  z-index: 2;
}

.modal-close:hover {
  background: rgba(255,255,255,0.25);
  color: var(--white);
}

.modal-header {
  background: linear-gradient(145deg, var(--green-800) 0%, var(--green-700) 100%);
  color: var(--white);
  padding: 1.75rem 1.75rem 1.35rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  text-align: center;
  position: relative;
}

.modal-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}

.modal-icon {
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
  opacity: 0.9;
}

.modal-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
}

.modal-pro-name {
  font-size: 1.05rem;
  color: var(--gold-300);
  margin-top: 0.25rem;
  font-weight: 600;
}

.modal-header-gold {
  background: linear-gradient(145deg, var(--gold-700) 0%, var(--gold-500) 60%, var(--gold-400) 100%);
}

.modal-header-gold .modal-close {
  color: rgba(0,0,0,0.4);
}

.modal-header-gold .modal-close:hover {
  background: rgba(0,0,0,0.1);
  color: rgba(0,0,0,0.6);
}

.modal-header-gold .modal-pro-name {
  color: var(--green-950);
}

/* -- Current Bid Display --------------------------------------------------- */
.modal-current-bid {
  padding: 1.15rem 1.75rem 0.25rem;
}

.current-bid-display {
  background: var(--cream);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.15rem;
}

.current-bid-display .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  font-weight: 600;
}

.current-amount {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--green-700);
  letter-spacing: -0.5px;
}

.current-bidder {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* -- Bid Form -------------------------------------------------------------- */
.bid-form {
  padding: 1.15rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.form-input {
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  outline: none;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
}

.form-input:focus {
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(22, 96, 63, 0.1);
}

.input-prefix-wrap { position: relative; }

.input-prefix {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  pointer-events: none;
}

.with-prefix { padding-left: 1.75rem; }

.bid-hint {
  font-size: 0.76rem;
  color: var(--green-600);
  font-weight: 500;
}

/* -- Max Bid ---------------------------------------------------------------- */
.label-optional {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.max-bid-indicator {
  font-size: 0.73rem;
  color: var(--gold-700);
  background: var(--gold-100);
  border: 1px solid var(--gold-200);
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.6rem;
  margin-top: 0.35rem;
  font-weight: 600;
  display: inline-block;
}

.existing-max-bid {
  background: var(--gold-100);
  border: 1px solid var(--gold-200);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
  color: var(--gold-700);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.existing-max-bid.hidden { display: none; }

.btn-cancel-max {
  background: transparent;
  border: 1px solid var(--gold-500);
  color: var(--gold-700);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn-cancel-max:hover {
  background: var(--gold-200);
  color: var(--gold-700);
}

.form-error {
  background: var(--red-100);
  border: 1px solid var(--red-border);
  color: var(--red-600);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.form-error.hidden { display: none; }

.form-actions {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.buy-now-description {
  background: var(--gold-100);
  border: 1px solid var(--gold-200);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.55;
}

/* ============================================================================
   Bid History Table (inside modal)
   ============================================================================ */
.history-body { padding: 1.25rem 1.75rem 1.75rem; }

.history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.history-table th {
  text-align: left;
  padding: 0.55rem 0.85rem;
  background: var(--cream);
  color: var(--text-muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  border-bottom: 2px solid var(--border-light);
}

.history-table td {
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid var(--border-light);
}

.history-table tr:first-child td {
  font-weight: 700;
  color: var(--green-800);
}

.history-empty {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.9rem;
}

/* ============================================================================
   Toast Notifications
   ============================================================================ */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-xl);
  font-weight: 600;
  font-size: 0.92rem;
  z-index: 1000;
  white-space: nowrap;
  max-width: 90vw;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: toastIn 0.3s ease;
}

@keyframes toastIn {
  from { opacity: 0; transform: translate(-50%, 12px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.toast.hidden { display: none; }
.toast.success { background: var(--green-900); color: var(--white); }
.toast.error { background: var(--red-600); color: var(--white); }

/* ============================================================================
   Loading & Empty States
   ============================================================================ */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3.5rem 1rem;
  grid-column: 1 / -1;
  color: var(--text-muted);
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border-light);
  border-top-color: var(--green-600);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

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

.no-results {
  text-align: center;
  padding: 3.5rem 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ============================================================================
   Footer
   ============================================================================ */
.site-footer {
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--cream-dark);
  border-top: 1px solid var(--border);
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-link:hover {
  color: var(--green-700);
  text-decoration: underline;
}

/* ============================================================================
   HOMEPAGE
   ============================================================================ */
.home-body {
  background: var(--cream);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.home-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* -- Hero ------------------------------------------------------------------ */
.home-hero {
  flex: 1;
  background: linear-gradient(160deg, var(--green-950) 0%, var(--green-800) 45%, var(--green-700) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

/* Subtle texture overlay */
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(255,255,255,0.03) 0%, transparent 50%);
}

.home-hero-inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 620px;
  width: 100%;
}

.home-logo {
  height: 120px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.home-divider {
  width: 56px;
  height: 2px;
  background: var(--gold-500);
  border-radius: var(--radius-pill);
  opacity: 0.75;
}

.home-title {
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.3px;
  line-height: 1.1;
}

.home-year {
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 900;
  color: var(--gold-500);
  line-height: 1;
  margin: -0.35rem 0;
  letter-spacing: -3px;
  text-shadow: 0 2px 20px rgba(201, 168, 76, 0.2);
}

.home-club {
  font-size: clamp(0.85rem, 2.5vw, 1.05rem);
  color: rgba(255,255,255,0.65);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.home-tagline {
  font-size: clamp(0.88rem, 2vw, 1rem);
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 460px;
  margin: 0.25rem 0;
}

/* -- CTA Button ------------------------------------------------------------ */
.btn-home-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-400) 100%);
  color: var(--green-950);
  font-size: 1.05rem;
  font-weight: 800;
  padding: 1rem 2.25rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 24px rgba(201, 168, 76, 0.3);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition-slow);
  margin-top: 0.75rem;
}

.btn-home-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.4);
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-300) 100%);
}

.btn-home-cta:active { transform: scale(0.97); }

.btn-home-cta-icon { font-size: 1.2rem; }

.btn-home-cta-arrow {
  font-size: 1.1rem;
  transition: transform var(--transition);
}

.btn-home-cta:hover .btn-home-cta-arrow { transform: translateX(4px); }

.btn-home-secondary {
  display: inline-block;
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-pill);
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.btn-home-secondary:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.06);
}

/* -- Info Cards ------------------------------------------------------------ */
.home-sponsors {
  background: var(--cream-dark);
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}

.home-sponsors-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.sponsors-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.sponsors-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.sponsor-logo {
  height: 40px;
  max-width: 160px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.sponsor-logo:hover {
  opacity: 1;
}

/* ============================================================================
   PRIZES PAGE
   ============================================================================ */
.prizes-container {
  max-width: 880px;
  margin: 0 auto;
}

.prizes-intro {
  text-align: center;
  margin-bottom: 2.25rem;
}

.prizes-heading {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--green-800);
  margin-bottom: 0.5rem;
}

.prizes-subheading {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
}

.prizes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* -- Prize Card ------------------------------------------------------------ */
.prize-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

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

/* Featured (Grand Prize) */
.prize-card-featured {
  border-color: var(--gold-300);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--gold-200);
}

.prize-card-featured .prize-card-header {
  background: linear-gradient(145deg, var(--gold-700) 0%, var(--gold-500) 60%, var(--gold-400) 100%);
  color: var(--green-950);
}

.prize-card-featured .prize-card-hole {
  color: var(--green-950);
  opacity: 0.7;
}

/* Highlight ($20k challenge) */
.prize-card-highlight {
  border-color: var(--green-400);
}

/* -- Badge ----------------------------------------------------------------- */
.prize-card-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: var(--white);
  color: var(--green-800);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  z-index: 1;
  box-shadow: var(--shadow-sm);
}

.prize-card-badge-gold {
  background: var(--gold-100);
  color: var(--gold-700);
}

/* -- Card Header ----------------------------------------------------------- */
.prize-card-header {
  background: linear-gradient(145deg, var(--green-800) 0%, var(--green-700) 100%);
  color: var(--white);
  padding: 1.5rem 1.5rem 1.25rem;
  text-align: center;
  position: relative;
}

.prize-card-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

.prize-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.prize-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}

.prize-card-location {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.15rem;
}

.prize-card-hole {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-top: 0.5rem;
}

/* -- Card Body ------------------------------------------------------------- */
.prize-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.prize-description {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.6;
}

.prize-value {
  display: inline-block;
  background: var(--gold-100);
  color: var(--gold-700);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  width: fit-content;
}

.prize-detail {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
}

.prize-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.prize-tag {
  background: var(--green-50);
  color: var(--green-700);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.3px;
}

.prize-tag-open {
  background: var(--green-100);
  color: var(--green-800);
  font-weight: 700;
}

@media (max-width: 768px) {
  .prizes-grid { grid-template-columns: 1fr; }
}

/* ============================================================================
   PAST CHAMPIONS PAGE
   ============================================================================ */
.champions-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.champions-heading {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--green-900);
  text-align: center;
  margin-bottom: 0.35rem;
}

.champions-subheading {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.champion-year-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.champion-year-badge {
  background: var(--green-800);
  color: var(--gold-200);
  font-size: 1.3rem;
  font-weight: 800;
  padding: 0.75rem 1.25rem;
  letter-spacing: 0.04em;
}

.champion-events {
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.champion-event {
  padding: 1rem;
  background: var(--cream);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.champion-event-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-700);
  margin-bottom: 0.5rem;
}

.champion-names {
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 0.4rem;
}

.champion-pro {
  font-size: 0.82rem;
  color: var(--gold-700);
}

@media (max-width: 540px) {
  .champion-events { grid-template-columns: 1fr; gap: 0.75rem; }
}

/* ============================================================================
   SCHEDULE PAGE
   ============================================================================ */
.schedule-container {
  max-width: 680px;
  margin: 0 auto;
}

.schedule-intro {
  text-align: center;
  margin-bottom: 2.5rem;
}

.schedule-heading {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--green-800);
  margin-bottom: 0.35rem;
}

.schedule-date {
  font-size: 1.05rem;
  color: var(--gold-600);
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* -- Timeline -------------------------------------------------------------- */
.schedule-timeline {
  position: relative;
  padding-left: 1rem;
}

.schedule-timeline::before {
  content: '';
  position: absolute;
  left: 6.5rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: var(--border);
  border-radius: 2px;
}

.schedule-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1rem 0;
  position: relative;
}

.schedule-item + .schedule-item {
  border-top: none;
}

.schedule-time {
  width: 5rem;
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: right;
  padding-top: 0.15rem;
  line-height: 1.3;
}

.schedule-dot {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--green-500);
  margin-top: 0.2rem;
  position: relative;
  z-index: 1;
}

.schedule-dot-gold {
  border-color: var(--gold-500);
  background: var(--gold-100);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.schedule-details {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), box-shadow var(--transition);
}

.schedule-details:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.schedule-item-highlight .schedule-details {
  border-color: var(--gold-300);
  background: var(--gold-100);
}

.schedule-event-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-800);
  margin-bottom: 0.2rem;
}

.schedule-item-highlight .schedule-event-name {
  color: var(--gold-700);
}

.schedule-event-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 480px) {
  .schedule-timeline::before { left: 5.25rem; }
  .schedule-time { width: 3.75rem; font-size: 0.75rem; }
  .schedule-item { gap: 0.85rem; }
  .schedule-details { padding: 0.85rem 1rem; }
}

/* ============================================================================
   COUNTDOWN TIMER (Homepage)
   ============================================================================ */
.home-countdown {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.25rem;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
}

.countdown-value {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 900;
  color: var(--gold-400);
  line-height: 1;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
}

.countdown-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.45);
  margin-top: 0.3rem;
}

.countdown-separator {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 300;
  color: rgba(255,255,255,0.2);
  line-height: 1;
  padding-top: 0.1rem;
}

.countdown-past {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-400);
  letter-spacing: 0.5px;
}

@media (max-width: 480px) {
  .home-countdown { gap: 0.6rem; }
  .countdown-unit { min-width: 48px; }
  .countdown-separator { font-size: 1.25rem; }
}

/* ============================================================================
   ADMIN PANEL
   ============================================================================ */
.admin-body { background: var(--cream); min-height: 100vh; }

/* -- Login Screen ---------------------------------------------------------- */
.admin-login {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 180px);
  padding: 2rem;
}

.admin-login-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.75rem 2.25rem;
  width: 100%;
  max-width: 400px;
  text-align: center;
  border: 1px solid var(--border-light);
}

.admin-login-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}

.admin-login-card h2 {
  color: var(--green-800);
  margin-bottom: 0.4rem;
  font-size: 1.35rem;
}

.admin-login-card > p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}

.admin-login-card .login-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.admin-login-back {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.admin-login-back:hover { color: var(--green-700); }

/* -- Admin Main Layout ----------------------------------------------------- */
.admin-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

/* -- Admin Sections -------------------------------------------------------- */
.admin-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.admin-section-header {
  background: linear-gradient(145deg, var(--green-800) 0%, var(--green-700) 100%);
  color: var(--white);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-section-header h2 { font-size: 1.05rem; font-weight: 700; }

.admin-section-header .header-link {
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color var(--transition);
}

.admin-section-header .header-link:hover { color: var(--white); }

.admin-section-body { padding: 1.5rem; }

/* -- Admin Status & Stats -------------------------------------------------- */
.admin-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: flex-start;
}

.admin-status-controls {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.admin-status-controls span {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.admin-stats-grid {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.admin-stat {
  background: var(--cream);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 0.75rem 1.35rem;
  text-align: center;
  min-width: 100px;
}

.admin-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-700);
  line-height: 1.2;
}

.admin-stat-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  font-weight: 600;
  margin-top: 0.15rem;
}

.auction-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
}

.badge-open {
  background: var(--green-50);
  color: var(--green-700);
}

.badge-closed {
  background: var(--red-100);
  color: var(--red-600);
}

/* -- Settings Form --------------------------------------------------------- */
.settings-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
}

.settings-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.settings-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

.settings-group .form-input {
  width: 140px;
}

.settings-success {
  margin-top: 0.85rem;
  color: var(--green-700);
  font-weight: 600;
  font-size: 0.88rem;
}

/* -- Results Table --------------------------------------------------------- */
.table-wrap { overflow-x: auto; }

.results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.results-table th {
  text-align: left;
  padding: 0.65rem 1rem;
  background: var(--cream);
  color: var(--text-muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
}

.results-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border-light);
}

.results-table tr:hover td { background: var(--cream); }
.results-table .winner-row td { font-weight: 600; }

.results-table .no-bid-row td {
  color: var(--text-muted);
  font-style: italic;
}

/* -- Danger Zone ----------------------------------------------------------- */
.admin-section.danger-zone {
  border-color: var(--red-border);
}

.admin-section.danger-zone .admin-section-header {
  background: linear-gradient(135deg, #9b2d22, #c0392b);
}

.danger-description {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1.15rem;
  line-height: 1.55;
}

/* -- Admin Header Buttons -------------------------------------------------- */
.admin-header-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-admin-header {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.85);
  padding: 0.4rem 0.75rem;
  font-size: 0.78rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  transition: background var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn-admin-header:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

/* ============================================================================
   Print
   ============================================================================ */
@media print {
  .site-header,
  .controls-bar,
  .site-footer,
  .status-banner,
  .admin-status-controls,
  .settings-form,
  .admin-section.danger-zone,
  .admin-header-actions,
  .btn { display: none !important; }

  .pro-card { break-inside: avoid; }

  .admin-section { box-shadow: none; border: 1px solid #ccc; }
  .admin-section-header { background: #333 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }

  body { background: white; }
}

/* ============================================================================
   Responsive
   ============================================================================ */
@media (max-width: 768px) {
  .pros-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
  .header-inner { gap: 1rem; }
  .site-logo { height: 52px; }
  .main-content { padding: 1.25rem 1rem 2.5rem; }
  .controls-bar { padding: 0.65rem 1rem; }

  .sponsors-row { gap: 1.5rem; }
  .sponsor-logo { height: 32px; }
  .home-hero { padding: 3.5rem 1.5rem 3rem; }
  .home-logo { height: 90px; }
  .btn-home-cta { font-size: 0.95rem; padding: 0.85rem 1.75rem; }

  .admin-stats-grid { gap: 0.65rem; }
  .admin-stat { min-width: 80px; padding: 0.6rem 1rem; }
  .admin-stat-value { font-size: 1.25rem; }
}

@media (max-width: 480px) {
  .pros-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .pro-card-name { font-size: 0.95rem; }
  .pro-card-header { padding: 0.9rem 1rem 0.8rem; }
  .pro-card-body { padding: 0.85rem 1rem; }
  .pro-card-footer { padding: 0.75rem 1rem; flex-wrap: wrap; }
  .bid-amount { font-size: 1.5rem; }
  .form-actions { flex-direction: column; }
  .modal-card { max-width: calc(100vw - 1.5rem); }
  .bid-form { padding: 1rem 1.25rem 1.25rem; }
  .header-text h1 { font-size: 1.15rem; }
  .site-logo { height: 44px; }
}

@media (max-width: 360px) {
  .pros-grid { grid-template-columns: 1fr; }
}
