@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

:root {
  --primary: #7D2525;
  --secondary: #a83b3b;
  --text-color: #ffffff;
  --background: linear-gradient(180deg, #7D2525, #a83b3b);
}

body.dark {
  --primary: #ffffff;
  --secondary: #dddddd;
  --text-color: #7D2525;
  --background: linear-gradient(180deg, #ffffff, #f2f2f2);
}

/* Fondo con partículas */
#particles {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: var(--background);
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
  transition: all 0.5s ease;
}


.container {
  background: rgb(165, 22, 22);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  padding: 40px 30px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
  transition: all 0.5s ease;
}

body.dark .container {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
}

.logo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin-bottom: 10px;
  border: 3px solid var(--text-color);
  box-shadow: 0 0 10px rgba(255,255,255,0.6);
}

h1 {
  font-size: 26px;
  margin: 5px 0;
  font-weight: 600;
}

.welcome {
  font-size: 14px;
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
}

.social-icons a {
  color: var(--text-color);
  font-size: 22px;
  transition: 0.3s;
}

.social-icons a:hover {
  transform: scale(1.3);
  color: #ffce00;
  text-shadow: 0 0 8px #ffce00;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.link-btn {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  border-radius: 30px;
  padding: 12px 0;
  border: 2px solid var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.link-btn::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.3), transparent);
  transition: all 0.5s ease;
}

.link-btn:hover::before {
  left: 100%;
}

.link-btn:hover {
  background: linear-gradient(90deg, #ffffff, #fff3f3);
  color: #7D2525;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 10px rgba(255,255,255,0.7);
}

.link-btn i {
  font-size: 18px;
}
