
:root {
  --navy: #041b33;
  --navy-2: #0f2f55;
  --green: #66a72f;
  --green-2: #4f8f22;
  --orange: #e66410;
  --sky: #acd3f3;
  --cream: #f9fafa;
  --ink: #111827;
  --muted: #667085;
  --line: #d9e0e8;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(4, 27, 51, .18);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f8fafc;
  line-height: 1.6;
}

a { color: inherit; }
.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--green);
  color: var(--navy);
  padding: .75rem 1rem;
  border-radius: 12px;
  z-index: 999;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 23, 51, .95);
  backdrop-filter: blur(14px);
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--green), var(--orange));
  color: var(--navy);
  font-family: "Anton", sans-serif;
  letter-spacing: .04em;
  box-shadow: 0 12px 30px rgba(246, 183, 57, .24);
}

.brand-text { font-size: 1.05rem; }

.site-nav {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  text-decoration: none;
  color: rgba(255,255,255,.82);
  font-size: .88rem;
  font-weight: 800;
  padding: .55rem .75rem;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(255,255,255,.12);
  color: white;
}

.nav-toggle {
  display: none;
  border: 0;
  background: rgba(255,255,255,.1);
  color: white;
  border-radius: 12px;
  padding: .6rem .75rem;
  font-size: 1.25rem;
}

.hero {
  background:
    radial-gradient(circle at 80% 10%, rgba(246, 183, 57, .32), transparent 30%),
    radial-gradient(circle at 15% 70%, rgba(242, 106, 46, .28), transparent 30%),
    linear-gradient(135deg, var(--navy), var(--navy-2));
  color: white;
  padding: 88px 0 72px;
  overflow: hidden;
  position: relative;
}

.hero:after {
  content: "DBL";
  position: absolute;
  right: -2rem;
  bottom: -7rem;
  font-family: "Anton", sans-serif;
  font-size: 20rem;
  line-height: 1;
  color: rgba(255,255,255,.035);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .78rem;
  font-weight: 900;
  color: var(--orange);
  margin: 0 0 .7rem;
}

.hero .eyebrow { color: var(--green); }

h1, h2, h3 {
  margin: 0 0 1rem;
  line-height: 1.05;
  letter-spacing: -.04em;
}

h1 {
  font-family: "Anton", sans-serif;
  font-size: clamp(4rem, 12vw, 8.25rem);
  letter-spacing: .01em;
  text-transform: uppercase;
}

h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

.hero-tagline {
  font-size: clamp(1.45rem, 3vw, 2.6rem);
  font-weight: 900;
  color: var(--green);
  margin-top: -1rem;
  margin-bottom: 1rem;
}

.hero-text {
  color: rgba(255,255,255,.85);
  max-width: 650px;
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: .88rem 1.15rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.button:hover { transform: translateY(-2px); }

.button.primary {
  background: linear-gradient(135deg, var(--green), var(--orange));
  color: var(--navy);
  box-shadow: 0 18px 45px rgba(242, 106, 46, .28);
}

.button.secondary {
  color: white;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
}

.hero-card,
.quote-card,
.feature-card,
.team-card,
.player-card,
.ranking-card,
.recap-card,
.mini-panel,
.rules article {
  border: 1px solid rgba(17, 24, 39, .08);
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  color: var(--ink);
  padding: 1.4rem;
  transform: rotate(1deg);
}

.scorebug {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem;
  border-radius: 16px;
  background: var(--navy);
  color: white;
  margin-bottom: 1.1rem;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.scorebug strong { color: var(--green); }

.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
  margin-top: 1.1rem;
}

.stat-row div {
  background: #f3f4f6;
  border-radius: 16px;
  padding: 1rem;
}

.stat-row strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--navy);
}

.stat-row span {
  display: block;
  margin-top: .35rem;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 700;
}

.ticker {
  background: var(--green);
  color: var(--navy);
  font-weight: 800;
}

.ticker-inner {
  display: flex;
  gap: .6rem;
  padding: .85rem 0;
}

