/* ============================================
   VARIABLES CSS - Paleta de colores gaming
   ============================================ */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a2e;
  --neon-purple: #b44aff;
  --neon-blue: #00d4ff;
  --neon-green: #39ff14;
  --neon-pink: #ff2d95;
  --text-primary: #f0f0f0;
  --text-secondary: #a0a0b8;
  --text-muted: #6c6c80;
  --border-glow: rgba(180, 74, 255, 0.3);
  --shadow-neon: 0 0 20px rgba(180, 74, 255, 0.4);
  --shadow-neon-hover: 0 0 35px rgba(180, 74, 255, 0.7);
  --font-base: 1rem;
  --transition: 0.3s ease;
}

/* ============================================
   RESET Y BASE
   ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ============================================
   NEON TEXT UTILITY
   ============================================ */
.neon-text {
  color: var(--neon-purple);
  text-shadow: 0 0 10px var(--neon-purple), 0 0 20px var(--neon-purple), 0 0 40px var(--neon-purple);
}

/* ============================================
   SECTION TITLES
   ============================================ */
.section__title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.section__subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.95);
  border-bottom: 1px solid rgba(180, 74, 255, 0.2);
  backdrop-filter: blur(10px);
}

.header__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.header__logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--neon-purple);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-shadow: 0 0 10px var(--neon-purple);
}

.header__logo i {
  font-size: 1.4rem;
}

.header__logo-img {
  height: 2rem;
  width: auto;
  border-radius: 4px;
}

.header__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--neon-purple);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
}

.header__menu {
  display: flex;
  gap: 2rem;
}

.header__link {
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: color var(--transition);
  position: relative;
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon-purple);
  box-shadow: 0 0 8px var(--neon-purple);
  transition: width var(--transition);
}

.header__link:hover {
  color: var(--neon-purple);
}

.header__link:hover::after {
  width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('https://images.stockcake.com/public/8/e/6/8e6c55da-9f93-402a-97da-53ca6fd31193_large/futuristic-gaming-setup-stockcake.jpg') center / cover no-repeat fixed;
  padding: 6rem 1.5rem 3rem;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 10, 15, 0.85) 0%, rgba(18, 18, 26, 0.7) 50%, rgba(10, 10, 15, 0.9) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 48rem;
}

.hero__logo-circle {
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  border: 3px solid var(--neon-purple);
  box-shadow: 0 0 25px rgba(180, 74, 255, 0.5), 0 0 50px rgba(0, 212, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
}

.hero__logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.hero__title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 0 20px rgba(180, 74, 255, 0.4);
}

.hero__cta:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px rgba(180, 74, 255, 0.7), 0 0 60px rgba(0, 212, 255, 0.4);
}

/* ============================================
   SPEAKERS SECTION
   ============================================ */
.speakers {
  padding: 5rem 1.5rem;
  background: var(--bg-secondary);
}

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

.speakers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ============================================
   CARD COMPONENT
   ============================================ */
.card {
  background: var(--bg-card);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(180, 74, 255, 0.15);
  box-shadow: 0 0 15px rgba(180, 74, 255, 0.15);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 30px rgba(180, 74, 255, 0.5), 0 0 60px rgba(0, 212, 255, 0.2);
  border-color: rgba(180, 74, 255, 0.4);
}

.card__image {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.2rem;
  border: 3px solid var(--neon-purple);
  box-shadow: 0 0 15px rgba(180, 74, 255, 0.4);
  transition: box-shadow var(--transition);
}

.card:hover .card__image {
  box-shadow: 0 0 30px rgba(180, 74, 255, 0.7);
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__name {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.card__role {
  font-size: 0.9rem;
  color: var(--neon-blue);
  margin-bottom: 0.3rem;
}

.card__role i {
  margin-right: 0.3rem;
}

.card__specialty {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.card__social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.card__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  color: var(--text-primary);
  background: rgba(180, 74, 255, 0.1);
  border: 1px solid rgba(180, 74, 255, 0.3);
  transition: all var(--transition);
}

.card__social a:hover {
  background: var(--neon-purple);
  color: #fff;
  box-shadow: 0 0 15px var(--neon-purple);
  transform: scale(1.1);
}

/* ============================================
   REGISTRATION SECTION
   ============================================ */
.register {
  padding: 5rem 1.5rem;
  background: var(--bg-primary);
}

.register__container {
  max-width: 600px;
  margin: 0 auto;
}

.register__form {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(180, 74, 255, 0.2);
  box-shadow: 0 0 25px rgba(180, 74, 255, 0.15);
}

.form__group {
  margin-bottom: 1.5rem;
}

.form__group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.form__group label i {
  margin-right: 0.4rem;
  color: var(--neon-purple);
}

.form__group input {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(180, 74, 255, 0.25);
  border-radius: 0.5rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form__group input:focus {
  border-color: var(--neon-purple);
  box-shadow: 0 0 12px rgba(180, 74, 255, 0.3);
}

.form__group input::placeholder {
  color: var(--text-muted);
}

.form__btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 0 15px rgba(180, 74, 255, 0.3);
}

.form__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(180, 74, 255, 0.6);
}

.form__btn i {
  margin-right: 0.5rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #050508;
  padding: 3rem 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(180, 74, 255, 0.15);
}

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

.footer__social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  font-size: 1.3rem;
  color: var(--text-secondary);
  border: 1px solid rgba(180, 74, 255, 0.2);
  transition: all var(--transition);
}

.footer__social a:hover {
  color: var(--neon-purple);
  border-color: var(--neon-purple);
  box-shadow: 0 0 15px var(--neon-purple);
  transform: translateY(-3px);
}

.footer__contact {
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.footer__contact i {
  margin-right: 0.4rem;
  color: var(--neon-purple);
}

.footer__copy {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ============================================
   MEDIA QUERIES - RESPONSIVE
   ============================================ */

/* Tablets (max 1024px) */
@media (max-width: 1024px) {
  .hero__title {
    font-size: 2.8rem;
  }

  .speakers__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Móviles (max 768px) */
@media (max-width: 768px) {
  .header__toggle {
    display: block;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s ease;
    border-left: 1px solid rgba(180, 74, 255, 0.2);
  }

  .header__nav.active {
    right: 0;
  }

  .header__menu {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .header__link {
    font-size: 1.2rem;
  }

  .hero__title {
    font-size: 2.2rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__cta {
    font-size: 1rem;
    padding: 0.85rem 2rem;
  }

  .speakers__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .register__form {
    padding: 1.5rem;
  }

  .section__title {
    font-size: 1.8rem;
  }
}

/* Móviles pequeños (max 480px) */
@media (max-width: 480px) {
  .hero__title {
    font-size: 1.8rem;
  }

  .hero__subtitle {
    font-size: 0.9rem;
  }

  .hero__cta {
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
  }

  .card {
    padding: 1.5rem 1rem;
  }

  .register__form {
    padding: 1.2rem;
  }

  .form__group input {
    font-size: 0.9rem;
  }
}
