/* ================================
   ABOUT PAGE — unified with index
   ================================ */

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Platypi", serif;
  color: #e6efe9;

  /* Starry night background repeated */
  background: url("../images/bg.jpg") repeat;
  background-attachment: fixed;   /* keeps stars fixed while scrolling */
  background-position: center;    /* centers the tiling */
}



/* ===== Header ===== */
.site-header {
  text-align: center;
  padding: 2.5rem 1rem 1rem;
}

.site-title {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
}

.title-text {
  position: relative;
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
  color: #e6efe9;
  animation: glow 4s ease-in-out infinite;
}

.title-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #ffd700, #fff176, #ffecb3);
  background-size: 200% 100%;
  border-radius: 2px;
  animation: underlineShift 6s linear infinite;
}

.sun, .moon {
  display: inline-block;
  font-size: 1.2rem;
  line-height: 1;
  vertical-align: baseline;
  animation: glow 4s ease-in-out infinite;
}

.sun {
  color: #ffd700;
  text-shadow: 0 0 6px rgba(255, 215, 0, 0.6);
  transform: translateY(-0.30rem);
}

.moon {
  color: #9fc5b5;
  text-shadow: 0 0 6px rgba(159, 197, 181, 0.6);
  font-size: 1.3rem;
  transform: translateY(-0.20rem);
}

/* ===== Nav ===== */
.site-nav a {
  margin: 0 0.7rem;
  text-decoration: none;
  color: #9fc5b5;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.site-nav a:hover {
  color: #ffd700;
  animation: glow 4s ease-in-out infinite;
}

.site-nav a.active {
  color: #9fc5b5;
  font-weight: 600;
  font-size: 1.5rem;
  animation: glow 4s ease-in-out infinite;
}

/* ===== Layout ===== */
.layout {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* ===== Big unified box ===== */
.about-box {
  background: rgba(47, 63, 57, 0.85); /* same dark greenish tone, 85% opaque */
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 0 12px rgba(159, 197, 181, 0.3);
  animation: breathingGlow 4s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.about-box:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 16px rgba(159, 197, 181, 0.5),
    0 0 28px rgba(159, 197, 181, 0.3);
}

@keyframes breathingGlow {
  0%   { box-shadow: 0 0 8px rgba(159, 197, 181, 0.2); }
  50%  { box-shadow: 0 0 20px rgba(159, 197, 181, 0.6); }
  100% { box-shadow: 0 0 8px rgba(159, 197, 181, 0.2); }
}

/* ===== Tabs ===== */
.tab-buttons {
  display: flex;
  gap: 2rem;              /* wider spacing between buttons */
  justify-content: center;
  margin-bottom: 2.5rem;
}

.tab-buttons button {
  padding: 0.8rem 1.2rem;
  border: none;
  border-radius: 8px;
  background: #2a2f2f;
  color: #9fc5b5; /* base color like section headers */
  font-family: "Platypi", serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.4s ease, box-shadow 0.4s ease, transform 0.3s ease;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.25); /* subtle white shadow when inactive */
}

.tab-buttons button:hover {
  color: #ffd700;
  box-shadow:
    0 0 12px rgba(255, 215, 0, 0.8),
    0 0 24px rgba(255, 255, 150, 0.6),
    0 0 36px rgba(255, 255, 200, 0.4);
  transform: translateY(-2px);
}

.tab-buttons button.active {
  color: #ffd700;
  font-weight: 600;
  animation: pulseGlow 4s ease-in-out infinite; /* golden breathing glow */
}


/* ===== Content box ===== */
.tab-content {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  background: rgba(28, 34, 34, 0.85); /* semi-transparent dark background */
  border-radius: 16px;
  padding: 2rem;
  min-height: 200px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.25); /* subtle white shadow */
}

.tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  border: 1px solid rgba(255, 255, 255, 0.2); /* faint border */
}

/* ===== Glow animations ===== */
@keyframes glow {
  0%   { text-shadow: 0 0 6px rgba(255, 215, 0, 0.3); }
  50%  { text-shadow: 0 0 14px rgba(255, 215, 0, 0.8); }
  100% { text-shadow: 0 0 6px rgba(255, 215, 0, 0.3); }
}

@keyframes underlineShift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes pulseGlow {
  0% {
    box-shadow:
      0 0 14px rgba(255, 215, 0, 0.7),
      0 0 28px rgba(255, 255, 150, 0.4),
      0 0 42px rgba(255, 255, 200, 0.2);
  }
  50% {
    box-shadow:
      0 0 20px rgba(255, 215, 0, 0.9),
      0 0 36px rgba(255, 255, 150, 0.6),
      0 0 52px rgba(255, 255, 200, 0.3);
  }
  100% {
    box-shadow:
      0 0 14px rgba(255, 215, 0, 0.7),
      0 0 28px rgba(255, 255, 150, 0.4),
      0 0 42px rgba(255, 255, 200, 0.2);
  }
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .layout {
    max-width: 100%;
    padding: 0 0.9rem;
  }

  .title-text { font-size: 1.8rem; }

  .tab-buttons {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .tab-buttons button {
    flex: 1 1 calc(50% - 1rem);
    text-align: center;
  }
}

/* ===== Streams links (generic) ===== */
#streams a {
  color: #9fc5b5;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

#streams a:hover {
  color: #ffd700;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.8);
}

