:root {
  --bg: #000;
  --text: #fff;
  --muted: #f0f0f0;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: #0a0a0a;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
}

.background-blur {
  position: fixed;
  inset: 0;
  background: url("./images/profile.webp") center/cover no-repeat;
  filter: blur(70px) brightness(0.38);
  transform: scale(1.2);
}

.phone-shell {
  position: relative;
  z-index: 2;
  width: min(100%, 566px);
  min-height: 100vh;
  background: var(--bg);
}

.hero { position: relative; aspect-ratio: 1/1; overflow: hidden; }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 58%; background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.32) 32%, rgba(0,0,0,.74) 70%, #000 100%); }

.content { position: relative; margin-top: -170px; padding: 0 16px 40px; }
.profile { text-align: center; }
.profile h1 { margin: 0 0 6px; font-size: clamp(30px, 5vw, 44px); font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.hero-title {
  line-height: 1.08;
  max-width: 92%;
  justify-content: center;
}
.profile h1 img { width: 24px; height: 24px; }
.status { margin: 0; color: var(--muted); font-size: 18px; display: flex; justify-content: center; align-items: center; gap: 7px; }
.status span { width: 8px; height: 8px; border-radius: 50%; background: #00d181; box-shadow: 0 0 8px #00d181; }
.bio { margin: 6px 0 30px; color: var(--muted); font-size: 28px; font-weight: 500; }

.cards-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.card, .card-large {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: none;
  cursor: pointer;
}
.card-large { grid-column: 1/-1; aspect-ratio: 538/326; }
.card { aspect-ratio: 538/326; text-decoration: none; color: inherit; }
.card-bg { width: 100%; height: 100%; object-fit: cover; display: block; }
.card::before, .card-large::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 62%; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.2), transparent); }
.card-avatar { position: absolute; top: 11px; left: 11px; width: 24px; height: 24px; border-radius: 50%; object-fit: cover; z-index: 2; }
.card-large > .card-avatar { width: 32px; height: 32px; }
.card-emoji {
  position: absolute;
  top: 11px;
  left: 11px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: transparent;
  z-index: 2;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 8px rgba(255, 214, 199, 0.5));
}
.card-large > .card-emoji {
  width: 40px;
  height: 40px;
  font-size: 30px;
}
.card h2, .card-large h2 { position: absolute; left: 0; right: 0; bottom: 12px; margin: 0; padding: 0 16px; text-align: center; z-index: 2; font-weight: 700; line-height: 1.15; text-shadow: 0 1px 3px rgba(0,0,0,.45); }
.card h2 { font-size: 14px; }
.card-large h2 { font-size: 24px; }
.card-large h2 {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
}

.card-overlay { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; padding: 18px; background: rgba(23,25,29,.52); backdrop-filter: blur(13px); z-index: 5; }
.card.show-disclaimer .card-overlay { display: flex; }
.disclaimer-box { width: 100%; max-width: 380px; text-align: center; color: #f7f7f7; }
.disclaimer-box h3 { margin: 0 0 8px; font-size: 30px; font-weight: 600; }
.disclaimer-box p { margin: 0 0 18px; font-size: 15px; color: rgba(255,255,255,.86); }
.continue-btn { width: 100%; max-width: 100%; border: 0; border-radius: 999px; background: #f3f3f3; color: #111; font-size: 29px; font-weight: 600; padding: 13px 18px; cursor: pointer; }

.card:not(.card-large) .small-disclaimer h3 {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 8px;
}
.card:not(.card-large) .small-disclaimer .continue-btn {
  width: 100%;
  min-width: 0;
  font-size: clamp(13px, 2.8vw, 18px);
  padding: 9px 12px;
}

.socials { margin-top: 16px; display: flex; justify-content: center; gap: 8px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #000; text-decoration: none; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 600; }
.socials a svg { width: 24px; height: 24px; display: block; }
.social-proof {
  margin: 18px 0 0;
  color: rgba(240,240,240,.86);
  font-size: 15px;
  font-weight: 500;
  text-align: center;
}
.social-proof span {
  color: #fff;
  font-weight: 700;
}
.ig-interstitial { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.82); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 20px; }
.ig-interstitial.show { display: flex; }
.ig-card { width: min(100%, 420px); border-radius: 18px; background: #111; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 10px 30px rgba(0,0,0,.45); padding: 20px 16px; text-align: center; color: #fff; }
.ig-card h2 { margin: 0 0 10px; font-size: 26px; }
.ig-card p { margin: 0 0 14px; color: rgba(255,255,255,.88); font-size: 14px; }
#openBrowserBtn { width: 100%; border: 0; border-radius: 999px; background: #fff; color: #111; font-size: 16px; font-weight: 600; padding: 11px 14px; cursor: pointer; }
.ig-help { margin-top: 12px; font-size: 13px; color: rgba(255,255,255,.8); }
.continue-inside { margin-top: 8px; border: 0; background: transparent; color: rgba(255,255,255,.84); text-decoration: underline; cursor: pointer; font-size: 13px; }


@media (max-width: 768px) {
  .content { margin-top: -126px; }
  .profile h1 { font-size: clamp(20px, 8vw, 34px); }
  .status { font-size: 14px; }
  .bio { font-size: 26px; }
  .card-large h2 { font-size: 20px; padding: 0 12px; }
  .card h2 { font-size: 11px; bottom: 8px; }
  .card-overlay { padding: 10px; }
  .disclaimer-box h3 { font-size: clamp(18px, 4.4vw, 24px); }
  .disclaimer-box p { font-size: clamp(12px, 3.2vw, 14px); margin-bottom: 12px; }
  .continue-btn { font-size: clamp(14px, 4vw, 20px); padding: 10px 12px; }
}
