/* Villa League Homepage Styles */

.vlh-wrap {
  font-family: 'Josefin Sans', 'Helvetica Neue', Arial, sans-serif;
  color: #1C1610;
  overflow-x: hidden;
  margin: 0 -20px; /* break out of Kadence content width */
}

/* ===== HERO ===== */
.vlh-hero {
  min-height: 100vh;
  background: #1C1610;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 120px;
  overflow: hidden;
}
.vlh-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.vlh-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.vlh-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(42,122,111,0.25) 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: vlhOrb1 8s ease-in-out infinite alternate;
}
.vlh-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.15) 0%, transparent 70%);
  bottom: -50px; left: -50px;
  animation: vlhOrb2 10s ease-in-out infinite alternate;
}
@keyframes vlhOrb1 { from { transform: translate(0,0) scale(1); } to { transform: translate(-40px,40px) scale(1.1); } }
@keyframes vlhOrb2 { from { transform: translate(0,0) scale(1); } to { transform: translate(30px,-30px) scale(1.15); } }

.vlh-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.vlh-icon {
  width: 64px; height: 64px;
  margin: 0 auto 28px;
  display: block;
  animation: vlhFloat 4s ease-in-out infinite;
}
@keyframes vlhFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.vlh-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #C9A84C;
  margin-bottom: 20px;
  opacity: 0;
  animation: vlhUp 0.8s ease 0.2s forwards;
}
.vlh-title {
  font-family: 'Tenor Sans', Georgia, serif;
  font-size: clamp(44px, 8vw, 84px);
  color: #fff;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  opacity: 0;
  animation: vlhUp 0.8s ease 0.4s forwards;
}
.vlh-title span { color: #C9A84C; display: block; }
.vlh-subtitle {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  max-width: 480px;
  margin: 0 auto 40px;
  opacity: 0;
  animation: vlhUp 0.8s ease 0.6s forwards;
}
.vlh-subtitle strong { color: rgba(255,255,255,0.9); font-weight: 500; }

@keyframes vlhUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }

