/* ============================================================
   club-animations.css  |  Movina Values
   Link in club.html <head> AFTER escripts.css
   ============================================================ */


/* ── 1. Scroll-reveal ── */
[data-reveal] {
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
              transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
[data-reveal].reveal-ready         { opacity: 0; transform: translateY(32px); }
[data-reveal="left"].reveal-ready  { opacity: 0; transform: translateX(-40px); }
[data-reveal="right"].reveal-ready { opacity: 0; transform: translateX(40px); }
[data-reveal].is-visible           { opacity: 1 !important; transform: none !important; }
[data-delay="100"] { transition-delay: 0.10s; }
[data-delay="150"] { transition-delay: 0.15s; }
[data-delay="200"] { transition-delay: 0.20s; }
[data-delay="300"] { transition-delay: 0.30s; }
[data-delay="400"] { transition-delay: 0.40s; }


/* ── 2. Navbar ── */
#navbar {
  transition: padding 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}
#navbar.scrolled {
  padding: 4px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.97);
}


/* ════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════ */
.club-hero {
  position: relative; overflow: hidden;
  background: #ffffff;
  padding: clamp(100px,14vw,160px) 20px clamp(80px,10vw,120px);
}
.club-hero-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.club-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(74,94,122,0.07);
  top: 50%; left: 30%;
  animation: club-ring-pulse 9s ease-in-out infinite;
}
.club-ring:nth-child(1){width:300px;height:300px;transform:translate(-50%,-50%);animation-delay:0s}
.club-ring:nth-child(2){width:560px;height:560px;transform:translate(-50%,-50%);animation-delay:2.5s}
.club-ring:nth-child(3){width:820px;height:820px;transform:translate(-50%,-50%);animation-delay:5s}
@keyframes club-ring-pulse {
  0%,100%{opacity:0.4;transform:translate(-50%,-50%) scale(1)}
  50%    {opacity:1;  transform:translate(-50%,-50%) scale(1.04)}
}
.club-orb {
  position: absolute; border-radius: 50%; pointer-events: none;
}
.club-orb-1 {
  width: 400px; height: 400px;
  top: -120px; right: -80px;
  background: radial-gradient(circle, rgba(250,198,10,0.09) 0%, transparent 70%);
}
.club-orb-2 {
  width: 300px; height: 300px;
  bottom: -100px; left: -60px;
  background: radial-gradient(circle, rgba(74,94,122,0.07) 0%, transparent 70%);
}

.club-hero .container { position: relative; z-index: 1; }
.club-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px,6vw,80px);
  align-items: center;
}

/* Copy entrance */
.club-hero-copy > * { opacity: 0; }
.club-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #4A5E7A; background: #eef3fb;
  border: 1px solid rgba(74,94,122,0.15);
  padding: 7px 16px; border-radius: 999px;
  margin-bottom: 20px;
  animation: cl-up 0.7s 0.15s cubic-bezier(0.22,1,0.36,1) forwards;
}
.club-tag-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #FAC60A; flex-shrink: 0;
  animation: cl-dot 2s ease-in-out infinite;
}
@keyframes cl-dot{0%,100%{transform:scale(1)}50%{transform:scale(1.6);opacity:.6}}

