/* Style 2.6.7 - legal shit */
:root {
  --accent-blue: #00d2ff;
  --accent-yellow: #ffd700;
  --glass: rgba(15, 20, 35, 0.68);
  --glass-dark: rgba(0, 0, 0, 0.42);
  --border: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.82);
  --bg-fallback: url('https://wallpapers-clan.com/wp-content/uploads/2025/04/charlie-brown-snoopy-stargazing-desktop-wallpaper-preview.jpg');
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --button-shadow: 0 10px 0 rgba(0, 0, 0, 0.18), 0 18px 30px rgba(0, 0, 0, 0.22);
  --button-shadow-hover: 0 14px 0 rgba(0, 0, 0, 0.16), 0 24px 38px rgba(0, 0, 0, 0.28);
  --button-shadow-active: 0 4px 0 rgba(0, 0, 0, 0.14), 0 10px 18px rgba(0, 0, 0, 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(0, 210, 255, 0.3);
  color: #ffffff;
}

html,
body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

html {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background-color: #05070a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  overflow-y: auto;
  line-height: 1.55;
  padding: clamp(14px, 3vw, 34px);
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.72)), var(--bg-fallback);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: -1;
  transform: scale(1.02);
  pointer-events: none;
  animation: backgroundSlow 18s ease-in-out infinite alternate;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.container {
  width: min(100%, 1240px);
  display: flex;
  justify-content: center;
  margin: auto;
}

/* Updated Card Base styling to wrap the flare limits cleanly */
.card {
  width: 100%;
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: clamp(24px, 3.5vw, 44px);
  display: grid;
  grid-template-columns: minmax(280px, 340px) 1fr;
  gap: clamp(22px, 3vw, 42px);
  position: relative;
  overflow: hidden; /* Crucial to keep moving flare from spilling out */
  backface-visibility: hidden;
  will-change: transform;
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.6);
  transition: box-shadow 0.2s ease;
  animation: cardEnter 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.card:hover {
  box-shadow: 0 30px 78px -18px rgba(0, 0, 0, 0.68);
}

.card-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  border-radius: 30px;
  background: radial-gradient(
    680px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(0, 210, 255, 0.1),
    transparent 42%
  );
  animation: glowPulse 6s ease-in-out infinite;
}

/* -------------------------------------------------------------------------- */
/* INTEGRATED INTERACTIVE MOUSE FLARE RUNTIME EFFECT                          */
/* -------------------------------------------------------------------------- */
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    320px circle at var(--m-x, -500px) var(--m-y, -500px),
    rgba(0, 210, 255, 0.11),
    transparent 75%
  );
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.profile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding-right: clamp(18px, 3vw, 34px);
  border-right: 1px solid var(--border);
  z-index: 2;
  width: 100%;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

.pfp-outer {
  width: clamp(165px, 20vw, 220px);
  height: clamp(165px, 20vw, 220px);
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--accent-yellow), #ffaa00);
  border-radius: 28px;
  padding: 6px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.38);
  will-change: transform, box-shadow;
  transform: translateZ(0);
  transition: var(--transition-smooth);
  animation: floaty 7s ease-in-out infinite;
}

.pfp-outer:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.48);
  outline: 2px solid var(--accent-blue);
  outline-offset: 4px;
}

.pfp-inner {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: #1a1d23;
  border: 4px solid rgba(0, 0, 0, 0.1);
}

.pfp-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.pfp-outer:hover .pfp-img {
  transform: scale(1.1);
}

.social-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.social-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: var(--transition-smooth);
  box-shadow: var(--button-shadow);
  transform: translateY(0);
}

.social-btn:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  box-shadow: var(--button-shadow-hover);
  transform: translateY(-5px);
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
}

.social-btn:active {
  box-shadow: var(--button-shadow-active);
  transform: translateY(-1px) scale(0.98);
}

.action-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.btn-primary {
  width: 100%;
  padding: 14px 12px;
  border-radius: 15px;
  border: 1px solid rgba(0, 210, 255, 0.68);
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-smooth);
  cursor: pointer;
  box-shadow: var(--button-shadow);
  transform: translateY(0);
}

.btn-primary:hover {
  background: var(--accent-blue);
  box-shadow: var(--button-shadow-hover);
  transform: translateY(-5px);
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
}

.btn-primary:active {
  box-shadow: var(--button-shadow-active);
  transform: translateY(-1px) scale(0.98);
}

.content-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 2.4vw, 22px);
  min-width: 0;
  z-index: 2;
  animation: fadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.14s both;
}

.header-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
  width: 100%;
}

.greeting {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 0.92;
}

