/* ============ PRIVATEERS RUGBY — PROFESSIONAL THEME ============ */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

:root {
  --cyan:      #29C8F5;
  --cyan-dark: #0FA8D4;
  --cyan-deep: #0880A8;
  --lime:      #CCFF00;
  --lime-dark: #AADD00;
  --black:     #0A0A0A;
  --black-2:   #111111;
  --black-3:   #1A1A1A;
  --white:     #FFFFFF;
  --off-white: #E8F8FF;
  --text-muted:#9ECFDE;
}

body {
  margin: 0;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--white);
  background: var(--black);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ============ BACKGROUND ============ */
.bg-layer {
  position: fixed; inset: 0; z-index: -3;
  background:
    repeating-linear-gradient(
      120deg,
      rgba(41,200,245,.03) 0 1px,
      transparent 1px 60px
    ),
    repeating-linear-gradient(
      -60deg,
      rgba(204,255,0,.025) 0 1px,
      transparent 1px 60px
    ),
    radial-gradient(ellipse at 10% 0%, rgba(41,200,245,.12) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 100%, rgba(204,255,0,.07) 0%, transparent 50%),
    linear-gradient(160deg, #0D0D0D 0%, #080808 60%, #0A0A0A 100%);
}

.bg-stars { display: none; }
.bg-sparkles { display: none; }

/* ============ TICKER BAR ============ */
.ticker-bar {
  background: var(--cyan);
  color: var(--black);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2.5px;
  padding: 7px 0;
  text-transform: uppercase;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-inner {
  display: inline-block;
  -webkit-animation: tickerScroll 30s linear infinite;
  animation: tickerScroll 30s linear infinite;
}
@-webkit-keyframes tickerScroll {
  from { -webkit-transform: translateX(100vw); transform: translateX(100vw); }
  to   { -webkit-transform: translateX(-100%); transform: translateX(-100%); }
}
@keyframes tickerScroll {
  from { transform: translateX(100vw); }
  to   { transform: translateX(-100%); }
}

/* ============ HEADER ============ */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  flex-wrap: wrap;
  gap: 16px;
  background: rgba(10,10,10,.95);
  border-bottom: 3px solid var(--cyan);
  position: sticky;
  top: 0;
  z-index: 100;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.logo-block { display: flex; align-items: center; gap: 14px; overflow: hidden; }
.logo-img {
  width: 72px;
  height: 72px;
  min-width: 72px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(41,200,245,.5));
}

.site-title {
  margin: 0;
  font-size: clamp(18px, 5vw, 36px);
  font-family: 'Impact', 'Arial Black', sans-serif;
  letter-spacing: clamp(1px, 1vw, 4px);
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
}
.site-title span { color: var(--cyan); }

.site-tagline {
  margin: 3px 0 0 0;
  color: var(--text-muted);
  font-size: clamp(9px, 2vw, 11px);
  letter-spacing: clamp(1px, 0.5vw, 2px);
  text-transform: uppercase;
  font-style: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-nav { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.top-nav a {
  color: var(--text-muted);
  background: transparent;
  padding: 8px 18px;
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  transition: color .2s, background .2s;
}
.top-nav a:hover {
  color: var(--black);
  background: var(--cyan);
}

/* ============ HERO / PLAYER REVEAL ============ */
.hero { padding: 40px 20px; }
.hero-frame {
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(15,15,15,.97);
  border: 1px solid rgba(41,200,245,.3);
  border-top: 3px solid var(--cyan);
  border-radius: 4px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,.7), 0 0 40px rgba(41,200,245,.05);
}

.hero-banner {
  text-align: center;
  margin-bottom: 24px;
}
.banner-flash {
  display: inline-block;
  font-family: 'Impact', sans-serif;
  font-size: clamp(20px, 3vw, 32px);
  letter-spacing: 8px;
  padding: 10px 36px;
  background: var(--lime);
  color: var(--black);
  text-transform: uppercase;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  animation: bannerPulse 2.5s ease-in-out infinite alternate;
}
@keyframes bannerPulse {
  from { box-shadow: 0 0 0 rgba(204,255,0,0); }
  to   { box-shadow: 0 0 24px rgba(204,255,0,.45); }
}

.reveal-stage {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-radius: 3px;
  background:
    radial-gradient(ellipse at 50% 105%, rgba(41,200,245,.15) 0%, transparent 55%),
    radial-gradient(circle at 15% 85%, rgba(204,255,0,.06) 0%, transparent 35%),
    linear-gradient(180deg, #111 0%, #0A0A0A 100%);
  border: 1px solid rgba(255,255,255,.06);
}

/* Spotlight */
.spotlight {
  position: absolute;
  bottom: -10%;
  left: 50%;
  transform: translateX(-50%) scaleY(0);
  transform-origin: bottom center;
  width: 70%;
  height: 110%;
  background: radial-gradient(ellipse at 50% 100%,
    rgba(41,200,245,.25) 0%,
    rgba(41,200,245,.08) 35%,
    transparent 70%);
  filter: blur(6px);
  pointer-events: none;
  z-index: 1;
}
.spotlight.on { animation: spotlightRise .5s ease-out forwards; }
@keyframes spotlightRise {
  0%   { transform: translateX(-50%) scaleY(0); opacity: 0; }
  100% { transform: translateX(-50%) scaleY(1); opacity: 1; }
}

.stage-floor {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  pointer-events: none;
  z-index: 1;
}

.rays { display: none; }

.shockwave {
  position: absolute;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 3px solid var(--cyan);
  pointer-events: none;
  opacity: 0;
}
.shockwave.boom { animation: boom .8s ease-out forwards; }
@keyframes boom {
  0%   { transform: scale(.2); opacity: .8; border-width: 6px; }
  100% { transform: scale(15); opacity: 0;  border-width: 1px; }
}

/* ===== Staged reveal ===== */
.reveal-group {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 28px;
  z-index: 3;
  opacity: 0;
  transition: left .8s cubic-bezier(.6,.05,.3,1), transform .8s cubic-bezier(.6,.05,.3,1);
}
.reveal-group.slam {
  animation: groupSlam .5s cubic-bezier(.2,1.4,.4,1) forwards;
}
@keyframes groupSlam {
  0%   { transform: translate(-50%,-50%) scale(.15) rotate(-8deg); opacity: 0; }
  60%  { transform: translate(-50%,-50%) scale(1.06) rotate(1deg); opacity: 1; }
  100% { transform: translate(-50%,-50%) scale(1) rotate(0);        opacity: 1; }
}
.reveal-group.shifted { left: 30%; opacity: 1; }

.player-portrait {
  position: relative;
  width: 220px;
  aspect-ratio: 1;
  border: 3px solid var(--cyan);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(41,200,245,.3), 0 0 40px rgba(41,200,245,.2);
  flex-shrink: 0;
}
.portrait-placeholder {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--cyan-deep), var(--black-3));
  font-family: 'Impact', sans-serif;
}
.portrait-initials {
  font-size: 110px;
  color: var(--cyan);
  text-shadow: 0 0 30px rgba(41,200,245,.6);
  letter-spacing: -4px;
}
.portrait-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.12), transparent 60%);
  pointer-events: none;
}

