/* ============================================
   JOYFORGE GAME HOUSE — STYLE.CSS (V4)
   Paleta: #00FF88, #00D4FF, #FF3860
   Fundos: #0A0E27, #050810
   ============================================ */

:root {
  --neon-green: #00FF88;
  --neon-cyan: #00D4FF;
  --neon-red: #FF3860;
  --bg-dark: #0A0E27;
  --bg-darker: #050810;
  --font-title: 'Orbitron', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --gradient: linear-gradient(135deg, #00FF88, #00D4FF);
  --space-section: clamp(80px, 12vh, 140px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: #fff;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
}

/* ===== LOGO ===== */
.nav-logo-img, .loader-logo-img, .footer-logo-img {
  height: 44px; width: auto; object-fit: contain;
}
.loader-logo-img { height: 80px; margin-bottom: 20px; }
.footer-logo-img { height: 50px; margin-bottom: 15px; }

/* ===== CURSOR ===== */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 10000;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-dot { width: 8px; height: 8px; background: var(--neon-green); }
.cursor-ring {
  width: 40px; height: 40px;
  border: 2px solid var(--neon-cyan);
  transition: width .2s, height .2s, border-color .2s;
}
.cursor-ring.hover { width: 60px; height: 60px; border-color: var(--neon-green); }
@media (hover: none), (max-width: 768px) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
}

/* ===== LOADER ===== */
.loader {
  position: fixed; inset: 0; background: var(--bg-darker);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
}
.loader-inner { text-align: center; }
.loader-bar {
  width: 260px; height: 4px; background: rgba(255,255,255,.1);
  margin: 20px auto; border-radius: 4px; overflow: hidden;
}
.loader-bar-fill { width: 0; height: 100%; background: var(--gradient); }
.loader-text {
  font-family: var(--font-mono); font-size: .8rem;
  color: var(--neon-cyan); letter-spacing: .3em;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 5%; z-index: 1000;
  background: transparent;
  transition: background .4s, padding .4s, box-shadow .4s;
}
.navbar.scrolled {
  background: var(--bg-darker);
  box-shadow: 0 4px 30px rgba(0,0,0,.6);
  padding: 14px 5%;
  border-bottom: 1px solid rgba(0,212,255,.25);
}
.nav-links { display: flex; list-style: none; gap: 32px; }
.nav-links a {
  color: #fff; text-decoration: none;
  font-size: .9rem; font-weight: 500;
  position: relative; transition: color .3s;
  text-shadow: 0 1px 3px rgba(0,0,0,.8);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -6px; left: 0;
  width: 0; height: 2px; background: var(--gradient);
  transition: width .3s;
}
.nav-links a:hover { color: var(--neon-green); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { padding: 12px 24px; }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-burger span { width: 28px; height: 3px; background: #fff; border-radius: 3px; transition: .3s; }

/* ===== BOTÕES ===== */
.btn {
  display: inline-block; padding: 16px 34px;
  font-family: var(--font-title); font-weight: 700; font-size: .85rem;
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  border-radius: 10px; transition: transform .3s, box-shadow .3s, background .3s;
  cursor: none; text-align: center; position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--gradient); color: #050810;
  box-shadow: 0 0 20px rgba(0,255,136,.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 35px rgba(0,255,136,.7); }
.btn-ghost { border: 2px solid var(--neon-cyan); color: var(--neon-cyan); }
.btn-ghost:hover { background: rgba(0,212,255,.1); transform: translateY(-3px); }
.btn-sm { padding: 12px 20px; font-size: .75rem; }
.btn-lg { padding: 20px 44px; font-size: 1rem; }

/* ===== GLARE HOVER (brilho metálico que varre) ===== */
.glare-btn::before {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg);
  transition: left .7s ease;
  pointer-events: none;
}
.glare-btn:hover::before { left: 130%; }

/* ===== SEÇÕES ===== */
.section {
  min-height: 100vh;
  padding: var(--space-section) 6%;
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
}
.section-label {
  font-family: var(--font-mono); color: var(--neon-cyan);
  font-size: .85rem; letter-spacing: .3em;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-title); font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900; line-height: 1.15;
  margin-bottom: 48px;
}
.section-title span { color: var(--neon-green); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 120px 6% 80px; position: relative; overflow: hidden;
}
#particlesCanvas { position: absolute; inset: 0; z-index: 0; }
.hero-grid-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(0,212,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.hero-content { position: relative; z-index: 2; max-width: 640px; }
.hero-tagline {
  font-family: var(--font-mono); color: var(--neon-cyan);
  letter-spacing: .2em; font-size: .9rem; margin-bottom: 28px;
}
.hero-title {
  font-family: var(--font-title); font-size: clamp(2.6rem, 8vw, 5.8rem);
  font-weight: 900; line-height: 1.08; margin-bottom: 30px;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line.accent {
  color: var(--neon-green);
  text-shadow: 0 0 30px rgba(0,255,136,.6);
}
.hero-sub {
  font-size: 1.15rem; color: rgba(255,255,255,.85);
  margin-bottom: 40px; max-width: 520px; line-height: 1.7;
}
.hero-sub strong { color: var(--neon-green); }
.hero-actions { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-hud {
  display: flex; gap: 28px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: .75rem;
  color: rgba(255,255,255,.7); letter-spacing: .1em;
}
.hud-item { display: flex; align-items: center; gap: 8px; }
.hud-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 10px var(--neon-green);
  animation: blink 2s infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

/* ===== MASCOTE 3D ===== */
.mascot-3d { perspective: 1200px; }
.mascot-3d img { transform-style: preserve-3d; will-change: transform; transition: transform .2s ease-out; }
.hero-mascot {
  position: absolute; right: 5%; bottom: 0; height: 82vh;
  z-index: 1; pointer-events: none;
}
.hero-mascot .mascot-img { height: 100%; filter: drop-shadow(0 0 40px rgba(0,212,255,.35)); }
.mascot-glow {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 400px; height: 120px;
  background: radial-gradient(ellipse, rgba(0,255,136,.4), transparent 70%);
  filter: blur(20px);
}
.hero-scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  text-align: center; z-index: 2;
}
.hero-scroll span {
  font-family: var(--font-mono); font-size: .7rem;
  letter-spacing: .3em; color: rgba(255,255,255,.6);
}
.scroll-line {
  width: 2px; height: 50px; background: var(--gradient);
  margin: 10px auto; animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== MARQUEE VELOCIDADE ===== */
.velocity-marquee {
  overflow: hidden;
  background: var(--bg-darker);
  border-top: 1px solid rgba(0,212,255,.2);
  border-bottom: 1px solid rgba(0,212,255,.2);
  padding: 18px 0;
  position: relative;
  z-index: 5;
}
.velocity-track {
  display: flex; align-items: center; gap: 40px;
  white-space: nowrap;
  width: max-content;
  will-change: transform;
}
.velocity-track span {
  font-family: var(--font-title);
  font-size: 1.4rem; font-weight: 900;
  letter-spacing: .15em; color: var(--neon-green);
  text-shadow: 0 0 20px rgba(0,255,136,.5);
}
.velocity-track i { color: var(--neon-cyan); font-style: normal; }

/* ===== SPOTLIGHT CARD ===== */
.spotlight-card {
  position: relative;
  overflow: hidden;
  --mouse-x: 50%;
  --mouse-y: 50%;
}
.spotlight-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(0,255,136,.18), transparent 60%);
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
  z-index: 1;
}
.spotlight-card:hover::before { opacity: 1; }

/* ===== SOBRE ===== */
.sobre-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 70px; align-items: center;
}
.sobre-text p {
  font-size: 1.1rem; line-height: 1.9;
  color: rgba(255,255,255,.85); margin-bottom: 24px;
}
.sobre-text strong { color: var(--neon-green); }
.stats { display: flex; gap: 50px; margin-top: 40px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-title); font-size: 2.8rem; font-weight: 900;
  color: var(--neon-green);
}
.stat-label { font-family: var(--font-mono); font-size: .75rem; color: var(--neon-cyan); letter-spacing: .1em; margin-top: 6px; display: block; }
.sobre-mascot img { width: 100%; max-width: 440px; filter: drop-shadow(0 0 30px rgba(0,255,136,.3)); }