.club-hero-title {
  font-size: clamp(2.4rem,5.5vw,4rem);
  font-weight: 800; color: #0f172a;
  line-height: 1.1; letter-spacing: -0.03em;
  margin-bottom: 18px;
  animation: cl-up 0.7s 0.3s cubic-bezier(0.22,1,0.36,1) forwards;
}
.club-title-accent {
  color: #4A5E7A; position: relative; display: inline-block;
}
.club-title-accent::after {
  content: "";
  position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 4px;
  background: #FAC60A; border-radius: 999px;
  transform: scaleX(0); transform-origin: left;
  animation: cl-sweep 0.9s 1.1s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes cl-sweep { to { transform: scaleX(1); } }

.club-hero-desc {
  font-size: clamp(0.98rem,1.8vw,1.1rem);
  color: #64748b; line-height: 1.75;
  max-width: 480px; margin-bottom: 32px;
  animation: cl-up 0.7s 0.46s cubic-bezier(0.22,1,0.36,1) forwards;
}
.club-hero-ctas {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 32px;
  animation: cl-up 0.7s 0.6s cubic-bezier(0.22,1,0.36,1) forwards;
}
.club-proof {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  animation: cl-up 0.7s 0.74s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes cl-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* Buttons */
.club-btn-primary {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 28px; border-radius: 999px;
  background: #1e293b; color: #ffffff;
  font-size: 0.95rem; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer;
  position: relative; overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.club-btn-primary:hover {
  background: #0f172a; transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(30,41,59,0.24);
}
.club-btn-lg { padding: 16px 36px; font-size: 1.05rem; }

.club-btn-ghost {
  display: inline-flex; align-items: center;
  padding: 14px 24px; border-radius: 999px;
  background: transparent; color: #4A5E7A;
  font-size: 0.95rem; font-weight: 700;
  text-decoration: none;
  border: 2px solid rgba(74,94,122,0.25);
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
  position: relative; overflow: hidden;
}
.club-btn-ghost:hover {
  border-color: #4A5E7A; background: rgba(74,94,122,0.06);
  transform: translateY(-2px);
}
.club-btn-outline {
  display: inline-flex; align-items: center;
  padding: 12px 22px; border-radius: 999px;
  background: transparent; color: #1e293b;
  font-size: 0.9rem; font-weight: 700;
  text-decoration: none;
  border: 2px solid #e2e8f0;
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
  position: relative; overflow: hidden;
}
.club-btn-outline:hover {
  border-color: #4A5E7A; background: #f8fafc;
  transform: translateY(-2px);
}
.club-btn-outline-white {
  display: inline-flex; align-items: center;
  padding: 14px 28px; border-radius: 999px;
  background: transparent; color: #ffffff;
  font-size: 0.95rem; font-weight: 700;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.35);
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
  position: relative; overflow: hidden;
}
.club-btn-outline-white:hover {
  background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

/* Avatars */
.club-avatars { display: flex; }
.club-av {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid #fff; margin-left: -10px;
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.club-avatars .club-av:first-child { margin-left: 0; }
.club-proof-text { font-size: 0.88rem; color: #64748b; }
.club-proof-text strong { color: #1e293b; }


/* ── Floating visual cards ── */
.club-hero-visual {
  position: relative; height: 420px;
  opacity: 0;
  animation: cl-up 0.8s 0.6s cubic-bezier(0.22,1,0.36,1) forwards;
}
.club-float-card {
  position: absolute;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(74,94,122,0.12);
  padding: 22px;
}

/* Main card */
.club-fc-main {
  width: 280px; top: 40px; right: 0;
  animation: cl-float 5s ease-in-out infinite;
}
@keyframes cl-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-14px)}}
.club-fc-top {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.club-fc-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg,#4A5E7A,#6D85A8);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff;
}
.club-fc-name { font-size: 0.88rem; font-weight: 700; color: #1e293b; margin: 0; }
.club-fc-role { font-size: 0.75rem; color: #94a3b8; margin: 0; }
.club-fc-divider { height: 1px; background: #f1f5f9; margin-bottom: 16px; }
.club-fc-stats {
  display: flex; justify-content: space-between; margin-bottom: 16px;
}
.club-fc-stat { text-align: center; }
.club-fc-num {
  display: block; font-size: 1.3rem; font-weight: 800;
  color: #1e293b; line-height: 1;
}
.club-fc-label { font-size: 0.68rem; color: #94a3b8; margin-top: 3px; }
.club-fc-badge {
  background: #f0fdfa; border: 1px solid #9FE1CB;
  color: #0F6E56; font-size: 0.75rem; font-weight: 700;
  padding: 6px 14px; border-radius: 999px;
  text-align: center;
}

/* Notification card */
.club-fc-notif {
  width: 240px; bottom: 60px; left: 0;
  font-size: 0.83rem; color: #334155;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  animation: cl-float 5s 1.5s ease-in-out infinite;
}
.club-notif-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #22c55e; flex-shrink: 0;
  animation: cl-dot 1.5s ease-in-out infinite;
}

/* Quote card */
.club-fc-quote {
  width: 200px; top: 0; left: 10px;
  padding: 16px 18px;
  animation: cl-float 5s 3s ease-in-out infinite;
}
.club-fc-quote p {
  font-size: 0.8rem; color: #475569;
  line-height: 1.5; margin: 0 0 8px; font-style: italic;
}
.club-fc-quote span {
  font-size: 0.72rem; color: #94a3b8; font-weight: 600;
}


/* ════════════════════════════════════════════════════════
   STATS BAR
   ════════════════════════════════════════════════════════ */
.club-stats-bar {
  background: #1e293b; padding: 0;
}
.club-stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
}
.club-stat-item {
  padding: 44px 24px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background 0.25s ease;
}
.club-stat-item:last-child { border-right: none; }
.club-stat-item:hover { background: rgba(255,255,255,0.04); }
.club-stat-num {
  display: block;
  font-size: 2.8rem; font-weight: 800;
  color: #FAC60A; line-height: 1; margin-bottom: 6px;
}
.club-stat-label {
  font-size: 0.85rem; color: rgba(255,255,255,0.55); font-weight: 500;
}


/* ════════════════════════════════════════════════════════
   ABOUT SECTION
   ════════════════════════════════════════════════════════ */
.club-about {
  padding: clamp(60px,10vw,120px) 20px;
  background: #f8fafc;
}
.club-section-intro {
  text-align: center; margin-bottom: 52px;
}
.club-section-tag {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #6D85A8; margin-bottom: 12px;
}
.club-section-intro h2 {
  font-size: clamp(1.6rem,3.5vw,2.4rem);
  font-weight: 800; color: #0f172a;
  letter-spacing: -0.02em; margin-bottom: 12px;
}
.club-section-intro p {
  color: #64748b; max-width: 520px; margin: 0 auto; font-size: 1rem; line-height: 1.7;
}

.club-about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 24px;
}
.club-about-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px 28px;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.35s ease, border-color 0.25s ease;
}
.club-about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(74,94,122,0.12);
  border-color: rgba(250,198,10,0.4);
}
.club-about-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.club-about-card:hover .club-about-icon { transform: scale(1.12) rotate(-4deg); }
.club-about-card h3 {
  font-size: 1.08rem; font-weight: 700; color: #0f172a; margin-bottom: 10px;
}
.club-about-card p {
  font-size: 0.93rem; color: #64748b; line-height: 1.7;
}


/* ════════════════════════════════════════════════════════
   IMPC SECTION
   ════════════════════════════════════════════════════════ */
.club-impc {
  padding: clamp(60px,10vw,120px) 20px;
  background: #ffffff;
}
.club-impc-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px,6vw,80px);
  align-items: center;
}
.club-impc-copy h2 {
  font-size: clamp(1.6rem,3vw,2.2rem);
  font-weight: 800; color: #0f172a;
  letter-spacing: -0.02em; margin: 10px 0 16px;
}
.club-impc-copy p {
  color: #64748b; line-height: 1.75; font-size: 0.98rem; margin-bottom: 14px;
}
.club-impc-copy a { margin-top: 10px; }

