/* ============================================
   HOME PAGE - Baseado no modelo VigridRO
   ============================================ */

/* Layout Principal */
.home-main-section {
  padding: 0;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: calc(100vh - 60px);
  max-height: calc(100vh - 60px);
  overflow: hidden;
}

.home-main-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero-box {
  background: rgba(88, 28, 135, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 20px;
  padding: 20px 30px 25px;
}

.home-main-section .hero-content {
  margin: -10px auto 0;
  max-width: 100%;
  overflow: visible;
}

.home-main-section .hero-content::before,
.home-main-section .hero-content::after {
  display: none;
}

/* Titulo - gradiente claro para melhor contraste */
.hero-title {
  font-size: 3rem;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #f5a6d0, #d980fa, #c39bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: none;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-shadow: none;
  animation: fadeInDown 0.8s ease-out !important;
}

/* Grid: texto esquerda, imagem direita */
.hero-content-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 30px;
  align-items: center;
}

.hero-text-section {
  display: flex;
  flex-direction: column;
  animation: fadeInLeft 0.8s ease-out 0.2s backwards;
  align-items: center;
  margin-bottom: 0;
}

/* Features com losangos */
.hero-features {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.hero-features .diamond {
  color: #a855f7;
}

/* Subtitulo */
.hero-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
  font-style: italic;
}

.hero-subtitle strong {
  color: #fff;
  font-weight: 700;
  text-shadow:
    0 0 5px #fff,
    0 0 10px #fff,
    0 0 15px #fff,
    0 0 20px #a855f7,
    0 0 30px #a855f7,
    0 0 40px #a855f7,
    0 0 55px #a855f7,
    0 0 75px #a855f7,
    2px 2px 2px rgba(0, 0, 0, 0);
}

/* Botoes container */
.home-main-section .hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 5px;
}

/* ========================================
   BOTAO COMECAR AGORA - Rosa/Magenta + Vidro + Borda Neon
   ======================================== */

.home-main-section .hero-buttons .btn-primary.btn-large {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.15) 0%,
      rgba(255, 255, 255, 0) 50%,
      transparent 50%
    ),
    linear-gradient(135deg, #7c3aed, #a855f7, #d63384);
  border: 2px solid rgba(168, 85, 247, 0.5);
  border-radius: 8px;
  padding: 14px 60px;
  font-size: 1.4rem;
  color: white;
  text-shadow: 1px 1px 11px rgba(0, 0, 0, 0.84);
  box-shadow:
    0 0 8px rgba(168, 85, 247, 0.5),
    0 0 20px rgba(168, 85, 247, 0.3),
    0 0 40px rgba(168, 85, 247, 0.15);
  transition: all 0.3s ease;
  text-transform: none;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.home-main-section .hero-buttons .btn-primary.btn-large::before {
  content: none;
}

.home-main-section .hero-buttons .btn-primary.btn-large:hover {
  transform: scale(1.1);
  border-color: rgba(168, 85, 247, 0.8);
  box-shadow:
    0 0 15px rgba(168, 85, 247, 0.7),
    0 0 35px rgba(168, 85, 247, 0.5),
    0 0 60px rgba(168, 85, 247, 0.25);
}

/* BOTAO BAIXAR CLIENTE - Ghost style */
.home-main-section .hero-buttons .btn-secondary.btn-large {
  background: rgba(15, 15, 35, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 12px 35px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  box-shadow: none;
  transition: all 0.3s ease;
  text-transform: none;
  letter-spacing: 0.5px;
}

.home-main-section .hero-buttons .btn-secondary.btn-large::before {
  content: none;
}

.home-main-section .hero-buttons .btn-secondary.btn-large:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  transform: translateY(-2px);
}

/* ========================================
   IMAGEM - lado direito
   ======================================== */
.hero-image-section {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.8s ease-out 0.2s backwards;
  position: relative;
  z-index: 1;
}

.hero-image {
  width: 100%;
  max-width: 440px;
  height: auto;
  animation: imagePulse 4s ease-in-out infinite;
  filter: drop-shadow(0 0 15px rgba(168, 85, 247, 0.6))
    drop-shadow(0 0 30px rgba(168, 85, 247, 0.4))
    drop-shadow(0 0 65px rgba(168, 85, 247, 0.25));
  position: relative;
  z-index: 1;
}

/* ========================================
   KEYFRAMES
   ======================================== */
@keyframes imagePulse {
  0%,
  100% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.02) translateY(-5px);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ========================================
   INFO BUTTONS - 3 colunas no rodape do hero
   ======================================== */
.home-info-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  animation: fadeInDown 0.6s ease-out backwards;
}

