/*
Theme Name: Gamers Lab
Theme URI: https://gamerslab.makerslab.dz
Description: Fully editable landing page for Gamers Lab by Makerslab — Incubation & Go-To-Market Program for game developers in Algeria. Edit everything from WordPress Customizer (Apparence → Personnaliser).
Version: 2.0.0
Author: Makerslab
Author URI: https://makerslab.dz
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gamerslab
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
*/

/* ═══════════════════════════════════════════════════════════════
   BRAND: Purple #8000FF · Yellow #FFC107 · Black #000 · White #FFF
   Colors are overridable from Customizer → Site Branding & Colors
   ═══════════════════════════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-geist-sans, system-ui, -apple-system, sans-serif);
  background: #000000;
  color: #FFFFFF;
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* ── CSS Custom Properties (overridden by Customizer) ── */
:root {
  --brand-purple: #8000FF;
  --brand-yellow: #FFC107;
  --brand-black: #000000;
  --brand-white: #FFFFFF;
  --bg-dark: #0a0a14;
  --font-geist-sans: system-ui, -apple-system, sans-serif;
  --font-geist-mono: monospace;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #000000; }
::-webkit-scrollbar-thumb { background: rgba(128, 0, 255, 0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(128, 0, 255, 0.5); }

/* ── Glow Text ── */
.text-glow-purple {
  text-shadow: 0 0 40px rgba(128, 0, 255, 0.6), 0 0 80px rgba(128, 0, 255, 0.25);
}
.text-glow-yellow {
  text-shadow: 0 0 40px rgba(255, 193, 7, 0.6), 0 0 80px rgba(255, 193, 7, 0.25);
}

/* ── Neon Border Glow ── */
.neon-border {
  box-shadow: 0 0 15px rgba(128, 0, 255, 0.15), inset 0 0 15px rgba(128, 0, 255, 0.05);
}
.neon-border-yellow {
  box-shadow: 0 0 15px rgba(255, 193, 7, 0.15), inset 0 0 15px rgba(255, 193, 7, 0.05);
}

/* ── Grid Pattern ── */
.grid-pattern {
  background-image:
    linear-gradient(rgba(128, 0, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(128, 0, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ── Keyframe Animations ── */
@keyframes particle-twinkle {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.4); }
}
@keyframes orb-pulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.15); opacity: 0.55; }
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}
@keyframes float-in {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slide-down {
  from { opacity: 0; transform: translateY(-100px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scale-in {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

.orb-pulse-purple {
  will-change: transform, opacity;
  animation: orb-pulse 6s ease-in-out infinite;
}
.orb-pulse-yellow {
  will-change: transform, opacity;
  animation: orb-pulse 6s ease-in-out infinite;
  animation-delay: 1.5s;
}
.particle-twinkle {
  will-change: transform, opacity;
  animation: particle-twinkle 7s ease-in-out infinite;
}
.scroll-bounce {
  will-change: transform;
  animation: scroll-bounce 2s ease-in-out infinite;
}

/* ── Scroll-Triggered Animation Classes ── */
.anim-float-in {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.anim-float-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.anim-fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}
.anim-fade-in.visible {
  opacity: 1;
}

.anim-scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.anim-scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

.anim-slide-down {
  opacity: 0;
  transform: translateY(-100px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.anim-slide-down.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for children */
.stagger-1 { transition-delay: 0.12s; }
.stagger-2 { transition-delay: 0.24s; }
.stagger-3 { transition-delay: 0.36s; }
.stagger-4 { transition-delay: 0.48s; }
.stagger-5 { transition-delay: 0.60s; }
.stagger-6 { transition-delay: 0.72s; }
.stagger-7 { transition-delay: 0.84s; }
.stagger-8 { transition-delay: 0.96s; }

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.5s ease;
  padding: 1rem 1.5rem;
}
.navbar.scrolled {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(128, 0, 255, 0.1);
}
.navbar-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-logo img {
  height: 2rem;
  width: auto;
}
.navbar-logo:hover img {
  transform: scale(1.03);
  transition: transform 0.3s ease;
}
.navbar-links {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) {
  .navbar-links { display: flex; }
}
.navbar-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  position: relative;
  transition: color 0.3s;
}
.navbar-links a:hover {
  color: var(--brand-purple);
}
.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-purple);
  transition: width 0.3s;
}
.navbar-links a:hover::after {
  width: 100%;
}
.navbar-cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  background: var(--brand-purple);
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s;
}
@media (min-width: 768px) {
  .navbar-cta { display: flex; }
}
.navbar-cta:hover {
  box-shadow: 0 10px 15px -3px rgba(128,0,255,0.25);
  transform: scale(1.05);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1.5rem;
}
.hero-content {
  position: relative;
  z-index: 10;
}

/* ── Section ── */
.section {
  position: relative;
  padding: 6rem 1.5rem;
}
@media (min-width: 640px) {
  .section { padding: 8rem 1.5rem; }
}

/* ── Container ── */
.container {
  max-width: 80rem;
  margin: 0 auto;
}
.container-md {
  max-width: 72rem;
  margin: 0 auto;
}
.container-sm {
  max-width: 64rem;
  margin: 0 auto;
}
.container-xs {
  max-width: 56rem;
  margin: 0 auto;
}

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}
.badge-purple {
  border: 1px solid rgba(128,0,255,0.3);
  background: rgba(128,0,255,0.1);
  color: var(--brand-purple);
}
.badge-yellow {
  border: 1px solid rgba(255,193,7,0.3);
  background: rgba(255,193,7,0.1);
  color: var(--brand-yellow);
}

/* ── Headings ── */
.heading-xl {
  font-size: clamp(2.25rem, 6vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
}
.heading-2xl {
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}

/* ── Cards ── */
.card {
  position: relative;
  padding: 2rem;
  border-radius: 1rem;
  background: rgba(10, 10, 20, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s;
}
.card:hover {
  transform: translateY(-8px);
}
.card-purple { border-color: rgba(128,0,255,0.2); }
.card-purple:hover { border-color: rgba(128,0,255,0.5); }
.card-yellow { border-color: rgba(255,193,7,0.2); }
.card-yellow:hover { border-color: rgba(255,193,7,0.5); }
.card-white:hover { border-color: rgba(255,255,255,0.3); }

.card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.card-icon-purple { background: rgba(128,0,255,0.1); color: var(--brand-purple); }
.card-icon-yellow { background: rgba(255,193,7,0.1); color: var(--brand-yellow); }
.card-icon-white { background: rgba(255,255,255,0.05); color: white; }

/* ── Glow Orbs ── */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.glow-orb-purple {
  background: rgba(128,0,255,0.2);
  filter: blur(120px);
}
.glow-orb-yellow {
  background: rgba(255,193,7,0.15);
  filter: blur(100px);
}

/* ── Particles ── */
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(128,0,255,0.2);
  pointer-events: none;
}

/* ── Grid Layouts ── */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}
.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 9999px;
  background: var(--brand-purple);
  color: white;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  box-shadow: 0 25px 50px -12px rgba(128,0,255,0.3);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  transition: all 0.3s;
  background: transparent;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.05);
  color: white;
}