.pill-wrapper {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.exp-pill,
.quote-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  font-size: clamp(0.82rem, 1.4vw, 0.95rem);
  font-weight: 700;
  color: #ffffff;
  animation: pillPop 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  text-align: center;
  flex: 0 1 auto;
}

#typewriter {
  color: #ffffff;
}

#quote-text {
  color: #ffffff;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: break-word;
}

.cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: #ffffff;
  margin-left: 4px;
  vertical-align: middle;
  animation: blink 0.8s steps(2, start) infinite;
}

.bio {
  position: relative;
  padding: clamp(16px, 2.6vw, 24px);
  border-radius: 26px;
  border: 2px solid var(--accent-blue);
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.18);
  background: var(--glass-dark);
  color: #ffffff;
  font-size: clamp(0.93rem, 1.45vw, 1.02rem);
  line-height: 1.7;
  text-align: center;
  max-width: 760px;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.bio::before {
  content: '';
  position: absolute;
  left: -14px;
  top: 36px;
  width: 24px;
  height: 24px;
  background: #06090e;
  border-left: 2px solid var(--accent-blue);
  border-bottom: 2px solid var(--accent-blue);
  border-top-left-radius: 4px;
  transform: rotate(45deg);
}

.speech-bubble {
  position: relative;
  background: var(--glass-dark);
  border: 2px solid var(--accent-blue);
  border-radius: 24px;
  padding: clamp(16px, 2.6vw, 24px);
  color: var(--text);
  font-size: clamp(0.93rem, 1.45vw, 1.02rem);
  line-height: 1.7;
  text-align: center;
  max-width: 760px;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.18);
  transition: var(--transition-smooth);
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.speech-bubble:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 210, 255, 0.28);
}

.speech-bubble::after {
  content: '';
  position: absolute;
  left: -14px;
  top: 50%;
  width: 24px;
  height: 24px;
  background: #06090e;
  border-left: 2px solid var(--accent-blue);
  border-bottom: 2px solid var(--accent-blue);
  border-top-left-radius: 4px;
  transform: translateY(-50%) rotate(45deg);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 760px;
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 15px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  transition: var(--transition-smooth);
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.stat-box:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--accent-blue);
  transform: translateY(-3px);
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
}

.stat-val {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
}

.stat-label {
  font-size: 0.68rem;
  color: #ffffff;
  opacity: 0.78;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.song-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  align-self: center;
  margin: 14px 0 10px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  transition: var(--transition-smooth);
}

.spotify-embed-container {
  margin-bottom: 16px;
  width: 100%;
  max-width: 760px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(40, 40, 40, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.snoopy-img {
  width: min(100%, 190px);
  max-width: 190px;
  border-radius: 28px;
  border: 6px solid var(--accent-yellow);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.38);
  transition: var(--transition-smooth);
}

.legal-disclaimer-footer {
  margin-top: 24px;
  padding: 14px 18px;
  background: var(--glass-dark);
  border: 1px solid var(--border);
  border-radius: 16px;
  font-size: 0.74rem;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
  width: 100%;
  max-width: 760px;
}

#context-menu {
  position: fixed;
  display: none;
  z-index: 10000;
  min-width: 180px;
  padding: 6px 0;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(10, 15, 25, 0.95);
  backdrop-filter: blur(10px);
}

.menu-item {
  display: flex;
  align-items: center;
  padding: 10px 18px;
  font-size: 0.85rem;
  color: #ffffff;
  cursor: pointer;
  transition: var(--transition-fast);
  border-radius: 10px;
  margin: 4px 8px;
}

@media (max-width: 1120px) {
  .card {
    grid-template-columns: minmax(260px, 320px) 1fr;
  }
}

@media (max-width: 900px) {
  body {
    padding: 16px 12px;
  }

  .card {
    grid-template-columns: 1fr;
    max-width: 760px;
    text-align: center;
  }

  .profile-section {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-right: 0;
    padding-bottom: 24px;
  }
}

@media (max-width: 560px) {
  .card {
    border-radius: 22px;
    padding: 18px 14px;
    gap: 18px;
  }

  .pfp-outer {
    width: 160px;
    height: 160px;
    border-radius: 22px;
  }

  .social-btn {
    width: 42px;
    height: 42px;
  }
}

@keyframes blink {
  to { opacity: 0; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pillPop {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.82; }
  50% { opacity: 1; }
}

@keyframes cardEnter {
  from { opacity: 0; transform: translateY(16px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes backgroundSlow {
  from { transform: scale(1.02) translateY(0); }
  to { transform: scale(1.05) translateY(-8px); }
}
