/*
 * ZFrame — Featured template showcase (dark gaming theme)
 */

.featured-showcase {
  padding-top: 80px;
  padding-bottom: 100px;
}

.ft-wrap {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
}

/* Neon dot grids */
.ft-dots {
  position: absolute;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(circle, rgba(0, 255, 200, 0.45) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  pointer-events: none;
  z-index: 0;
}

.ft-dots--tl {
  top: -20px;
  left: -40px;
  opacity: 0.35;
}

.ft-dots--br {
  bottom: 80px;
  right: -40px;
  background-image: radial-gradient(circle, rgba(168, 85, 247, 0.45) 1.5px, transparent 1.5px);
  opacity: 0.3;
}

.ft-stage {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(168, 85, 247, 0.15),
    0 0 60px rgba(0, 255, 200, 0.06);
}

/* Dark gaming landing mock */
.ft-landing {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124, 58, 237, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(0, 255, 200, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #0a0a0f 0%, #0f0f18 40%, #12121f 100%);
  padding: 28px 32px 0;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.ft-landing::before {
  content: '';
  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: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, transparent 70%);
  pointer-events: none;
}

.ft-landing > * {
  position: relative;
  z-index: 1;
}

.ft-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 48px;
  font-size: 13px;
}

.ft-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
  color: #fff;
  text-shadow: 0 0 20px rgba(0, 255, 200, 0.35);
}

.ft-logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, #7c3aed 0%, #00ffc8 100%);
  box-shadow: 0 0 16px rgba(0, 255, 200, 0.4);
  position: relative;
}

.ft-logo-icon::after {
  content: '';
  position: absolute;
  inset: 7px;
  border-left: 3px solid #0a0a0f;
  border-bottom: 3px solid #0a0a0f;
  transform: skewX(-12deg);
}

.ft-nav-links {
  display: flex;
  gap: 22px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.ft-nav-links span {
  cursor: default;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.ft-nav-links span:hover {
  color: #00ffc8;
}

.ft-nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.ft-nav-signin {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.ft-nav-signup {
  font-size: 11px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(124, 58, 237, 0.25);
  border: 1px solid rgba(168, 85, 247, 0.45);
  color: #e9d5ff;
  box-shadow: 0 0 20px rgba(124, 58, 247, 0.2);
}

.ft-hero {
  max-width: 640px;
  margin: 0 auto;
  padding-bottom: 40px;
}

.ft-badge {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #00ffc8;
  background: rgba(0, 255, 200, 0.08);
  border: 1px solid rgba(0, 255, 200, 0.25);
}

.ft-headline {
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin: 0 0 16px;
  color: #fff;
}

.ft-headline em {
  font-style: normal;
  background: linear-gradient(90deg, #a855f7, #00ffc8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ft-subline {
  font-size: clamp(0.8rem, 1.5vw, 0.95rem);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 auto 28px;
  max-width: 520px;
}

.ft-cta-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.ft-btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: default;
}

.ft-btn--primary {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  color: #fff;
  border: 1px solid rgba(168, 85, 247, 0.5);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.45), 0 0 24px rgba(124, 58, 237, 0.2);
}

.ft-btn--ghost {
  background: transparent;
  color: #00ffc8;
  border: 1px solid rgba(0, 255, 200, 0.35);
  box-shadow: 0 0 20px rgba(0, 255, 200, 0.08);
}

.ft-stack-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin: 0 0 12px;
}

.ft-stack {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ft-stack span {
  position: relative;
}

.ft-stack span + span::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.6);
  transform: translateY(-50%);
}

/* Dark preview frame */
.ft-preview-frame {
  margin: 0 24px 24px;
  border-radius: 16px 16px 12px 12px;
  overflow: hidden;
  background: #0a0a0f;
  box-shadow:
    0 -8px 40px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(168, 85, 247, 0.12);
  text-align: left;
}

.ft-browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #14141f;
  border-bottom: 1px solid rgba(168, 85, 247, 0.15);
}

.ft-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.85;
}

.ft-dot--r { background: #ef4444; }
.ft-dot--y { background: #eab308; }
.ft-dot--g { background: #22c55e; }

.ft-browser-url {
  flex: 1;
  margin-left: 8px;
  padding: 6px 14px;
  border-radius: 6px;
  background: #0a0a0f;
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  color: rgba(0, 255, 200, 0.6);
  text-align: center;
  font-family: ui-monospace, monospace;
}

.ft-preview-img {
  max-height: 340px;
  overflow: hidden;
  background: #0a0a0f;
}

.ft-preview-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.ft-bottom {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 48px;
}

/* Responsive */
@media (max-width: 768px) {
  .ft-landing {
    padding: 20px 16px 0;
  }

  .ft-nav-links {
    display: none;
  }

  .ft-nav {
    margin-bottom: 32px;
  }

  .ft-preview-frame {
    margin: 0 12px 12px;
  }

  .ft-preview-img {
    max-height: 220px;
  }

  .ft-dots {
    display: none;
  }
}

@media (max-width: 480px) {
  .ft-nav-signin {
    display: none;
  }

  .ft-cta-row {
    flex-direction: column;
    align-items: center;
  }

  .ft-btn {
    width: 100%;
    max-width: 240px;
  }
}
