/* ============================================================
   CINEMATIC SPLASH SCREEN — Cannabis.uy
   Circular iris-in reveal, 2s hold, EPIC cinematic outro
   RESPONSIVE: mobile, tablet, notebook, desktop
   ============================================================ */

/* ---- Splash Container ---- */
.splash-cinematic {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  background: #030a06;
  overflow: hidden;
}
.splash-bg-dark {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, #0a1f12 0%, #030a06 70%, #000 100%);
}
.splash-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.7) 100%);
  z-index: 10;
}

/* ---- Circular Mask — decorative glow backdrop BEHIND the logo ---- */
.splash-circle-mask {
  position: absolute; z-index: 5;
  width: 0; height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,212,191,0.08) 0%, rgba(212,175,55,0.06) 40%, rgba(0,0,0,0.3) 70%, transparent 100%);
  box-shadow:
    0 0 60px rgba(212,175,55,0.3),
    0 0 120px rgba(45,212,191,0.15),
    inset 0 0 80px rgba(0,0,0,0.4);
  animation: irisOpen 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ---- Logo image — sits ON TOP of the circle, never clipped ---- */
.splash-hero-img {
  position: absolute; z-index: 20;
  width: 60vmin; height: auto;
  max-width: 550px;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.7);
  animation: logoReveal 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
  filter: brightness(0.9) contrast(1.1) saturate(1.2);
  /* Allow transparency to show through */
  pointer-events: none;
}
@keyframes logoReveal {
  0%   { opacity: 0; transform: scale(0.7); filter: brightness(0.4) contrast(1.3) saturate(0.5) blur(6px); }
  40%  { opacity: 1; filter: brightness(0.8) contrast(1.15) saturate(1) blur(1px); }
  70%  { transform: scale(1.02); }
  100% { opacity: 1; transform: scale(1.0); filter: brightness(0.95) contrast(1.05) saturate(1.2) blur(0px); }
}

/* Desktop: iris opens to 70vmin */
@keyframes irisOpen {
  0%   { width: 0; height: 0; opacity: 0; box-shadow: 0 0 0 2px rgba(212,175,55,0), 0 0 0 rgba(212,175,55,0); }
  15%  { opacity: 1; }
  100% { width: 70vmin; height: 70vmin; opacity: 1;
         box-shadow: 0 0 0 4px rgba(212,175,55,0.6), 0 0 80px rgba(212,175,55,0.35), 0 0 160px rgba(45,212,191,0.2); }
}

/* ---- Glowing ring around the circle ---- */
.splash-ring-glow {
  position: absolute; z-index: 4;
  width: 0; height: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  animation: ringAppear 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: none;
}
@keyframes ringAppear {
  0%   { width: 0; height: 0; opacity: 0; border-color: transparent; }
  40%  { opacity: 0.5; }
  100% { width: 74vmin; height: 74vmin; opacity: 1;
         border-color: rgba(212,175,55,0.3);
         box-shadow: 0 0 40px rgba(212,175,55,0.15), inset 0 0 40px rgba(45,212,191,0.1); }
}

/* ---- Splash Particles ---- */
.splash-particles-container {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden;
}
.splash-particle {
  position: absolute;
  width: 3px; height: 3px;
  background: rgba(212,175,55,0.8);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(212,175,55,0.6);
  animation: sparkDrift linear infinite;
}
.splash-particle.teal {
  background: rgba(45,212,191,0.7);
  box-shadow: 0 0 8px rgba(45,212,191,0.5);
}
@keyframes sparkDrift {
  0%   { transform: translateY(0) translateX(0) scale(0); opacity: 0; }
  10%  { opacity: 1; transform: scale(1); }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-90vh) translateX(40px) scale(0.3); opacity: 0; }
}

/* ============================================================
   EPIC OUTRO — Supernova Burst
   The circle pulses, a white flash burns across, fragments 
   radiate outward, then everything fades to reveal clubs page.
   ============================================================ */
.splash-cinematic.outro {
  pointer-events: none;
}