/* ── Partners ── */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}
.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
  transition: all 0.3s;
}
.partner-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(128,0,255,0.2);
  transform: translateY(-4px);
}
.partner-card img {
  max-height: 6rem;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s;
}
@media (min-width: 640px) {
  .partner-card img { max-height: 8rem; }
}
@media (min-width: 768px) {
  .partner-card img { max-height: 9rem; }
}
.partner-card:hover img {
  opacity: 1;
}

/* ── Benefits List ── */
.benefit-item {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.05);
  background: rgba(10,10,20,0.5);
  backdrop-filter: blur(8px);
  transition: all 0.3s;
}
@media (min-width: 640px) {
  .benefit-item {
    flex-direction: row;
    align-items: flex-start;
  }
}
.benefit-item:hover {
  background: rgba(10,10,20,0.8);
  transform: translateX(8px);
}
.benefit-icon {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.benefit-icon-purple { background: var(--brand-purple); color: white; }
.benefit-icon-yellow { background: var(--brand-yellow); color: black; }
.benefit-icon-white { background: rgba(255,255,255,0.1); color: white; }

/* ── Journey Timeline ── */
.timeline-line {
  display: none;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, rgba(128,0,255,0.2), rgba(255,193,7,0.2), rgba(128,0,255,0.2));
  transform: translateY(-50%);
}
@media (min-width: 1024px) {
  .timeline-line { display: block; }
}

