/* MVPeeps Profile Page - HostGator-safe CSS (no :root vars) */

* { box-sizing: border-box; }
html, body { height: 100%; }





/* Stop browser-forced dark mode from altering your colors */
:root { color-scheme: dark; }
html, body { forced-color-adjust: none; }

/* Higher-contrast text defaults */
body { color: rgba(255,255,255,.92); }
.profile, .section, .stats, .action-tile { color: rgba(255,255,255,.92); }

/* Muted text: make it readable */
.section-sub,
.action-sub,
.action-kicker,
.quote-banner,
.parent-coach-links ul li a,
.details-summary,
.stats p strong + span,
.stats p,
.verified-badge,
.rank-banner {
  color: rgba(255,255,255,.78);
}

/* Links & small helper text */
a { color: #4ecdc4; }
a:hover { color: #7ff2ea; }
.small-muted, .helper, .meta, .fineprint { color: rgba(255,255,255,.70); }

/* Inputs/selects: keep readable in forced modes */
input, select, textarea {
  color: rgba(255,255,255,.92);
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.14);
}







body {
  margin: 0;
  color: rgba(255,255,255,0.92);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background:
    radial-gradient(1200px 800px at 12% 8%, rgba(78,205,196,0.18), transparent 55%),
    radial-gradient(900px 700px at 86% 16%, rgba(42,214,255,0.14), transparent 55%),
    radial-gradient(900px 700px at 60% 90%, rgba(255,105,180,0.10), transparent 60%),
    linear-gradient(180deg, #070A12, #0A0F1F);
  overflow-x: hidden;
}

body:before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.06), transparent 35%),
    radial-gradient(circle at 72% 18%, rgba(255,255,255,0.04), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.05), transparent 38%),
    radial-gradient(circle at 35% 85%, rgba(255,255,255,0.04), transparent 40%);
  filter: blur(1px);
  opacity: 0.9;
  z-index: -1;
}

/* Header */
header {
  max-width: 920px;
  margin: 18px auto 0;
  border-radius: 18px;
  padding: 14px 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 10px 28px rgba(0,0,0,0.45);
  backdrop-filter: blur(10px);
}

header a {
  color: #4ecdc4;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.2px;
}
header a:hover { opacity: 0.9; }

/* Main container */
.profile {
  width: min(920px, calc(100% - 28px));
  margin: 18px auto 38px;
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 18px 50px rgba(0,0,0,0.55);
  backdrop-filter: blur(12px);
  position: relative;
}

/* Badges */
.sport-badge {
  position: absolute;
  top: 16px; left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(78,205,196,0.15);
  border: 1px solid rgba(78,205,196,0.35);
  color: #4ecdc4;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: 0.78rem;
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
}
.sport-badge img { width: 18px; height: 18px; display: block; }

.verified-badge {
  position: absolute;
  top: 16px; right: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(0,255,120,0.25);
  color: rgba(0,255,120,0.95);
  font-weight: 900;
  font-size: 0.82rem;
  box-shadow: 0 0 0 2px rgba(0,255,120,0.08), 0 14px 34px rgba(0,0,0,0.45);
}

/* Rank */
.rank-banner {
  margin: 54px auto 10px;
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,211,107,0.95), rgba(255,140,0,0.90));
  color: #140b00;
  font-weight: 1000;
  box-shadow: 0 12px 28px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.18);
}

/* Sections */
.section {
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.section-title {
  font-size: 1.15rem;
  font-weight: 950;
}
.section-sub {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.68);
  text-align: right;
  max-width: 55%;
}

/* Action tiles */
.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.action-tile {
  display: block;
  text-decoration: none;
  color: rgba(255,255,255,0.92);
  padding: 14px;
  border-radius: 18px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 12px 30px rgba(0,0,0,0.30);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  position: relative;
  overflow: hidden;
}
.action-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(78,205,196,0.35);
  box-shadow: 0 18px 44px rgba(0,0,0,0.40);
}
.action-kicker {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.52);
  text-transform: uppercase;
  letter-spacing: 0.9px;
}
.action-main {
  font-size: 1.06rem;
  font-weight: 950;
  margin-top: 4px;
}
.action-sub {
  margin-top: 2px;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.68);
}

