/* ==========================================================================
   BCL MOBILE APP - EA SPORTS FC 27 MODERN CYBER DESIGN SYSTEM
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@0,400;0,600;0,700;1,700&family=Rajdhani:wght@500;600;700&family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root {
  /* FC 27 & FIFA 21 VOLTA Cyber Palettes */
  --fc27-bg-deep: #09081a;
  --fc27-bg-surface: #100e28;
  --fc27-bg-card: rgba(18, 15, 42, 0.86);
  --fc27-bg-card-hover: rgba(28, 22, 60, 0.96);
  --fc27-glass-border: rgba(217, 70, 239, 0.25);
  --fc27-glass-border-hover: rgba(0, 210, 255, 0.6);
  --fc27-glass-blur: blur(16px);

  /* Brand Neons - VOLTA & BCL Blue */
  --fc27-neon-green: #00ff87;
  --fc27-neon-cyan: #00d2ff;
  --fc27-neon-magenta: #d946ef;
  --fc27-neon-pink: #ec4899;
  --fc27-neon-gold: #fbbf24;
  --fc27-neon-purple: #a855f7;
  --fc27-neon-coral: #ff4757;

  /* Rarity & Energy Gradients */
  --fc27-volta-grad: linear-gradient(135deg, #d946ef 0%, #8b5cf6 50%, #00d2ff 100%);
  --fc27-legend-grad: linear-gradient(135deg, #ffe066 0%, #f59e0b 50%, #d97706 100%);
  --fc27-epic-grad: linear-gradient(135deg, #c084fc 0%, #d946ef 50%, #6366f1 100%);
  --fc27-rare-grad: linear-gradient(135deg, #00d2ff 0%, #0284c7 50%, #2563eb 100%);
  --fc27-uncommon-grad: linear-gradient(135deg, #00ff87 0%, #10b981 50%, #047857 100%);

  /* Typography */
  --fc27-font-display: 'Chakra Petch', 'Rajdhani', sans-serif;
  --fc27-font-body: 'Montserrat', sans-serif;
  --fc27-font-mono: 'Rajdhani', monospace;
}

/* Global Reset & Base Styling */
body {
  background: var(--fc27-bg-deep) !important;
  color: #f1f5f9 !important;
  font-family: var(--fc27-font-body) !important;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Background Ambient Neon Glows - FIFA 21 VOLTA Vibe */
.background-overlay, body::before {
  content: '';
  position: fixed;
  top: -20vh;
  left: -20vw;
  width: 140vw;
  height: 140vh;
  background: 
    radial-gradient(circle at 15% 15%, rgba(217, 70, 239, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(0, 210, 255, 0.09) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(0, 255, 135, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 85%, rgba(168, 85, 247, 0.07) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}

#app {
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   3D TILT & INTERACTIVE CARD SHIMMER
   -------------------------------------------------------------------------- */
.ea-3d-card-wrapper {
  perspective: 1200px;
  transform-style: preserve-3d;
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.2, 0, 0.2, 1);
}

.ea-3d-card-wrapper:hover {
  transform: translateY(-6px) scale(1.03);
}

.ea-3d-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.35s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.ea-3d-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 35%,
    rgba(255, 255, 255, 0.18) 45%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0.18) 55%,
    transparent 65%
  );
  transform: rotate(-25deg) translateY(-100%);
  transition: transform 0.65s ease;
  pointer-events: none;
  opacity: 0;
}

.ea-3d-card-wrapper:hover .ea-3d-card::after {
  transform: rotate(-25deg) translateY(100%);
  opacity: 1;
}

/* Rarity Glow Effects */
.rarity-lendario, .rarity-immortal {
  box-shadow: 0 0 25px rgba(251, 191, 36, 0.4), inset 0 0 15px rgba(251, 191, 36, 0.2) !important;
  border: 1px solid rgba(251, 191, 36, 0.6) !important;
}

.rarity-epico, .rarity-icon {
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.38), inset 0 0 15px rgba(168, 85, 247, 0.2) !important;
  border: 1px solid rgba(168, 85, 247, 0.6) !important;
}

.rarity-raro, .rarity-hero {
  box-shadow: 0 0 22px rgba(0, 242, 254, 0.35), inset 0 0 12px rgba(0, 242, 254, 0.18) !important;
  border: 1px solid rgba(0, 242, 254, 0.55) !important;
}

.rarity-incomum, .rarity-evo {
  box-shadow: 0 0 18px rgba(0, 255, 135, 0.28), inset 0 0 10px rgba(0, 255, 135, 0.15) !important;
  border: 1px solid rgba(0, 255, 135, 0.45) !important;
}

/* --------------------------------------------------------------------------
   MODERN GLASS CARDS & SURFACES
   -------------------------------------------------------------------------- */
.ea-glass-panel, .card-surface, .ea-login-card, .table-container {
  background: var(--fc27-bg-card) !important;
  backdrop-filter: var(--fc27-glass-blur) !important;
  -webkit-backdrop-filter: var(--fc27-glass-blur) !important;
  border: 1px solid var(--fc27-glass-border) !important;
  border-radius: 20px !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45) !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ea-glass-panel:hover {
  border-color: var(--fc27-glass-border-hover) !important;
  box-shadow: 0 16px 48px rgba(0, 255, 135, 0.12) !important;
}

/* --------------------------------------------------------------------------
   BOTTOM NAVIGATION BAR (MOBILE)
   -------------------------------------------------------------------------- */
.fc27-bottom-nav {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 28px);
  max-width: 480px;
  height: 64px;
  background: rgba(10, 16, 30, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px;
  z-index: 9999;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 255, 135, 0.15);
}

.fc27-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-family: var(--fc27-font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 20px;
  transition: all 0.22s ease;
}

.fc27-nav-item.active {
  color: #00ff87;
  background: rgba(0, 255, 135, 0.12);
}

.fc27-nav-item.active .fc27-nav-icon {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 8px rgba(0, 255, 135, 0.7));
}

.fc27-nav-icon {
  font-size: 19px;
  transition: transform 0.22s ease;
}

/* --------------------------------------------------------------------------
   MODERN TOAST NOTIFICATIONS
   -------------------------------------------------------------------------- */
#ea-modern-toast-container {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: calc(100% - 32px);
  max-width: 440px;
  pointer-events: none;
}

