:root {
  color-scheme: dark;
  --bg: #020617;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --accent: #38bdf8;
  --accent-strong: #0ea5e9;
  --border: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #020617 0%, #0f172a 100%);
  color: var(--text);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

main {
  min-height: 100vh;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(12px);
}

.nav-shell,
.hero,
.section,
.footer-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.nav-shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.brand {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: center;
  padding: 5rem 0 4rem;
}

.pill {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: var(--accent);
  color: #020617;
  font-size: 0.9rem;
  font-weight: 800;
}

.hero h1,
.section h2,
.flyer-card h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 4.3rem);
  line-height: 1.05;
  font-weight: 900;
}

.lede {
  max-width: 42rem;
  margin: 1.2rem 0 0;
  font-size: 1.06rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.8rem;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 0.9rem;
  padding: 0.85rem 1.2rem;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #020617;
}

.btn-secondary,
.btn-outline,
.btn-outline-dark {
  border: 1px solid var(--border);
  background: transparent;
}

.btn-light {
  background: #fff;
  color: #020617;
}

.btn-primary-dark {
  background: #020617;
  color: #fff;
}

.hero-media img {
  width: 100%;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--panel);
}

.section {
  padding: 3rem 0;
}

.section-heading {
  margin-bottom: 1.5rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.player-card,
.schedule-table,
.flyer-card {
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: var(--panel);
}

.schedule-table,
.flyer-card {
  overflow: hidden;
}

.player-card {
  overflow: visible;
}

.player-card {
  position: relative;
}

.card-image-wrap {
  position: relative;
  overflow: visible;
}

.card-image-wrap > img {
  border-radius: 1.5rem 1.5rem 0 0;
}

.player-card img {
  width: 100%;
  height: 18rem;
  object-fit: cover;
}

.card-body {
  padding: 4.2rem 1.25rem 1.25rem;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.number,
.grad {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  background: var(--accent);
  color: #020617;
  font-size: 0.85rem;
  font-weight: 800;
}

.player-card h3 {
  margin: 0;
  font-size: 1.45rem;
}

.position {
  margin: 0.25rem 0 0;
  color: #7dd3fc;
  font-weight: 700;
}

.details,
.hometown {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.card-actions {
  position: relative;
  margin-top: 32px;
  overflow: visible;
}

.fab {
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: #56AEFF;
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    box-shadow: 0 8px 20px rgba(0,0,0,.35);
    transition: all .2s ease;
}

.fab:hover {
    background: #3d9df0;
    transform: scale(1.05);
}

.fab svg {
    width: 24px;
    height: 24px;
}

.menu-icon {
  width: 28px;
   color: #56aeff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fab-menu a:hover .menu-icon,
.fab-menu a:focus .menu-icon {
  color: #071126;
}

.schedule-row {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1fr 0.8fr;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
}

.schedule-header {
  font-weight: 800;
  background: rgba(255, 255, 255, 0.06);
}

.tag {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: var(--accent);
  color: #020617;
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 800;
}

.flyer-section {
  padding-bottom: 4rem;
}

.flyer-card {
  padding: 2rem;
  background: linear-gradient(135deg, var(--accent), #7dd3fc);
  color: #020617;
}

.flyer-card p {
  max-width: 40rem;
  margin: 1rem 0 0;
  font-weight: 600;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 3rem;
}

.footer-shell {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.footer h3,
.footer h4 {
  margin: 0 0 0.35rem;
}

.footer p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.profile-page {
  padding-bottom: 3rem;
}

.profile-hero {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0 1.5rem;
}

.profile-hero-card {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 2rem;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 1.75rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.16), rgba(255, 255, 255, 0.04));
}

.profile-hero-card img {
  width: 100%;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
}

.profile-copy h1 {
  margin: 0.4rem 0 0.4rem;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
}

.profile-copy p {
  color: var(--muted);
}

.profile-bio {
  max-width: 42rem;
  margin-bottom: 1rem;
}

.profile-details {
  display: grid;
  gap: 0.45rem;
  margin: 1rem 0;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.profile-socials {
  position: static;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  margin-top: 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.info-card {
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.2rem;
  background: var(--panel);
}

.info-card h3 {
  margin-top: 0;
}

.info-card ul {
  padding-left: 1rem;
  color: var(--muted);
}

.social-list li + li {
  margin-top: 0.4rem;
}

.social-profile-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.social-profile-item:last-child {
  border-bottom: 0;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.18);
  font-size: 1rem;
}

.coach-actions {
  display: grid;
  gap: 0.85rem;
}

.coach-block {
  padding: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
}

.coach-block h4 {
  margin: 0 0 0.6rem;
}

.coach-block .btn {
  width: 100%;
  margin-top: 0.45rem;
}

.feature-grid {
  width: min(1120px, calc(100% - 2rem));
  margin: 1rem auto 0;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr;
  gap: 1rem;
}

.qr-card img {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: #fff;
  padding: 0.6rem;
}

.qr-caption {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.stack-actions {
  flex-direction: column;
  align-items: stretch;
}

.notes-card textarea {
  width: 100%;
  min-height: 7rem;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  resize: vertical;
}

.status-text {
  min-height: 1.2rem;
  margin-top: 0.6rem;
  color: #7dd3fc;
  font-size: 0.95rem;
}

/* Profile Layout Styles */

.profile-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 2rem;
  width: min(1200px, calc(100% - 2rem));
  margin: 2rem auto 3rem;
}

.profile-sidebar {
  position: sticky;
  top: 6rem;
  height: fit-content;
}

.player-card-large {
  position: relative;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  overflow: visible;
  margin-bottom: 1.5rem;
  background: var(--panel);
}
.player-image-wrapper {
  overflow: hidden;
  border-radius: 38px 38px 0 0;
}

.player-card-large img {
  width: 100%;
  display: block;
}

.card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #56aeff;
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-weight: 800;
  font-size: 0.95rem;
}

.grad-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
}

.player-info-sidebar {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.2rem;
}

.player-info-sidebar h3 {
  margin: 0 0 0.8rem;
  font-size: 1rem;
}

.social-sidebar {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.social-sidebar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.6rem;
  background: rgba(56, 189, 248, 0.16);
  font-size: 1.1rem;
}

.info-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  margin: 0.65rem 0;
  font-size: 0.9rem;
}

.info-row .label {
  color: var(--muted);
}

.info-row .value {
  font-weight: 600;
  text-align: right;
}

.profile-content {
  padding-top: 0.5rem;
}

.profile-header {
  margin-bottom: 1.5rem;
}

.profile-header h1 {
  margin: 0 0 0.35rem;
  font-size: 2.4rem;
  font-weight: 900;
}

.profile-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.action-block {
  margin-bottom: 1.5rem;
}

.action-block h2 {
  margin: 0 0 0.8rem;
  font-size: 1.1rem;
  font-weight: 800;
}

.action-row {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.9rem 1rem;
  margin: 0.5rem 0;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 180ms ease;
  text-align: left;
}

.action-row:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.3);
}

