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

/* Base */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  background: #000;
  color: #fff;
  line-height: 1.5;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
}

.logo {
  font-size: 28px;
  font-weight: 700;
}

.logo span {
  color: #e62b1e;
}

nav a {
  margin-left: 24px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  opacity: 0.85;
}

nav a:hover {
  opacity: 1;
}

/* Hero */
.hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 24px;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 800;
  margin-bottom: 16px;
}

.hero p {
  max-width: 600px;
  font-size: 18px;
  opacity: 0.85;
  margin-bottom: 32px;
}

.hero button {
  background: #e62b1e;
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 10;
}

.hero button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(230, 43, 30, 0.4);
}
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  overflow: hidden;
}

/* Imagen */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/talk_crowd.jpg");
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) blur(1px);
  z-index: 0;
}

/* Overlay oscuro */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

/* Contenido */
.hero h1,
.hero p,
.hero .btn {
  position: relative;
  z-index: 2;
}
.hero h1 {
  text-shadow: 0 6px 30px rgba(0,0,0,0.6);
}

.hero p {
  max-width: 640px;
}

/* Embed */

/* Boardgame Section */
.boardgame {
  padding: 80px 48px;
  background: radial-gradient(circle at top, #111, #000);
}

.boardgame h2 {
  font-size: 36px;
  margin-bottom: 40px;
}

/* Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

/* Card */
.bg-card {
  background: #111;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bg-card:hover {
  transform: translateY(-10px) rotate(-0.5deg);
  box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}

/* Image 1080x1350 (4:5) */
.bg-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
}

/* Info */
.bg-info {
  padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0));
}

.bg-info h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.bg-info p {
  font-size: 14px;
  opacity: 0.7;
}

/* Talks */
.talks {
  padding: 80px 48px;
}

.talks h2 {
  font-size: 36px;
  margin-bottom: 40px;
}

.talk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.talk-card {
  background: #111;
  border-radius: 16px;
  padding: 16px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.talk-card:hover {
  transform: translateY(-6px);
  background: #151515;
}

.thumbnail {
  width: 100%;
  height: 140px;
  background: linear-gradient(135deg, #333, #111);
  border-radius: 12px;
  margin-bottom: 16px;
}

.talk-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.talk-card p {
  font-size: 14px;
  opacity: 0.7;
}
.bg-card.active {
  outline: 2px solid #e62b1e;
  transform: translateY(-12px) scale(1.02);
}
/* Asegurar que los links se vean como tarjetas */
.bg-card {
  display: block;          /* importante para <a> */
  text-decoration: none;   /* quitar subrayado */
  color: inherit;          /* mantener texto blanco */
  background: #111;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bg-card:hover {
  transform: translateY(-10px) rotate(-0.5deg);
  box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}

/* Social Section */
.socials {
  padding: 80px 48px;
  text-align: center;
  background: #000;
}

.socials h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

.socials p {
  font-size: 16px;
  opacity: 0.75;
  margin-bottom: 40px;
}

/* Grid */
.social-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

/* Links */
.social-grid a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.25s ease;
}

.social-grid a i {
  font-size: 18px;
}

/* Hover */
.social-grid a:hover {
  background: #e62b1e;
  border-color: #e62b1e;
  transform: translateY(-3px);
}
.social-grid a span {
  display: none;
}

.social-grid a {
  width: 52px;
  height: 52px;
  justify-content: center;
}
/* Speakers Section */

.speakers {
  padding: 80px 48px;
  text-align: center;
  background: #0a0a0a;
}

.speakers h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.speakers-subtitle {
  opacity: 0.7;
  margin-bottom: 50px;
}

/* Grid */

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}

/* Card */

.speaker-card {
  background: #111;
  padding: 28px;
  border-radius: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.speaker-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.7);
}

/* Photo */

.speaker-photo {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
}

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

/* Text */

.speaker-card h3 {
  margin-bottom: 6px;
}

.speaker-role {
  font-size: 14px;
  color: #e62b1e;
  margin-bottom: 12px;
}

.speaker-bio {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 16px;
}

/* Links */

.speaker-links {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.speaker-links a {
  text-decoration: none;
  font-size: 14px;
  color: #fff;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.speaker-links a:hover {
  opacity: 1;
}
.speaker-card {
  position: relative;
}

.speaker-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: #e62b1e;
  transition: width 0.3s ease;
}

.speaker-card:hover::after {
  width: 100%;
}
/* Speakers boardgame section */

.speakers-boardgame {
  padding: 80px 48px;
  background: radial-gradient(circle at top,#111,#000);
  text-align:center;
}

.speakers-boardgame h2 {
  font-size:36px;
  margin-bottom:10px;
}

.speakers-sub {
  opacity:0.7;
  margin-bottom:40px;
}

/* grid */

.speakers-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:32px;
}

/* card */

.speaker-card {
  background:#111;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 20px 40px rgba(0,0,0,0.6);
  transition:transform .25s ease, box-shadow .25s ease;
}

.speaker-card:hover {
  transform:translateY(-10px) rotate(-0.3deg);
  box-shadow:0 30px 60px rgba(0,0,0,0.8);
}

/* image */

.speaker-image {
  width:100%;
  aspect-ratio:4/5;
  background-size:cover;
  background-position:top;
}

/* info */

.speaker-info {
  padding:18px;
}

.speaker-role {
  font-size:14px;
  color:#e62b1e;
  margin-bottom:10px;
}

.speaker-bio {
  font-size:14px;
  opacity:.75;
  margin-bottom:14px;
}

/* links */

.speaker-links {
  display:flex;
  gap:12px;
}

.speaker-links a {
  font-size:13px;
  text-decoration:none;
  color:white;
  opacity:.7;
}

.speaker-links a:hover {
  opacity:1;
}
/* Footer */
footer {
  text-align: center;
  padding: 32px;
  font-size: 14px;
  opacity: 0.6;
}