.ea-modern-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(10, 16, 32, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 16px;
  color: #f8fafc;
  font-family: var(--fc27-font-body);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65);
  animation: toastSlideIn 0.32s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
  transition: all 0.3s ease;
}

.ea-modern-toast.toast-success {
  border: 1px solid rgba(0, 255, 135, 0.6);
  box-shadow: 0 8px 25px rgba(0, 255, 135, 0.2);
}

.ea-modern-toast.toast-error {
  border: 1px solid rgba(255, 71, 87, 0.6);
  box-shadow: 0 8px 25px rgba(255, 71, 87, 0.2);
}

.ea-modern-toast.toast-warning {
  border: 1px solid rgba(251, 191, 36, 0.6);
  box-shadow: 0 8px 25px rgba(251, 191, 36, 0.2);
}

.ea-modern-toast.toast-info {
  border: 1px solid rgba(0, 242, 254, 0.6);
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.2);
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* --------------------------------------------------------------------------
   REMODELED SCREENS STYLING
   -------------------------------------------------------------------------- */

/* Overall Badge & Ranking Highlights */
.ea-overall-badge {
  font-family: var(--fc27-font-display);
  font-weight: 700;
  font-size: 1.15rem;
  padding: 4px 10px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(0, 255, 135, 0.2));
  border: 1px solid rgba(0, 255, 135, 0.45);
  color: #00ff87;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
}

/* Ranking Table Polish */
.ranking-table {
  border-collapse: separate !important;
  border-spacing: 0 6px !important;
}

.ranking-table tr {
  background: rgba(14, 22, 40, 0.65) !important;
  transition: all 0.2s ease !important;
}

