

.rules-container {
  background-color: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 30px 40px;
}

.rules-title {
  text-align: center;
  font-size: 2rem;
  color: var(--text-light);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.rules-intro {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
}

.rule-section {
  margin-bottom: 30px;
}

.rule-section:last-child {
  margin-bottom: 0;
}

.rule-section h4 {
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(138, 43, 226, 0.1);
}

.rule-section ul {
  list-style: none;
  padding-left: 20px;
}

.rule-section li {
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.6;
  position: relative;
  padding-left: 25px;
}

.rule-section li::before {
  content: '\f0da'; 
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: var(--accent);
  position: absolute;
  left: 0;
  top: 2px;
}




@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');


:root {
  --bg-dark: #0a0a12;
  --bg-panel: #16161f;
  --accent: #8a2be2;
  --accent-hover: #9932cc;
  --text-light: #e4e4e7;
  --text-muted: #71717a;
  --border-color: rgba(138, 43, 226, 0.3);
}

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

body {
  background-color: var(--bg-dark);
  font-family: 'Poppins', sans-serif;
  color: var(--text-light);
  line-height: 1.6;
}


.hero-section {
  height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('../img/fondo.png'); 
  background-size: cover;
  background-position: center;
  padding: 20px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 18, 1) 0%, rgba(10, 10, 18, 0.6) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-content .logo {
  width: 150px;
  height: auto;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 15px rgba(255, 20, 147, 0.6));
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 500px;
}

.cta-container {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.ip-copy-button {
  background-color: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 600;
}

.ip-copy-button:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(138, 43, 226, 0.3);
}

.ip-copy-button .ip-text { color: var(--text-light); }
.ip-copy-button .ip-icon { color: var(--accent); transition: color 0.3s ease; }
.ip-copy-button:hover .ip-icon { color: white; }

.discord-button {
  background-color: #5865F2;
  border: 1px solid #5865F2;
  border-radius: 8px;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.discord-button:hover {
  background-color: #4f5bda;
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(88, 101, 242, 0.3);
}


.main-content {
  padding: 50px 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.main-nav {
  background: var(--bg-panel);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  align-items: center;
}
.main-nav li {
  position: relative;
}
.main-nav a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.main-nav a:hover, .main-nav a.active {
  background-color: var(--accent);
  color: white;
}
.main-nav .fa-chevron-down {
  font-size: 0.7em;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 10px;
  min-width: 180px;
  z-index: 100;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.dropdown-menu a {
  padding: 8px 15px;
  white-space: nowrap;
}
.dropdown:hover .dropdown-menu {
  display: block;
}
.main-nav .store-link {
  background-color: var(--accent);
  color: white !important;
  box-shadow: 0 0 15px rgba(138, 43, 226, 0.5);
  animation: pulse-glow 2s infinite ease-in-out;
}
.main-nav .store-link:hover {
  background-color: var(--accent-hover);
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(138, 43, 226, 0.7);
}
@keyframes pulse-glow {
  0% { box-shadow: 0 0 15px rgba(138, 43, 226, 0.5); }
  50% { box-shadow: 0 0 25px rgba(138, 43, 226, 0.8); }
  100% { box-shadow: 0 0 15px rgba(138, 43, 226, 0.5); }
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}
.card {
  background: var(--bg-panel);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.card-img {
  height: 180px;
  background-size: cover;
  background-position: center;
}
.card-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.card-body h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}
.card-body p {
  color: var(--text-muted);
}
.card-creator {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 15px;
}
.card-creator strong {
  color: var(--text-light);
}
.card-read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding: 10px 20px;
  background-color: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.3s ease;
}
.card-read-more:hover {
  background-color: var(--accent-hover);
}


.info-section {
  background-color: var(--bg-panel);
  padding: 50px 20px;
  border-top: 1px solid var(--border-color);
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.info-card {
  background-color: var(--bg-dark);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.info-card .info-logo {
  width: 60px;
  height: auto;
  margin-bottom: 15px;
}
.info-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--text-light);
}
.info-card p {
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}
.info-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.info-button.ip-style { background-color: var(--accent); color: white; }
.info-button.ip-style:hover { background-color: var(--accent-hover); }
.info-button.discord-style { background-color: #5865F2; color: white; }
.info-button.discord-style:hover { background-color: #4f5bda; }
.info-button.store-style { background-color: #34d399; color: white; }
.info-button.store-style:hover { background-color: #10b981; }

.footer {
  background: var(--bg-panel);
  padding: 30px 20px;
  margin-top: 50px;
  text-align: center;
  border-top: 1px solid var(--border-color);
}
.footer p {
  color: var(--text-muted);
  margin-bottom: 15px;
}
.footer .social-links a {
  color: var(--text-muted);
  margin: 0 10px;
  font-size: 1.5rem;
  transition: color 0.2s ease;
}
.footer .social-links a:hover {
  color: var(--accent);
}


#toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 25px;
  border-radius: 8px;
  z-index: 1000;
  font-weight: 600;
  box-shadow: 0 5px 20px rgba(0,0,0,0.5);
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}
#toast.show {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(-10px);
}
#toast.success {
  background: linear-gradient(45deg, #22c55e, #16a34a);
  color: white;
}
#toast.danger {
  background: linear-gradient(45deg, #ef4444, #dc2626);
  color: white;
}
#toast.info {
  background: linear-gradient(45deg, #3b82f6, #2563eb);
  color: white;
}