.club-impc-themes {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.club-theme-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 4px solid var(--tc);
  border-radius: 16px;
  padding: 22px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.club-theme-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(74,94,122,0.11);
}
.club-theme-month {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--tc); margin-bottom: 8px;
}
.club-theme-card h4 {
  font-size: 0.95rem; font-weight: 700;
  color: #1e293b; line-height: 1.4;
}


/* ════════════════════════════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════════════════════════════ */
.club-testimonials {
  padding: clamp(60px,10vw,120px) 20px;
  background: #f8fafc;
}
.club-testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 24px;
}
.club-testi-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px 28px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.club-testi-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(74,94,122,0.1);
}
.club-testi-stars {
  color: #FAC60A; font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px;
}
.club-testi-card > p {
  font-size: 0.95rem; color: #475569;
  line-height: 1.75; margin-bottom: 22px;
  font-style: italic;
}
.club-testi-author {
  display: flex; align-items: center; gap: 12px;
}
.club-testi-av {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.club-testi-author strong {
  display: block; font-size: 0.9rem; color: #1e293b;
}
.club-testi-author span {
  font-size: 0.78rem; color: #94a3b8;
}


/* ════════════════════════════════════════════════════════
   JOIN CTA
   ════════════════════════════════════════════════════════ */
.club-cta-section {
  padding: clamp(60px,10vw,100px) 20px;
  background: #ffffff;
}
.club-cta-card {
  position: relative; overflow: hidden;
  background: #1e293b;
  border-radius: 32px;
  padding: clamp(50px,8vw,80px) clamp(30px,6vw,60px);
  text-align: center;
}
.club-cta-rings {
  position: absolute; inset: 0; pointer-events: none;
}
.club-cta-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  top: 50%; left: 50%;
}
.club-cta-ring:nth-child(1){width:400px;height:400px;transform:translate(-50%,-50%)}
.club-cta-ring:nth-child(2){width:700px;height:700px;transform:translate(-50%,-50%)}

