/* ===== Variables ===== */
:root {
  --white: #ffffff;
  --ice: #eaf6ff;
  --sky: #bfe4ff;
  --light-blue: #7fc4f0;
  --blue: #2f8fd1;
  --deep-blue: #0f4c75;
  --navy: #0a2e4d;
  --gray-100: #f4f7f9;
  --gray-300: #d7dfe5;
  --gray-500: #94a3ad;
  --gray-700: #4d5b64;
  --gray-900: #1e2730;
  --shadow: 0 20px 40px rgba(15, 76, 117, 0.15);
  --radius: 18px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--gray-900);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, .logo {
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.02em;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

/* ===== Background flourishes ===== */
.ice-glare {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(127, 196, 240, 0.25), transparent 35%),
    radial-gradient(circle at 85% 70%, rgba(47, 143, 209, 0.18), transparent 40%);
  animation: driftGlow 14s ease-in-out infinite alternate;
}

@keyframes driftGlow {
  0% { opacity: 0.6; transform: translateY(0); }
  100% { opacity: 1; transform: translateY(30px); }
}

.snowflakes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.snowflakes::before,
.snowflakes::after {
  content: "❄";
  position: absolute;
  top: -10%;
  left: 10%;
  font-size: 18px;
  color: var(--sky);
  opacity: 0.5;
  animation: fall 12s linear infinite;
  text-shadow: 60px 180px 0 var(--light-blue), 140px 60px 0 var(--sky),
    220px 260px 0 var(--light-blue), 320px 120px 0 var(--sky),
    400px 320px 0 var(--light-blue), 480px 40px 0 var(--sky),
    560px 220px 0 var(--light-blue), 640px 90px 0 var(--sky),
    720px 300px 0 var(--light-blue), 800px 150px 0 var(--sky);
}

.snowflakes::after {
  left: 50%;
  animation-duration: 18s;
  animation-delay: -5s;
  font-size: 12px;
}

@keyframes fall {
  0% { transform: translateY(-10vh) rotate(0deg); }
  100% { transform: translateY(110vh) rotate(360deg); }
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-300);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--deep-blue);
}

.logo span {
  color: var(--blue);
  margin-left: 2px;
  display: inline-block;
  animation: pulseNum 2.4s ease-in-out infinite;
}

@keyframes pulseNum {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-700);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--deep-blue);
}

.nav-links a:hover::after {
  width: 100%;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(160deg, var(--ice) 0%, var(--white) 45%, var(--sky) 100%);
  isolation: isolate;
}

.rink-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    repeating-linear-gradient(0deg, rgba(47,143,209,0.06) 0 2px, transparent 2px 80px),
    repeating-linear-gradient(90deg, rgba(47,143,209,0.06) 0 2px, transparent 2px 80px);
  animation: gridPan 20s linear infinite;
}

