/* ==========================================================================
   DIEGOEFECTIVO — Link in Bio
   Sunset + Liquid Glass
   ========================================================================== */

:root {
  --white: #ffffff;
  --text: #e4e0f0;
  --text-dim: #8a84a8;
  --accent: #6e8cff;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  --radius: 18px;
  --radius-sm: 12px;
  --max-width: 480px;

  /* Glass tokens */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-shine: rgba(255, 255, 255, 0.08);
  --glass-blur: 20px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
  background: #080d18;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(ellipse 120% 60% at 50% 0%, #0f1e3a 0%, transparent 50%),
    radial-gradient(ellipse 80% 40% at 70% 10%, #1a3a5c 0%, transparent 40%),
    radial-gradient(ellipse 60% 35% at 30% 5%, #1a3a5c 0%, transparent 35%),
    radial-gradient(ellipse 80% 50% at 55% 0%, #e8b840 0%, transparent 40%),
    radial-gradient(ellipse 100% 80% at 50% 100%, #080818 0%, transparent 60%);
  pointer-events: none;
}
a { color: inherit; text-decoration: none; }

/* --- LAYOUT --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 16px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* --- PROFILE --- */
.profile {
  text-align: center;
  padding-bottom: 8px;
}

.profile__avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.profile__name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.profile__tagline {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 4px;
}

.profile__bio {
  color: var(--text);
  font-size: 0.88rem;
  margin-top: 12px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

/* --- FILTER TABS (glass pills) --- */
.filters {
  display: flex;
  justify-content: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 0;
}

.filters::-webkit-scrollbar { display: none; }

.filter-tab {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: var(--font);
  white-space: nowrap;
}

.filter-tab:hover {
  color: var(--text);
  background: var(--glass-bg);
}

.filter-tab.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ==========================================================================
   GLASS CARD BASE
   ========================================================================== */
.card {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.card.hidden { display: none; }

.card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 4px 4px;
}

.card__icon {
  font-size: 1.15rem;
  flex-shrink: 0;
}

.card__title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card__description {
  color: var(--text-dim);
  font-size: 0.8rem;
  line-height: 1.5;
  padding: 0 4px;
}

.card__links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ==========================================================================
   CAJA 1 — HERO
   Electric blue glass. Bold accent glow.
   ========================================================================== */
.card--hero {
  background: rgba(60, 100, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    0 0 30px rgba(255, 255, 255, 0.05),
    0 12px 40px rgba(0, 0, 0, 0.25);
}

.card--hero .card__title {
  color: var(--white);
  font-size: 0.85rem;
}

.card--hero .badge {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.card--hero .card__description {
  color: var(--text);
}

/* Hero link rows */
.card--hero .link-row--highlight {
  background: rgba(60, 100, 255, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.card--hero .link-row--highlight .link-row__text {
  color: #fff;
  font-weight: 600;
}

.card--hero .link-row--highlight .link-row__arrow {
  color: rgba(255, 255, 255, 0.5);
}

.card--hero .link-row--highlight:hover {
  background: rgba(60, 100, 255, 0.7);
}

.card--hero .link-row--bright {
  background: rgba(60, 100, 255, 0.08);
  border-color: rgba(60, 100, 255, 0.2);
}

.card--hero .link-row--bright .link-row__text {
  color: rgba(180, 200, 255, 0.95);
}

.card--hero .link-row--bright:hover {
  background: rgba(60, 100, 255, 0.14);
}

/* ==========================================================================
   CAJA 2 — FEATURED
   Deep blue glass. Darker tones, secondary.
   ========================================================================== */
.card--featured {
  background: rgba(40, 60, 140, 0.12);
  border: 1.5px solid rgba(60, 80, 160, 0.3);
  box-shadow:
    0 0 20px rgba(40, 60, 140, 0.06),
    0 12px 40px rgba(0, 0, 0, 0.2);
}

.card--featured .card__title {
  color: rgba(140, 165, 255, 0.9);
  font-size: 0.85rem;
}

.card--featured .link-row {
  background: rgba(40, 60, 140, 0.08);
  border-color: rgba(60, 80, 160, 0.18);
}

.card--featured .link-row:hover {
  background: rgba(40, 60, 140, 0.15);
  border-color: rgba(60, 80, 160, 0.3);
}

.card--featured .link-row__text {
  color: rgba(180, 195, 240, 0.85);
}

.card--featured .link-row__arrow {
  color: rgba(80, 110, 200, 0.4);
}

.card--featured .link-row:hover .link-row__arrow {
  color: rgba(120, 150, 240, 0.7);
}

.card--featured .link-row--highlight {
  background: rgba(50, 75, 170, 0.8);
  border: 1.5px solid rgba(140, 165, 255, 0.4);
}

.card--featured .link-row--highlight .link-row__text {
  color: var(--white);
  font-weight: 600;
}

.card--featured .link-row--highlight .link-row__arrow {
  color: rgba(255, 255, 255, 0.4);
}

.card--featured .link-row--highlight:hover {
  background: rgba(50, 75, 170, 0.65);
}

.card--featured .link-row--bright {
  background: rgba(40, 60, 140, 0.14);
  border-color: rgba(60, 80, 160, 0.25);
}

.card--featured .link-row--bright .link-row__text {
  color: rgba(190, 205, 250, 0.9);
}

.card--featured .link-row--bright:hover {
  background: rgba(40, 60, 140, 0.2);
}

/* ==========================================================================
   CAJA 3 — STANDARD
   Neutral glass. Blends with the sunset.
   ========================================================================== */
/* Uses base .card glass styles */

/* ==========================================================================
   LINK ROW (base)
   Glass pill buttons with arrow.
   ========================================================================== */
.link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  transition: all 0.12s ease;
  cursor: pointer;
  gap: 12px;
}

.link-row:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
}

.link-row__text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.link-row__arrow {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--text-dim);
  transition: color 0.12s ease;
}

.link-row:hover .link-row__arrow {
  color: var(--text);
}

/* Link row: highlight (top CTA — glass filled) */
.link-row--highlight {
  background: rgba(110, 140, 255, 0.8);
  border-color: rgba(110, 140, 255, 0.4);
}

.link-row--highlight .link-row__text {
  color: var(--white);
  font-weight: 600;
}

.link-row--highlight .link-row__arrow {
  color: rgba(255, 255, 255, 0.5);
}

.link-row--highlight:hover {
  background: rgba(110, 140, 255, 0.65);
}

.link-row--highlight:hover .link-row__arrow {
  color: var(--white);
}

/* Link row: bright (secondary — slightly more visible glass) */
.link-row--bright {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}

.link-row--bright .link-row__text {
  color: var(--white);
}

.link-row--bright:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* --- COUPON INSIDE LINK ROW --- */
.link-row__content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.link-row__sub {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* --- BADGE --- */
.badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.55rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
  background: rgba(110, 140, 255, 0.12);
  color: var(--accent);
}

/* --- SOCIAL (glass circles) --- */
.social-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 4px 0;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  transition: all 0.12s ease;
  color: var(--text-dim);
}

.social-link:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.social-link svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

/* --- FOOTER --- */
.footer {
  text-align: center;
  padding: 20px 0 8px;
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
}

/* --- RESPONSIVE --- */
@media (max-width: 480px) {
  .container { padding: 36px 12px 24px; }
}