.home-info-btn {
  background: rgba(15, 15, 35, 0.6);
  border: 1px solid rgba(168, 85, 247, 0.15);
  border-radius: 8px;
  padding: 6px 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  backdrop-filter: blur(8px);
}

.home-info-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.25);
  border-color: rgba(168, 85, 247, 0.4);
  background: rgba(168, 85, 247, 0.08);
}

.home-info-btn-icon-inline {
  font-size: 1.1rem;
  color: var(--primary-light);
  flex-shrink: 0;
}

.home-info-btn-title {
  font-size: 0.85rem;
  color: var(--text-color);
  font-weight: 600;
}

/* ========================================
   MODAL STYLES
   ======================================== */
.stats-grid-modal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.stat-card-modal {
  background: rgba(20, 20, 40, 0.5);
  border-radius: 10px;
  padding: 18px;
  border: 1px solid rgba(106, 61, 232, 0.2);
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card-modal:hover {
  border-color: var(--primary-color);
  transform: translateY(-3px);
}

.stat-icon-modal {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  box-shadow: 0 5px 20px rgba(106, 61, 232, 0.4);
}

.stat-icon-modal i {
  font-size: 1.4rem;
  color: white;
}

.stat-info-modal {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-title-modal {
  font-size: 0.95rem;
  color: var(--primary-light);
  font-weight: 600;
}
.stat-value-modal {
  font-size: 2rem;
  color: var(--text-color);
  font-weight: bold;
}
.stat-desc-modal {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.quick-download-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 30px 0;
}

.download-info-box {
  background: rgba(20, 20, 40, 0.5);
  border-radius: 12px;
  padding: 20px;
  border-left: 4px solid var(--primary-color);
}

.download-info-box h4 {
  color: var(--primary-light);
  margin-bottom: 15px;
  font-size: 1.1rem;
}
.download-info-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.download-info-box li {
  padding: 8px 0 8px 25px;
  position: relative;
  color: var(--text-muted);
}
.download-info-box li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

/* Tamanho base para botoes large (usado nos modais) */
.btn-large {
  padding: 15px 40px;
  font-size: 1.1rem;
}

/* ========================================
   PVP PODIUM - Lideres PVP
   ======================================== */
.pvp-podium-section {
  margin: 20px 0 0;
  width: 100%;
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.pvp-podium-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 5px;
}

.pvp-podium-header i {
  font-size: 1.4rem;
  color: #ffd700;
  filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.5));
}

.pvp-podium-header h2 {
  font-size: 1.3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ffd700, #ffaa00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.pvp-podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: -30px;
  padding: 0 20px;
  margin: 0 auto;
}

/* Laterais (2o e 3o) - menores e mais "atras" para dar profundidade */
.pvp-podium-left,
.pvp-podium-right {
  transform: scale(0.88);
  opacity: 0.92;
  margin: 0 -75px;
  z-index: 1;
}

/* Centro (1o lugar) - a frente */
.pvp-podium-center {
  z-index: 2;
  position: relative;
}

.pvp-podium-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  animation: podiumRise 0.6s ease-out backwards;
}

@keyframes podiumRise {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Card wrapper - card as background, chargen + stats overlaid */
.pvp-podium-card-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.pvp-podium-card {
  width: 460px;
  height: auto;
  pointer-events: none;
  user-select: none;
  display: block;
}

.pvp-podium-center .pvp-podium-card {
  width: 500px;
}

/* Chargen - positioned in upper area of card, below trophy */
.pvp-podium-chargen {
  position: absolute;
  top: -7%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70%;
}

.pvp-podium-chargen img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
  image-rendering: auto;
}

/* Stats in the bottom section of the card */
.pvp-podium-card-bottom {
  position: absolute;
  bottom: 25%;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
}

.pvp-podium-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  text-align: center;
  cursor: default;
}

.pvp-podium-name.truncated {
  cursor: help;
}

.pvp-podium-name.truncated:hover {
  overflow: visible;
  position: relative;
  z-index: 10;
  background: rgba(0, 0, 0, 0.85);
  padding: 2px 8px;
  border-radius: 6px;
  max-width: none;
}

.pvp-podium-center .pvp-podium-name {
  font-size: 1.25rem;
}