.section { padding: 72px 0; }
.section.alt { background: var(--cream); }

.section-heading {
  max-width: 800px;
  margin-bottom: 2rem;
}

.section-heading p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-grid,
.card-grid,
.scoreboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.feature-card,
.team-card,
.player-card,
.mini-panel {
  padding: 1.35rem;
}

.feature-card a,
.team-card a {
  color: var(--orange);
  font-weight: 900;
  text-decoration: none;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: #edf6e4;
  margin-bottom: 1rem;
  font-size: 1.45rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 2rem;
  align-items: center;
}

.quote-card {
  padding: 2rem;
  background: var(--navy);
  color: white;
}

.quote-card p {
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.2;
}

.quote-card span {
  color: var(--green);
  font-weight: 800;
}

.mini-panel h3 {
  color: var(--muted);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.mini-panel strong {
  display: block;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--navy);
}

.mini-panel span {
  display: block;
  margin-top: .65rem;
  color: var(--muted);
  font-weight: 700;
}

.page-hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(246, 183, 57, .3), transparent 26%),
    linear-gradient(135deg, var(--navy), var(--navy-2));
  color: white;
}

.page-hero.compact { padding: 62px 0; }
.page-hero h1 {
  font-size: clamp(3.2rem, 9vw, 6.5rem);
}
.page-hero p:last-child {
  max-width: 680px;
  color: rgba(255,255,255,.82);
  font-size: 1.08rem;
}

.table-wrap {
  overflow-x: auto;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(17, 24, 39, .08);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th, td {
  text-align: left;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}

th {
  background: var(--navy);
  color: white;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

td { font-weight: 700; }
tbody tr:hover { background: #f9fafb; }

.pill {
  display: inline-flex;
  white-space: nowrap;
  border-radius: 999px;
  padding: .35rem .65rem;
  background: #eaf2fb;
  color: #0f2f55;
  font-size: .8rem;
  font-weight: 900;
}

.pill.hot { background: #edf6e4; color: #3f6f1b; }
.pill.caution { background: #fbe9de; color: #9a4a16; }

.note {
  margin-top: 1rem;
  color: var(--muted);
  font-weight: 700;
}

code {
  background: #dfe7ef;
  padding: .18rem .35rem;
  border-radius: 6px;
}

.team-logo {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--navy), var(--orange));
  color: white;
  font-family: "Anton", sans-serif;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.player-card h2,
.team-card h2 {
  font-size: 1.45rem;
}

.rankings,
.recap-list,
.rules {
  display: grid;
  gap: 1rem;
}

.ranking-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  padding: 1.2rem;
  align-items: center;
}

.rank {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--navy);
  color: var(--green);
  font-family: "Anton", sans-serif;
  font-size: 2rem;
}

.meta {
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 0;
}

.recap-card {
  padding: 1.4rem;
}

.recap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
  margin-top: 1.1rem;
}

.recap-grid div {
  background: #f3f4f6;
  border-radius: 16px;
  padding: 1rem;
}

.recap-grid strong,
.recap-grid span {
  display: block;
}

.recap-grid span {
  color: var(--muted);
  margin-top: .25rem;
  font-weight: 700;
}

.rules article {
  padding: 1.5rem;
  background: var(--cream);
}

.rule-list {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(17, 24, 39, .08);
  padding: 1.5rem 1.5rem 1.5rem 3rem;
  margin: 0;
}

.rule-list li {
  padding: .65rem .25rem;
  font-weight: 800;
}

.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.78);
  padding: 48px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr 1fr;
  gap: 2rem;
}

.footer-brand {
  color: white;
  font-family: "Anton", sans-serif;
  font-size: 2rem;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.site-footer h3 {
  color: white;
  font-size: 1rem;
  letter-spacing: 0;
}

.site-footer a { color: var(--green); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 74px;
    padding: .75rem;
    background: var(--navy);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: grid; }
  .site-nav a { padding: .75rem 1rem; }
  .hero-grid,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid,
  .card-grid,
  .scoreboard,
  .recap-grid {
    grid-template-columns: 1fr;
  }
  .hero-card { transform: none; }
}

