/*
Theme Name: Next XI
Theme URI: https://nextxifootball.com/
Author: David Clarke
Description: Lightweight custom WordPress theme for the Next XI football intelligence platform.
Version: 0.1.3
Text Domain: next-xi
*/

:root{
  --nx-bg:#071116;
  --nx-bg2:#0d181d;
  --nx-panel:#0b161b;
  --nx-line:rgba(255,255,255,.12);
  --nx-text:#f5f7f4;
  --nx-muted:#a8b1b5;
  --nx-lime:#a7f432;
  --nx-ink:#172027;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  background:#f5f6f7;
  color:var(--nx-ink);
}
a{color:inherit}
img{max-width:100%;height:auto}

.nx-site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(5,12,16,.97);
  border-bottom:1px solid var(--nx-line);
  backdrop-filter:blur(10px);
}
.nx-header-inner{
  max-width:1440px;
  min-height:76px;
  margin:0 auto;
  padding:0 28px;
  display:flex;
  align-items:center;
  gap:34px;
}
.nx-brand{
  display:flex;
  align-items:center;
  text-decoration:none;
  flex:0 0 auto;
}
.nx-brand img{
  display:block;
  width:190px;
  max-height:48px;
  object-fit:contain;
}
.nx-brand-text{
  color:#fff;
  font-weight:900;
  font-size:28px;
  letter-spacing:-.05em;
}
.nx-brand-text span{color:var(--nx-lime)}

.nx-nav{
  display:flex;
  align-items:center;
  gap:26px;
  margin-left:auto;
}
.nx-nav a{
  color:#fff;
  font-size:14px;
  font-weight:700;
  text-decoration:none;
  opacity:.88;
}
.nx-nav a:hover{opacity:1;color:var(--nx-lime)}

.nx-header-actions{
  display:flex;
  align-items:center;
  gap:10px;
}
.nx-login{
  color:#fff;
  text-decoration:none;
  font-size:13px;
  font-weight:700;
  padding:11px 13px;
}
.nx-signup{
  color:#10181d!important;
  background:var(--nx-lime);
  text-decoration:none;
  font-weight:900;
  font-size:13px;
  padding:12px 17px;
  border-radius:6px;
}

.nx-mobile-toggle{
  display:none;
  margin-left:auto;
  border:1px solid var(--nx-line);
  color:#fff;
  background:transparent;
  border-radius:6px;
  width:42px;
  height:42px;
  font-size:20px;
}

.nx-main{min-height:70vh}
.nx-content{
  max-width:1440px;
  margin:0 auto;
  padding:34px 28px 70px;
}
body.home .nx-content{
  max-width:none;
  padding:0;
}
body.home .nx-main{
  background:#fff;
}

.nx-site-footer{
  background:#071116;
  color:#d9e0e2;
  border-top:1px solid var(--nx-line);
}
.nx-footer-main{
  max-width:1440px;
  margin:0 auto;
  padding:46px 28px 28px;
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1.3fr;
  gap:40px;
}
.nx-footer-brand img{
  width:180px;
  max-height:52px;
  object-fit:contain;
  margin-bottom:15px;
}
.nx-footer-brand strong{
  display:block;
  font-size:24px;
  color:#fff;
  margin-bottom:10px;
}
.nx-footer-brand p,
.nx-footer-col a,
.nx-footer-col p{
  font-size:13px;
  line-height:1.7;
  color:#aeb8bc;
}
.nx-footer-col h4{
  color:#fff;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin:0 0 14px;
}
.nx-footer-col a{
  display:block;
  text-decoration:none;
  margin:6px 0;
}
.nx-footer-col a:hover{color:var(--nx-lime)}
.nx-footer-bottom{
  max-width:1440px;
  margin:0 auto;
  padding:18px 28px 26px;
  border-top:1px solid var(--nx-line);
  font-size:12px;
  color:#8f9ba0;
}

.nx-page-title{
  margin:0 0 24px;
  font-size:42px;
  line-height:1;
  letter-spacing:-.04em;
}
.entry-content{min-width:0}

/* Keep plugin layouts flush and uncluttered. */
.page-template-default .entry-content > .nextxi-home,
.page-template-default .entry-content > .nextxi-player-profile,
.page-template-default .entry-content > .nextxi-directory{
  margin-top:0;
}

/* Remove default WordPress content chrome. */
article.page{margin:0}
article.page > header{display:none}

@media(max-width:1000px){
  .nx-nav,.nx-header-actions{display:none}
  .nx-mobile-toggle{display:block}
  .nx-site-header.is-open .nx-nav,
  .nx-site-header.is-open .nx-header-actions{
    display:flex;
  }
  .nx-site-header.is-open .nx-header-inner{
    flex-wrap:wrap;
    padding-bottom:18px;
  }
  .nx-site-header.is-open .nx-nav{
    width:100%;
    order:3;
    flex-direction:column;
    align-items:flex-start;
    gap:14px;
  }
  .nx-site-header.is-open .nx-header-actions{
    width:100%;
    order:4;
  }
  .nx-footer-main{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .nx-header-inner{min-height:68px;padding:0 18px}
  .nx-brand img{width:160px}
  .nx-content{padding:24px 16px 48px}
  .nx-footer-main{grid-template-columns:1fr;padding:34px 18px}
  .nx-footer-bottom{padding:18px}
}

/* Next XI Theme v0.1.1 branding */
.nx-brand-wordmark{display:flex;align-items:baseline;gap:7px;color:#fff;font-size:31px;font-weight:900;letter-spacing:-.055em;line-height:1;text-decoration:none}.nx-brand-wordmark .nx-xi{color:var(--nx-lime)}.nx-brand-wordmark small{display:block;margin-top:4px;color:#8f9aa0;font-size:7px;letter-spacing:.17em;font-weight:700}.nx-site-header .nx-brand{min-width:190px}.nx-footer-wordmark{font-size:30px;font-weight:900;letter-spacing:-.05em;color:#fff}.nx-footer-wordmark span{color:var(--nx-lime)}
@media(max-width:640px){.nx-brand-wordmark{font-size:27px}.nx-site-header .nx-brand{min-width:auto}}
