/* Action Dart League public theme - Coming Soon inspired */

/* CSS variables */
:root {
  --adl-blue: #003399;
  --adl-dark: #001a4d;
  --adl-silver: #e0e0e0;
  --adl-grey: #2a2a2a;
}

/* Public body wrapper */
body.adl-public {
  font-family: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #0f172a;
  background-image:
    radial-gradient(at 0% 0%, hsla(253,16%,7%,1) 0, transparent 50%),
    radial-gradient(at 50% 0%, hsla(225,39%,30%,1) 0, transparent 50%),
    radial-gradient(at 100% 0%, hsla(339,49%,30%,0) 0, transparent 50%);
  color: #f9fafb;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* Outer dartboard rings like Coming Soon page
   (centered on the viewport) */
body.adl-public::before,
body.adl-public::after {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

body.adl-public::before {
  width: 150vw;
  height: 150vw;
  border: 40px solid rgba(255, 255, 255, 0.04);
}

body.adl-public::after {
  width: 100vw;
  height: 100vw;
  border: 40px solid rgba(255, 255, 255, 0.04);
}

/* Page content container so footer can stick */
.adl-page-container {
  flex: 1 0 auto;
  position: relative;
  z-index: 1;
}

/* Navbar */
.adl-navbar {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  position: relative;
  z-index: 2;
}

.adl-navbar .navbar-brand {
  font-family: 'Teko', 'Roboto', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.adl-navbar .nav-link {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  color: #e5e7eb !important;
}

.adl-navbar .nav-link.active,
.adl-navbar .nav-link:hover {
  color: #60a5fa !important;
}

/* Glassy panels and cards */
.glass-panel,
.adl-card {
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 0.75rem;
}

/* Hero heading style */
.adl-heading {
  font-family: 'Teko', 'Roboto', system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.metallic-text {
  background: linear-gradient(to bottom, #ffffff 0%, #a0a0a0 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0px 2px 4px rgba(0,0,0,0.3);
}

/* Hero title size */
.adl-hero-title {
  font-size: clamp(2.2rem, 3vw, 3rem);
}

/* Top 25 tabs */
#top25Tabs .nav-link {
  border-radius: 999px;
  padding-inline: 0.9rem;
  padding-block: 0.25rem;
  font-size: 0.8rem;
}

#top25Tabs .nav-link.active {
  background-color: #f9fafb;
  color: #111827;
}

/* Tables on dark background */
.table-dark {
  --bs-table-bg: rgba(15, 23, 42, 0.95);
  --bs-table-striped-bg: rgba(30, 41, 59, 0.9);
  --bs-table-hover-bg: rgba(55, 65, 81, 0.9);
  color: #e5e7eb;
}

/* Scrolling table wrapper */
.table-scroll {
  max-height: 300px;
  overflow-y: auto;
}

.table-scroll thead th {
  position: sticky;
  top: 0;
  background: #020617;
  color: #e5e7eb;
  z-index: 2;
}

/* Make card titles readable on dark glass cards */
.adl-card .card-title {
  color: #e5e7eb;
}

/* Footer */
.adl-footer {
  position: relative;
  z-index: 2;
  background: transparent;
}

/* ----------------------------------------------------
   CARD LINK HOVER – Schedules / Team Standings / Player Search
---------------------------------------------------- */
.adl-card:hover {
    border-color: rgba(96, 165, 250, 0.7) !important; /* blue-400 border */
    box-shadow: 0 0 12px rgba(96, 165, 250, 0.35);
}

.adl-card:hover .card-title,
.adl-card:hover .card-text {
    color: #60a5fa !important; /* blue-400 */
}

a:hover .adl-card {
    cursor: pointer;
}

/* ----------------------------------------------------
   FACEBOOK ICON HOVER – Match Coming Soon Page
---------------------------------------------------- */
.adl-footer a:hover svg {
    color: #60a5fa !important;  /* blue-400 */
    fill: #60a5fa !important;
}

.adl-footer a:hover {
    color: #60a5fa !important;
}

.adl-logo-img {
    height: 90px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.45));
}

/* Wrap logo + text so we can nudge the text under the right side of the A */
.hero-logo-wrap {
  position: relative;
}

/* Main welcome line – pull it up and to the right on desktop */
.adl-hero-line {
  position: relative;
  margin-top: -8px;   /* move text closer up under the logo */
  margin-left: 70px;  /* start after the left wing / left side of A */
}

/* Active Season line – align under the welcome line */
.adl-hero-subline {
  position: relative;
  margin-top: -8px;
  margin-left: 110px;
}

/* On small screens, stack normally so it doesn’t look cramped */
@media (max-width: 767.98px) {
  .adl-hero-line,
  .adl-hero-subline {
    margin-top: 0;
    margin-left: 0;
  }
}
