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

:root {
  --navy: #0c2340;
  --navy-light: #1a3a5c;
  --navy-dark: #081829;
  --gold: #c9a84c;
  --gold-light: #f5ecd0;
  --gold-dark: #a08530;
  --red: #c41e3a;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #868e96;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold-dark); }

img { max-width: 100%; }

/* === Navbar === */
.navbar {
  background: var(--navy);
  height: 56px;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--white);
}

.brand-mark {
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.brand-text {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 0;
}

.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  padding: 0 0.9rem;
  font-size: 0.85rem;
  font-weight: 500;
  height: 56px;
  display: flex;
  align-items: center;
  transition: color 0.15s, background 0.15s;
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* === Sub Header === */
.sub-header {
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
  padding: 0.5rem 0;
  font-size: 0.82rem;
}

.sub-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sub-header-name { font-weight: 600; color: var(--navy); }
.sub-header-details { color: var(--gray-600); }

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.6rem 1.6rem;
  border: none;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.btn:active { transform: scale(0.98); }

.btn-accent {
  background: var(--red);
  color: var(--white);
}
.btn-accent:hover { background: #a3182f; color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-light); color: var(--white); }

.btn-small { padding: 0.35rem 0.75rem; font-size: 0.75rem; }
.btn-danger { background: var(--red); color: var(--white); }
.btn-danger:hover { background: #a3182f; }

.text-link {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}
.text-link:hover { color: var(--gold-dark); }

/* === Hero Split === */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  background: var(--white);
}

.hero-content {
  padding: 4rem 3rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 600px;
  margin-left: auto;
}

.hero-badge {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 0;
}

.hero-accent {
  width: 50px;
  height: 4px;
  background: var(--red);
  margin: 1.25rem 0;
  border-radius: 2px;
}

.hero-sub {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.hero-image {
  background: linear-gradient(135deg, #2d5016 0%, #1a3a0a 40%, #0c2340 100%);
  position: relative;
  overflow: hidden;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(201,168,76,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(45,80,22,0.3) 0%, transparent 50%);
}

/* === Feature Strip === */
.feature-strip {
  background: var(--navy);
  padding: 0;
}

.feature-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.feature-item {
  padding: 1.5rem;
  text-decoration: none;
  color: var(--white);
  position: relative;
  transition: background 0.15s;
}

.feature-item:hover {
  background: rgba(255,255,255,0.05);
  color: var(--white);
}

.feature-bar {
  width: 100%;
  height: 3px;
  background: var(--gold);
  margin-bottom: 1rem;
}

.feature-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.feature-item p {
  font-size: 0.8rem;
  opacity: 0.6;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.feature-link {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
}

/* === Content Sections === */
.content-section {
  padding: 4rem 0;
  background: var(--white);
}

.content-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.info-block h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 0;
}

.info-accent {
  width: 40px;
  height: 3px;
  background: var(--red);
  margin: 0.75rem 0 1rem;
}

.info-block p { color: var(--gray-700); margin-bottom: 1rem; font-size: 0.95rem; }

.prize-list {
  list-style: none;
  margin-bottom: 1rem;
}

.prize-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.95rem;
  color: var(--gray-800);
  font-weight: 500;
}

.prize-list li:last-child { border-bottom: none; }

/* === History Banner === */
.history-banner {
  background: var(--navy);
  color: var(--white);
  padding: 5rem 0;
}

.history-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}

.history-content h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.history-content p {
  opacity: 0.8;
  margin-bottom: 1.5rem;
  max-width: 550px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.history-stats {
  display: flex;
  gap: 3rem;
}

.history-stat { text-align: center; }
.history-stat-number { display: block; font-size: 3rem; font-weight: 800; color: var(--gold); font-family: var(--font-display); }
.history-stat-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.5; }

/* === Page Header (inner pages) === */
.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 3rem 1.5rem;
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin-bottom: 0.3rem;
}

.page-header p { opacity: 0.7; font-size: 0.95rem; }

/* === Container for inner pages === */
.page-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

/* === Alerts === */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.alert a { font-weight: 600; }
.alert-success { background: #e8f5e9; color: #1b5e20; border: 1px solid #c8e6c9; }
.alert-info { background: #e3f2fd; color: #0d47a1; border: 1px solid #bbdefb; }
.alert-error { background: #ffebee; color: #b71c1c; border: 1px solid #ffcdd2; }

/* === Forms === */
.form { max-width: 700px; }

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: var(--gray-700);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: var(--font);
  transition: border-color 0.15s;
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(12,35,64,0.08);
}

.form-group-small { max-width: 120px; }
.form-row { display: flex; gap: 1rem; flex-wrap: wrap; align-items: flex-end; }
.form-row .form-group { flex: 1; min-width: 140px; }
.form-hint { color: var(--gray-500); font-size: 0.82rem; margin-bottom: 1rem; }
.optional { color: var(--gray-500); font-weight: 400; font-size: 0.82rem; }
.form-inline { display: inline-flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.form-inline input, .form-inline select { padding: 0.35rem 0.6rem; font-size: 0.82rem; border: 1px solid var(--gray-300); border-radius: var(--radius); }
.checkbox-label { display: flex !important; align-items: center; gap: 0.5rem; cursor: pointer; font-weight: 400 !important; }
.checkbox-label input[type="checkbox"] { width: auto; }

.player-fieldset {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1rem;
  background: var(--gray-50);
}

.player-fieldset legend { font-weight: 700; color: var(--navy); padding: 0 0.5rem; font-size: 0.9rem; }

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 0.4rem;
}

.stroke-checkboxes { margin-top: 0.5rem; }

/* === Section titles === */
.section-title {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.section-desc { color: var(--gray-600); margin-bottom: 1.25rem; }

/* === Groups page === */
.group-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; margin-bottom: 2.5rem; }

.group-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.15s;
}

.group-card:hover { box-shadow: var(--shadow-md); }

.group-card h3 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--navy); }
.group-looking { border-top: 3px solid var(--gold); }
.group-card-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }

.badge {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-complete { background: #e8f5e9; color: #2e7d32; }
.badge-looking { background: var(--gold-light); color: #92700a; }

.player-list { list-style: none; margin-top: 0.75rem; }
.player-list li { padding: 0.3rem 0; border-bottom: 1px solid var(--gray-100); font-size: 0.9rem; }
.player-list li:last-child { border-bottom: none; }
.handicap { color: var(--gray-500); font-size: 0.82rem; }
.player-meta { color: var(--gray-500); font-size: 0.78rem; }

.group-strokes {
  margin-top: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--gray-100);
  font-size: 0.82rem;
  color: var(--gray-700);
}

.capped { color: #b45309; font-size: 0.78rem; font-style: italic; }

/* === Tee box dots === */
.tee-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.15);
  vertical-align: middle;
  margin-right: 0.2rem;
}

/* === Donate === */
.donate-content { max-width: 500px; }
.donate-card { padding: 2rem; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* === Leaderboard === */
.winners { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 2rem; }

.winner-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.winner-card h3 { color: var(--gray-500); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.winner-name { font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.winner-score { font-size: 2rem; font-weight: 800; color: var(--navy); font-family: var(--font-display); }

.winner-net { border-top-color: var(--red); }
.winner-high { border-top-color: var(--gray-400); }

.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.leaderboard-table th {
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem;
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.leaderboard-table td { padding: 0.75rem; border-bottom: 1px solid var(--gray-100); font-size: 0.9rem; }
.leaderboard-table tr.leader { background: var(--gold-light); }

/* === Contest winners === */
.contest-winners { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 2rem; }

.contest-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius-lg);
  padding: 1rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.contest-card h4 { color: var(--gray-500); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.4rem; }
.contest-card p { font-weight: 700; font-size: 0.95rem; color: var(--navy); }

/* === Rules page === */
.rules-section {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.rules-section h2 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.3rem;
  margin-bottom: 0;
}

.rules-section h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--red);
  margin: 0.5rem 0 1rem;
}

.rules-list { list-style: disc; padding-left: 1.5rem; }
.rules-list li { margin-bottom: 0.6rem; line-height: 1.6; color: var(--gray-700); }

.strokes-table-wrap { overflow-x: auto; }

.strokes-table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.strokes-table th { background: var(--navy); color: var(--white); padding: 0.6rem 1rem; text-align: left; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.strokes-table td { padding: 0.5rem 1rem; border-bottom: 1px solid var(--gray-100); font-size: 0.9rem; }
.stroke-minus { color: #2e7d32; font-weight: 700; }
.stroke-plus { color: var(--red); font-weight: 700; }
.stroke-penalty { background: #ffebee; }
.tee-table td:last-child { font-weight: 600; }

.rules-notes { background: var(--gold-light); padding: 1rem; border-radius: var(--radius); }
.rules-notes p { margin-bottom: 0.4rem; font-size: 0.88rem; color: var(--gray-800); }
.rules-notes p:last-child { margin-bottom: 0; }

.prizes-list { list-style: none; }
.prizes-list li { padding: 0.5rem 0; border-bottom: 1px solid var(--gray-100); font-size: 0.95rem; font-weight: 500; }
.prizes-list li:last-child { border-bottom: none; }

/* === Trophy Plaque (Past Winners) === */
.trophy-plaque {
  background: linear-gradient(145deg, #5c3a1e 0%, #3d2510 50%, #5c3a1e 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.05);
  border: 3px solid #2a1a0a;
  position: relative;
}

.plaque-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1rem 2rem;
  background: linear-gradient(180deg, #d4a84c 0%, #b8922e 50%, #d4a84c 100%);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.3);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.plaque-title span { font-family: var(--font-display); color: #3d2510; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; line-height: 1.3; }
.plaque-title span:first-child { font-size: 1.3rem; }
.plaque-title span:nth-child(2) { font-size: 1rem; }
.plaque-title span:last-child { font-size: 0.9rem; }

.plaque-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; position: relative; z-index: 1; }

.plaque-plate {
  background: linear-gradient(180deg, #d4a84c 0%, #c49a3a 30%, #b8922e 70%, #d4a84c 100%);
  border-radius: 3px;
  padding: 0.75rem 1rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.25);
  position: relative;
  min-height: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.plaque-plate::before, .plaque-plate::after { content: ''; position: absolute; width: 6px; height: 6px; background: radial-gradient(circle, #e8c060 30%, #a07828 70%); border-radius: 50%; top: 6px; box-shadow: 0 1px 2px rgba(0,0,0,0.4); }
.plaque-plate::before { left: 8px; }
.plaque-plate::after { right: 8px; }

.plaque-year { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: #3d2510; margin-bottom: 0.2rem; }
.plaque-names { font-size: 0.78rem; color: #4a2e14; line-height: 1.3; font-weight: 500; }

/* === Admin (kept functional, navy themed) === */
.admin-header { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem; max-width: 1200px; margin: 0 auto; }
.admin-header h1 { font-family: var(--font-display); color: var(--navy); font-size: 1.5rem; }

.admin-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--gray-200);
  margin-bottom: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.5rem;
}

.admin-nav a {
  padding: 0.6rem 1rem;
  text-decoration: none;
  color: var(--gray-500);
  font-weight: 600;
  font-size: 0.85rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.15s;
}

.admin-nav a:hover { color: var(--navy); }
.admin-nav a.active { color: var(--navy); border-bottom-color: var(--red); }

.admin-section, .admin-actions {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.admin-section h2 { color: var(--navy); font-size: 1.1rem; margin-bottom: 1rem; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 2rem; max-width: 1200px; margin-left: auto; margin-right: auto; padding: 0 1.5rem; }

.stat-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--navy);
}

.stat-number { font-size: 2rem; font-weight: 800; color: var(--navy); font-family: var(--font-display); }
.stat-label { font-size: 0.8rem; color: var(--gray-500); margin-top: 0.25rem; }

.admin-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.admin-table th { text-align: left; padding: 0.5rem; border-bottom: 2px solid var(--gray-200); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-500); }
.admin-table td { padding: 0.5rem; border-bottom: 1px solid var(--gray-100); }
.admin-table .actions { display: flex; gap: 0.35rem; flex-wrap: wrap; }

.admin-group-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); margin-bottom: 1rem; overflow: hidden; }
.admin-group-header { display: flex; justify-content: space-between; align-items: center; padding: 1rem; background: var(--gray-50); border-bottom: 1px solid var(--gray-200); flex-wrap: wrap; gap: 0.5rem; }
.admin-group-header h3 { display: flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; color: var(--navy); }
.admin-group-actions { display: flex; gap: 0.5rem; }
.empty-message { padding: 1rem; color: var(--gray-500); font-size: 0.85rem; }

.admin-login { max-width: 360px; margin: 4rem auto; padding: 0 1.5rem; }
.admin-login h1 { font-family: var(--font-display); color: var(--navy); margin-bottom: 1.5rem; }

.badge-strokes { background: #e8eaf6; color: #283593; }

/* Inbox & Email */
.processed { opacity: 0.6; }
.email-body { white-space: pre-wrap; font-size: 0.82rem; background: var(--gray-50); padding: 1rem; border-radius: var(--radius); max-height: 300px; overflow-y: auto; }
.email-templates { margin-bottom: 1rem; display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.email-preview { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1rem; min-height: 100px; }

/* Scores */
.scorecard { margin-bottom: 1rem; }
.scorecard-header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.holes-grid { display: flex; gap: 2rem; flex-wrap: wrap; margin-bottom: 1rem; }
.nine-holes strong { display: block; margin-bottom: 0.5rem; font-size: 0.82rem; color: var(--gray-500); }
.hole-inputs { display: flex; gap: 0.35rem; }
.hole-input { text-align: center; }
.hole-input label { display: block; font-size: 0.68rem; color: var(--gray-500); margin-bottom: 0.2rem; }
.hole-input input { width: 42px; padding: 0.35rem; text-align: center; border: 1px solid var(--gray-300); border-radius: var(--radius); font-size: 0.85rem; font-family: var(--font); }
.contest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.stroke-details { margin: 0.5rem 0 1rem; }
.stroke-details summary { cursor: pointer; font-size: 0.82rem; color: var(--navy); font-weight: 600; }
.stroke-breakdown { padding: 0.75rem; background: var(--gray-50); border-radius: var(--radius); margin-top: 0.5rem; font-size: 0.82rem; }
.stroke-player { margin-bottom: 0.5rem; }
.stroke-player ul { list-style: none; padding-left: 1rem; color: var(--gray-500); }
.stroke-player ul li { font-size: 0.78rem; }
.stroke-total { padding-top: 0.5rem; border-top: 1px solid var(--gray-200); font-size: 0.85rem; }

/* === Footer === */
.footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 3rem 0 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.footer-text { font-size: 0.85rem; opacity: 0.5; margin-bottom: 1.5rem; }

.footer-links { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 1.5rem; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.85rem; font-weight: 500; text-decoration: none; }
.footer-links a:hover { color: var(--gold); }

.footer-copy { font-size: 0.75rem; opacity: 0.35; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); }

/* === Responsive === */
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-content { padding: 3rem 1.5rem; max-width: 100%; }
  .hero-image { min-height: 200px; }
  .feature-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: 1fr; gap: 2rem; }
  .history-inner { grid-template-columns: 1fr; text-align: center; }
  .history-content p { margin-left: auto; margin-right: auto; }
  .history-stats { justify-content: center; }
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 0.5rem 0;
    box-shadow: var(--shadow-lg);
    z-index: 100;
  }
  .nav-links.open { display: flex; }
  .nav-links a { height: auto; padding: 0.75rem 1.5rem; }
  .sub-header-inner { flex-direction: column; gap: 0.15rem; text-align: center; }
  .hero-content { padding: 2.5rem 1.25rem; }
  .hero-content h1 { font-size: 2rem; }
  .feature-strip-inner { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; }
  .form-row .form-group { min-width: 100%; }
  .form-group-small { max-width: 100%; }
  .holes-grid { flex-direction: column; }
  .hole-inputs { flex-wrap: wrap; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-nav { overflow-x: auto; }
  .admin-table .actions { flex-direction: column; }
  .admin-group-header { flex-direction: column; align-items: flex-start; }
  .plaque-grid { grid-template-columns: 1fr 1fr; }
  .history-stats { gap: 2rem; }
  .page-header { padding: 2rem 1rem; }
  .page-header h1 { font-size: 1.6rem; }
}