.pvp-podium-stats {
  font-size: 0.8rem;
  display: flex;
  gap: 4px;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 3px 8px;
  border-radius: 10px;
  backdrop-filter: blur(4px);
  white-space: nowrap;
  max-width: 100%;
}

.pvp-kills {
  color: #ff4d4d;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(255, 77, 77, 0.6);
}

.pvp-deaths {
  color: #a0aec0;
  font-weight: 700;
  text-shadow: 0 0 6px rgba(160, 174, 192, 0.4);
}

.pvp-sep {
  color: rgba(255, 255, 255, 0.5);
}

/* Hover */
.pvp-podium-item:hover .pvp-podium-card-wrapper {
  transform: scale(1.05);
}

.pvp-podium-item:hover .pvp-podium-chargen img {
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.8));
}

/* ========================================
   RESPONSIVO
   ======================================== */
@media (max-width: 1100px) {
  .home-main-section {
    height: auto;
    max-height: none;
    overflow: visible;
    padding: 10px 0 20px;
  }

  .hero-box {
    padding: 15px 20px 20px;
  }

  .hero-content-wrapper {
    gap: 20px;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .hero-image {
    max-width: 350px;
  }

  .home-info-buttons {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
  }

  .pvp-podium-card {
    width: 280px;
  }

  .pvp-podium-center .pvp-podium-card {
    width: 320px;
  }

  .pvp-podium-left,
  .pvp-podium-right {
    margin: 0 -55px;
  }

  .pvp-podium-name {
    font-size: 1rem;
  }

  .pvp-podium-stats {
    font-size: 0.75rem;
  }
}

@media (max-width: 992px) {
  .hero-content-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }

  .hero-text-section {
    align-items: center;
  }

  .home-main-section .hero-buttons {
    align-items: center;
  }

  .hero-image-section {
    order: -1;
  }

  .hero-image {
    max-width: 280px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .home-info-btn {
    padding: 5px 12px;
    font-size: 0.85rem;
  }

  .pvp-podium {
    gap: 0;
  }

  .pvp-podium-card {
    width: 240px;
  }

  .pvp-podium-center .pvp-podium-card {
    width: 280px;
  }

  .pvp-podium-left,
  .pvp-podium-right {
    margin: 0 -50px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-features {
    font-size: 0.85rem;
  }

  .hero-image {
    max-width: 240px;
  }

  .home-main-section .hero-buttons .btn-primary.btn-large {
    padding: 12px 35px;
    font-size: 1.1rem;
  }

  .home-main-section .hero-buttons .btn-secondary.btn-large {
    padding: 10px 28px;
    font-size: 0.9rem;
  }

  .home-info-btn-title {
    font-size: 0.8rem;
  }

  .pvp-podium-card {
    width: 200px;
  }

  .pvp-podium-center .pvp-podium-card {
    width: 240px;
  }

  .pvp-podium-left,
  .pvp-podium-right {
    margin: 0 -40px;
  }

  .pvp-podium-name {
    font-size: 0.9rem;
    max-width: 110px;
  }

  .pvp-podium-stats {
    font-size: 0.7rem;
    padding: 2px 6px;
  }

  .stats-grid-modal {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero-box {
    padding: 12px 15px 18px;
    border-radius: 14px;
  }

  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .hero-features {
    font-size: 0.75rem;
    margin-bottom: 6px;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 12px;
  }

  .hero-image {
    max-width: 200px;
  }

  .home-main-section .hero-buttons .btn-primary.btn-large {
    padding: 12px 30px;
    font-size: 1rem;
  }

  .home-main-section .hero-buttons .btn-secondary.btn-large {
    padding: 8px 24px;
    font-size: 0.85rem;
  }

  .home-info-buttons {
    gap: 6px;
    margin-bottom: 12px;
  }

  .home-info-btn {
    padding: 4px 10px;
  }

  .home-info-btn-title {
    font-size: 0.75rem;
  }

  .home-info-btn-icon-inline {
    font-size: 0.9rem;
  }

  .pvp-podium {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .pvp-podium-left,
  .pvp-podium-right {
    transform: scale(1);
    opacity: 1;
    margin: 0;
  }

  .pvp-podium-card,
  .pvp-podium-center .pvp-podium-card {
    width: 240px;
  }

  .pvp-podium-name {
    font-size: 0.95rem;
    max-width: 130px;
  }

  .pvp-podium-stats {
    font-size: 0.72rem;
  }

  .pvp-podium-section {
    margin-top: 15px;
  }
}
