* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body, html {
  width: 100%;
  height: 100%;
}

:root {
  color-scheme: light;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: white;
  background-color: #000;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background-image: url("/images/christineee-background.jpg");
  background-repeat: repeat;        /* tiles the image */
  background-position: top left;     /* default; optional */
  background-size: 100px 100px; /* adjust smaller/larger as needed */
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4'/ %3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 999;
}

.top-bar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 92vw;       /* use viewport width */
  max-width: 520px;  /* maintain desktop cap */
  display: flex;
  gap: 10px;
  padding: 10px;
  backdrop-filter: blur(18px);
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 18px;
  z-index: 50;
}

.top-link {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  text-decoration: none;
  color: white;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(14px);
  transition: all 0.35s ease;
}

.top-link:hover {
  background: rgba(255,255,255,0.18);
  box-shadow:
    0 0 20px rgba(255,255,255,0.35),
    inset 0 0 18px rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

.container {
  max-width: 920px;
  margin: 120px auto 2rem;
  padding: 2rem;
  padding-top: 4rem;
  border-radius: 0;
  aspect-ratio: 1 / 1;

  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(22px);
  border: 1px solid rgba(255,255,255,0.35);

  box-shadow:
    0 40px 120px rgba(0,0,0,0.8),
    inset 0 0 40px rgba(255,255,255,0.08);

  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.container:hover {
  transform: perspective(1000px) rotateX(1deg) rotateY(-1deg);
  box-shadow:
    0 0 80px rgba(80, 60, 110, 0.35),
    inset 0 0 60px rgba(50, 35, 75, 0.45);
}

.container::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: url("/videos/bg-poster.jpg") center / cover no-repeat;
  filter: blur(60px) saturate(1.0);
  opacity: 0; /* start hidden */
  animation: pulseGlow 8s ease-in-out infinite;
  z-index: -2;
  transition: opacity 1s ease;
}

body.loaded .container::before {
  opacity: 0.15; /* final subtle glow */
}

.container::after {
  content: "";
  position: absolute;
  inset: 0;

  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(12px);

  z-index: -1;
}

.bg-video {
  filter: none !important;
  mix-blend-mode: normal !important;
  position: fixed;
  top: 50%;
  left: 50%;
  width: auto;
  height: 100vh;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -3;
  pointer-events: none;
}

.profile {
  text-align: center;
  margin-bottom: 32px;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  padding: 4px;

  background:
    linear-gradient(135deg,
      rgba(255,255,255,0.9),
      rgba(255,255,255,0.2),
      rgba(255,255,255,0.9)
    );

  box-shadow:
    0 0 35px rgba(255,255,255,0.45),
    inset 0 0 25px rgba(255,255,255,0.6);

  transition: all 0.6s ease;
}

.avatar:hover {
  filter: blur(0.2px) saturate(1.4);
  box-shadow:
    0 0 35px rgba(120, 90, 160, 0.45),
    inset 0 0 25px rgba(140, 110, 190, 0.4);
  transform: scale(1.04) rotateZ(0.5deg);
}

.profile h1 {
  font-size: 1.75rem;
  font-weight: 700;
}

.bio {
  font-size: 0.95rem;
  color: #6b7280;
  margin-top: 8px;
}

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

.link-btn {
  aspect-ratio: 1 / 0.25;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: left;

  background: rgba(255,255,255,0.06);
  color: white;

  border-radius: 0;
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(18px);

  box-shadow:
    inset 0 0 20px rgba(255,255,255,0.08),
    0 10px 40px rgba(0,0,0,0.6);

  transition: all 0.5s ease;
}

.link-btn:hover {
  background: rgba(40, 30, 55, 0.15);
  box-shadow:
    0 0 40px rgba(90, 70, 120, 0.15),
    inset 0 0 40px rgba(60, 45, 85, 0.25);
  transform: translateY(-6px) scale(1.02);
}

/* favicon-style icon */
.link-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  image-rendering: crisp-edges;
}

/* text wrapper */
.link-text {
  display: block;
  line-height: 1.2;
}

/* secondary text */
.link-text small {
  display: block;
  font-size: 0.6em;
  opacity: 0.75;
}

.ripple {
  position: absolute;
  width: 20px;
  height: 20px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ripple 0.6s ease-out;
}

.support-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.support-links .link-btn {
  width: 100%;
}

.support-text {
  font-size: 0.8rem;
  opacity: 0.8;
  text-align: center;
}

@keyframes ripple {
  to {
    width: 200px;
    height: 200px;
    opacity: 0;
  }
}

footer {
  margin-top: 32px;
  text-align: center;
  font-size: 0.8rem;
  color: #9ca3af;
}

.hero-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.social-embed {
  width: 320px;
  max-height: 30%;
  max-width: 100%;
}

@media (max-width: 768px) {
  .hero-row {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .top-bar {
    flex-direction: column;
    gap: 6px;
    padding: 6px;
  }

  .link-btn {
    font-size: 0.85rem;
    padding: 12px;
  }
}
