:root {
  --white: #fff;
  --shadow: 0 4px 32px 0 rgba(0,0,0,0.25);
  --card-bg: rgba(35,35,37, 0.38);
  --card-radius: 18px;
}

body, html {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #212126;
}

.main-bg {
  position: fixed;
  inset: 0;
  background: url("../images/1.jpeg") center/cover no-repeat;
  filter: blur(18px) brightness(0.45) contrast(1.06);
  z-index: 0;
}

.container {
  z-index: 2;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 48px;
  padding-bottom: 48px;
}

.profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}
.profile-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h1 {
  font-size: 2.5rem;
  color: var(--white);
  font-weight: 900;
  letter-spacing: 1px;
  text-shadow: 0 6px 24px #0007;
  margin: 0 0 0.1em 0;
}
.handle {
  font-size: 1.2rem;
  color: #f7f7fa;
  opacity: 0.8;
  font-weight: 700;
  margin-bottom: 18px;
}

.iconos-sociales {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  margin-top: 8px;
}
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.10);
  border-radius: 50%;
  box-shadow: 0 2px 10px #0003;
  transition: background 0.18s, box-shadow 0.18s, transform 0.12s;
}
.social-btn:hover {
  background: rgba(255,255,255,0.20);
  box-shadow: 0 4px 18px #0005;
  transform: scale(1.07);
}
.social-btn img {
  width: 16px;
  height: 16px;
  filter: drop-shadow(0 1px 3px #0005);
}

.desc {
  margin: 18px 0;
  font-size: 1.1rem;
  color: #fff;
  opacity: 0.9;
  letter-spacing: 0.02em;
  font-weight: 700;
}

.link-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  max-width: 410px;
  margin-bottom: 30px;
  box-sizing: border-box;
}

.link-card {
  display: block;
  background: var(--card-bg);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  aspect-ratio: 1.3 / 1;
  text-decoration: none;
  color: #fff;
  transition: transform 0.15s, box-shadow 0.15s;
}

.link-card.big {
  grid-column: span 2;
  aspect-ratio: 2.25 / 1;
}

.link-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.18s;
}

.link-card:hover img {
  filter: brightness(0.95) blur(1px) saturate(1.06);
}

.card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.07rem;
  letter-spacing: 0.03em;
  text-shadow: 0 3px 10px #000c;
  background: linear-gradient(0deg,rgba(0,0,0,0.68) 70%,rgba(0,0,0,0.02) 100%);
  box-sizing: border-box;
}

.iconito {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.93);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 8px #0002;
  z-index: 2;
  pointer-events: none;
}
.iconito img {
  width: 22px;
  height: 22px;
  display: block;
}

.link-card {
  position: relative;
}

/* Footer */
.site-footer {
  color: #f7f7fa;
  opacity: 0.8;
  font-size: 0.85rem;
  text-align: center;
  padding: 20px 10px;
  max-width: 600px;
  margin: 0 auto 24px;
  line-height: 1.4;
}

/* ----------- Responsive para móvil ----------- */
@media (max-width: 600px) {
  .container { padding-top: 24px; }
  h1 { font-size: 1.5rem; }
  .profile-pic { width: 80px; height: 80px; margin-bottom: 12px; }
  .link-grid { 
    width: 90vw;
    max-width: none;
    gap: 10px;
    grid-template-columns: 1fr 1fr;
  }
  .link-card, .link-card.big {
    border-radius: 12px;
    margin: 0;
    width: auto !important;
  }
  .link-card.big {
    aspect-ratio: 2.25 / 1;
    grid-column: span 2;
  }
  .link-card:not(.big) {
    aspect-ratio: 1.3 / 1;
  }
  .card-label { font-size: 0.91rem; padding: 11px; }
}