.ranking-table tr:hover {
  background: rgba(22, 34, 62, 0.95) !important;
  transform: scale(1.008);
  box-shadow: 0 4px 16px rgba(0, 242, 254, 0.15) !important;
}

.ranking-table td, .ranking-table th {
  padding: 12px 14px !important;
  border: none !important;
}

.ranking-table tr td:first-child {
  border-top-left-radius: 12px !important;
  border-bottom-left-radius: 12px !important;
}

.ranking-table tr td:last-child {
  border-top-right-radius: 12px !important;
  border-bottom-right-radius: 12px !important;
}

/* TOTW & Pitch Spotlight */
.ea-totw-podium {
  position: relative;
  background: radial-gradient(circle at 50% 30%, rgba(0, 242, 254, 0.15) 0%, rgba(10, 16, 32, 0.9) 70%);
  border-radius: 24px;
  padding: 24px;
  border: 1px solid rgba(0, 242, 254, 0.3);
}

/* Ranking Top 3 3D Stage Podium */
.podium-section {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  gap: 16px !important;
  margin: 20px auto 35px !important;
  max-width: 680px !important;
  padding: 24px 16px !important;
  background: radial-gradient(circle at 50% 20%, rgba(245, 158, 11, 0.12) 0%, rgba(5, 8, 17, 0.9) 70%) !important;
  border-radius: 24px !important;
  border: 1px solid rgba(255, 215, 0, 0.25) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7) !important;
}

.podium-step {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.2, 0, 0.2, 1) !important;
}

.podium-step:hover {
  transform: translateY(-8px) scale(1.03) !important;
}

.podium-step.first {
  order: 2 !important;
  transform: translateY(-14px) !important;
}

.podium-step.first:hover {
  transform: translateY(-22px) scale(1.04) !important;
}

.podium-step.second {
  order: 1 !important;
}

.podium-step.third {
  order: 3 !important;
}

.podium-avatar-wrap {
  position: relative !important;
  margin-bottom: 8px !important;
}

.podium-avatar-img {
  width: 72px !important;
  height: 72px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 3px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.podium-step.first .podium-avatar-img {
  width: 88px !important;
  height: 88px !important;
  border: 3.5px solid #ffd700 !important;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.5) !important;
}

.podium-step.second .podium-avatar-img {
  border: 3px solid #cbd5e1 !important;
  box-shadow: 0 0 20px rgba(203, 213, 225, 0.35) !important;
}

.podium-step.third .podium-avatar-img {
  border: 3px solid #d97706 !important;
  box-shadow: 0 0 20px rgba(217, 119, 6, 0.35) !important;
}

.podium-name {
  font-family: var(--fc27-font-body) !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
  color: #ffffff !important;
  margin-top: 4px !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8) !important;
}

.podium-pts {
  font-family: var(--fc27-font-display) !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  color: #00ff87 !important;
  margin-bottom: 8px !important;
}

.podium-base {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--fc27-font-display) !important;
  font-weight: 900 !important;
  font-size: 1.8rem !important;
  border-radius: 12px 12px 4px 4px !important;
  box-shadow: inset 0 2px 10px rgba(255, 255, 255, 0.15) !important;
}

.podium-step.first .podium-base {
  height: 85px !important;
  background: linear-gradient(180deg, #f59e0b 0%, #b45309 100%) !important;
  color: #ffffff !important;
  border: 1px solid #fde047 !important;
}

.podium-step.second .podium-base {
  height: 65px !important;
  background: linear-gradient(180deg, #64748b 0%, #334155 100%) !important;
  color: #ffffff !important;
  border: 1px solid #94a3b8 !important;
}

.podium-step.third .podium-base {
  height: 48px !important;
  background: linear-gradient(180deg, #92400e 0%, #451a03 100%) !important;
  color: #ffffff !important;
  border: 1px solid #d97706 !important;
}

/* Buttons Neon Overhaul */
.btn-primary, .ea-btn-primary, .ea-fc-btn {
  background: linear-gradient(135deg, #00ff87 0%, #00f2fe 100%) !important;
  color: #060b14 !important;
  font-family: var(--fc27-font-display) !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 10px 20px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 18px rgba(0, 255, 135, 0.3) !important;
  transition: all 0.25s ease !important;
}

.btn-primary:hover, .ea-btn-primary:hover, .ea-fc-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 24px rgba(0, 255, 135, 0.5) !important;
}

.ea-fc-btn.btn-secondary {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #f1f5f9 !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: none !important;
}
.ea-fc-btn.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16) !important;
}

.ea-fc-btn.btn-accent {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #000 !important;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35) !important;
}

/* ==========================================================================
   VIDEO EXPORT MODAL & PLAYER (EA SPORTS FC 27)
   ========================================================================== */
.bcl-video-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 7, 13, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.2, 0, 0.2, 1);
  padding: 16px;
  box-sizing: border-box;
}

