:root{
  --accent:#013243;
  --accent-2:#0a8ecf;
  --glass: rgba(255,255,255,0.85);
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  display:flex;
  flex-direction:column;
  min-height:100vh;
  font-family: Inter,system-ui,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  color:#ffffff;
  background: url('Assets/Background.svg') center/cover no-repeat fixed;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
.container{max-width:1100px;margin:0 auto;padding:1rem}
main.container{flex:1}

.nav{position:sticky;top:0;background:linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.35));backdrop-filter:blur(6px);box-shadow:0 1px 0 rgba(0,0,0,0.12);z-index:20}
.nav-inner{display:flex;align-items:center;justify-content:space-between;padding:0.6rem 1rem}
.logo{display:flex;align-items:center;gap:0.6rem;font-weight:700;color:#ffffff;text-decoration:none}
.logo-img{width:40px;height:40px;display:block}
.logo-text{font-size:1rem;color:#ffffff}
.nav-links{list-style:none;display:flex;gap:1rem;margin:0;padding:0}
.nav-links a{color:#ffffff;text-decoration:none;padding:0.4rem 0.6rem;border-radius:6px}
.nav-links a:hover{background:rgba(255,255,255,0.06)}
/* Auth controls in nav */
.nav-actions{display:flex;align-items:center;gap:0.5rem}
.nav-user{color:rgba(255,255,255,0.9);margin-right:0.5rem}
.btn.small{padding:0.35rem 0.6rem;border-radius:8px;font-size:0.85rem}

.hero{min-height:50;display:flex;align-items:center;flex:1}
.hero-inner{width:100%;padding:1.5rem 0}
.welcome{background:linear-gradient(180deg, rgba(255,255,255,0.65), rgba(255,255,255,0.7));padding:2rem;border-radius:12px;box-shadow:0 8px 30px rgba(2,16,23,0.12);max-width:900px;margin:0 auto;color:var(--accent)}
.welcome h1{margin-top:0;color:var(--accent);font-size:clamp(1.4rem,2.6vw,2.2rem)}
.welcome h2{margin:0.4rem 0 1rem;color:var(--accent-2);font-weight:600}
.welcome p{line-height:1.6;margin:0 0 1rem}
.signature{font-weight:700;margin-top:0.6rem}

/* Actions / Buttons (liquid glass style matching .welcome) */
.actions{display:flex;flex-wrap:wrap;gap:0.75rem;margin-top:1rem}
.btn{
  display:inline-block;padding:0.7rem 1rem;border-radius:10px;text-decoration:none;color:var(--accent);font-weight:600;
  background:linear-gradient(180deg, rgba(255,255,255,0.5), rgba(255,255,255,0.35));
  border:1px solid rgba(255,255,255,0.45);
  box-shadow: 0 6px 20px rgba(2,16,23,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:transform .18s ease, box-shadow .18s ease;
}
.btn:hover{transform:translateY(-4px);box-shadow:0 12px 30px rgba(2,16,23,0.12)}
.btn:active{transform:translateY(-1px)}

/* Team cards and tables */
.team-card{background:linear-gradient(180deg, rgba(255,255,255,0.65), rgba(255,255,255,0.7));padding:1rem;border-radius:12px;margin:1rem 0;box-shadow:0 8px 30px rgba(2,16,23,0.08);max-width:900px}
.team-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:0.5rem}
.team-name{margin:0;color:var(--accent);font-size:1.1rem}
.team-school{font-size:0.9rem;color:var(--accent-2)}
.fixtures-day{padding:0.5rem}
.fixtures-summary{cursor:pointer;padding:0.6rem 0.75rem;font-weight:700;border-bottom:1px solid rgba(2,16,23,0.06);}
.fixtures-summary:hover{background:rgba(10,142,207,0.04)}
.fixtures-day > .details-body{margin:0}
.details-body{overflow:hidden}
.team-table{width:100%;border-collapse:collapse;background:transparent}
.team-table th,.team-table td{padding:0.6rem 0.75rem;text-align:left;border-bottom:1px solid rgba(2,16,23,0.06);color:var(--accent)}
.team-table thead th{font-weight:700}
.team-table tbody tr:last-child td{border-bottom:0}


@media (max-width:720px){
  .actions{flex-direction:column}
  .btn{width:100%;text-align:center}
}

.site-footer{padding:1rem 0;text-align:center;color:rgba(255,255,255,0.9)}

/* Responsive */
@media (max-width:720px){
  .nav-inner{padding:0.6rem}
  .nav-links{display:none}
  .welcome{padding:1rem;margin:0.5rem}
}
