/* Estilos generales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Press Start 2P", system-ui;
}

:root {
  --morado-oscuro: #af1212;
  --morado-medio: #86350f;
  --morado-claro: #4e0a0f;
  --azul-oscuro: #aa6d34;
  --azul-medio: #2519d2;
  --azul-claro: #42cbf5;
  --negro: #121212;
  --gris-oscuro: #1e1e1e;
  --gris-medio: #424242;
  --gris-claro: #db881c;
}

body {
  background: #000 url(source/fondos/fondo.jpeg);
  background-size: cover;
  background-repeat: no-repeat;
  color: #e2980f;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Header */
header {
  background: linear-gradient(135deg, var(--morado-oscuro), var(--negro));
  padding: 1.5rem 2rem;
  box-shadow: 0 4px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  flex-wrap: wrap;
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(to right, #e2980f, #e2980f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 4px rgba(219, 205, 8, 0.747);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  color: #e2980f;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.nav-links a:hover {
  background-color: rgba(11, 103, 146, 0.1);
}

/* Hamburguesa */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background: #e2980f;
}

/* Responsive nav */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--gris-oscuro);
    position: absolute;
    top: 100%;
    left: 0;
    text-align: center;
    z-index: 99;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 1rem 0;
  }

  .logo {
    font-size: 1.3rem;
  }

  .nav-links a {
    font-size: 0.8rem;
    padding: 0.5rem;
  }
}

/* Contenedor principal */
.container {
  width: 100%;
  margin: 1.5rem auto;
  padding: 0 1rem;
  overflow-x: hidden;
}

/* Hero */
.hero {
  text-align: center;
  padding: 5rem 1rem;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('https://source.unsplash.com/random/1600x900?space,galaxy') no-repeat center center/cover;
  border-radius: 10px;
  margin-bottom: 3rem;
  box-shadow: 0px 10px 30px #0891ecfb;
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-size: clamp(1.5rem, 6vw, 3.5rem);
  margin-bottom: 1.5rem;
  background: radial-gradient(circle, #e72f17 0%, #490c0a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  color: var(--gris-claro);
}

/* Cards */
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.card {
  background-color: var(--gris-oscuro);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(92, 66, 66, 0.774);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px #0891ecfb;
}

.card-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  overflow: hidden;
  background-color: #000;
  padding: 10px;
}

.card-img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.card-content {
  padding: 1.5rem;
}

.card-content h3 {
  color: var(--azul-claro);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card-content p {
  color: var(--gris-claro);
  margin-bottom: 1.5rem;
}

/* Botón */
.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: linear-gradient(10deg,#dbbf1d, #f2591d);
  color: #f5e1cc;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(31, 120, 162, 0.3);
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--morado-oscuro), var(--azul-oscuro));
  color: rgb(107, 67, 67);
  text-align: center;
  padding: 3rem 2rem;
  margin-top: 3rem;
}

.social-container {
  text-align: center;
  padding: 20px;
  background: #091016;
}

.social-container h3 {
  color: #333;
  margin-bottom: 15px;
  font-size: 1.2em;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: rgb(203, 203, 207);
  font-size: 18px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link.facebook { background-color: #1877f2; }
.social-link.twitter { background-color: #1da1f2; }
.social-link.instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.social-link.tiktok {
  background-color: #000000;
  position: relative;
  overflow: hidden;
}
.social-link.tiktok::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to bottom right, #25f4ee, #000000, #fe2c55);
  opacity: 0.8;
  transform: rotate(30deg);
  z-index: 0;
}
.social-link.tiktok i {
  position: relative;
  z-index: 1;
}
.social-link.youtube { background-color: #ff0000; }

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Imágenes responsivas */
img {
  max-width: 100%;
  height: auto;
  display: block;
}
/* === FORMULARIOS LOGIN / REGISTRO === */
.form-container {
  background: #1a1a1a;
  padding: 2rem;
  border-radius: 15px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 0 15px #f2591d;
  margin: 3rem auto;
}

.form-container h1 {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #f7c13e;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  color: #f7c13e;
  font-size: 0.75rem;
}

input, select {
  width: 100%;
  padding: 0.7rem;
  border: none;
  border-radius: 5px;
  background: #333;
  color: #fff;
  font-size: 0.8rem;
}

.form-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.btn {
  padding: 0.8rem;
  border: none;
  border-radius: 25px;
  background: linear-gradient(45deg, orange, red);
  color: #fff;
  font-size: 0.75rem;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: 0.3s ease;
  font-family: "Press Start 2P", monospace;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 10px #ff6a00;
}

.btn img {
  width: 20px;
  vertical-align: middle;
}