/* ===== Platform-specific hover (must come AFTER the generic hover) ===== */
/* ===== Streams links unified pulsating ===== */
#streams a {
  text-decoration: none;
  font-weight: 600;
  display: inline-block; /* needed for transform animations */
  transition: transform 0.3s ease;
}

/* youtube: red text + pulsating red glow */
#streams a.youtube {
  color: #ff0000;
  animation: youtubePulse 3s ease-in-out infinite;
}
@keyframes youtubePulse {
  0%   { text-shadow: 0 0 6px rgba(255,0,0,0.4); }
  50%  { text-shadow: 0 0 16px rgba(255,0,0,0.9); }
  100% { text-shadow: 0 0 6px rgba(255,0,0,0.4); }
}

/* tiktok: blue text + pulsating red glow */
#streams a.tiktok {
  color: #1da1f2;
  animation: tiktokPulse 3s ease-in-out infinite;
}
@keyframes tiktokPulse {
  0%   { text-shadow: 0 0 6px rgba(255,0,0,0.4); }
  50%  { text-shadow: 0 0 16px rgba(255,0,0,0.9); }
  100% { text-shadow: 0 0 6px rgba(255,0,0,0.4); }
}

/* twitch: purple text + pulsating purple glow */
#streams a.twitch {
  color: #9146ff;
  animation: twitchPulse 3s ease-in-out infinite;
}
@keyframes twitchPulse {
  0%   { text-shadow: 0 0 6px rgba(145,70,255,0.4); }
  50%  { text-shadow: 0 0 16px rgba(145,70,255,0.9); }
  100% { text-shadow: 0 0 6px rgba(145,70,255,0.4); }
}

/* saweria: golden text + pulsating gold glow */
#streams a.saweria {
  color: #ffd700;
  animation: saweriaPulse 3s ease-in-out infinite;
}
@keyframes saweriaPulse {
  0%   { text-shadow: 0 0 6px rgba(255,215,0,0.4); }
  50%  { text-shadow: 0 0 16px rgba(255,215,0,0.9); }
  100% { text-shadow: 0 0 6px rgba(255,215,0,0.4); }
}

/* ===== Hover lift effect ===== */
#streams a:hover {
  transform: translateY(-3px);
}

/* ================================
   ABOUT PAGE — unified with index
   ================================ */

/* ... your existing css above remains unchanged ... */

/* ===== Hover lift effect ===== */
#streams a:hover {
  transform: translateY(-3px);
}

/* ===== Chatbox styles ===== */
#chat input,
#chat textarea {
  width: 100%;
  padding: 0.5rem;
  font-family: inherit;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 0.8rem;
  background: rgba(47, 63, 57, 0.85);
  color: #e6efe9;
}

#chat input::placeholder,
#chat textarea::placeholder {
  color: #9fc5b5;
}

#chat button {
  margin-top: 0.5rem;
  padding: 0.4rem 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  border-radius: 6px;
  background: #2a2f2f;
  color: #9fc5b5;
  transition: all 0.3s ease;
}

#chat button:hover {
  color: #ffd700;
  box-shadow:
    0 0 12px rgba(255, 215, 0, 0.8),
    0 0 24px rgba(255, 255, 150, 0.6),
    0 0 36px rgba(255, 255, 200, 0.4);
  transform: translateY(-2px);
}

#chat-log {
  margin-top: 1rem;
  padding: 0.5rem;
  border-top: 1px solid #ccc;
}

.chat-entry {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0.5rem 0;
  padding: 0.4rem 0.6rem;
  border-bottom: 1px solid #333;
}

.chat-text {
  font-weight: 500;
  color: #e6efe9;
}

.chat-from {
  font-weight: 700; /* bold name */
  margin-right: 0.5rem;
  color: #ffd700;
  text-shadow: 0 0 6px rgba(255, 215, 0, 0.4);
  animation: chatGlow 3s ease-in-out infinite;
}

@keyframes chatGlow {
  0%   { text-shadow: 0 0 6px rgba(255,215,0,0.4); }
  50%  { text-shadow: 0 0 14px rgba(255,215,0,0.9); }
  100% { text-shadow: 0 0 6px rgba(255,215,0,0.4); }
}

.chat-time {
  font-size: 0.8rem;
  color: #999;
  margin-left: 1rem;
}

