/* Reset y fuente */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Open Sans', sans-serif;
  background: #f4f4f4;
  color: #333;
  animation: fadeIn 1s ease-in;
  transition: background 0.3s, color 0.3s;
  position: relative;
  overflow-x: hidden;
}
.dark-mode {
  background: #1c1c1e;
  color: #eee;
}
.dark-mode .card {
  background: #2a2a2d;
  color: #eee;
}
.dark-mode .card h2 {
  color: #ff3c6d;
}
.dark-mode .footer-text {
  color: #aaa;
}
header {
  background: linear-gradient(135deg, #a40833, #e6184f);
  color: #fff;
  text-align: center;
  padding: 50px 20px;
  position: relative;
  z-index: 1;
}
.logo {
  height: 80px;
  margin-bottom: 15px;
  animation: fadeIn 1s ease-in;
}
header h1 {
  font-size: 2.6em;
  margin-bottom: 10px;
}
header p {
  font-size: 1.2em;
}
.dark-mode-toggle {
  margin-top: 15px;
  padding: 10px 20px;
  border: none;
  background-color: #fff;
  color: #a40833;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}
.dark-mode .dark-mode-toggle {
  background-color: #444;
  color: #fff;
}
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 40px;
  max-width: 1100px;
  margin: auto;
  z-index: 2;
  position: relative;
}
.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  text-decoration: none;
  padding: 30px 20px;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  color: #333;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: -5px; left: -5px;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  border-radius: 20px;
  background: linear-gradient(45deg, rgba(255,60,109,0.5), rgba(164,8,51,0.5));
  z-index: 0;
  filter: blur(15px);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
.card:hover::before {
  opacity: 1;
}
.card > * {
  position: relative;
  z-index: 1;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}
.card h2 {
  font-size: 1.6em;
  margin: 10px 0;
  color: #e6184f;
}
.card p {
  font-size: 1em;
  color: #666;
}
.icon {
  font-size: 40px;
  color: #a40833;
  margin-bottom: 15px;
  animation: fadeIn 0.8s ease-in;
}
footer {
  text-align: center;
  padding: 20px;
  background: #eee;
  font-size: 0.9em;
}
.footer-text {
  color: #666;
  transition: color 0.3s ease;
}
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.bizlinks-card {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  color: #fff;
  overflow: hidden;
}
.bizlinks-card .biz-bg {
  background-image: url('../img/Bizlinks.jpeg');
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  z-index: 0;
}
.bizlinks-card h2,
.bizlinks-card p {
  position: relative;
  z-index: 1;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@media screen and (max-width: 600px) {
  header h1 {
    font-size: 1.8em;
  }
  header p {
    font-size: 1em;
  }
  .card-container {
    padding: 20px;
    gap: 20px;
  }
}