/* ── Warning Box ── */
.warning-box {
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255,193,7,0.2);
  background: rgba(255,193,7,0.05);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

/* ── Platform Badges ── */
.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
}
.platform-badge-purple {
  border: 1px solid rgba(128,0,255,0.2);
  background: rgba(128,0,255,0.05);
  color: var(--brand-purple);
}
.platform-badge-yellow {
  border: 1px solid rgba(255,193,7,0.2);
  background: rgba(255,193,7,0.05);
  color: var(--brand-yellow);
}

/* ── Contact Social Links ── */
.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s;
}
.social-link-email {
  border: 1px solid rgba(128,0,255,0.3);
  background: rgba(128,0,255,0.1);
  color: var(--brand-purple);
}
.social-link-email:hover {
  background: var(--brand-purple);
  color: white;
}
.social-link-instagram {
  border: 1px solid rgba(255,193,7,0.3);
  background: rgba(255,193,7,0.1);
  color: var(--brand-yellow);
}
.social-link-instagram:hover {
  background: var(--brand-yellow);
  color: black;
}

/* ── Underline Animation ── */
.underline-anim {
  position: relative;
  display: inline-block;
}
.underline-anim::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 6px;
  border-radius: 9999px;
  background: linear-gradient(to right, var(--brand-purple), var(--brand-yellow));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s;
}
.underline-anim.visible::after {
  transform: scaleX(1);
}

/* ── Requirement Items ── */
.req-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
  transition: all 0.3s;
}
.req-item:hover {
  background: rgba(255,255,255,0.05);
}
.req-icon {
  color: var(--brand-purple);
  flex-shrink: 0;
}

/* ── Stats ── */
.stat-value {
  font-size: clamp(1.875rem, 3vw, 2.25rem);
  font-weight: 900;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}

/* ── Parallax ── */
.parallax-content {
  transition: transform 0.1s linear;
}

/* ── Footer ── */
.site-footer {
  padding: 2rem 1.5rem;
  text-align: center;
  color: rgba(255,255,255,0.2);
  font-size: 0.875rem;
}

/* ── WordPress Specific ── */
.wp-block {
  max-width: 80rem;
}

/* ════════════════ COACHES & MENTORS SECTION ════════════════ */

.mentors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.mentor-card {
  position: relative;
  padding: 1.5rem;
  border: 1px solid rgba(128, 0, 255, 0.25);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(14px);
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.mentor-card:hover {
  transform: translateY(-6px);
  border-color: rgba(128, 0, 255, 0.7);
  box-shadow: 0 0 40px rgba(128, 0, 255, 0.25);
}

.mentor-photo-wrap {
  width: 130px;
  height: 130px;
  margin: 0 auto 1rem;
  border-radius: 999px;
  padding: 4px;
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-yellow));
}

.mentor-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
  display: block;
  background: #111;
}

.mentor-name {
  font-size: 1.125rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.mentor-role {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-yellow);
  margin-bottom: 0.75rem;
}

.mentor-bio {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1rem;
}

.mentor-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-purple);
  text-decoration: none;
}

.mentor-link:hover {
  color: var(--brand-yellow);
}

@media (max-width: 1024px) {
  .mentors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .mentors-grid {
    grid-template-columns: 1fr;
  }

  .mentor-photo-wrap {
    width: 110px;
    height: 110px;
  }
}