/* ══════════════════════════════════════════════════════════════════
   FASTBOOST — gateway.css (Golden Era Vintage Gym Intro)
   ══════════════════════════════════════════════════════════════════ */

#gateway-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 2rem 1.5rem;
  background-color: #060606;
  background-image: 
    radial-gradient(ellipse at center, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.85) 60%, rgba(0,0,0,0.98) 100%),
    linear-gradient(to bottom, rgba(6,6,6,0.5) 0%, rgba(6,6,6,0.85) 100%),
    url('../assets/img/vintage_gym_bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
  visibility: visible;
  opacity: 1;
}

#gateway-screen.hidden {
  opacity: 0;
  transform: scale(1.03);
  pointer-events: none;
  visibility: hidden;
}

/* Atmospheric Dust & Scanlines Overlay */
.gateway-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 30%, rgba(255,180,0,0.08) 0%, transparent 65%);
  z-index: 1;
}

.gateway-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: auto;
}

/* Lang switcher on gateway */
.gateway-lang-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

/* Logo */
.gateway-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 4px 30px rgba(0,0,0,0.8);
}

.gateway-logo span {
  color: #FF3B1F;
  margin-left: 2px;
}

.gateway-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #F0EDE6;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.4rem 1.25rem;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  margin-bottom: 1rem;
}

.gateway-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.75rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.7);
}

.gateway-subtitle {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: rgba(240, 237, 230, 0.75);
  max-width: 600px;
  line-height: 1.5;
  margin-bottom: 2.5rem;
}

/* 3 Coaches Grid */
.gateway-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  width: 100%;
  margin-bottom: 2rem;
}

/* Individual Coach Card */
.gateway-card {
  position: relative;
  background: rgba(18, 18, 20, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 2.25rem 1.75rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  user-select: none;
}

.gateway-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-accent, #FF3B1F);
  opacity: 0.8;
  transition: opacity 0.3s, height 0.3s;
}

.gateway-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--card-accent, #FF3B1F);
  background: rgba(24, 24, 28, 0.92);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 30px var(--card-glow, rgba(255,59,31,0.25));
}

.gateway-card:hover::before {
  opacity: 1;
  height: 6px;
}

.gateway-card:active {
  transform: translateY(-2px) scale(1.01);
}

/* Card Specific Accents */
.card-suliman {
  --card-accent: #FF3B1F;
  --card-glow: rgba(255, 59, 31, 0.3);
}

.card-chaman {
  --card-accent: #39FF14;
  --card-glow: rgba(57, 255, 20, 0.3);
}

.card-abdul {
  --card-accent: #B084FF;
  --card-glow: rgba(176, 132, 255, 0.3);
}

.gateway-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.gateway-card-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--card-accent);
  border: 1px solid var(--card-accent);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: rgba(0,0,0,0.3);
}

.gateway-card-icon {
  font-size: 1.75rem;
}

.gateway-card-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.gateway-card-role {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--card-accent);
  margin-bottom: 1.25rem;
}

.gateway-card-desc {
  font-family: 'Manrope', sans-serif;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(240, 237, 230, 0.7);
  margin-bottom: 2rem;
  flex-grow: 1;
}

.gateway-card-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.85rem 1.25rem;
  border-radius: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.25s ease;
}

.gateway-card:hover .gateway-card-btn {
  background: var(--card-accent);
  color: #000000;
  border-color: var(--card-accent);
  font-weight: 800;
}

.gateway-card-btn svg {
  transition: transform 0.25s ease;
}

.gateway-card:hover .gateway-card-btn svg {
  transform: translateX(4px);
}

/* Skip link */
.gateway-skip {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: color 0.2s;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.gateway-skip:hover {
  color: #FFFFFF;
}

/* ─── Responsive Media Queries for Gateway ─── */
@media (max-width: 992px) {
  .gateway-cards {
    grid-template-columns: 1fr;
    max-width: 500px;
    gap: 1.25rem;
  }
  
  .gateway-card {
    padding: 1.75rem 1.5rem;
  }
  
  .gateway-subtitle {
    margin-bottom: 1.75rem;
  }
}

@media (max-width: 480px) {
  #gateway-screen {
    padding: 1.5rem 1rem;
    justify-content: flex-start;
  }
  
  .gateway-logo {
    font-size: 2.75rem;
  }
  
  .gateway-card-name {
    font-size: 1.85rem;
  }
  
  .gateway-card-desc {
    margin-bottom: 1.25rem;
    font-size: 0.88rem;
  }
  
  .gateway-card-btn {
    padding: 0.75rem 1rem;
  }
}
