```css
/* === ESTILOS GLOBALES === */
:root {
  --primary-color: #25ac64;
  --primary-dark: #1e8b50;
  --primary-light: #3dd17f;
  --secondary-color: #8e44ad;
  --dark-color: #1e1e1e;
  --light-color: #f4f4f4;
  --accent-color: #ff9800;
  --danger-color: #e74c3c;
  --success-color: #2ecc71;
  --minecraft-font: 'Poppins', sans-serif;
  --border-radius: 4px;
  --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--minecraft-font);
  line-height: 1.6;
  color: #333;
  background-color: #121212;
  background-image: url('https://cdnjs.cloudflare.com/ajax/libs/minecraft-textures/1.19.0/blocks/dirt.png');
  background-repeat: repeat;
  background-size: 100px;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: -1;
}

/* Contenedor principal */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* Efectos de pixelado para imágenes */
.pixelated {
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

/* Enlaces generales */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-light);
  text-decoration: none;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #fff;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -1px;
}

h2 {
  font-size: 2.5rem;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
  text-align: center;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

h2 i {
  margin-right: 10px;
  color: var(--primary-color);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 20px;
  color: #e0e0e0;
}

/* Listas */
ul, ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

ul li, ol li {
  margin-bottom: 10px;
  color: #e0e0e0;
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 0;
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  background-color: rgba(30, 30, 30, 0.95);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  padding: 10px 0;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-logo {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  transition: var(--transition);
}

.navbar-logo:hover {
  transform: scale(1.1);
}

.navbar-menu {
  display: flex;
  list-style: none;
}

.navbar-menu li {
  margin: 0 15px;
}

.navbar-menu a {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.3);
}

.navbar-menu a:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: translateY(-3px);
}

.navbar-menu a i {
  margin-right: 5px;
}

/* Menú móvil */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 30px;
  height: 3px;
  background-color: #fff;
  margin: 3px 0;
  border-radius: 3px;
  transition: var(--transition);
}

/* === HERO SECTION === */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.6)), url('https://cdnjs.cloudflare.com/ajax/libs/minecraft-textures/1.19.0/blocks/stone.png');
  background-size: 100px;
  background-repeat: repeat;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.hero h1 {
  margin-bottom: 20px;
  font-size: 4rem;
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero p {
  font-size: 1.4rem;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.logo {
  width: 180px;
  height: auto;
  margin-bottom: 30px;
  filter: drop-shadow(0 0 15px rgba(37, 172, 100, 0.7));
  z-index: 1;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}

/* IP Container */
.ip-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 15px 25px;
  border-radius: var(--border-radius);
  margin-top: 30px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--box-shadow);
  z-index: 1;
}

.ip {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: 0 0 10px rgba(37, 172, 100, 0.7);
  margin-left: 15px;
  font-family: 'Courier New', monospace;
}

/* Botón estilo minecraft */
.minecraft-button {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 0 var(--primary-dark);
  transition: 0.1s ease;
  position: relative;
  overflow: hidden;
}

.minecraft-button:active {
  transform: translateY(5px);
  box-shadow: 0 0 0 var(--primary-dark);
}

.minecraft-button i {
  margin-right: 8px;
}

/* Efecto de brillo */
.glow-on-hover {
  position: relative;
  transition: var(--transition);
}

.glow-on-hover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
  background-size: 400% 400%;
  z-index: -1;
  opacity: 0;
  transition: 0.5s;
  border-radius: inherit;
}

.glow-on-hover:hover::before {
  opacity: 0.5;
  animation: glowing 1.5s linear infinite;
}

@keyframes glowing {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* === SECCIONES === */
.section {
  padding: 80px 0;
  position: relative;
}

/* Estadísticas del servidor */
.server-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.stat-item {
  background-color: rgba(30, 30, 30, 0.8);
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  width: 240px;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  background-color: rgba(37, 172, 100, 0.1);
  border-color: var(--primary-color);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 15px 0;
}

.stat-label {
  font-size: 1.1rem;
  color: #e0e0e0;
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Grid de artículos */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

article {
  background-color: rgba(30, 30, 30, 0.8);
  border-radius: var(--border-radius);
  padding: 25px;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

article:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

article h3 {
  margin-bottom: 15px;
  color: var(--primary-light);
}

article h3 i {
  margin-right: 8px;
}

/* Características */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background-color: rgba(30, 30, 30, 0.8);
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  background-color: rgba(37, 172, 100, 0.1);
  border-color: var(--primary-color);
}

.feature-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  transition: var(--transition);
}

.feature-card:hover i {
  transform: scale(1.2);
  color: var(--primary-light);
}

.feature-card h3 {
  margin-bottom: 15px;
  color: #fff;
}

.feature-card p {
  color: #e0e0e0;
}

/* Divisor estilo minecraft */
.minecraft-divider {
  height: 20px;
  background-image: url('https://cdnjs.cloudflare.com/ajax/libs/minecraft-textures/1.19.0/blocks/stone.png');
  background-size: 40px;
  background-repeat: repeat-x;
  margin: 40px 0;
  position: relative;
}

.minecraft-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 0.7) 100%);
}

/* Fondo de grid para reglas */
.minecraft-grid-bg {
  background-color: rgba(30, 30, 30, 0.8);
  background-image: 
    linear-gradient(rgba(37, 172, 100, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 172, 100, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  box-shadow: var(--box-shadow);
}

/* Reglas */
#reglas ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#reglas li {
  padding: 15px;
  margin-bottom: 15px;
  background-color: rgba(20, 20, 20, 0.8);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary-color);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

#reglas li:hover {
  background-color: rgba(37, 172, 100, 0.1);
  transform: translateX(10px);
}

#reglas li i {
  margin-right: 10px;
  color: var(--primary-color);
}

/* Tooltip Minecraft */
.minecraft-tooltip {
  position: relative;
  cursor: help;
}

.minecraft-tooltip::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 10px;
  border-radius: var(--border-radius);
  width: max-content;
  max-width: 300px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  box-shadow: var(--box-shadow);
  border: 1px solid var(--primary-color);
  z-index: 1000;
}

.minecraft-tooltip:hover::before {
  opacity: 1;
  visibility: visible;
}

/* Galería */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
  filter: brightness(70%);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 15px;
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* Chat Minecraft */
.minecraft-chat {
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: var(--border-radius);
  padding: 15px;
  margin-top: 15px;
  border-left: 3px solid var(--primary-color);
}

.minecraft-chat-user {
  color: var(--primary-color);
  font-weight: bold;
}

/* Barra de progreso */
.progress-bar {
  height: 20px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: var(--border-radius);
  margin-top: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  border-radius: var(--border-radius);
  position: relative;
  transition: width 1s ease;
}

.progress-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.2) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.2) 75%,
    transparent 75%
  );
  background-size: 30px 30px;
  animation: progressAnimation 1s linear infinite;
}

@keyframes progressAnimation {
  0% { background-position: 0 0; }
  100% { background-position: 30px 0; }
}

/* Efectos de texto */
.glitch-effect {
  position: relative;
  display: inline-block;
  color: var(--primary-color);
  letter-spacing: 2px;
  font-weight: bold;
  text-decoration: underline;
}

.glitch-effect:hover {
  animation: glitch 0.3s infinite;
}

.glitch-effect::before,
.glitch-effect::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.glitch-effect:hover::before {
  color: var(--accent-color);
  animation: glitch-anim 0.3s infinite;
  opacity: 1;
}

.glitch-effect:hover::after {
  color: var(--secondary-color);
  animation: glitch-anim2 0.3s infinite;
  opacity: 1;
}

@keyframes glitch-anim {
  0% { transform: translate(-2px, 2px); }
  50% { transform: translate(2px, -2px); }
  100% { transform: translate(-2px, 2px); }
}

@keyframes glitch-anim2 {
  0% { transform: translate(2px, -2px); }
  50% { transform: translate(-2px, 2px); }
  100% { transform: translate(2px, -2px); }
}

/* === FOOTER === */
footer {
  background-color: rgba(20, 20, 20, 0.9);
  color: #fff;
  padding: 60px 0 20px;
  position: relative;
  z-index: 1;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  padding: 0 20px;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-section h3 {
  margin-bottom: 20px;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.footer-section p {
  margin-bottom: 20px;
  color: #bbb;
}

.footer-section a {
  color: #ddd;
  margin-bottom: 10px;
  transition: var(--transition);
  display: block;
}

.footer-section a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 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: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: translateY(-5px);
}

.social-icons i {
  font-size: 1.2rem;
}

.copyright {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #888;
}

/* Botón scroll top */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 999;
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background-color: var(--primary-light);
  transform: translateY(-5px);
}

.scroll-top i {
  font-size: 1.5rem;
}

/* Animaciones */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible,
.slide-in-left.visible,
.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* Partículas */
.particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  animation: float-up 20s linear infinite;
}

@keyframes float-up {
  0% {
    transform: translateY(100%) translateX(0) rotate(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(100px) rotate(360deg);
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 992px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .logo {
    width: 150px;
  }
  
  .hero p {
    font-size: 1.2rem;
  }
  
  .section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .navbar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: rgba(20, 20, 20, 0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.5s ease;
    z-index: 1000;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
  }
  
  .navbar-menu.active {
    right: 0;
  }
  
  .navbar-menu li {
    margin: 20px 0;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 6px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -6px);
  }
  
  .ip-container {
    flex-direction: column;
  }
  
  .ip {
    margin-top: 15px;
    margin-left: 0;
  }
  
  .minecraft-grid-bg {
    padding: 20px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: 40px 0;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .ip {
    font-size: 1.1rem;
  }
  
  .stat-item, .feature-card {
    width: 100%;
  }
  
  .gallery-caption {
    transform: translateY(0);
  }
}

/* Estilos adicionales para efectos de Minecraft */
/* Bloques con textura */
.minecraft-block {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.3);
}

/* Efecto de hover para botones y elementos interactivos */
.hover-effect {
  transition: all 0.2s ease;
}

.hover-effect:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(37, 172, 100, 0.7);
}

/* Efecto de texto estilo pixelado */
.pixel-text {
  font-family: 'Poppins', sans-serif;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.7);
  letter-spacing: 1px;
}

/* Barra de XP */
.xp-bar {
  height: 10px;
  background-color: #333;
  border: 2px solid #555;
  border-radius: 4px;
  margin: 15px 0;
  position: relative;
  overflow: hidden;
}

.xp-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #7FEC79, #00AA00);
  width: 75%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 0.8; }
  50% { opacity: 1; }
  100% { opacity: 0.8; }
}

/* Inventario estilo Minecraft */
.inventory-slot {
  width: 50px;
  height: 50px;
  background-color: rgba(50, 50, 50, 0.7);
  border: 2px solid #555;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 3px;
  position: relative;
}

.inventory-slot:hover {
  background-color: rgba(80, 80, 80, 0.7);
  border-color: #777;
}

.inventory-item {
  max-width: 80%;
  max-height: 80%;
}

.item-count {
  position: absolute;
  bottom: 2px;
  right: 2px;
  font-size: 0.8rem;
  color: white;
  text-shadow: 1px 1px 0 black;
}

/* Efecto de lluvia de pixeles */
@keyframes pixel-rain {
  0% {
    transform: translateY(-100vh);
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}

.rain-pixel {
  position: absolute;
  width: 2px;
  height: 2px;
  background-color: rgba(37, 172, 100, 0.7);
  animation: pixel-rain 15s linear infinite;
  pointer-events: none;
}

/* Efecto para el tooltip de los ítems */
.item-tooltip {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.8);
  border: 1px solid #555;
  padding: 10px;
  border-radius: 4px;
  width: 200px;
  color: white;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.inventory-slot:hover .item-tooltip {
  opacity: 1;
}

.tooltip-title {
  color: #55FFFF;
  margin-bottom: 5px;
  font-weight: bold;
}

.tooltip-description {
  color: #AAAAAA;
  font-size: 0.9rem;
}

.tooltip-stats {
  color: #55FF55;
  margin-top: 5px;
  font-size: 0.9rem;
}

/* Barra de carga estilo Minecraft */
.loading-bar {
  width: 100%;
  height: 20px;
  background-color: #333;
  border: 2px solid #555;
  border-radius: 4px;
  overflow: hidden;
  margin: 20px 0;
}

.loading-bar-fill {
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    var(--primary-color),
    var(--primary-color) 10px,
    var(--primary-light) 10px,
    var(--primary-light) 20px
  );
  animation: loading 2s linear infinite;
  width: 50%;
}

@keyframes loading {
  0% { background-position: 0 0; }
  100% { background-position: 40px 0; }
}

/* Efecto para el día y la noche */
.day-night-cycle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: multiply;
  transition: opacity 5s ease;
}

.day {
  background: radial-gradient(circle, rgba(255, 255, 200, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
  opacity: 0;
}

.night {
  background: radial-gradient(circle, rgba(100, 100, 255, 0.1) 0%, rgba(0, 0, 50, 0.5) 70%);
  opacity: 0;
}

/* Estilo para el chat de Minecraft */
.minecraft-chat-container {
  max-height: 200px;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  margin: 20px 0;
  padding: 10px;
  font-family: 'Courier New', monospace;
}

.chat-message {
  margin-bottom: 5px;
  line-height: 1.4;
}

.chat-system {
  color: #FFFF55;
}

.chat-warning {
  color: #FF5555;
}

.chat-player {
  color: #AAAAAA;
}

.chat-player span {
  color: #55FFFF;
}

/* Efecto de polvo de redstone */
.redstone-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.redstone-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background-color: #FF0000;
  border-radius: 50%;
  opacity: 0.7;
  filter: blur(1px);
  animation: float-around 4s infinite;
}

@keyframes float-around {
  0% {
    transform: translate(0, 0) rotate(0);
    opacity: 0.7;
  }
  25% {
    transform: translate(10px, -15px) rotate(90deg);
  }
  50% {
    transform: translate(20px, 0) rotate(180deg);
    opacity: 0.3;
  }
  75% {
    transform: translate(10px, 15px) rotate(270deg);
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
    opacity: 0.7;
  }
}

/* Efecto de brillo para ítems especiales */
.special-item {
  position: relative;
}

.special-item::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(45deg, 
    rgba(255, 215, 0, 0) 0%, 
    rgba(255, 215, 0, 0.5) 50%, 
    rgba(255, 215, 0, 0) 100%);
  animation: rotate-glow 3s linear infinite;
  border-radius: 50%;
  z-index: -1;
}

@keyframes rotate-glow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Efecto de cubo giratorio 3D */
.minecraft-cube {
  width: 100px;
  height: 100px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(-15deg) rotateY(15deg);
  animation: rotate-cube 20s linear infinite;
  margin: 50px auto;
}

.cube-face {
  position: absolute;
  width: 100px;
  height: 100px;
  background-size: cover;
  opacity: 0.9;
  border: 2px solid rgba(0, 0, 0, 0.5);
}

.cube-front { transform: translateZ(50px); background-image: url('https://cdnjs.cloudflare.com/ajax/libs/minecraft-textures/1.19.0/blocks/grass_block_top.png'); }
.cube-back { transform: rotateY(180deg) translateZ(50px); background-image: url('https://cdnjs.cloudflare.com/ajax/libs/minecraft-textures/1.19.0/blocks/dirt.png'); }
.cube-right { transform: rotateY(90deg) translateZ(50px); background-image: url('https://cdnjs.cloudflare.com/ajax/libs/minecraft-textures/1.19.0/blocks/grass_block_side.png'); }
.cube-left { transform: rotateY(-90deg) translateZ(50px); background-image: url('https://cdnjs.cloudflare.com/ajax/libs/minecraft-textures/1.19.0/blocks/grass_block_side.png'); }
.cube-top { transform: rotateX(90deg) translateZ(50px); background-image: url('https://cdnjs.cloudflare.com/ajax/libs/minecraft-textures/1.19.0/blocks/grass_block_top.png'); }
.cube-bottom { transform: rotateX(-90deg) translateZ(50px); background-image: url('https://cdnjs.cloudflare.com/ajax/libs/minecraft-textures/1.19.0/blocks/dirt.png'); }

@keyframes rotate-cube {
  0% { transform: rotateX(-15deg) rotateY(0); }
  100% { transform: rotateX(-15deg) rotateY(360deg); }
}