
/*
Theme Name: Keep The Score Pro
Author: OpenAI
Version: 1.0
Description: Custom promotional homepage theme for Keep The Score
*/

:root{
  --bg:#071018;
  --panel:#111827;
  --mint:#43d3ae;
  --amber:#f6c453;
  --text:#f8fafc;
  --muted:#9fb3c8;
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family: Inter, Arial, sans-serif;
  background:linear-gradient(180deg,#08111a 0%,#071018 100%);
  color:var(--text);
}

a{
  text-decoration:none;
}

.hero{
  position:relative;
  overflow:hidden;
  padding:40px 20px 120px;
  background:
    radial-gradient(circle at top left, rgba(67,211,174,.18), transparent 30%),
    radial-gradient(circle at top right, rgba(246,196,83,.15), transparent 28%),
    #071018;
}

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

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 24px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
  border-radius:24px;
  backdrop-filter:blur(10px);
}

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

.logo-badge{
  width:52px;
  height:52px;
  border-radius:16px;
  background:linear-gradient(135deg,var(--mint),#1f8f73);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  color:#071018;
  font-size:22px;
  box-shadow:0 0 25px rgba(67,211,174,.35);
}

.logo h1{
  margin:0;
  font-size:22px;
}

.cta{
  background:var(--amber);
  color:#071018;
  padding:14px 24px;
  border-radius:999px;
  font-weight:800;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:60px;
  align-items:center;
  padding-top:80px;
}

.eyebrow{
  display:inline-block;
  padding:10px 16px;
  border-radius:999px;
  background:rgba(67,211,174,.12);
  color:#8ef0d2;
  font-weight:700;
  margin-bottom:24px;
  border:1px solid rgba(67,211,174,.25);
}

.hero h2{
  font-size:82px;
  line-height:.92;
  letter-spacing:-3px;
  margin:0 0 28px;
  max-width:700px;
}

.hero p{
  color:var(--muted);
  font-size:22px;
  line-height:1.7;
  max-width:650px;
}

.hero-actions{
  display:flex;
  gap:18px;
  margin-top:42px;
  flex-wrap:wrap;
}

.primary-btn{
  background:var(--mint);
  color:#071018;
  padding:18px 28px;
  border-radius:999px;
  font-weight:900;
  box-shadow:0 0 30px rgba(67,211,174,.25);
}

.secondary-btn{
  background:rgba(255,255,255,.05);
  color:white;
  padding:18px 28px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.08);
}

.hero-points{
  display:flex;
  gap:32px;
  margin-top:34px;
  flex-wrap:wrap;
  color:#bdd0df;
  font-weight:600;
}

.score-card{
  background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.08);
  border-radius:34px;
  overflow:hidden;
  box-shadow:0 30px 80px rgba(0,0,0,.45);
}

.score-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:26px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.live{
  background:#46f2b9;
  color:#071018;
  padding:8px 14px;
  border-radius:999px;
  font-weight:900;
  animation:pulse 2s infinite;
}

@keyframes pulse{
  0%{transform:scale(1);}
  50%{transform:scale(1.06);}
  100%{transform:scale(1);}
}

.score-body{
  padding:22px;
}

.row{
  display:grid;
  grid-template-columns:1fr 80px 70px;
  align-items:center;
  gap:14px;
  margin-bottom:14px;
  padding:18px;
  border-radius:22px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.06);
  transition:.2s ease;
}

.row:hover{
  transform:translateY(-2px);
  border-color:rgba(67,211,174,.35);
}

.rank{
  width:36px;
  height:36px;
  border-radius:12px;
  background:var(--amber);
  color:#071018;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  margin-right:14px;
}

.player{
  display:flex;
  align-items:center;
  font-weight:800;
}

.score{
  font-size:34px;
  text-align:right;
  font-weight:900;
}

.move{
  text-align:right;
  color:#89ffd7;
  font-weight:800;
}

.section{
  padding:100px 20px;
}

.section-title{
  font-size:58px;
  line-height:1;
  margin-bottom:18px;
}

.section-copy{
  color:var(--muted);
  font-size:20px;
  max-width:720px;
}

.feature-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
  margin-top:50px;
}

.feature{
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.06);
  border-radius:28px;
  padding:32px;
}

.feature-icon{
  width:58px;
  height:58px;
  border-radius:18px;
  background:rgba(67,211,174,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  margin-bottom:20px;
}

.feature h3{
  font-size:28px;
}

.feature p{
  color:var(--muted);
  line-height:1.7;
}

.final-cta{
  text-align:center;
  padding:110px 20px 130px;
}

.final-cta h2{
  font-size:72px;
  line-height:1;
  margin-bottom:24px;
}

footer{
  border-top:1px solid rgba(255,255,255,.08);
  padding:34px 20px;
  color:#8ea3b6;
  text-align:center;
}

@media(max-width:980px){
  .hero-grid,
  .feature-grid{
    grid-template-columns:1fr;
  }

  .hero h2{
    font-size:58px;
  }

  .section-title,
  .final-cta h2{
    font-size:44px;
  }

  .nav{
    gap:20px;
  }
}
