:root {
  --bg: #000000;
  --card: rgba(15, 18, 25, 0.84);
  --card-border: rgba(255, 255, 255, 0.08);
  --text: #f5f7fb;
  --muted: rgba(230, 235, 245, 0.58);
  --icon-bg: rgba(255, 255, 255, 0.05);
  --icon-border: rgba(255, 255, 255, 0.08);
  --icon-hover: rgba(255, 255, 255, 0.12);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  margin: 0;
  background-color: #000;
  overflow: hidden;
  color: var(--text);
  position: relative;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.light-pillar-fallback{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.1);
    color: #888;
    font-size: 14px;
    font-family: sans-serif;
    z-index: 1;
}
#container {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}
.light-pillar-container{
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.profile-card {
  width: min(1120px, 100%);
  min-height: 620px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.profile-card__media {
  position: relative;
  min-height: 620px;
  background: transparent;
  border-right: 2px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

#glitch-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.media-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(7, 9, 13, 0.28), transparent 35%),
    linear-gradient(to right, rgba(7, 9, 13, 0.05), transparent 30%);
    
}

.profile-card__content {
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 42px;
  gap: 24px;
}

.profile-copy {
  align-self: start;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 8px;
}

.profile-title {
  margin: 0 0 14px;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.profile-name {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5.25rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #fff;
  text-wrap: balance;
}

.socials-wrap {
  align-self: end;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.socials-label {
  margin: 0;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.social-btn {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--icon-bg);
  border: 1px solid var(--icon-border);
  border-radius: 16px;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
  backdrop-filter: blur(10px);
}

.social-btn:hover {
  transform: translateY(-2px);
  background: var(--icon-hover);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.social-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 3px;
}

.social-btn svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 980px) {
  .profile-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .profile-card__media {
    min-height: 420px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .profile-card__content {
    padding: 28px;
  }

  .profile-name {
    font-size: clamp(2.4rem, 10vw, 4rem);
  }
}

@media (max-width: 640px) {
  .page {
    padding: 16px;
  }

  .profile-card {
    border-radius: 22px;
  }

  .profile-card__media {
    min-height: 320px;
  }

  .profile-card__content {
    padding: 22px;
  }

  .social-btn {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .social-btn svg {
    width: 22px;
    height: 22px;
  }
}
/* Base GlareHover styles */
.glare-hover {
  background: var(--gh-bg, #000000);
  border-radius: var(--gh-br, 10px);
  border: 1px solid var(--gh-border, #333);
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: center;
  cursor: pointer;
}

/* Glare effect */
.glare-hover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    var(--gh-angle, -45deg),
    hsla(0, 0%, 0%, 0) 60%,
    var(--gh-rgba, rgba(255, 255, 255, 0.5)) 70%,
    hsla(0, 0%, 0%, 0),
    hsla(0, 0%, 0%, 0) 100%
  );
  transition: var(--gh-duration, 650ms) ease;
  background-size:
    var(--gh-size, 250%) var(--gh-size, 250%),
    100% 100%;
  background-repeat: no-repeat;
  background-position:
    -100% -100%,
    0 0;
  pointer-events: none;
}

/* Hover animation */
.glare-hover:hover::before {
  background-position:
    100% 100%,
    0 0;
}

/* playOnce variant (optional) */
.glare-hover--play-once::before {
  transition: none;
}

.glare-hover--play-once:hover::before {
  transition: var(--gh-duration, 650ms) ease;
  background-position:
    100% 100%,
    0 0;
}