.name-block {
  position: relative;
  padding: 20px 30px;
  background: rgba(0,0,0,.75);
  border-left: 4px solid var(--lime);
  border-top: 1px solid rgba(204,255,0,.25);
  border-bottom: 1px solid rgba(204,255,0,.25);
  min-width: 300px;
}
.name-slash {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(204,255,0,.04), transparent);
  pointer-events: none;
}
.player-name {
  margin: 0;
  font-family: 'Impact', 'Arial Black', sans-serif;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1;
  letter-spacing: 2px;
  max-width: 10ch;
  word-spacing: 9999px;
  color: var(--white);
  text-transform: uppercase;
  filter: drop-shadow(0 0 12px rgba(204,255,0,.3));
}
.player-tagline {
  margin: 8px 0 0 0;
  font-size: 14px;
  color: var(--lime);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
}

/* Stats panel */
.stats-panel {
  position: absolute;
  top: 50%;
  right: -50%;
  transform: translateY(-50%);
  width: 36%;
  padding: 22px;
  background: rgba(10,10,10,.95);
  border: 1px solid rgba(41,200,245,.3);
  border-left: 3px solid var(--cyan);
  border-radius: 0 4px 4px 0;
  z-index: 3;
  opacity: 0;
  transition: right .7s cubic-bezier(.6,.05,.3,1) .2s, opacity .5s ease .2s;
}
.stats-panel.shown { right: 3%; opacity: 1; }