/* Flash overlay */
.splash-flash {
  position: absolute; inset: 0; z-index: 50;
  background: radial-gradient(circle at center, rgba(255,255,255,0.95) 0%, rgba(212,175,55,0.4) 40%, transparent 70%);
  opacity: 0;
  animation: flashBurst 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes flashBurst {
  0%   { opacity: 0; transform: scale(0.3); }
  15%  { opacity: 1; transform: scale(1); }
  40%  { opacity: 0.8; transform: scale(1.2); }
  100% { opacity: 0; transform: scale(3); }
}

/* Ring shockwave */
.splash-shockwave {
  position: absolute; z-index: 45;
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 3px solid rgba(212,175,55,0.8);
  box-shadow: 0 0 40px rgba(212,175,55,0.5), inset 0 0 20px rgba(45,212,191,0.3);
  animation: shockwaveExpand 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes shockwaveExpand {
  0%   { width: 10px; height: 10px; opacity: 1; border-width: 4px; }
  60%  { opacity: 0.6; border-width: 2px; }
  100% { width: 250vmax; height: 250vmax; opacity: 0; border-width: 0.5px; }
}

/* Second ring shockwave (delayed) */
.splash-shockwave2 {
  position: absolute; z-index: 44;
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(45,212,191,0.6);
  box-shadow: 0 0 30px rgba(45,212,191,0.4);
  animation: shockwaveExpand 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
  opacity: 0;
}

/* Circle pre-burst pulse */
.splash-cinematic.outro .splash-circle-mask {
  animation: preBurstPulse 0.4s ease-out forwards, burstDissolve 0.8s ease-out 0.35s forwards !important;
}
@keyframes preBurstPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.08); box-shadow: 0 0 0 6px rgba(212,175,55,0.9), 0 0 120px rgba(212,175,55,0.6); }
  100% { transform: scale(1.05); }
}
@keyframes burstDissolve {
  0%   { transform: scale(1.05); opacity: 1; filter: brightness(1); }
  25%  { transform: scale(1.15); opacity: 1; filter: brightness(2.5) saturate(0.3); }
  60%  { transform: scale(1.6); opacity: 0.4; filter: brightness(3) saturate(0) blur(8px); }
  100% { transform: scale(2.5); opacity: 0; filter: brightness(4) saturate(0) blur(20px); }
}

/* Logo supernova burn */
.splash-cinematic.outro .splash-hero-img {
  animation: logoSuperBurn 0.9s ease-out 0.3s forwards !important;
}
@keyframes logoSuperBurn {
  0%   { opacity: 1; transform: scale(1); filter: brightness(1) saturate(1.2); }
  20%  { transform: scale(1.1); filter: brightness(2.5) saturate(0.3) contrast(1.8); }
  100% { opacity: 0; transform: scale(1.8); filter: brightness(5) saturate(0) contrast(2) blur(10px); }
}

.splash-cinematic.outro .splash-ring-glow {
  animation: ringSupernova 0.8s ease-out 0.2s forwards !important;
}
@keyframes ringSupernova {
  0%   { transform: scale(1); opacity: 1; border-width: 2px; }
  30%  { transform: scale(1.3); opacity: 1; border-width: 4px; border-color: rgba(255,255,255,0.8); box-shadow: 0 0 80px rgba(212,175,55,0.8); }
  100% { transform: scale(5); opacity: 0; border-width: 0; }
}

.splash-cinematic.outro .splash-vignette,
.splash-cinematic.outro .splash-bg-dark {
  animation: fadeOutSlow 1.0s ease-out 0.6s forwards;
}
.splash-cinematic.outro .splash-particles-container {
  animation: fadeOutSlow 0.5s ease-out 0.2s forwards;
}
@keyframes fadeOutSlow { to { opacity: 0; } }

/* Debris / fragment particles spawned via JS */
.splash-debris {
  position: absolute; z-index: 40;
  border-radius: 2px;
  animation: debrisFly linear forwards;
  pointer-events: none;
}
@keyframes debrisFly {
  0%   { opacity: 1; transform: translate(0,0) scale(1) rotate(0deg); }
  30%  { opacity: 0.9; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.2) rotate(var(--rot)); }
}

/* Entire splash fade after everything */
.splash-cinematic.final-fade {
  animation: finalFadeOut 0.5s ease-out forwards !important;
}
@keyframes finalFadeOut {
  to { opacity: 0; }
}


/* ============================================================
   CANNABIS CLUBS LANDING
   ============================================================ */