@keyframes gridPan {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 0 -160px, -160px 0; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-content {
  position: relative;
  flex: 1 1 380px;
}

.hero-eyebrow {
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.3em;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.hero-title {
  margin: 0;
  font-weight: 700;
  font-size: clamp(3rem, 10vw, 7rem);
  line-height: 0.95;
  color: var(--navy);
}

.hero-title .line {
  display: block;
}

.hero-title .accent {
  background: linear-gradient(90deg, var(--blue), var(--light-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: shineText 4s linear infinite;
}

@keyframes shineText {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero-sub {
  margin: 22px 0 0;
  max-width: 520px;
  color: var(--gray-700);
  font-size: 1.1rem;
}

.hero-cta {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* ===== Hero Photo: flowy morphing 3D crop ===== */
.hero-photo {
  position: relative;
  flex: 0 1 560px;
  max-width: 560px;
  perspective: 1600px;
}

.hero-photo-glow {
  position: absolute;
  inset: -50px;
  z-index: -1;
  background: radial-gradient(circle, rgba(127,196,240,0.55), transparent 65%);
  filter: blur(16px);
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.hero-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
  animation: heroTilt 7s ease-in-out infinite;
  will-change: transform;
}

@keyframes heroTilt {
  0%, 100% { transform: rotateX(6deg) rotateY(-8deg) translateZ(0); }
  50% { transform: rotateX(-4deg) rotateY(8deg) translateZ(20px); }
}

.hero-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 6px solid var(--white);
  box-shadow: 0 30px 70px rgba(15,76,117,0.35), 0 0 0 1px rgba(47,143,209,0.3);
  animation: blobMorph 9s ease-in-out infinite;
  transform: translateZ(10px);
}

@keyframes blobMorph {
  0%, 100% { border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%; }
  25% { border-radius: 45% 55% 61% 39% / 42% 60% 40% 58%; }
  50% { border-radius: 37% 63% 48% 52% / 45% 62% 38% 55%; }
  75% { border-radius: 58% 42% 40% 60% / 60% 45% 55% 40%; }
}

@media (max-width: 900px) {
  .hero-inner { flex-direction: column-reverse; text-align: center; }
  .hero-content { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-photo { flex-basis: auto; width: 78vw; max-width: 380px; }
}

.btn {
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(90deg, var(--blue), var(--light-blue));
  color: var(--white);
  box-shadow: 0 10px 25px rgba(47, 143, 209, 0.35);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 16px 32px rgba(47, 143, 209, 0.45);
}

.btn-ghost {
  background: transparent;
  border-color: var(--blue);
  color: var(--deep-blue);
}

.btn-ghost:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-4px);
}

.jersey-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: min(55vw, 620px);
  color: var(--blue);
  opacity: 0.07;
  z-index: 1;
  user-select: none;
  animation: floatNum 8s ease-in-out infinite;
}

@keyframes floatNum {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -52%) scale(1.04); }
}

.puck {
  position: absolute;
  bottom: 12%;
  width: 46px;
  height: 20px;
  border-radius: 50%;
  background: var(--gray-900);
  box-shadow: inset 0 -4px 6px rgba(255,255,255,0.1);
  left: -60px;
  z-index: 1;
  animation: slidePuck 7s ease-in-out infinite;
}

@keyframes slidePuck {
  0% { left: -60px; transform: rotate(0deg); }
  50% { left: calc(100% + 60px); transform: rotate(540deg); }
  50.01% { left: -60px; transform: rotate(0deg); }
  100% { left: -60px; transform: rotate(0deg); }
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid var(--blue);
  border-radius: 20px;
  z-index: 2;
}

.scroll-cue span {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  background: var(--blue);
  border-radius: 50%;
  animation: scrollDot 1.6s ease-in-out infinite;
}

@keyframes scrollDot {
  0% { opacity: 1; top: 6px; }
  70% { opacity: 0; top: 24px; }
  100% { opacity: 0; top: 6px; }
}

/* ===== Sections generic ===== */
.section {
  position: relative;
  z-index: 1;
  padding: 110px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 60px;
}

.section-head h2 {
  font-size: clamp(2.2rem, 5vw, 3rem);
  color: var(--navy);
  margin: 0 0 10px;
}

.section-head h2.light { color: var(--white); }

.section-tag {
  color: var(--gray-500);
  font-size: 1.05rem;
}

.section-tag.light { color: var(--sky); }

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Bio ===== */
.bio-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: start;
}

.bio-text p {
  color: var(--gray-700);
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.timeline {
  position: relative;
  padding-left: 28px;
  border-left: 3px solid var(--sky);
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-item .dot {
  position: absolute;
  left: -37px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px var(--ice);
  animation: dotPulse 2.4s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--ice); }
  50% { box-shadow: 0 0 0 9px rgba(127,196,240,0.4); }
}

.timeline-item h3 {
  margin: 0 0 6px;
  color: var(--deep-blue);
  font-size: 1.3rem;
}

.timeline-item p {
  margin: 0;
  color: var(--gray-700);
}

/* ===== Stats ===== */
.stats-section {
  max-width: none;
  background: linear-gradient(135deg, var(--navy), var(--deep-blue) 55%, var(--blue));
  border-radius: 40px;
  margin: 0 20px;
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.08), transparent 45%);
  animation: driftGlow 10s ease-in-out infinite alternate;
}

.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.stat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 34px 20px;
  text-align: center;
  backdrop-filter: blur(6px);
  transition: transform 0.35s ease, background 0.35s ease;
}

.stat-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.14);
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  animation: bob 3s ease-in-out infinite;
}

.stat-card:nth-child(2) .stat-icon { animation-delay: 0.3s; }
.stat-card:nth-child(3) .stat-icon { animation-delay: 0.6s; }
.stat-card:nth-child(4) .stat-icon { animation-delay: 0.9s; }
.stat-card:nth-child(5) .stat-icon { animation-delay: 1.2s; }
.stat-card:nth-child(6) .stat-icon { animation-delay: 1.5s; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.stat-number {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--white);
}