/* ===== CONSOLES ===== */
.consoles-intro {
  font-size: 1.2rem; color: rgba(255,255,255,.85);
  max-width: 640px; margin-bottom: 50px; line-height: 1.7;
}
.consoles-intro strong { color: var(--neon-green); }
.console-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 35px; margin-bottom: 60px;
}
.console-card {
  background: linear-gradient(160deg, rgba(0,212,255,.06), rgba(0,255,136,.04));
  border: 1px solid rgba(0,212,255,.25);
  border-radius: 20px; padding: 45px 32px;
  text-align: center; will-change: transform;
  transition: border-color .3s, box-shadow .3s;
}
.console-card:hover { border-color: var(--neon-green); box-shadow: 0 0 40px rgba(0,255,136,.25); }
.console-icon { font-size: 3.2rem; margin-bottom: 18px; }
.console-card h3 { font-family: var(--font-title); font-size: 1.35rem; margin-bottom: 10px; }
.console-stations {
  font-family: var(--font-mono); color: var(--neon-cyan);
  font-size: .8rem; letter-spacing: .1em; margin-bottom: 14px;
}
.console-desc { font-size: .95rem; color: rgba(255,255,255,.7); margin-bottom: 28px; line-height: 1.6; }
.reserve-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  background: linear-gradient(135deg, rgba(0,255,136,.12), rgba(0,212,255,.12));
  border: 1px solid rgba(0,255,136,.3);
  border-radius: 20px; padding: 50px; flex-wrap: wrap;
}
.reserve-text h3 { font-family: var(--font-title); font-size: 1.6rem; margin-bottom: 14px; }
.reserve-text p { color: rgba(255,255,255,.8); max-width: 520px; line-height: 1.7; }