.bcl-video-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.bcl-video-modal-card {
  width: 100%;
  max-width: 480px;
  max-height: 94vh;
  background: #080d1a;
  border: 1px solid rgba(0, 242, 254, 0.35);
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 40px rgba(0, 242, 254, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: bclPopIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes bclPopIn {
  from { transform: scale(0.92) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.bcl-video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(14, 22, 40, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bcl-video-modal-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bcl-video-modal-title h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #f8fafc;
  font-family: var(--fc27-font-display);
}

.bcl-video-modal-close {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #94a3b8;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.bcl-video-modal-close:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #ff6b6b;
}

.bcl-video-viewport-wrap {
  position: relative;
  width: 100%;
  padding-top: 140%; /* Proporção aproximada 9:16 */
  background: #020408;
  overflow: hidden;
}

.bcl-video-canvas-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bcl-video-canvas-box canvas {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bcl-video-render-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 7, 14, 0.88);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.bcl-video-controls-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(14, 22, 40, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bcl-video-controls-bar .ea-fc-btn {
  flex: 1;
  font-size: 0.82rem !important;
  padding: 10px 8px !important;
  white-space: nowrap;
}

/* ==========================================================================
   TOP 3 HOLOGRAPHIC PODIUM
   ========================================================================== */
.ea-top3-podium-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  margin: 20px auto 30px;
  max-width: 650px;
  padding: 20px 10px;
}

.ea-podium-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 1);
  cursor: pointer;
}

.ea-podium-col:hover {
  transform: translateY(-8px);
}

.ea-podium-col.rank-1 {
  order: 2;
  transform: translateY(-16px);
}
.ea-podium-col.rank-1:hover {
  transform: translateY(-24px);
}
.ea-podium-col.rank-2 {
  order: 1;
}
.ea-podium-col.rank-3 {
  order: 3;
}

.ea-podium-pedestal {
  width: 100%;
  border-radius: 14px 14px 4px 4px;
  padding: 14px 8px;
  margin-top: 10px;
  font-family: var(--fc27-font-display);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.rank-1 .ea-podium-pedestal {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.35) 0%, rgba(120, 53, 15, 0.6) 100%);
  border: 2px solid #ffd700;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.35);
  height: 90px;
}

.rank-2 .ea-podium-pedestal {
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.25) 0%, rgba(51, 65, 85, 0.6) 100%);
  border: 2px solid #cbd5e1;
  box-shadow: 0 0 20px rgba(203, 213, 225, 0.2);
  height: 68px;
}

.rank-3 .ea-podium-pedestal {
  background: linear-gradient(180deg, rgba(217, 119, 6, 0.25) 0%, rgba(67, 20, 7, 0.6) 100%);
  border: 2px solid #d97706;
  box-shadow: 0 0 20px rgba(217, 119, 6, 0.2);
  height: 52px;
}

/* ==========================================================================
   EA SPORTS FC WALKOUT THEATER (NATIVE CINEMATIC EXPERIENCE)
   ========================================================================== */
.ea-theater-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 6, 12, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999999;
  display: none !important;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none !important;
  transition: opacity 0.3s ease;
  box-sizing: border-box;
}

.ea-theater-backdrop.active {
  display: flex !important;
  opacity: 1;
  pointer-events: auto !important;
}

