:root {
  --bg-1: #250a3d;
  --bg-2: #5b0fa6;
  --bg-3: #9b4fd9;
  --accent: #9b4fd9;
  --card-bg: rgba(255, 255, 255, 0.07);
  --card-bg-hover: rgba(255, 255, 255, 0.14);
  --card-border: rgba(255, 255, 255, 0.16);
  --text-primary: #fff8f2;
  --text-secondary: rgba(255, 248, 242, 0.72);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
  color: var(--text-primary);
  background: var(--bg-1);
  display: flex;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
}

.bg-decor {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 15%, var(--bg-3) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, var(--bg-2) 0%, transparent 50%),
    linear-gradient(160deg, var(--bg-1), #14051f 80%);
}

.page {
  width: 100%;
  max-width: 480px;
  padding: 56px 20px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---- Perfil ---- */

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 32px;
}

.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  margin-bottom: 16px;
  overflow: hidden;
}

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

.name {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 700;
}

.tagline {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--text-secondary);
}

.ig-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.ig-pill:hover,
.ig-pill:focus-visible {
  background: var(--card-bg-hover);
  transform: translateY(-1px);
}

.ig-pill-icon {
  width: 15px;
  height: 15px;
  display: inline-flex;
  color: var(--bg-3);
}

.ig-pill-icon svg {
  width: 100%;
  height: 100%;
}

/* ---- Lista de enlaces ---- */

.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.link-arrow {
  margin-left: auto;
  font-size: 22px;
  color: var(--text-secondary);
  flex: none;
}

/* Bloque agrupado: Mujer es Evolución */

.group-card {
  width: 100%;
  border-radius: 18px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-top: 3px solid var(--accent);
  backdrop-filter: blur(6px);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.group-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.group-logo {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #fff8f2;
  object-fit: contain;
  padding: 5px;
}

.group-heading {
  min-width: 0;
}

.group-title {
  margin: 0 0 3px;
  font-size: 16px;
  font-weight: 700;
}

.group-description {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--text-secondary);
}

.group-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sub-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
  color: var(--text-primary);
  transition: background 0.15s ease;
}

.sub-link:hover,
.sub-link:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.sub-link-icon {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.sub-link-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.sub-link-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.sub-link-title {
  font-size: 14px;
  font-weight: 600;
}

.sub-link-subtitle {
  font-size: 11.5px;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Tarjetas de marca: MIA / NextFlight / InCruises */

.brand-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--accent);
  backdrop-filter: blur(6px);
  text-decoration: none;
  color: var(--text-primary);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.brand-card:hover,
.brand-card:focus-visible {
  transform: translateY(-2px);
  background: var(--card-bg-hover);
}

.brand-logo {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fff8f2;
  object-fit: contain;
  padding: 5px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-title {
  font-size: 15px;
  font-weight: 700;
}

.brand-description {
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--text-secondary);
}

.brand-subtitle {
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---- Footer ---- */

.footer {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.copy {
  margin: 0;
  font-size: 12px;
  color: var(--text-secondary);
}

@media (max-width: 380px) {
  .page {
    padding: 40px 16px 24px;
  }
}
