/* reset/body */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  height: 100%;
  background: #000;
  font-family: Arial, sans-serif;
  color: #fff;
  overflow: hidden;
}

html {
  font-size: 150%;
}

/* particles behind */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  top: 0; left: 0;
}

/* center content */
.container {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-shadow: 0 0 10px rgba(128,0,128,0.7);
}

/* button base – enhanced glow */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  margin: 1.2rem 0.8rem; /* more vertical margin for spacing */
  text-decoration: none;
  color: #fff;
  /* Subtle black with a hint of purple */
  background: linear-gradient(90deg, #18181b 85%, #18181b 100%);
  border-radius: 0.5rem;
  position: relative;
  z-index: 0; /* Make sure this is lower than .btn-orbit-canvas */
  overflow: visible;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.btn::before {
  /* Deep, subtle glow with gradient: purple (left) to blue (right) */
  content: '';
  position: absolute;
  z-index: -2;
  top: -14px;
  left: -14px;
  right: -14px;
  bottom: -14px;
  border-radius: 1.2rem;
  background: linear-gradient(90deg, rgba(232,121,249,0.18) 0%, rgba(59,130,246,0.13) 100%);
  filter: blur(18px);
  opacity: var(--btn-glow-opacity, 0.15); /* Default to 15% brightness */
  transition: opacity 0.3s;
  pointer-events: none;
  box-shadow:
    0 0 32px 8px rgba(168,85,247,0.12),
    0 0 48px 16px rgba(59,130,246,0.09);
}

/* Remove this block if using JS proximity effect */
/*
.btn:hover::before {
  opacity: 0.7;
}
*/

.btn::after {
  /* Bright, crisp edge */
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 0.5rem;
  background: none;
  opacity: var(--btn-glow-opacity, 0.15); /* Default to 15% brightness */
  box-shadow:
    0 0 6px 2px #e879f9,
    0 0 10px 4px #3b82f6;
  pointer-events: none;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-burst-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: -3;
  display: block;
}

.btn-orbit-wrap {
  position: relative;
  display: inline-block;
}

.btn-orbit-canvas {
  position: absolute;
  top: -30px; left: -30px;
  width: calc(100% + 60px);
  height: calc(100% + 60px);
  pointer-events: none;
  z-index: 10; /* <-- Increase this value to be above the button */
  display: block;
}

/* Add this to your existing CSS */
#starry-background {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background: transparent;
}

/* Update your body background to be transparent */
body {
  background: transparent;
}

/* Right-side panel with glowing edge */
.side-panel {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: 520px;
  height: 100vh;
  background: linear-gradient(90deg, #181022 95%, #1a002a 100%);
  z-index: 0;
  border: 2px solid #a855f7; /* Added matching border */
  box-shadow: 
    0 0 24px 4px #a955f78f,
    0 0 64px 8px #3b83f641;  /* Matching news-scroller glow */
  overflow: hidden;
}
.side-panel::before,
.side-panel::after {
  content: '';
  position: absolute;
  top: 0;
  width: 4px;
  height: 100%;
  border-radius: 8px 0 0 8px;
  background: linear-gradient(180deg, #e879f9 0%, #a855f7 60%, #3b82f6 100%);
  filter: blur(2.5px);
  opacity: 0.6;
  z-index: 21;
  pointer-events: none;
  box-shadow:
    0 0 6px 2px #a855f7,
    0 0 12px 4px #e879f9;
}
.side-panel::before {
  left: -4px;
  border-radius: 8px 0 0 8px;
}
.side-panel::after {
  right: -4px;
  left: auto;
  border-radius: 0 8px 8px 0;
}

.profile-pic-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.2rem;
  width: 124px;
  height: 124px;
  overflow: hidden;
  border-radius: 50%;
  /* Keep the border and shadow on the wrap instead of the image */
  border: 4px solid #a855f7;
  box-shadow: 0 0 0 6px rgba(168,85,247,0.18), 0 0 24px 6px #3b82f6;
  background: #181022;
}

.profile-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  border: none;
  box-shadow: none;
  background: none;
  transform: scale(1.2) translateY(10%);
  transition: transform 0.3s;
}

.news-scroller {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48px;
  background: linear-gradient(90deg, #181022 80%, #000000 100%);
  border-top: 2px solid #a855f7;
  z-index: 100;
  overflow: hidden;
  display: flex;
  align-items: center;
  box-shadow: 0 0 24px 4px #a855f7, 0 0 64px 8px #3b82f6;
}

.news-text {
  font-family: 'Fira Mono', 'Consolas', 'Courier New', monospace;
  font-size: 1.1rem;
  color: #e879f9;
  text-shadow:
    0 0 8px #a855f7,
    0 0 16px #3b82f6,
    0 0 2px #fff;
  letter-spacing: 0.04em;
  width: 100%;
}

