/* 🏆 NeyWorldCup Premium Design System CSS */

:root {
  --bg-dark: #020b05;
  --bg-deep: #010502;
  --bg-elev: rgba(10, 31, 15, 0.6);
  --accent-green: #00e676;
  --accent-green-glow: rgba(0, 230, 118, 0.4);
  --accent-gold: #ffd700;
  --accent-gold-glow: rgba(255, 215, 0, 0.4);
  --text-main: #f0fdf4;
  --text-dim: rgba(240, 253, 244, 0.7);
  --glass-border: rgba(0, 230, 118, 0.2);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  background-image: radial-gradient(ellipse at 50% 30%, #082910 0%, var(--bg-dark) 70%, var(--bg-deep) 100%);
  color: var(--text-main);
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, .font-mono {
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.05em;
}

/* Layout Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / Nav */
header {
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(2, 11, 5, 0.8);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-gold);
  text-shadow: 0 0 10px var(--accent-gold-glow);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--accent-green);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent-green);
  text-shadow: 0 0 8px var(--accent-green-glow);
}

/* Hero Section */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-green-glow) 0%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid var(--accent-green);
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: 24px;
  font-weight: 600;
  letter-spacing: 0.2em;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(0, 230, 118, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

.hero-title {
  font-size: 54px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 700px;
  margin: 0 auto 40px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--accent-green) 0%, #00b0ff 100%);
  border: none;
  border-radius: 999px;
  color: #010502;
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 230, 118, 0.3);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 230, 118, 0.5);
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-green) 100%);
}

/* Grid & Cards Section */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 16px;
  text-transform: uppercase;
  color: var(--text-main);
  position: relative;
}

.section-title span {
  color: var(--accent-gold);
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent-green);
  margin: 16px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto 50px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.glass-card {
  background: var(--bg-elev);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 36px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-gold));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 230, 118, 0.1);
  border-color: rgba(0, 230, 118, 0.4);
}

.glass-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent-green);
  font-size: 24px;
}

.card-title {
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--accent-gold);
  text-transform: uppercase;
}

.card-text {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.7;
}

/* Legacy Section Detail */
.legacy-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 768px) {
  .legacy-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-title {
    font-size: 38px;
  }
}

.legacy-img-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1.5px solid var(--glass-border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.legacy-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.legacy-img-wrap:hover img {
  transform: scale(1.05);
}

.stat-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.stat-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.stat-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-gold);
  display: block;
}

.stat-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Jersey Customizer Widget (Interactive Visual) */
.customizer-box {
  background: linear-gradient(135deg, var(--bg-elev) 0%, rgba(2, 20, 8, 0.9) 100%);
  border: 1px solid var(--accent-green);
  border-radius: 24px;
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 15px 35px rgba(0, 230, 118, 0.15);
}

.customizer-layout {
  display: flex;
  gap: 40px;
  align-items: center;
}

@media (max-width: 640px) {
  .customizer-layout {
    flex-direction: column;
    text-align: center;
  }
}

.jersey-preview {
  flex: 1;
  display: flex;
  justify-content: center;
}

.jersey-svg-container {
  width: 200px;
  height: 240px;
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  border: 1px dashed rgba(0, 230, 118, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.jersey-back-preview {
  width: 150px;
  height: 180px;
  background: #ffeb3b; /* Amarela */
  border-radius: 8px;
  position: relative;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Mangas e Detalhes da Gola */
.jersey-back-preview::before {
  content: '';
  position: absolute;
  top: 0;
  width: 100%;
  height: 15px;
  background: #00e676; /* Detalhe Gola Verde */
  border-radius: 8px 8px 0 0;
}

.jersey-name {
  color: #002244; /* Azul Marinho da Seleção */
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.1em;
  margin-top: 15px;
  text-transform: uppercase;
}

.jersey-number {
  color: #002244;
  font-family: 'Orbitron', sans-serif;
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  margin-top: 5px;
}

.customizer-controls {
  flex: 1.5;
}

.customizer-controls h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--accent-gold);
}

.customizer-controls p {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: 8px;
  letter-spacing: 0.1em;
}

.input-style {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 230, 118, 0.3);
  border-radius: 8px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  transition: all 0.3s ease;
}

.input-style:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

/* Footer Links */
footer {
  border-top: 1px solid rgba(0, 230, 118, 0.15);
  background: var(--bg-deep);
  padding: 60px 0 30px;
  color: var(--text-dim);
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

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

.footer-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 16px;
}

.footer-logo span {
  color: var(--accent-green);
}

.footer-links h4 {
  color: var(--text-main);
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul a:hover {
  color: var(--accent-green);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  text-align: center;
  font-size: 11px;
}

.footer-bottom a {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 600;
}

.footer-bottom a:hover {
  text-decoration: underline;
}