.ea-theater-container {
  width: 100%;
  max-width: 520px;
  height: 100%;
  max-height: 96vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 50% 30%, #0c1427 0%, #03060e 80%);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.95), 0 0 50px rgba(0, 242, 254, 0.2);
}

.ea-theater-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(10, 16, 30, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 10;
}

.ea-theater-playlist-info {
  font-family: var(--fc27-font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: #00ff87;
  letter-spacing: 0.5px;
}

.ea-theater-btn-icon {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #94a3b8;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.ea-theater-btn-icon:hover {
  background: rgba(239, 68, 68, 0.3);
  color: #ff6b6b;
}

/* STAGE VIEWPORT */
.ea-theater-stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 1200px;
}

.ea-stage-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.ea-stage-grid {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 45%;
  background: 
    linear-gradient(180deg, transparent 0%, rgba(0, 242, 254, 0.08) 100%),
    repeating-linear-gradient(90deg, rgba(0, 242, 254, 0.06) 0, rgba(0, 242, 254, 0.06) 1px, transparent 1px, transparent 40px);
  transform: perspective(300px) rotateX(45deg);
  transform-origin: bottom;
}

.ea-stage-lights {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 300px;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 242, 254, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

/* SIDE PYROTECHNIC FLAMES */
.ea-stage-flames {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 5;
}

.ea-stage-flames.active {
  opacity: 1;
}

.ea-flame-col {
  position: absolute;
  bottom: 0;
  width: 70px;
  height: 380px;
  background: linear-gradient(0deg, rgba(255, 215, 0, 0.8) 0%, rgba(245, 158, 11, 0.5) 50%, transparent 100%);
  filter: blur(8px);
  animation: flamePillar 0.15s infinite alternate;
}

.ea-flame-col.left { left: 10px; }
.ea-flame-col.right { right: 10px; }

@keyframes flamePillar {
  from { transform: scaleY(0.95); }
  to { transform: scaleY(1.05); }
}

/* STAGE ELEMENTS BASE */
.ea-stage-element {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.2, 0, 0.2, 1);
  transform: scale(0.9);
}

.ea-stage-element.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

