/* Inner Pages — Login, Registration, Mobile App */

/* ---- SHARED PAGE HERO ---- */
.page-hero {
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: 380px;
  padding-top: calc(var(--header-h, 72px) + 3rem);
  padding-bottom: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.page-hero h1 {
  margin-bottom: 1rem;
}

.page-hero-desc {
  font-size: 1.05rem;
  max-width: 560px;
  color: var(--color-text-dim);
  margin-bottom: 1.5rem;
}

/* ---- LOGIN HERO ---- */
.login-hero {
  background: linear-gradient(135deg, #080115 0%, #0f0525 50%, #1a0533 100%);
  min-height: 380px;
}

/* ---- LOGIN FLOW CHART ---- */
.login-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.lf-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  transition: background 0.3s;
  min-width: 120px;
}

.lf-step:hover { background: rgba(123,47,255,0.08); }

.lf-step-success .lf-icon { color: var(--color-success); }

.lf-icon { font-size: 2rem; margin-bottom: 0.25rem; }

.lf-label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--color-star);
  font-weight: 600;
}

.lf-desc { font-size: 0.78rem; color: var(--color-text-muted); max-width: 120px; }

.lf-arrow {
  font-size: 1.5rem;
  color: rgba(200,162,39,0.4);
  padding: 0 0.5rem;
  flex-shrink: 0;
}

/* ---- REGISTRATION STEPS VISUAL ---- */
.reg-visual-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.reg-visual-steps::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(180deg, rgba(200,162,39,0.5), rgba(123,47,255,0.3));
}

.rvs-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  position: relative;
  transition: all 0.3s;
}

.rvs-item:hover {
  border-color: rgba(123,47,255,0.4);
  transform: translateX(6px);
}

.rvs-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(200,162,39,0.2), rgba(123,47,255,0.2));
  border: 2px solid rgba(200,162,39,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-accent-2);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  background-color: var(--color-bg);
}

.rvs-content h4 { color: var(--color-star); margin-bottom: 0.4rem; }
.rvs-content p { font-size: 0.92rem; margin: 0; }

/* ---- REGISTRATION TIME BADGE ---- */
.time-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(46,204,113,0.1);
  border: 1px solid rgba(46,204,113,0.25);
  color: #2ecc71;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

/* ---- MOBILE DEVICE SECTION ---- */
.mobile-hero {
  background: linear-gradient(160deg, #080115 0%, #160a35 60%, #0f0525 100%);
}

/* ---- GAMES HERO ---- */
.games-hero {
  background: linear-gradient(135deg, #080115 30%, #2d0a5e 100%);
}

/* Responsive inner pages */
@media (max-width: 768px) {
  .login-flow { gap: 0.5rem; justify-content: flex-start; }
  .lf-arrow { display: none; }
  .lf-step { min-width: 80px; padding: 0.75rem; }
  .reg-visual-steps::before { display: none; }
}