/* FORM BOX */
.vlh-form-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 32px;
  max-width: 420px;
  margin: 0 auto;
  opacity: 0;
  animation: vlhUp 0.8s ease 0.8s forwards;
}
.vlh-form-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.vlh-field { margin-bottom: 12px; }
.vlh-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 6px;
}
.vlh-field input {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  color: #fff;
  outline: none;
  transition: all 0.2s;
  box-sizing: border-box;
}
.vlh-field input::placeholder { color: rgba(255,255,255,0.2); }
.vlh-field input:focus { border-color: #3D9E91; background: rgba(255,255,255,0.1); }

.vlh-btn {
  display: block;
  width: 100%;
  padding: 15px;
  background: #2A7A6F;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 8px;
  text-align: center;
  text-decoration: none;
}
.vlh-btn:hover { background: #3D9E91; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(42,122,111,0.4); color: #fff; }
.vlh-fine {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  margin-top: 12px;
  text-align: center;
  line-height: 1.6;
}
.vlh-fine a { color: rgba(255,255,255,0.35); }
.vlh-error {
  background: rgba(196,103,58,0.2);
  border: 1px solid rgba(196,103,58,0.4);
  color: #FFB49A;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 10px;
}
.vlh-logged-in { text-align: center; }
.vlh-welcome { color: rgba(255,255,255,0.7); font-size: 16px; margin-bottom: 20px; }
.vlh-welcome strong { color: #fff; }

/* SUCCESS BOX */
.vlh-success-box {
  text-align: center;
  max-width: 420px;
  margin: 0 auto;
  padding: 40px 32px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
}
.vlh-success-icon { font-size: 48px; margin-bottom: 16px; }
.vlh-success-box h3 { font-family: 'Tenor Sans', serif; font-size: 24px; color: #fff; margin-bottom: 12px; }
.vlh-success-box p { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.7; }
.vlh-success-box strong { color: #fff; }
.vlh-success-box a { color: #3D9E91; }

/* SCROLL HINT */
.vlh-scroll-hint {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0;
  animation: vlhUp 0.8s ease 1.2s forwards;
}
.vlh-scroll-hint span { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.2); }
.vlh-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(201,168,76,0.5), transparent);
  animation: vlhScroll 2s ease-in-out infinite;
}
@keyframes vlhScroll { 0%,100% { opacity:1; transform:scaleY(1); } 50% { opacity:0.3; transform:scaleY(0.5); } }

/* ===== SECTIONS ===== */
.vlh-section { padding: 100px 40px; }

.vlh-eyebrow-dark {
  font-size: 11px; font-weight: 600; letter-spacing: 0.3em;
  text-transform: uppercase; color: #C9A84C; margin-bottom: 16px;
  display: block;
}
.vlh-section-title {
  font-family: 'Tenor Sans', Georgia, serif;
  font-size: clamp(30px, 4vw, 48px);
  color: #1C1610;
  margin-bottom: 16px;
  line-height: 1.1;
}
.vlh-section-title.vlh-light { color: #fff; }
.vlh-section-desc {
  font-size: 16px; font-weight: 300; color: #6B5B45;
  max-width: 500px; line-height: 1.75; margin-bottom: 56px;
}
.vlh-section-desc.vlh-muted { color: rgba(255,255,255,0.45); }

/* HOW IT WORKS */
.vlh-how { background: #FAF6EF; text-align: center; }
.vlh-how .vlh-section-desc { margin: 0 auto 56px; }
.vlh-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.vlh-step {
  background: #fff;
  border-radius: 20px;
  padding: 32px 24px;
  text-align: left;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s;
}
.vlh-step:hover { transform: translateY(-4px); }
.vlh-step::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2A7A6F, #C9A84C);
}
.vlh-step-num { font-family: 'Tenor Sans', serif; font-size: 44px; color: #EDE0C8; line-height: 1; margin-bottom: 12px; }
.vlh-step-icon { font-size: 26px; margin-bottom: 10px; }
.vlh-step-title { font-size: 15px; font-weight: 600; color: #1C1610; margin-bottom: 8px; }
.vlh-step-desc { font-size: 13px; font-weight: 300; color: #6B5B45; line-height: 1.65; }

/* SCORING */
.vlh-scoring { background: #1C1610; }
.vlh-scoring-inner {
  max-width: 960px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 80px; align-items: center;
}
.vlh-points { display: flex; flex-direction: column; gap: 14px; }
.vlh-point {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex; align-items: center; gap: 14px;
  transition: all 0.2s;
}
.vlh-point:hover { background: rgba(255,255,255,0.08); transform: translateX(4px); }
.vlh-point-icon { font-size: 22px; flex-shrink: 0; }
.vlh-point-info { flex: 1; }
.vlh-point-title { font-size: 14px; font-weight: 500; color: #fff; margin-bottom: 2px; }
.vlh-point-desc  { font-size: 12px; font-weight: 300; color: rgba(255,255,255,0.35); }
.vlh-point-val {
  font-family: 'Tenor Sans', serif;
  font-size: 22px; color: #C9A84C; white-space: nowrap;
}

/* CTA */
.vlh-cta { background: #FAF6EF; text-align: center; }
.vlh-cta .vlh-section-desc { margin: 0 auto 40px; }
.vlh-btn-dark {
  display: inline-block;
  padding: 18px 48px;
  background: #1C1610;
  color: #fff;
  font-family: inherit;
  font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.vlh-btn-dark:hover { background: #2A7A6F; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(42,122,111,0.35); color: #fff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .vlh-wrap { margin: 0 -16px; }
  .vlh-scoring-inner { grid-template-columns: 1fr; gap: 48px; }
  .vlh-section { padding: 72px 24px; }
}
@media (max-width: 480px) {
  .vlh-steps { grid-template-columns: 1fr; }
  .vlh-form-box { padding: 24px 20px; }
  .vlh-title { font-size: 42px; }
}