/* Buttons */
.card-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.card-btn, .coach-button, .share-button, .dropdown-toggle {
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 950;
  transition: transform 120ms ease, opacity 120ms ease;
  box-shadow: 0 12px 26px rgba(0,0,0,0.35);
}

.card-btn {
  background: linear-gradient(180deg, rgba(78,205,196,0.95), rgba(78,205,196,0.78));
  color: #00110f;
}
.card-btn:hover { transform: translateY(-1px); }

.card-btn.ghost {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
  border-color: rgba(255,255,255,0.14);
}

.coach-button {
  background: linear-gradient(180deg, rgba(42,214,255,0.95), rgba(42,214,255,0.75));
  color: #001018;
}
.coach-button:hover { transform: translateY(-1px); }

.dropdown-toggle {
  width: 100%;
  background: rgba(78,205,196,0.15);
  color: rgba(255,255,255,0.92);
  border-color: rgba(78,205,196,0.35);
  box-shadow: none;
}

.grandma-button {
  background: linear-gradient(180deg, rgba(255,105,180,0.95), rgba(255,105,180,0.78));
  color: #1a0010;
  font-size: 1.02rem;
  padding: 14px 16px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 950;
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 18px 36px rgba(0,0,0,0.38);
}

/* Inputs */
select, input[type="text"], input[type="email"], input[type="number"] {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.92);
  outline: none;
}
select:focus, input:focus {
  border-color: rgba(78,205,196,0.55);
  box-shadow: 0 0 0 3px rgba(78,205,196,0.12);
}

input[type="submit"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(180deg, rgba(78,205,196,0.95), rgba(78,205,196,0.75));
  color: #00110f;
  font-weight: 950;
  cursor: pointer;
}
input[type="submit"]:hover { transform: translateY(-1px); }

/* Stats */
.stats {
  font-size: 0.95rem;
  line-height: 1.55;
  background: rgba(0,0,0,0.22);
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  margin-bottom: 14px;
}
.stats p { margin: 8px 0; }

/* Details collapsible */
details.details {
  border-radius: 18px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.10);
  overflow: hidden;
}
.details-summary {
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 950;
  background: rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Tables */
table { width: 100%; border-collapse: collapse; border-radius: 14px; overflow: hidden; }
th, td { border: 1px solid rgba(255,255,255,0.08); padding: 8px; text-align: center; }
th { background: rgba(255,255,255,0.06); color: rgba(78,205,196,0.95); font-weight: 950; }
td { background: rgba(0,0,0,0.22); }

/* Map */
#zipMap {
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0,0,0,0.40);
}

/* Mobile */
@media (max-width: 520px) {
  .profile { padding: 14px; }
  .rank-banner { margin-top: 64px; }
  .section-sub { display: none; }
  .sport-badge, .verified-badge { top: 12px; }
}



/* Embedded highlight video – compact + clean */
.video-wrap{ max-width: 420px; }

.video-wrap{
  max-width: 560px;        /* <-- controls size (try 480–640) */
  margin: 0 auto;          /* center it */
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.5);
  box-shadow: 0 8px 24px rgba(0,0,0,.45);
}

.video-wrap video,
.video-wrap iframe{
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  background: #000;
}

@media (min-width: 900px){
  .video-wrap{ max-width: 480px; }
}





.video-hint{
  position:absolute;
  bottom:10px;
  right:10px;
  background:rgba(0,0,0,.6);
  color:#fff;
  font-size:.75rem;
  padding:6px 8px;
  border-radius:8px;
  pointer-events:none;
}
.video-wrap{ position:relative; }