/* ===== EXPERIÊNCIA ===== */
.exp-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 35px; margin-bottom: 50px;
}
.exp-card {
  background: rgba(255,255,255,.03); border: 1px solid rgba(0,212,255,.2);
  border-radius: 18px; padding: 40px 30px;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  will-change: transform;
}
.exp-card:hover { border-color: var(--neon-green); box-shadow: 0 0 30px rgba(0,255,136,.2); }
.exp-icon { font-size: 2.8rem; margin-bottom: 18px; }
.exp-card h3 { font-family: var(--font-title); font-size: 1.15rem; margin-bottom: 12px; }
.exp-card p { font-size: .95rem; color: rgba(255,255,255,.7); line-height: 1.7; }
.exp-mascot { text-align: center; }
.exp-mascot img { height: 320px; filter: drop-shadow(0 0 30px rgba(0,212,255,.3)); }

/* ===== CAMPEONATOS ===== */
.torneio-card {
  display: flex; align-items: center; gap: 60px;
  background: linear-gradient(135deg, rgba(0,255,136,.05), rgba(0,212,255,.05));
  border: 1px solid rgba(255,56,96,.3); border-radius: 20px;
  padding: 60px; max-width: 920px; flex-wrap: wrap;
}
.torneio-info h3 {
  font-family: var(--font-title); font-size: 2.2rem; font-weight: 900;
  color: var(--neon-red); margin-bottom: 12px;
}
.torneio-date { font-family: var(--font-mono); color: var(--neon-cyan); margin-bottom: 18px; }
.torneio-info p { margin-bottom: 24px; color: rgba(255,255,255,.8); line-height: 1.7; }
.torneio-mascot img { height: 320px; filter: drop-shadow(0 0 30px rgba(255,56,96,.3)); }

/* ===== JOYFORGE CLUB ===== */
.club-intro {
  font-size: 1.2rem; color: rgba(255,255,255,.85);
  max-width: 680px; margin-bottom: 50px; line-height: 1.7;
}
.club-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 30px; margin-bottom: 60px;
}
.club-benefit {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(0,255,136,.2);
  border-radius: 18px; padding: 36px 26px; text-align: center;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.club-benefit:hover {
  transform: translateY(-5px);
  border-color: var(--neon-green);
  box-shadow: 0 0 30px rgba(0,255,136,.2);
}
.club-icon { font-size: 2.8rem; margin-bottom: 14px; }
.club-benefit h3 { font-family: var(--font-title); font-size: 1.05rem; margin-bottom: 12px; }
.club-benefit p { font-size: .9rem; color: rgba(255,255,255,.7); line-height: 1.6; }
.club-cta {
  text-align: center; padding: 40px;
  border: 1px dashed rgba(0,212,255,.4); border-radius: 20px;
}
.club-cta p { font-size: 1.15rem; margin-bottom: 24px; color: rgba(255,255,255,.85); }
.club-cta strong { color: var(--neon-green); }

/* ===== CONTATO ===== */
.contato-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
}
.contato-info p { font-size: 1.15rem; margin-bottom: 24px; color: rgba(255,255,255,.85); }
.contato-form { display: flex; flex-direction: column; gap: 24px; }
.contato-note { font-size: .95rem; color: rgba(255,255,255,.6); line-height: 1.6; }

/* ===== FOOTER ===== */
.footer {
  padding: 70px 6%; text-align: center;
  background: var(--bg-darker); border-top: 1px solid rgba(0,212,255,.2);
}
.footer p { color: rgba(255,255,255,.6); margin-bottom: 12px; }
.footer-copy { font-size: .8rem; }

/* ===== RESPONSIVO ===== */
@media (max-width: 1100px) {
  .club-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-mascot { height: 70vh; }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .hero { flex-direction: column; padding-top: 130px; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-hud { justify-content: center; }
  .hero-mascot { position: relative; right: auto; height: 45vh; margin-top: 40px; }
  .sobre-grid, .contato-grid { grid-template-columns: 1fr; }
  .console-grid, .exp-cards { grid-template-columns: 1fr; }
  .torneio-card { flex-direction: column; text-align: center; padding: 40px; }
  .stats { justify-content: center; }
  .reserve-banner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  :root { --space-section: 70px; }
  .section { padding: 70px 5%; }
  .hero { padding: 110px 5% 60px; }
  .hero-title { font-size: 2.3rem; }
  .hero-sub { font-size: 1rem; }
  .hero-mascot { height: 38vh; }
  .btn { width: 100%; padding: 16px 20px; }
  .btn-ghost, .btn-primary { width: 100%; }
  .hero-actions { flex-direction: column; gap: 16px; }
  .console-card, .exp-card, .club-benefit { padding: 30px 22px; }
  .reserve-banner, .torneio-card { padding: 30px 22px; }
  .stats { gap: 30px; }
  .stat-num { font-size: 2.2rem; }
  .nav-logo-img { height: 36px; }
  .hero-hud { gap: 14px; font-size: .65rem; }
  .velocity-track span { font-size: 1.1rem; }
}