/* Variáveis de cores e configurações globais */
:root {
  --primary: #8e44ad;
  --primary-dark: #6c3483;
  --secondary: #2ecc71;
  --secondary-dark: #27ae60;
  --accent: #f39c12;
  --dark: #2c3e50;
  --light: #ecf0f1;
  --gray: #95a5a6;
  --danger: #e74c3c;
  --success: #2ecc71;
}

/* Fonte Minecraft personalizada */
@font-face {
  font-family: 'Minecraft';
  src: url('../fonts/Minecraft.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Reset e estilos básicos */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9f9;
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.minecraft-font {
  font-family: 'Minecraft', sans-serif;
  letter-spacing: 1px;
}

/* Navbar */
.navbar {
  background-color: hsla(210, 29.00%, 24.30%, 0.95);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 10px 0;
  background-color: rgba(44, 62, 80, 0.98);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

.nav-toggle {
  display: none;
  color: var(--light);
  font-size: 24px;
  cursor: pointer;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links a:hover::after {
  width: 80%;
}

.nav-links a.active {
  color: var(--accent);
}

.nav-links a.active::after {
  width: 80%;
}

.discord-btn {
  background-color: #7289DA;
  color: white !important;
  padding: 8px 15px !important;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.discord-btn:hover {
  background-color: #5e73bc;
  transform: translateY(-2px);
}

.join-btn {
  background-color: var(--secondary);
  color: white !important;
  padding: 8px 15px !important;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.join-btn:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-2px);
}

/* Modifique a seção Hero para usar uma cor de fundo em vez de uma imagem */
.hero {
  background: linear-gradient(135deg, #3498db, #8e44ad);
  /* Gradiente em vez de imagem */
  color: white;
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
}

/* Remova a referência a particles.png */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: none;
  /* Remova a referência à imagem */
  opacity: 0.1;
}

/* Adicione uma fonte genérica em vez de Minecraft */
.minecraft-font {
  font-family: 'Courier New', monospace;
  /* Fonte alternativa */
  font-weight: bold;
  letter-spacing: 1px;
}

@font-face {
  font-family: 'Minecraft';
  src: local('Courier New');
  /* Use uma fonte local em vez de carregar */
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@keyframes particles {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 500px 500px;
  }
}

.hero .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  flex: 1;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--accent);
}

.tagline {
  font-size: 1.5rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.server-stats {
  display: flex;
  margin-bottom: 30px;
}

.stat {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 15px 25px;
  border-radius: 8px;
  margin-right: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.stat:hover {
  transform: translateY(-5px);
  background-color: rgba(0, 0, 0, 0.6);
}

.stat i {
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 10px;
}

.stat span {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.primary-btn {
  background-color: var(--primary);
  color: white;
}

.primary-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(142, 68, 173, 0.4);
}

.secondary-btn {
  background-color: var(--secondary);
  color: white;
}

.secondary-btn:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
}

.btn i {
  margin-right: 8px;
}

.hero-image {
  flex: 1;
  text-align: right;
  animation: float-image 6s ease-in-out infinite;
}

@keyframes float-image {

  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-15px) rotate(5deg);
  }
}

.hero-image img {
  max-width: 90%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* About Section */
.about {
  padding: 100px 0;
  background-color: white;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: var(--dark);
  position: relative;
  font-family: 'Minecraft', sans-serif;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--accent);
  border-radius: 2px;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.about-text h3 {
  margin: 30px 0 15px;
  color: var(--primary);
}

.about-text ul {
  list-style: none;
}

.about-text li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.about-text li i {
  color: var(--success);
  margin-right: 10px;
}

.about-image {
  flex: 1;
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-image::before {
  content: '';
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--accent);
  border-radius: 10px;
  z-index: -1;
}

/* Players Section */
.players {
  padding: 100px 0;
  background-color: #f5f7fa;
}

.players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.player-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.player-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.player-avatar {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.player-info {
  padding: 15px;
  text-align: center;
}

.player-name {
  font-weight: 600;
  margin-bottom: 5px;
}

.player-status {
  color: var(--success);
  font-size: 0.9rem;
}

.players-stats {
  display: flex;
  justify-content: space-around;
  margin-bottom: 40px;
}

.stat-card {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  width: 30%;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-card h3 {
  color: var(--dark);
  margin-bottom: 10px;
}

.stat-card p {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.loading {
  text-align: center;
  padding: 40px;
  font-size: 1.2rem;
  color: var(--gray);
}

/* Map Section */
.map {
  padding: 100px 0;
  background-color: white;
}

.map-content {
  display: flex;
  gap: 40px;
}

.map-preview {
  flex: 2;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
}

.map-preview iframe {
  width: 100%;
  height: 400px;
  border: none;
}

.map-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.map-info h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--dark);
}

.map-info p {
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.map-btn {
  background-color: var(--dark);
  color: white;
  align-self: flex-start;
}

.map-btn:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(44, 62, 80, 0.4);
}

/* Shop Section */
.shop {
  padding: 100px 0;
  background: linear-gradient(135deg, #8e44ad, #3498db);
  color: white;
}

.shop .section-title {
  color: white;
}

.shop-intro {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 50px;
}

.shop-packages {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.package {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  width: 300px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  color: var(--dark);
}

.package:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.package.featured {
  transform: scale(1.05);
  border: 2px solid var(--accent);
}

.package.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.package-header {
  background-color: var(--dark);
  color: white;
  padding: 20px;
  text-align: center;
  position: relative;
}

.badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: var(--accent);
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.package-header h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.price {
  font-size: 1.8rem;
  font-weight: 700;
}

.package-content {
  padding: 20px;
}

.package-content ul {
  list-style: none;
  margin-bottom: 20px;
}

.package-content li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.package-content li i {
  color: var(--success);
  margin-right: 10px;
}

.shop-btn {
  background-color: var(--primary);
  color: white;
  width: 100%;
}

.shop-btn:hover {
  background-color: var(--primary-dark);
}

/* Discord Section */
.discord {
  padding: 100px 0;
  background-color: #f5f7fa;
}

.discord-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.discord-info {
  flex: 1;
}

.discord-info p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.discord-features {
  list-style: none;
  margin-bottom: 30px;
}

.discord-features li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.discord-features li i {
  color: #7289DA;
  margin-right: 10px;
  font-size: 1.2rem;
}

.discord-join-btn {
  background-color: #7289DA;
  color: white;
}

.discord-join-btn:hover {
  background-color: #5e73bc;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(114, 137, 218, 0.4);
}

.discord-widget {
  flex: 1;
}

.discord-widget iframe {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: var(--light);
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-logo {
  flex: 1;
  min-width: 200px;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 15px;
}

.footer-links,
.footer-contact,
.footer-social {
  flex: 1;
  min-width: 200px;
}

.footer h3 {
  margin-bottom: 20px;
  font-size: 1.3rem;
  position: relative;
  padding-bottom: 10px;
}

.footer h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--accent);
}

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: 10px;
}

.footer a {
  color: var(--light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--accent);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--accent);
  transform: translateY(-5px);
}

.social-icons i {
  font-size: 1.2rem;
}

/* Animações e efeitos */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsividade */
@media (max-width: 992px) {

  .hero .container,
  .about-content,
  .map-content,
  .discord-content {
    flex-direction: column;
  }

  .hero-image {
    margin-top: 40px;
    text-align: center;
  }

  .about-image {
    margin-top: 40px;
  }

  .map-info {
    margin-top: 30px;
  }

  .discord-widget {
    margin-top: 40px;
  }

  .package {
    width: 100%;
    max-width: 350px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: rgba(44, 62, 80, 0.95);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    transition: all 0.5s ease;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 15px 0;
  }

  .hero {
    padding: 150px 0 80px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .server-stats {
    flex-direction: column;
    gap: 20px;
  }

  .stat {
    margin-right: 0;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .players-stats {
    flex-direction: column;
    gap: 20px;
  }

  .stat-card {
    width: 100%;
  }

  .section-title {
    font-size: 2rem;
  }
}

/* Estilos para animação de revelação */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal:not(.active) {
  opacity: 0;
  transform: translateY(50px);
}

/* Garante que o primeiro elemento (hero) sempre seja visível */
#home.reveal {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Ajustes para as seções de tela cheia */
.fullscreen-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0;
  position: relative;
  opacity: 1;
}