.club-cta-content { position: relative; z-index: 1; }
.club-cta-badge {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #FAC60A;
  background: rgba(250,198,10,0.14);
  border: 1px solid rgba(250,198,10,0.3);
  padding: 5px 16px; border-radius: 999px;
  margin-bottom: 18px;
}
.club-cta-card h2 {
  font-size: clamp(1.6rem,3.5vw,2.6rem);
  font-weight: 800; color: #ffffff;
  letter-spacing: -0.02em; margin-bottom: 14px;
}
.club-cta-card p {
  color: rgba(255,255,255,0.65);
  max-width: 480px; margin: 0 auto 36px;
  font-size: 1rem; line-height: 1.7;
}
.club-cta-actions {
  display: flex; gap: 14px;
  justify-content: center; flex-wrap: wrap;
}


/* ── Footer ── */
.footer-column {
  opacity: 1; transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.footer-column.stagger-ready { opacity: 0; transform: translateY(20px); }
.footer-column.is-visible    { opacity: 1 !important; transform: none !important; }


/* ── Ripple ── */
.ripple-btn { position: relative; overflow: hidden; }
.ripple {
  position: absolute; border-radius: 50%;
  transform: scale(0);
  animation: cl-ripple 0.55s linear;
  background: rgba(255,255,255,0.28);
  pointer-events: none;
}
@keyframes cl-ripple { to { transform: scale(4); opacity: 0; } }


/* ── Responsive ── */
@media(max-width:900px){
  .club-hero-inner  { grid-template-columns: 1fr; }
  .club-hero-visual { display: none; }
  .club-stats-grid  { grid-template-columns: 1fr 1fr; }
  .club-impc-inner  { grid-template-columns: 1fr; }
  .club-impc-themes { grid-template-columns: 1fr 1fr; }
}
@media(max-width:500px){
  .club-stats-grid  { grid-template-columns: 1fr 1fr; }
  .club-impc-themes { grid-template-columns: 1fr; }
  .club-cta-actions { flex-direction: column; align-items: stretch; }
}

/* ── Reduced motion ── */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:0.01ms!important;
    transition-duration:0.01ms!important;
  }
  [data-reveal],[data-reveal].reveal-ready,
  .club-tag,.club-hero-title,.club-hero-desc,
  .club-hero-ctas,.club-proof,.club-hero-visual,
  .footer-column{
    opacity:1!important;transform:none!important;
  }
}
