:root {
  --bg1: #2b2e4a;
  --bg2: #2b8c9e;
  --accent: #ffd54a;
  --card: rgba(255,255,255,0.04);
  --text: #e9eef5;
}

/* ========== Base ========== */
* { box-sizing: border-box }

html, body {
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, Segoe UI, Roboto, "Helvetica Neue", Arial;
  color: var(--text);
  background: radial-gradient(1200px 600px at 10% 20%, rgba(255,215,90,0.06), transparent),
              linear-gradient(135deg, var(--bg1), #16213e 40%, var(--bg2));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ========== Main Content ========== */
.wrap {
  width: 100%;
  max-width: 1100px;
  margin: 40px auto;
  border-radius: 18px;
  padding: 36px;
  display: flex;
  gap: 40px;
  align-items: stretch;
  backdrop-filter: blur(6px);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  box-shadow: 0 10px 30px rgba(6,8,20,0.6), inset 0 1px 0 rgba(255,255,255,0.02);
  flex: 1;
}

/* ========== Left Card ========== */
.left-card {
  width: 300px;
  padding: 28px;
  border-radius: 14px;
  background: var(--card);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.portrait {
  width: 180px;
  height: 180px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  transition: transform .6s cubic-bezier(.2,.9,.2,1);
}
.portrait:hover,
.portrait:active {
  transform: translateY(-6px);
  transition: transform .6s cubic-bezier(.2,.9,.2,1);
}
.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

.intro-text {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
  text-align: center;
  max-width: 240px;
}

.logo {
  margin-top: 8px;
  opacity: 0.95;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: center;
}
.logo:hover { opacity: 1; }
.logo-img {
  width: 280px;
  height: auto;
  display: block;
}

/* ========== Right Section ========== */
.right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6px 8px;
}

.content-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

h1 {
  margin: 0;
  font-size: 34px;
  letter-spacing: 0.2px;
}

.lead {
  margin-top: 6px;
  font-size: 16px;
  color: rgba(233,238,245,0.9);
}

.sub {
  margin-top: 14px;
  color: rgba(233,238,245,0.82);
  line-height: 1.6;
}

.countdown {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 4px 14px rgba(255,213,74,0.18);
}

/* ========== Social Icons ========== */
.social-wrapper {
  margin-top: auto;
  padding-top: 40px;
  display: flex;
  justify-content: center;
}

.social-icons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.social-icons a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.social-icons a:hover {
  transform: scale(1.1);
}
.social-icons a img {
  width: 22px;
  height: 22px;
  filter: invert(100%);
}

/* ========== Bottom Note ========== */
.bottom-note {
  margin-top: 30px;
  text-align: center;
  opacity: 0.85;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(233,238,245,0.8);
  padding: 0 12px;
}

.divider {
  width: 80%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  margin: 24px auto;
  border: none;
}

/* ========== Footer (fluido, sin márgenes, texto extendido) ========== */
.fixed-footer {
  position: static;
  width: 100%;
  margin: 60px 0 0 0;
  background: linear-gradient(180deg, rgba(6,10,18,0.92), rgba(12,18,28,0.86));
  border-radius: 0;
  padding: 32px 0; /* ✅ sin padding lateral */
  box-shadow: 0 18px 40px rgba(6,8,20,0.45);
  color: #f6f7f8;
}

.fixed-footer__inner {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 32px; /* ✅ sin espacio lateral */
}

/* Columna izquierda */
.fixed-footer__left {
  flex: 1 1 50%;
  padding-right: 16px;
}
.ff-brand {
  display: block;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}
.ff-copyright {
  font-size: 13px;
  margin-top: 6px;
  color: rgba(255,255,255,0.92);
}
.ff-note {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.88);
  opacity: 0.98;
  text-align: justify;
}
.ff-note p {
  margin-bottom: 12px;
}

/* Columna derecha */
.fixed-footer__right {
  flex: 1 1 50%;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.ff-follow {
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.95);
}
.ff-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.ff-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #e8ab1d;
  box-shadow: 0 8px 22px rgba(232,171,29,0.16);
  transition: transform .14s ease, box-shadow .14s ease;
  text-decoration: none;
  padding: 6px;
  flex-shrink: 0;
}
.ff-icon img {
  width: 20px;
  height: 20px;
  display: block;
  filter: none;
}
.ff-icon:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(232,171,29,0.22);
}

/* ========== Responsive ========== */
@media (max-width: 780px) {
  html, body {
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    margin: 0;
    padding: 0;
  }

  .wrap {
    flex-direction: column;
    padding: 24px 16px;
    gap: 28px;
  }

  .left-card {
    width: 100%;
    padding: 20px 16px;
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .portrait {
    width: 160px;
    height: 160px;
    margin: 0 auto;
  }

  .logo-img {
    width: 260px; /* ✅ más grande */
    height: auto;
    margin: 2px auto 0;
    display: block;
    transform: translateX(3px);
  }

  .intro-text {
    font-size: 15px;
    max-width: 320px;
    margin: 16px auto 0;
    line-height: 1.5;
    opacity: 0.9;
    text-align: center;
  }

  .right {
    padding: 0 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
  }

  h1 {
    font-size: 26px;
    max-width: 320px;
    margin: 0 auto 16px;
    text-align: center;
    line-height: 1.4;
    word-break: break-word;
  }

  .lead,
  .sub,
  .countdown,
  .bottom-note,
  .note-text {
    font-size: 16px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    word-break: break-word;
    line-height: 1.6;
  }

  .social-wrapper {
    justify-content: center;
    margin-top: 32px;
    width: 100%;
  }

  .bottom-note {
    padding: 0 20px;
    margin-top: 24px;
    color: rgba(233, 238, 245, 0.8);
  }

  /* ========== Pie de página móvil ========== */
  .fixed-footer__inner {
    flex-direction: column;
    align-items: center;
    padding: 0 16px;
    text-align: center;
  }

  .fixed-footer__left,
  .fixed-footer__right {
    flex: 1 1 100%;
    padding: 0;
    text-align: center;
  }

  .ff-note {
    font-size: 13px;
    padding: 0;
    text-align: justify;
  }

  .ff-follow {
    margin-top: 16px;
    font-size: 14px;
  }

  .ff-social {
    justify-content: center;
    margin-top: 12px;
    flex-wrap: wrap;
    gap: 12px; /* ✅ más espacio entre íconos */
  }

  .ff-icon {
    width: 40px;
    height: 40px;
  }

  .ff-icon img {
    width: 20px;
    height: 20px;
  }
}