@media (max-width: 520px) {
  .container { width: min(100% - 28px, 1120px); }
  .hero { padding: 60px 0; }
  .section { padding: 52px 0; }
  .brand-text { display: none; }
  .ticker-inner { display: block; }
  .ranking-card { grid-template-columns: 1fr; }
}


.ir-card {
  background: linear-gradient(180deg, #ffffff, #f3f4f6);
  border-style: dashed;
}

.featured-card {
  background: linear-gradient(180deg, #ffffff, #fff8ea);
  border-color: rgba(246, 183, 57, .7);
}


.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -.02em;
}

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 12px;
  background: white;
  padding: 2px;
  box-shadow: 0 8px 22px rgba(0,0,0,.18);
}

.hero-logo {
  display: block;
  width: min(100%, 340px);
  margin: 0 auto 1rem;
  border-radius: 20px;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: #edf6e4;
  margin-bottom: 1rem;
  font-size: 1.45rem;
}


/* Logo-driven site update */
.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 14px;
  background: #ffffff;
  padding: 3px;
  box-shadow: 0 8px 22px rgba(0,0,0,.20);
}

.logo-hero {
  background:
    radial-gradient(circle at 78% 12%, rgba(102, 167, 47, .35), transparent 30%),
    radial-gradient(circle at 20% 78%, rgba(230, 100, 16, .22), transparent 28%),
    linear-gradient(135deg, var(--navy), var(--navy-2));
}

.hero-tagline {
  color: var(--green);
}

.hero-logo {
  display: block;
  width: min(100%, 360px);
  margin: 0 auto 1.1rem;
  border-radius: 24px;
  filter: drop-shadow(0 20px 36px rgba(4, 27, 51, .18));
}

.logo-showcase {
  padding: 1.2rem;
  border: 2px solid rgba(102, 167, 47, .35);
}

.button.primary {
  background: linear-gradient(135deg, var(--green), var(--orange));
  color: var(--navy);
  box-shadow: 0 18px 45px rgba(102, 167, 47, .28);
}

.button.secondary {
  border-color: rgba(172, 211, 243, .45);
}

.ticker {
  background: var(--green);
  color: #ffffff;
}

.feature-card,
.team-card,
.player-card,
.ranking-card,
.recap-card,
.mini-panel,
.rules article {
  border-top: 5px solid var(--green);
}

.feature-card:nth-child(2),
.ranking-card:nth-child(even),
.recap-card:nth-child(even) {
  border-top-color: var(--orange);
}

.card-icon {
  background: #edf6e4;
}

.pill.hot {
  background: #edf6e4;
  color: #3f6f1b;
}

.pill.caution {
  background: #fbe9de;
  color: #9a4a16;
}

.team-logo {
  background: linear-gradient(135deg, var(--navy), var(--green));
}

.site-footer {
  border-top: 8px solid var(--green);
}

@media (max-width: 520px) {
  .brand-logo {
    width: 50px;
    height: 50px;
  }
}


.team-logo-image {
  display: block;
  width: min(100%, 240px);
  height: auto;
  margin: 0 auto 1rem;
  object-fit: contain;
}

.featured-team {
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  border-top: 6px solid var(--orange);
  position: relative;
}

.featured-team:before {
  content: "Featured Team";
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--green);
  color: white;
  padding: .35rem .65rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hoopsters-logo {
  filter: drop-shadow(0 10px 26px rgba(4, 27, 51, .16));
}


.featured-team-section {
  align-items: center;
}

.team-spotlight-card {
  border: 1px solid rgba(17, 24, 39, .08);
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  border-top: 6px solid var(--orange);
}

.team-spotlight-logo {
  display: block;
  width: min(100%, 360px);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 12px 24px rgba(4, 27, 51, .15));
}