.player-number {
  font-family: 'Impact', sans-serif;
  font-size: 26px;
  color: var(--cyan);
}
.player-position {
  margin: 4px 0 16px 0;
  display: inline-block;
  background: var(--lime);
  color: var(--black);
  padding: 3px 12px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 2px;
}

.stats { display: grid; gap: 8px; margin-bottom: 16px; }
.stat { display: grid; grid-template-columns: 80px 1fr; align-items: center; gap: 10px; }
.stat-label { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--text-muted); text-transform: uppercase; }
.stat-bar {
  height: 6px;
  background: rgba(255,255,255,.1);
  border-radius: 3px;
  overflow: hidden;
}
.stat-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan-deep), var(--cyan), var(--lime));
  border-radius: 3px;
  transition: width 1s cubic-bezier(.2,1,.4,1);
}

.player-quote {
  font-style: italic;
  color: var(--text-muted);
  border-left: 3px solid var(--cyan);
  padding-left: 10px;
  margin: 0;
  font-size: 13px;
}

.info-rows { display: grid; gap: 14px; margin-top: 6px; }
.info-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.info-row:last-child { border-bottom: none; }
.info-icon { font-size: 20px; line-height: 1.2; }
.info-label {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--cyan);
  font-weight: 700;
  text-transform: uppercase;
}
.info-value {
  font-size: 14px;
  color: var(--white);
  font-weight: 600;
  margin-top: 2px;
  line-height: 1.4;
}

/* Controls */
.reveal-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 18px; margin-top: 24px;
}
.btn-smash {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 24px;
  background: transparent;
  color: var(--cyan);
  border: 2px solid var(--cyan);
  border-radius: 2px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn-smash:hover { background: var(--cyan); color: var(--black); }
.btn-smash:active { opacity: .8; }

.dots { display: flex; gap: 8px; }
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.15); border: none; cursor: pointer;
  transition: background .2s;
}
.dot.active { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

/* ============ CONTENT SECTIONS ============ */
.section-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px;
}

.section-label {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 700;
  margin-bottom: 8px;
}
.section-title {
  font-family: 'Impact', 'Arial Black', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 32px 0;
  border-left: 5px solid var(--lime);
  padding-left: 18px;
}