.clubs-landing {
  position: fixed; inset: 0;
  background: linear-gradient(165deg, #030a06 0%, #071a0e 30%, #0a2415 60%, #040d08 100%);
  z-index: 9000;
  display: flex; flex-direction: column;
  overflow-y: auto;
  animation: clubsReveal 0.8s ease-out both;
}
@keyframes clubsReveal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* Ambient background effects */
.clubs-bg-particles {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.clubs-ambient-glow {
  position: fixed; top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(45,212,191,0.06) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}

.clubs-float-particle {
  position: absolute;
  width: 2px; height: 2px;
  background: rgba(45,212,191,0.4);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(45,212,191,0.3);
  animation: clubParticleFloat linear infinite;
}
@keyframes clubParticleFloat {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  15%  { opacity: 0.7; transform: scale(1); }
  85%  { opacity: 0.4; }
  100% { transform: translateY(-10vh) scale(0.5); opacity: 0; }
}

/* ---- Header / Brand ---- */
.clubs-header {
  position: relative; z-index: 2;
  padding: 40px 48px 20px;
  display: flex; align-items: center; justify-content: center;
}
.clubs-brand {
  display: flex; align-items: center; gap: 24px;
  animation: brandSlideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
@keyframes brandSlideIn {
  0% { transform: translateY(-30px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.clubs-brand-logo {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(212,175,55,0.5);
  box-shadow: 0 0 30px rgba(212,175,55,0.2), 0 0 60px rgba(45,212,191,0.1);
  transition: box-shadow 0.4s;
}
.clubs-brand-logo:hover {
  box-shadow: 0 0 50px rgba(212,175,55,0.4), 0 0 80px rgba(45,212,191,0.2);
}
.clubs-brand-text {
  display: flex; flex-direction: column;
}
.clubs-title {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 800;
  font-style: italic;
  color: transparent;
  background: linear-gradient(135deg, #d4af37 0%, #f5e6a3 30%, #c5a028 50%, #b8860b 70%, #d4af37 100%);
  background-clip: text;
  -webkit-background-clip: text;
  letter-spacing: 2px;
  line-height: 1.1;
  text-shadow: none;
  filter: drop-shadow(0 2px 8px rgba(212,175,55,0.3));
}
.clubs-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 400;
  color: rgba(45,212,191,0.7);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ---- Search Bar ---- */
.clubs-search-bar {
  position: relative; z-index: 2;
  padding: 0 48px;
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 16px;
  animation: brandSlideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}
.clubs-search-wrapper {
  flex: 1; position: relative;
}
.clubs-search-icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  font-size: 16px; opacity: 0.5;
}
.clubs-search-input {
  width: 100%; padding: 14px 20px 14px 44px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  color: #e6edf3; font-size: 14px; font-family: 'Inter', sans-serif;
  backdrop-filter: blur(8px);
  transition: all 0.3s;
}
.clubs-search-input:focus {
  outline: none;
  border-color: rgba(45,212,191,0.4);
  box-shadow: 0 0 20px rgba(45,212,191,0.1);
  background: rgba(255,255,255,0.06);
}
.clubs-search-input::placeholder { color: rgba(255,255,255,0.25); }
.clubs-pagination-info {
  font-family: 'Inter', sans-serif;
  font-size: 13px; color: rgba(255,255,255,0.4);
  white-space: nowrap;
}

/* ---- Clubs Grid ---- */
.clubs-grid-container {
  position: relative; z-index: 2;
  flex: 1; padding: 0 48px;
  min-height: 0;
}
.clubs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

/* ---- Individual Club Card ---- */
.club-card-new {
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 28px 24px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  backdrop-filter: blur(8px);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  animation: cardAppear 0.5s ease-out both;
}
.club-card-new::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(45,212,191,0.05) 0%, transparent 50%, rgba(212,175,55,0.03) 100%);
  opacity: 0; transition: opacity 0.4s;
  border-radius: 16px;
}
.club-card-new:hover {
  border-color: rgba(45,212,191,0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 30px rgba(45,212,191,0.1);
}
.club-card-new:hover::before { opacity: 1; }

.club-card-new:active {
  transform: translateY(-2px) scale(0.98);
}

@keyframes cardAppear {
  0% { opacity: 0; transform: translateY(20px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.club-card-icon {
  font-size: 42px;
  width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s;
}
.club-card-new:hover .club-card-icon {
  border-color: rgba(45,212,191,0.3);
  box-shadow: 0 0 24px rgba(45,212,191,0.15);
  transform: scale(1.05);
}
.club-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 700;
  color: #e6edf3;
  text-align: center;
  transition: color 0.3s;
}
.club-card-new:hover .club-card-title { color: rgba(45,212,191,0.9); }

.club-card-location {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem; color: rgba(255,255,255,0.35);
  letter-spacing: 1px; text-transform: uppercase;
}
.club-card-members {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem; color: rgba(212,175,55,0.6);
  font-weight: 500;
}
.club-card-status {
  display: inline-block;
  padding: 3px 12px; border-radius: 20px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}
.club-card-status.active {
  background: rgba(45,212,191,0.12);
  color: rgba(45,212,191,0.9);
  border: 1px solid rgba(45,212,191,0.25);
}
.club-card-status.inactive {
  background: rgba(255,100,100,0.1);
  color: rgba(255,130,130,0.8);
  border: 1px solid rgba(255,100,100,0.2);
}

/* ---- Pagination ---- */
.clubs-pagination {
  position: relative; z-index: 2;
  padding: 24px 48px;
  display: flex; justify-content: center; gap: 8px;
  animation: brandSlideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}
.clubs-page-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.5);
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
}
.clubs-page-btn:hover {
  border-color: rgba(45,212,191,0.3);
  color: rgba(45,212,191,0.9);
  background: rgba(45,212,191,0.08);
}
.clubs-page-btn.active {
  border-color: rgba(212,175,55,0.5);
  background: rgba(212,175,55,0.1);
  color: #d4af37;
  box-shadow: 0 0 15px rgba(212,175,55,0.15);
}

/* ---- Footer ---- */
.clubs-footer {
  position: relative; z-index: 2;
  text-align: center; padding: 20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 1px;
}


/* ============================================================
   CLUB LOGIN OVERLAY
   ============================================================ */
.club-login-overlay {
  position: fixed; inset: 0; z-index: 9500;
  display: flex; align-items: center; justify-content: center;
}
.club-login-backdrop {
  position: absolute; inset: 0;
  background: rgba(3,10,6,0.85);
  backdrop-filter: blur(16px);
  animation: fadeIn 0.4s ease-out;
}
@keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } }

.club-login-card {
  position: relative; z-index: 2;
  width: 100%; max-width: 420px;
  background: linear-gradient(165deg, rgba(10,40,28,0.95) 0%, rgba(5,20,14,0.98) 100%);
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: 24px;
  padding: 40px 36px 32px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 60px rgba(212,175,55,0.05);
  animation: loginCardIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes loginCardIn {
  0% { transform: translateY(40px) scale(0.95); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

.club-login-back {
  position: absolute; top: 16px; left: 20px;
  background: none; border: none;
  color: rgba(255,255,255,0.4);
  font-size: 14px; font-family: 'Inter', sans-serif;
  cursor: pointer; transition: color 0.3s;
  padding: 4px 8px;
}
.club-login-back:hover { color: rgba(45,212,191,0.8); }

.club-login-logo-container {
  text-align: center; margin-bottom: 28px;
}
.club-login-logo {
  width: 80px; height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(212,175,55,0.3);
  box-shadow: 0 0 30px rgba(212,175,55,0.15);
  animation: logoFloat 5s ease-in-out infinite;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.club-login-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 700;
  color: #e6edf3;
  margin-bottom: 4px;
}
.club-login-location {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: rgba(45,212,191,0.5);
  letter-spacing: 2px; text-transform: uppercase;
}

/* Exclusive tag */
.club-login-exclusive {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  margin-top: 12px;
}
.club-login-exclusive-line {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.7rem;
  color: rgba(212,175,55,0.45);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 600;
}
.club-login-exclusive-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(212,175,55,0.55);
  letter-spacing: 2px;
}

.club-login-form { display: flex; flex-direction: column; gap: 18px; }
.club-input-group {
  display: flex; flex-direction: column; gap: 6px;
}
.club-input-group label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem; font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
}
.club-input-group input {
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  color: #e6edf3; font-size: 14px; font-family: 'Inter', sans-serif;
  transition: all 0.3s;
}
.club-input-group input:focus {
  outline: none;
  border-color: rgba(212,175,55,0.4);
  box-shadow: 0 0 20px rgba(212,175,55,0.08);
  background: rgba(255,255,255,0.06);
}
.club-input-group input::placeholder { color: rgba(255,255,255,0.2); }

.club-login-error {
  padding: 10px 14px;
  background: rgba(255,60,60,0.1);
  border: 1px solid rgba(255,60,60,0.3);
  border-radius: 8px;
  color: #ff6b6b;
  font-size: 13px; font-family: 'Inter', sans-serif;
  text-align: center;
}

.club-login-submit {
  padding: 16px;
  background: linear-gradient(135deg, rgba(212,175,55,0.2) 0%, rgba(212,175,55,0.1) 100%);
  border: 1px solid rgba(212,175,55,0.35);
  border-radius: 12px;
  color: #d4af37;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.4s;
  margin-top: 4px;
}
.club-login-submit:hover {
  background: linear-gradient(135deg, rgba(212,175,55,0.3) 0%, rgba(212,175,55,0.15) 100%);
  box-shadow: 0 0 30px rgba(212,175,55,0.15);
  transform: translateY(-2px);
}
.club-login-submit:active {
  transform: translateY(0); opacity: 0.9;
}
.club-login-footer-text {
  text-align: center; margin-top: 20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.8rem; color: rgba(255,255,255,0.15);
  letter-spacing: 1px;
}

/* ---- Login card outro ---- */
.club-login-card.outro {
  animation: loginCardOut 0.4s ease-in forwards !important;
}
@keyframes loginCardOut {
  0% { transform: translateY(0) scale(1); opacity: 1; }
  100% { transform: translateY(-30px) scale(0.95); opacity: 0; }
}


/* ============================================================
   RESPONSIVE: Tablet, Mobile, small notebooks
   ============================================================ */

/* Tablet landscape / small laptop */
@media (max-width: 1024px) {
  .clubs-header { padding: 30px 28px 16px; }
  .clubs-search-bar { padding: 0 28px; }
  .clubs-grid-container { padding: 0 28px; }
  .clubs-pagination { padding: 20px 28px; }
  .clubs-title { font-size: 2.4rem; }
  .clubs-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
}

/* Tablet portrait */
@media (max-width: 768px) {
  .clubs-header { padding: 24px 20px 12px; }
  .clubs-brand { flex-direction: column; text-align: center; gap: 12px; }
  .clubs-brand-logo { width: 56px; height: 56px; }
  .clubs-brand-text { align-items: center; }
  .clubs-title { font-size: 2rem; }
  .clubs-subtitle { font-size: 0.8rem; letter-spacing: 2px; }
  .clubs-search-bar { padding: 0 20px; flex-direction: column; gap: 8px; }
  .clubs-grid-container { padding: 0 20px; }
  .clubs-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
  .clubs-pagination { padding: 16px 20px; }
  .club-card-new { padding: 20px 16px; }
  .club-card-icon { width: 56px; height: 56px; font-size: 32px; }
  .club-card-title { font-size: 0.95rem; }

  .club-login-card { margin: 16px; padding: 28px 24px 24px; }
  .club-login-name { font-size: 1.25rem; }
}

/* Mobile */
@media (max-width: 480px) {
  .clubs-header { padding: 20px 16px 8px; }
  .clubs-title { font-size: 1.6rem; letter-spacing: 1px; }
  .clubs-subtitle { font-size: 0.7rem; }
  .clubs-search-bar { padding: 0 16px; margin-bottom: 16px; }
  .clubs-grid-container { padding: 0 16px; }
  .clubs-grid { grid-template-columns: 1fr; gap: 12px; }
  .club-card-new { padding: 18px 14px; }
  .clubs-pagination { padding: 12px 16px; flex-wrap: wrap; }
  .clubs-page-btn { width: 34px; height: 34px; font-size: 12px; }
  .clubs-footer { font-size: 0.75rem; }

  .club-login-card { margin: 12px; padding: 24px 20px 20px; border-radius: 18px; }
}