.stat-label {
  margin: 6px 0 0;
  color: var(--sky);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ===== Gear ===== */
.gear-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.gear-card {
  position: relative;
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 36px 26px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.gear-card:hover {
  transform: translateY(-12px) rotate(-1deg);
  box-shadow: var(--shadow);
  border-color: var(--light-blue);
}

.gear-glow {
  position: absolute;
  top: -40%;
  left: -40%;
  width: 180%;
  height: 180%;
  background: radial-gradient(circle, rgba(127,196,240,0.35), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gear-card:hover .gear-glow {
  opacity: 1;
}

.gear-emoji {
  font-size: 3rem;
  margin-bottom: 16px;
  display: inline-block;
  transition: transform 0.4s ease;
}

.gear-card:hover .gear-emoji {
  transform: scale(1.2) rotate(8deg);
}

.gear-card h3 {
  color: var(--navy);
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.gear-card p {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 18px;
}

.gear-price {
  display: inline-block;
  font-weight: 700;
  color: var(--blue);
  background: var(--ice);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.95rem;
}

/* ===== Contact ===== */
.contact-section {
  display: flex;
  justify-content: center;
}

.contact-card {
  background: linear-gradient(135deg, var(--ice), var(--white));
  border: 1px solid var(--gray-300);
  border-radius: 28px;
  padding: 60px 40px;
  text-align: center;
  max-width: 560px;
  width: 100%;
  box-shadow: var(--shadow);
}

.contact-card h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 2rem;
}

.contact-card > p {
  color: var(--gray-700);
  margin-bottom: 28px;
}

.contact-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-form input {
  flex: 1 1 240px;
  padding: 14px 18px;
  border-radius: 50px;
  border: 2px solid var(--gray-300);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form input:focus {
  border-color: var(--light-blue);
  box-shadow: 0 0 0 4px rgba(127,196,240,0.3);
}

.social-row {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-row a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--gray-300);
  color: var(--blue);
  font-size: 1.1rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.social-row a:hover {
  transform: translateY(-5px) rotate(8deg);
  background: var(--blue);
  color: var(--white);
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 28px 20px;
  color: var(--gray-500);
  font-size: 0.85rem;
  border-top: 1px solid var(--gray-300);
}

/* ===== Kangaroo Background Photos ===== */
.roo-bg {
  position: absolute;
  z-index: 0;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  border: 4px solid var(--white);
  box-shadow: 0 20px 40px rgba(15, 76, 117, 0.25);
  opacity: 0.16;
  filter: grayscale(35%) saturate(120%) sepia(8%) hue-rotate(160deg);
  pointer-events: none;
  animation: rooFloat 10s ease-in-out infinite;
}

.roo-bg-1 {
  top: 8vh;
  left: -40px;
  width: 260px;
  height: 320px;
  transform: rotate(-6deg);
  background-image: url('https://commons.wikimedia.org/wiki/Special:FilePath/Gfp-red-kangaroo-side.jpg');
  animation-delay: 0s;
}

.roo-bg-2 {
  top: 115vh;
  right: -60px;
  width: 300px;
  height: 230px;
  transform: rotate(5deg);
  background-image: url('https://commons.wikimedia.org/wiki/Special:FilePath/Red_kangaroo_pair.jpg');
  animation-delay: 2.5s;
}

.roo-bg-3 {
  top: 205vh;
  left: -50px;
  width: 240px;
  height: 300px;
  transform: rotate(4deg);
  background-image: url('https://commons.wikimedia.org/wiki/Special:FilePath/Kangaroo.jpg');
  animation-delay: 5s;
}

.roo-bg-4 {
  top: 300vh;
  right: -40px;
  width: 280px;
  height: 220px;
  transform: rotate(-4deg);
  background-image: url('https://commons.wikimedia.org/wiki/Special:FilePath/Red-Kangaroo.jpg');
  animation-delay: 1.2s;
}

@keyframes rooFloat {
  0%, 100% { transform: translateY(0) rotate(var(--roo-rot, 0deg)); }
  50% { transform: translateY(-18px) rotate(var(--roo-rot, 0deg)); }
}

.roo-bg-1 { --roo-rot: -6deg; }
.roo-bg-2 { --roo-rot: 5deg; }
.roo-bg-3 { --roo-rot: 4deg; }
.roo-bg-4 { --roo-rot: -4deg; }

@media (max-width: 900px) {
  .roo-bg { opacity: 0.1; width: 180px !important; height: 180px !important; }
}

@media (max-width: 600px) {
  .roo-bg { display: none; }
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .bio-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