.action-icon {
  display: inline-flex;
  align-items: center;
  margin-right: 0.75rem;
  font-size: 1.1rem;
}

.notes-section {
  margin: 0.8rem 0;
}

.notes-section textarea {
  width: 100%;
  min-height: 6rem;
  padding: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
}

.notes-disclaimer {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.profiles-list {
  display: grid;
  gap: 0.6rem;
}

.profile-row {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.95rem;
}

.profile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-right: 0.75rem;
  border-radius: 0.5rem;
  background: rgba(56, 189, 248, 0.16);
  font-size: 1rem;
}

.profile-text {
  color: var(--text);
}

@media (max-width: 1100px) {
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .profile-sidebar {
    position: relative;
    top: auto;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
  }

  .player-card-large {
    margin-bottom: 0;
  }
}

@media (max-width: 600px) {
  .profile-layout {
    margin: 1rem auto 2rem;
  }

  .profile-sidebar {
    grid-template-columns: 1fr;
  }

  .player-card-large {
    width: 100%;
  }

  .profile-header h1 {
    font-size: 1.8rem;
  }

  .action-row {
    padding: 0.75rem 0.8rem;
    font-size: 0.9rem;
  }

  .action-icon {
    margin-right: 0.5rem;
    font-size: 1rem;
  }
}
.share-card {
  width: min(1120px, calc(100% - 2rem));
  margin: 1rem auto 0;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 980px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .hero,
  .footer-shell,
  .profile-hero-card,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3rem;
  }

  .schedule-row {
    grid-template-columns: 1fr;
  }

  .card-actions {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    display: grid;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .hero h1,
  .section h2,
  .flyer-card h2 {
    font-size: 2.2rem;
  }
}

