/* ===============================
   GLOBAL RESET + BASE
================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root{
  --bg-main:#070b14;
  --bg-section:#0b1220;
  --bg-card:#0f1a2d;
  --border:#1b2a44;
  --text-main:#e9eef7;
  --text-muted:#9aa6bf;
  --accent:#c62828;
  --accent-blue:#1e88e5;
  --radius:16px;
}

html,body{
  background:var(--bg-main);
  color:var(--text-main);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,Arial,sans-serif;
  line-height:1.6;
}

/* ===============================
   LINKS & BUTTONS
================================ */
a{
  color:#ffffff;
  text-decoration:none;
}

a:hover{
  color:var(--accent);
}

.btn{
  display:inline-block;
  padding:12px 22px;
  border-radius:12px;
  font-weight:600;
  border:1px solid var(--border);
  background:var(--accent);
  color:#fff;
  transition:.2s;
}

.btn:hover{
  background:#a91f1f;
}

.btn.outline{
  background:transparent;
  border:1px solid var(--accent);
  color:#fff;
}

.btn.outline:hover{
  background:var(--accent);
}

/* ===============================
   NAVIGATION
================================ */
.main-nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 32px;
  border-bottom:1px solid var(--border);
  background:linear-gradient(180deg,#070b14,#0a1020);
}

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

.nav-logo{
  height:42px;
}

.nav-title{
  font-weight:800;
  letter-spacing:.4px;
}

.nav-links a{
  margin-left:22px;
  font-weight:600;
  opacity:.85;
}

.nav-links a.active,
.nav-links a:hover{
  opacity:1;
  color:var(--accent);
}

/* ===============================
   HERO
================================ */
.hero{
  padding:80px 32px;
  background:
    linear-gradient(to bottom,rgba(0,0,0,.6),rgba(7,11,20,.95)),
    url("images/hero.jpg") center/cover no-repeat;
}

.hero h1{
  font-size:3rem;
  font-weight:900;
  margin-bottom:12px;
}

.hero p{
  max-width:680px;
  color:var(--text-muted);
  margin-bottom:26px;
}

/* ===============================
   SECTIONS
================================ */
.section{
  padding:64px 32px;
}

.section.dark{
  background:var(--bg-section);
}

.container{
  max-width:1200px;
  margin:0 auto;
}

.section-title{
  font-size:1.9rem;
  margin-bottom:18px;
  position:relative;
  padding-left:14px;
}

.section-title::before{
  content:"";
  position:absolute;
  left:0;
  top:6px;
  width:4px;
  height:80%;
  background:var(--accent);
  border-radius:4px;
}

.muted{
  color:var(--text-muted);
}

/* ===============================
   QUICK ACCESS LIST
================================ */
ul{
  margin-left:18px;
}

li{
  margin:6px 0;
}

/* ===============================
   QR CODE
================================ */
.qr-box{
  display:flex;
  align-items:center;
  gap:18px;
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  margin-top:24px;
}

.qr-img{
  width:96px;
  height:96px;
  object-fit:cover;
  border-radius:12px;
  background:#000;
}

.qr-title{
  font-size:1.1rem;
  font-weight:700;
}

/* ===============================
   RECRUITS GRID
================================ */
.filters{
  display:flex;
  gap:14px;
  margin-bottom:28px;
}

select,input{
  background:var(--bg-card);
  border:1px solid var(--border);
  color:#fff;
  padding:12px;
  border-radius:10px;
  outline:none;
}

.recruits-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:26px;
}

/* ===============================
   RECRUIT CARD
================================ */
.recruit-card{
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition:.25s;
}

.recruit-card:hover{
  transform:translateY(-4px);
  border-color:#27406d;
}

.recruit-photo{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  object-position:center 18%;
  background:#000;
}

.recruit-body{
  padding:18px;
}

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

.recruit-meta{
  font-size:.9rem;
  color:var(--text-muted);
}

.recruit-sub{
  margin:8px 0;
  font-weight:600;
}

.recruit-writeup{
  font-size:.9rem;
  color:#cdd6ea;
  margin-top:10px;
}

.recruit-links{
  display:flex;
  gap:14px;
  margin-top:14px;
}

.icon-btn{
  width:40px;
  height:40px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--border);
  background:#0b1220;
}

.icon-btn:hover{
  background:var(--accent);
}

/* ===============================
   ON3 ALUMNI
================================ */
.alumni-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:24px;
}

.alumni-card{
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:22px;
  text-align:center;
}

/* ===============================
   FORMS (TRANSCRIPT / ADMIN)
================================ */
form{
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:26px;
  max-width:640px;
}

label{
  font-weight:600;
  margin-top:14px;
  display:block;
}

input,textarea{
  width:100%;
  margin-top:6px;
}

textarea{
  min-height:120px;
}

/* ===============================
   FOOTER
================================ */
footer{
  padding:28px;
  border-top:1px solid var(--border);
  text-align:center;
  color:var(--text-muted);
  margin-top:60px;
}

/* ===============================
   RESPONSIVE
================================ */
@media(max-width:768px){
  .hero h1{
    font-size:2.2rem;
  }
  .nav-links{
    display:none;
  }
}
/* ===============================
   RECRUIT CARD SIZE FIX
   (Scouting / Roster View)
================================ */

/* Grid density */
.recruits-grid{
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
}

/* Card container */
.recruit-card{
  max-width: 360px;
  margin: 0 auto;
}

/* Image control */
.recruit-photo{
  height: 220px;            /* 👈 KEY FIX */
  aspect-ratio: unset;
  object-fit: cover;
  object-position: center 15%;
}

/* Text tightening */
.recruit-body{
  padding: 14px 16px;
}

.recruit-name{
  font-size: 1.05rem;
}

.recruit-meta{
  font-size: 0.82rem;
}

.recruit-sub{
  font-size: 0.85rem;
  margin: 4px 0;
}

.recruit-writeup{
  font-size: 0.82rem;
  line-height: 1.4;
  max-height: 3.8em;
  overflow: hidden;
}

/* Icons smaller */
.recruit-links{
  margin-top: 10px;
}

.icon-btn{
  width: 34px;
  height: 34px;
}
/* ===============================
   FILTER BAR
================================ */

.filters{
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: center;
}

.filter-group{
  display: flex;
  flex-direction: column;
}

.filter-group label{
  font-size: 0.75rem;
  color: #bbb;
  margin-bottom: 4px;
}

.filter-group select{
  background: #111;
  color: #fff;
  border: 1px solid #333;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
}