/* FASE 1: PACOTE FUT 3D */
.ea-fut-pack-3d {
  width: 240px;
  height: 350px;
  background: linear-gradient(135deg, #1e1b4b 0%, #4338ca 50%, #0f172a 100%);
  border: 3px solid #fbbf24;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 50px rgba(251, 191, 36, 0.5), inset 0 0 30px rgba(251, 191, 36, 0.2);
  animation: packHover 3s ease-in-out infinite alternate;
}

@keyframes packHover {
  from { transform: translateY(-10px) rotateY(-8deg); }
  to { transform: translateY(10px) rotateY(8deg); }
}

.ea-pack-badge {
  font-family: var(--fc27-font-display);
  font-size: 0.8rem;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.ea-pack-title {
  font-family: var(--fc27-font-body);
  font-size: 2.2rem;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.ea-stage-pack.exploding .ea-fut-pack-3d {
  animation: packBurst 0.6s cubic-bezier(0.1, 0.9, 0.2, 1) forwards;
}

@keyframes packBurst {
  0% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.2); filter: brightness(3); box-shadow: 0 0 100px #ffffff; }
  100% { transform: scale(2); opacity: 0; filter: brightness(5); }
}

/* FASE 2: TEASER (BANDEIRA / POSIÇÃO / ESCUDO) */
.ea-teaser-kicker {
  font-family: var(--fc27-font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: #00f2fe;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
}

.ea-teaser-content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.ea-teaser-flag-img {
  width: 220px;
  height: 140px;
  border-radius: 8px;
  box-shadow: 0 0 40px rgba(0, 242, 254, 0.6);
  animation: teaserPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ea-teaser-pos-text {
  font-family: var(--fc27-font-display);
  font-size: 8rem;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 0 50px #00f2fe, 0 0 80px rgba(0, 242, 254, 0.6);
  animation: teaserPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ea-teaser-team-img {
  width: 160px;
  height: 160px;
  filter: drop-shadow(0 0 35px #ffd700);
  animation: teaserPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes teaserPop {
  0% { transform: scale(0.4); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.ea-teaser-sub {
  font-family: var(--fc27-font-body);
  font-size: 1.6rem;
  font-weight: 900;
  color: #ffffff;
  margin-top: 24px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* FASE 3: WALKOUT COM O CARD REAL */
.ea-walkout-header {
  text-align: center;
  margin-bottom: 14px;
  z-index: 10;
}

.ea-walkout-badge {
  font-family: var(--fc27-font-display);
  font-size: 1.2rem;
  font-weight: 900;
  color: #ffd700;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
  letter-spacing: 2px;
}

.ea-walkout-player-name {
  font-family: var(--fc27-font-body);
  font-size: 1.8rem;
  font-weight: 900;
  color: #ffffff;
  margin: 4px 0 0;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9);
}

.ea-walkout-card-mount {
  z-index: 10;
  animation: walkoutSlideIn 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

@keyframes walkoutSlideIn {
  from { transform: translateY(80px) scale(0.8); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.ea-walkout-stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  font-family: var(--fc27-font-body);
  font-weight: 800;
  font-size: 0.95rem;
  color: #00ff87;
  z-index: 10;
}

/* BOTTOM CONTROL BAR */
.ea-theater-bottom-bar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(10, 16, 30, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 20;
}

.ea-theater-nav-controls, .ea-theater-export-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ea-theater-nav-controls .ea-fc-btn, .ea-theater-export-controls .ea-fc-btn {
  flex: 1;
  min-width: 90px;
  font-size: 0.82rem !important;
  padding: 8px 12px !important;
}

/* TOP TEAM OF THE DAY HEADER */
.ea-team-top-header {
  width: 100%;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid #00f2fe;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.25);
  font-family: var(--fc27-font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  z-index: 15;
  transition: all 0.3s ease;
}

.ea-team-top-header .ea-team-name-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
}

.ea-team-top-header .ea-team-stats-badge {
  font-size: 0.8rem;
  opacity: 0.9;
  letter-spacing: 0.5px;
  font-family: var(--fc27-font-body);
}

/* SQUAD VIEW ("TODOS NA TELA") */
.ea-stage-squad {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 12px 10px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
  z-index: 10;
}

.ea-stage-squad.active {
  opacity: 1;
  pointer-events: auto;
}

.ea-squad-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 480px;
  margin: auto 0;
  padding-bottom: 10px;
}

.ea-squad-card-item {
  cursor: pointer;
  transition: transform 0.25s ease;
}

.ea-squad-card-item:hover {
  transform: translateY(-6px) scale(1.05);
}

.ea-squad-header-bar {
  text-align: center;
  margin-bottom: 8px;
}

.ea-squad-title {
  font-family: var(--fc27-font-display);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 1px;
}

.ea-squad-subtitle {
  font-family: var(--fc27-font-body);
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 600;
}

/* 3 LINHAS DE DESTAQUES DINÂMICOS NO TEASER */
.ea-teaser-destaques {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 320px;
  margin: 10px auto;
  z-index: 10;
}

.ea-destaque-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(14, 22, 40, 0.9);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(0, 242, 254, 0.4);
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), inset 0 0 15px rgba(0, 242, 254, 0.1);
  transform: translateX(-30px);
  opacity: 0;
  animation: slideInDestaque 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.ea-destaque-row.delay-1 { animation-delay: 0.1s; border-color: rgba(251, 191, 36, 0.7); box-shadow: 0 0 20px rgba(251, 191, 36, 0.25); }
.ea-destaque-row.delay-2 { animation-delay: 0.35s; border-color: rgba(0, 242, 254, 0.7); box-shadow: 0 0 20px rgba(0, 242, 254, 0.25); }
.ea-destaque-row.delay-3 { animation-delay: 0.6s; border-color: rgba(0, 255, 135, 0.7); box-shadow: 0 0 20px rgba(0, 255, 135, 0.25); }

@keyframes slideInDestaque {
  to { transform: translateX(0); opacity: 1; }
}

.ea-dest-icon {
  font-size: 1.8rem;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.ea-dest-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.ea-dest-val {
  font-family: var(--fc27-font-display);
  font-size: 1.3rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  letter-spacing: 0.5px;
}

.ea-dest-label {
  font-family: var(--fc27-font-body);
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

/* WALKOUT CARD SCALING & EXACT ALIGNMENT */
.ea-walkout-card-mount .game-fut-card.bcl-player-card {
  width: 270px !important;
  height: 405px !important;
  position: relative !important;
  background-size: 100% 100% !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  border-radius: 20px !important;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8) !important;
  margin: 0 auto;
  overflow: hidden !important;
}

.ea-walkout-card-mount .ea-card-left-stack {
  top: 22px !important;
  left: 18px !important;
  gap: 4px !important;
}

.ea-walkout-card-mount .ea-card-ovr {
  font-size: 2.2rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

.ea-walkout-card-mount .ea-card-pos {
  font-size: 0.95rem !important;
  font-weight: 800 !important;
}

.ea-walkout-card-mount .ea-card-club {
  width: 26px !important;
  height: 28px !important;
  margin-top: 2px !important;
}

.ea-walkout-card-mount .ea-card-playstyle {
  width: 24px !important;
  height: 26px !important;
}

.ea-walkout-card-mount .ea-card-chem {
  font-size: 0.75rem !important;
  gap: 2px !important;
}

.ea-walkout-card-mount .game-fut-photo-wrap {
  position: absolute !important;
  top: 14% !important;
  right: 6% !important;
  width: 60% !important;
  height: 46% !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  overflow: hidden !important;
  z-index: 4 !important;
}

.ea-walkout-card-mount .game-fut-photo-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.ea-walkout-card-mount .game-fut-card > strong {
  position: absolute !important;
  top: 61% !important;
  left: 5% !important;
  width: 90% !important;
  text-align: center !important;
  font-family: 'Rajdhani', 'Montserrat', sans-serif !important;
  font-size: 1.35rem !important;
  font-weight: 900 !important;
  color: #fff !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  z-index: 5 !important;
}

.ea-walkout-card-mount .ea-fut-stars {
  position: absolute !important;
  top: 68.5% !important;
  left: 5% !important;
  width: 90% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  z-index: 5 !important;
}

.ea-walkout-card-mount .ea-fut-stats {
  position: absolute !important;
  top: 76% !important;
  left: 6% !important;
  width: 88% !important;
  display: flex !important;
  justify-content: space-around !important;
  align-items: center !important;
  z-index: 5 !important;
}

.ea-walkout-card-mount .ea-fut-stat {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.ea-walkout-card-mount .ea-fut-stat span {
  font-size: 10px !important;
  font-weight: 700 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  letter-spacing: 0.5px !important;
}

.ea-walkout-card-mount .ea-fut-stat strong {
  font-size: 16px !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9) !important;
}

.ea-walkout-card-mount .ea-variant-label {
  position: absolute !important;
  bottom: 8px !important;
  left: 0 !important;
  width: 100% !important;
  text-align: center !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  color: #e2e8f0 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  z-index: 5 !important;
}

/* RECORDING INDICATOR */
.ea-recording-badge {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(239, 68, 68, 0.9);
  color: #fff;
  font-family: var(--fc27-font-display);
  font-weight: 900;
  font-size: 0.85rem;
  padding: 4px 14px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.8);
  animation: pulseRecording 1s infinite alternate;
  z-index: 100;
}

/* ========================================================
   CYBER NEON SLIM SCROLLBARS (MODERNA E SUAVE)
   ======================================================== */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 210, 255, 0.4) rgba(10, 15, 30, 0.5);
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(8, 12, 24, 0.7);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(0, 210, 255, 0.5), rgba(217, 70, 239, 0.5));
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #00d2ff, #d946ef);
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.7);
}

::-webkit-scrollbar-corner {
  background: transparent;
}