/* Instagram icon styling */
.social-sidebar a img,
.profile-icon img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}
.profile-row {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    padding: 12px 16px;
    border-radius: 10px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.profile-row:hover {
    background-color: rgba(255,255,255,.08);
    transform: translateX(4px);
    cursor: pointer;
}

.profile-row img {
    width: 20px;
    height: 20px;
}

.profile-text {
    color: inherit;
}
.profile-text a {
  color: inherit;
  text-decoration: none;
}

.profile-text a:hover {
  color: #56aeff; 
  /* Your Columbia Blue accent */
  text-decoration: underline;
}
.fab {
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: #56AEFF;
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    box-shadow: 0 8px 20px rgba(0,0,0,.35);
    transition: all .2s ease;
}

.fab:hover {
    background: #3d9df0;
    transform: scale(1.05);
}

.fab svg {
    width: 24px;
    height: 24px;
}
/* Collapsible player social menu */

.card-image-wrap {
  position: relative;
}

/* PLAYER SOCIAL BUTTON AND POPUP */

.card-image-wrap {
  position: relative;
  overflow: visible;
}

..card-image-wrap {
  position: relative;
  overflow: visible;
}

.social-menu{

    position:absolute;

    left:16px;

    bottom:16px;

    display:flex;

    align-items:center;

    gap:10px;

    z-index:100;

}

.social-toggle{

    width:44px;
    height:44px;

    border:none;
    border-radius:50%;

    background:rgba(20,26,38,.78);

    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);

    display:flex;
    align-items:center;
    justify-content:center;

    cursor:pointer;

    box-shadow:0 8px 18px rgba(0,0,0,.35);

    transition:.25s;
}

.social-toggle:hover{

    transform:scale(1.08);

    background:rgba(30,40,60,.9);

}

.social-toggle img{
    width:20px;
    height:20px;
}

 .social-links{

    display:flex;

    gap:8px;

    padding:8px;

    border-radius:999px;

    background:rgba(20,26,38,.82);

    backdrop-filter:blur(12px);

    -webkit-backdrop-filter:blur(12px);

    border:1px solid rgba(255,255,255,.12);

    box-shadow:0 10px 24px rgba(0,0,0,.4);

    opacity:0;

    visibility:hidden;

    pointer-events:none;

    transform:translateX(-12px);

    transition:.25s;

}

.social-links.open{

    opacity:1;

    visibility:visible;

    pointer-events:auto;

    transform:translateX(0);

}
.social-links a:hover{

    background:#56AEFF;

    color:#071126;

}

.social-links a{

    width:38px;
    height:38px;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    color:white;

    text-decoration:none;

    transition:.25s;

}

.social-links a > img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.card-body {
  padding: 1.25rem;
}

.player-card {
  overflow: visible;
}
.connect-section{

    margin-top:50px;

}

.connect-section h4{

    color:white;

    font-size:1.4rem;

    margin-bottom:8px;

}

.connect-section p{

    color:#BFC7D6;

    margin-bottom:24px;

    max-width:520px;

}

.social-row{

    display:flex;

    gap:16px;

    margin-bottom:24px;

}

.social-row a{

    width:56px;

    height:56px;

    border-radius:50%;

    border:1px solid rgba(255,255,255,.18);

    display:flex;

    align-items:center;

    justify-content:center;

    text-decoration:none;

    color:white;

    background:rgba(255,255,255,.03);

    transition:.25s;

}

.social-row a:hover{

    background:#56AEFF;

    border-color:#56AEFF;

    transform:translateY(-4px);

}

.social-row img{

    width:24px;

    height:24px;

}

.contact-buttons{

    display:flex;

    gap:16px;

    flex-wrap:wrap;

}