/* Legacy Section */
.legacy {
  background: rgba(255,255,255,.02);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.legacy-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.legacy-text p {
  color: #ccc;
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 16px 0;
}
.legacy-signoff {
  color: var(--cyan) !important;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 2px;
  margin-top: 24px !important;
  border-left: 3px solid var(--cyan);
  padding-left: 14px;
}
.legacy-stat-block {
  display: grid;
  gap: 16px;
}
.legacy-stat {
  background: rgba(41,200,245,.06);
  border: 1px solid rgba(41,200,245,.15);
  border-left: 4px solid var(--cyan);
  padding: 18px 20px;
  border-radius: 2px;
}
.legacy-stat-num {
  font-family: 'Impact', sans-serif;
  font-size: 42px;
  color: var(--lime);
  line-height: 1;
  letter-spacing: 2px;
}
.legacy-stat-desc {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Practice Section */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.practice-card {
  background: rgba(15,15,15,.9);
  border: 1px solid rgba(41,200,245,.2);
  border-top: 3px solid var(--cyan);
  padding: 24px 20px;
  text-align: center;
  border-radius: 3px;
  transition: border-color .2s, box-shadow .2s;
}
.practice-card:hover {
  border-color: rgba(41,200,245,.5);
  box-shadow: 0 0 20px rgba(41,200,245,.1);
}
.practice-day {
  font-family: 'Impact', sans-serif;
  font-size: 28px;
  letter-spacing: 4px;
  color: var(--lime);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.practice-time {
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  margin: 8px 0;
}
.practice-loc {
  font-size: 13px;
  color: var(--cyan);
  margin-top: 8px;
}
.practice-note {
  font-size: 12px;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 8px;
  letter-spacing: 1px;
}
.practice-cta {
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  color: var(--lime);
  background: rgba(204,255,0,.06);
  padding: 14px 20px;
  border: 1px solid rgba(204,255,0,.2);
  border-radius: 3px;
  margin: 0;
  letter-spacing: 1px;
}

/* Friends / Partners Section */
.friends {
  background: rgba(255,255,255,.015);
  border-top: 1px solid rgba(255,255,255,.06);
}
.friends-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.friend {
  background: rgba(41,200,245,.04);
  border: 1px solid rgba(41,200,245,.15);
  padding: 16px 14px;
  font-size: 13px;
  text-align: center;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 3px;
  transition: background .2s, color .2s;
}
.friend:hover { background: rgba(41,200,245,.1); color: var(--white); }

/* ============ FOOTER ============ */
.site-footer {
  margin-top: 0;
  background: var(--black-2);
  border-top: 3px solid var(--cyan);
  color: var(--text-muted);
  font-size: 13px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 28px 48px;
}
.footer-social-links-wrap {
  display: flex;
  justify-content: center;
}
.footer-credit-inline {
  text-align: right;
}
.footer-col-brand { display: flex; flex-direction: column; gap: 0; }
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(41,200,245,.4));
}
.footer-brand-name {
  font-family: 'Impact', sans-serif;
  font-size: 18px;
  letter-spacing: 3px;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.2;
}
.footer-brand-name span { color: var(--cyan); display: block; }
.footer-tagline { display: none; }
.footer-col-label { display: none; }

.footer-social-links {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  gap: 16px;
  -webkit-align-items: center;
  align-items: center;
  flex-wrap: wrap;
}
.footer-social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #bbb;
  font-size: 13px;
  font-weight: 600;
  transition: color .2s;
}
.footer-social-link:hover { color: var(--cyan); }
.footer-social-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  font-size: 14px;
  font-style: normal;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  color: #fff;
  line-height: 1;
}
.footer-social-icon.fb { background: #1877F2; }
.footer-social-icon.ig { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

.footer-divider { display: none; }
.footer-bottom { display: none; }

.footer-credit-inline {
  font-size: 12px;
  color: rgba(255,255,255,.3);
  letter-spacing: 1px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.footer-satisapps-logo {
  height: 20px;
  width: auto;
  opacity: .7;
  vertical-align: middle;
  transition: opacity .2s;
}
.footer-satisapps-logo:hover { opacity: 1; }
.footer-credit-inline a {
  color: var(--lime);
  text-decoration: none;
  font-weight: 700;
  transition: color .2s;
}
.footer-credit-inline a:hover { color: var(--cyan); }

@media (max-width: 700px) {
  .footer-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 20px;
    gap: 20px;
  }
  .footer-col-brand { align-items: center; }
  .footer-logo-row { justify-content: center; }
  .footer-social-links-wrap { width: 100%; }
  .footer-social-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }
  .footer-credit-inline {
    width: 100%;
    align-items: center;
    text-align: center;
  }
}

/* ============ SMALL PHONE (iPhone SE, 375px) ============ */
@media (max-width: 400px) {
  .site-header { padding: 10px 12px; gap: 10px; }
  .logo-img { width: 52px; height: 52px; min-width: 52px; }
  .contact-hero-sub {
    font-size: 12px;
    letter-spacing: 1px;
    white-space: normal;
  }
  .contact-hero { padding: 40px 16px 30px; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .legacy-content { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .site-header { padding: 12px 16px; }
  .reveal-stage { min-height: auto; padding-bottom: 20px; }
  .reveal-group {
    position: relative; top: auto; left: auto !important;
    transform: none !important; flex-direction: column;
    padding: 20px; opacity: 1;
  }
  .reveal-group.slam { animation: groupSlamMobile .5s cubic-bezier(.2,1.4,.4,1) forwards; }
  @keyframes groupSlamMobile {
    0%   { transform: scale(.3) rotate(-8deg); opacity: 0; }
    60%  { transform: scale(1.05);             opacity: 1; }
    100% { transform: scale(1);                opacity: 1; }
  }
  .player-portrait { width: 180px; }
  .name-block { min-width: 0; border-left: 4px solid var(--lime); text-align: center; }
  .player-name { font-size: 40px; }
  .stats-panel {
    position: relative; right: auto !important; top: auto;
    transform: none; width: auto; margin: 0 16px 16px; opacity: 1;
  }
  .stats-panel:not(.shown) { display: none; }
  .site-title { font-size: 20px; }
  .banner-flash { font-size: 18px; letter-spacing: 4px; padding: 8px 18px; }
  .section-wrapper { padding: 40px 16px; }
}
