/* =========================================================
 *  === Global Stylesheet (style.css)
 *  === Shared across all pages
 *  ========================================================= */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  background: #0a0a0a;
  color: #a5a5a5;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #ba55ff;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #ff00cc;
}

/* --- Global Header Logo Above Nav --- */
.shared-header {
  background: #111 url("../images/global-header.png") no-repeat center top;
  background-size: 1000px auto;
  padding-top: 420px;
  border-bottom: 2px solid #7526df;
  box-shadow: 0 0 10px rgba(117, 38, 223, 0.6);
  position: relative;
}

/* Top shimmer bar above the logo */
.shared-header::before {
  content: "";
  display: block;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #ff00cc, #7526df, #00ffff);
  background-size: 200% auto;
  animation: shimmerReverse 6s linear infinite;
  box-shadow: 0 0 6px rgba(117, 38, 223, 0.6);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}

@media (max-width: 900px) {
  .shared-header {
    background-size: 90% auto;
    padding-top: 35vw;
  }
}

@media (max-width: 600px) {
  .shared-header {
    background-size: 80% auto;
    padding-top: 30vw;
  }
}

/* --- Header & Navigation --- */
.top-nav {
  position: relative;
  z-index: 2;
}

.top-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5em;
  padding: 1em;
  flex-wrap: wrap;
}

.top-nav a {
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  padding: 0.5em 0.75em;
  border-radius: 4px;
  transition:
  background 0.3s ease,
  color 0.3s ease,
  box-shadow 0.3s ease,
  text-shadow 0.3s ease,
  transform 0.3s ease;
  position: relative;
  display: inline-block;
  z-index: 1;
}

/* Hover state */
.top-nav a:hover {
  background: rgba(117, 38, 223, 0.3);
  color: #ffccff;
  text-shadow:
  0 0 4px rgba(255, 255, 255, 0.65),
  0 0 8px rgba(255, 0, 204, 0.45);
}

/* Fixed active state */
.top-nav a.active {
  background: rgba(117, 38, 223, 0.22);
  color: #ffffff;
  text-shadow:
  0 0 4px rgba(255, 255, 255, 0.75),
  0 0 8px rgba(117, 38, 223, 0.85),
  0 0 12px rgba(255, 0, 204, 0.55);
  box-shadow:
  inset 0 0 0 1px rgba(255, 255, 255, 0.08),
  0 0 10px rgba(117, 38, 223, 0.45);
}

/* Keep the glowing animated frame on the active page */
.top-nav a.active::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 4px;
  box-shadow: 0 0 8px #7526df;
  z-index: -1;
  animation: activePulse 2s infinite alternate;
}

/* Slight extra boost when hovering the active item */
.top-nav a.active:hover {
  background: rgba(117, 38, 223, 0.3);
  color: #ffffff;
  box-shadow:
  inset 0 0 0 1px rgba(255, 255, 255, 0.1),
  0 0 12px rgba(117, 38, 223, 0.55);
}

@keyframes activePulse {
  0% {
    box-shadow: 0 0 8px #7526df;
  }
  50% {
    box-shadow: 0 0 12px #00ffff;
  }
  100% {
    box-shadow: 0 0 14px #ff00cc;
  }
}

/* --- Responsive Stack for Mobile --- */
@media (max-width: 600px) {
  .top-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 0.25em;
    padding: 0.25em;
  }

  .top-nav a {
    width: 100%;
    text-align: center;
    padding: 0.5em 0.5em;
  }
}

/* Divider between logo and nav */
.logo-divider {
  height: 3px;
  background: linear-gradient(90deg, #7526df, #ff00cc, #7526df);
  box-shadow: 0 0 8px rgba(117, 38, 223, 0.8);
  margin: 0.5em 0;
}

/* Enhanced nav separator under menu */
.nav-separator {
  height: 4px;
  background: linear-gradient(90deg, #ff00cc, #7526df, #00ffff);
  background-size: 200% auto;
  animation: shimmerReverse 5s linear infinite;
  box-shadow: 0 0 6px rgba(117, 38, 223, 0.6);
}

/* --- Section Labels --- */
.section-label {
  font-size: 1.3rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 1em;
  text-shadow: 0 0 5px #7526df;
  text-align: center;
}

/* --- Shared About Section --- */
.about-section {
  background: linear-gradient(135deg, rgba(20, 0, 40, 0.7), rgba(60, 0, 90, 0.5));
  border-left: 4px solid #7526df;
  padding: 2em;
  box-shadow: inset 0 0 10px rgba(117, 38, 223, 0.4);
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 1em;
  margin: 2em 0;
}

.about-section p {
  margin-bottom: 1em;
  color: #d0d0d0;
  line-height: 1.6;
  font-size: 1rem;
}

.about-section p:first-child {
  font-weight: 600;
  color: #fff;
  font-size: 1.1rem;
}

.about-section .about-footer {
  font-style: italic;
  color: #ffccff;
  text-shadow: 0 0 6px #7526df;
  animation: pulseGlow 2s infinite alternate;
  margin-bottom: 5em;
}

.about-stamp {
  background-image: url("../images/dubbchatt.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 100px;
  height: 100px;
  position: absolute;
  bottom: 1em;
  right: 1em;
  z-index: 5;
  filter: drop-shadow(0 0 6px #7526df);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.about-stamp:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 12px #ff00cc);
}

/* --- Footer --- */
#footer {
background: #111;
color: #ccc;
padding: 2em 1em;
text-align: center;
border-top: 2px solid #7526df;
box-shadow: 0 -2px 10px rgba(117, 38, 223, 0.6);
position: relative;
z-index: 1;
}

#footer .footer-divider {
height: 4px;
width: 100%;
background: linear-gradient(
  to left,
  #7526df 0%,
  #ff00cc 50%,
  #7526df 100%
);
background-size: 200% auto;
background-repeat: no-repeat;
background-position: 0 0;
box-shadow: 0 0 6px rgba(117, 38, 223, 0.6);
animation: shimmerReverse 3s linear infinite, pulseFooter 2s infinite alternate;
margin: 1em 0;
}

#footer .footer-bottom {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: 6px;
}

#footer .neon-icon {
color: #7526df;
fill: currentColor;
font-size: 1.15em;
vertical-align: middle;
line-height: 1;
text-shadow:
0 0 3px #7526df,
0 0 6px #9051e5,
0 0 9px #ab7bec;
transition: text-shadow 0.3s ease, transform 0.3s ease;
}

#footer .neon-icon:hover {
transform: scale(1.08);
text-shadow:
0 0 4px #7526df,
0 0 8px #9051e5,
0 0 12px #ab7bec;
}

#footer .neon-tm {
color: #7526df;
text-shadow: 0 0 3px #7526df, 0 0 6px #9051e5, 0 0 9px #ab7bec;
font-size: 1em;
margin-left: 3px;
}

#footer .brand-link {
color: #fff;
text-decoration: none;
transition: text-shadow 0.3s ease, transform 0.3s ease;
}

#footer .brand-link:hover {
transform: scale(1.03);
text-shadow: 0 0 4px #7526df, 0 0 8px #9051e5, 0 0 12px #ab7bec;
}

#footer .flame-flicker {
animation: flameFlicker 1.5s infinite ease-in-out;
}

#footer svg {
width: 1em;
height: 1em;
vertical-align: middle;
}

/* --- Utility Animations --- */
@keyframes pulseGlow {
  0% {
    text-shadow: 0 0 6px #7526df, 0 0 12px #7526df;
  }
  100% {
    text-shadow: 0 0 12px #ff00cc, 0 0 20px #ff00cc;
  }
}

@keyframes shimmerReverse {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@keyframes pulseFooter {
  0% {
    box-shadow: 0 0 6px #7526df;
  }
  100% {
    box-shadow: 0 0 12px #ff00cc;
  }
}

@keyframes flameFlicker {
  0%,
  100% {
    text-shadow:
    0 0 3px #7526df,
    0 0 6px #9051e5,
    0 0 9px #7526df;
    transform: scale(1);
  }

  20% {
    text-shadow:
    0 0 4px #9051e5,
    0 0 8px #7526df,
    0 0 12px #9051e5;
    transform: scale(1.03);
  }

  40% {
    text-shadow:
    0 0 2px #7526df,
    0 0 4px #ab7bec,
    0 0 6px #7526df;
    transform: scale(0.98);
  }

  60% {
    text-shadow:
    0 0 5px #ab7bec,
    0 0 10px #7526df,
    0 0 15px #ab7bec;
    transform: scale(1.02);
  }

  80% {
    text-shadow:
    0 0 3px #7526df,
    0 0 6px #ab7bec,
    0 0 9px #7526df;
    transform: scale(1.01);
  }
}

#index .splash-types {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 8px;
max-width: 720px;
margin: 0 auto 1.4em;
}

#index .splash-types span {
padding: 6px 10px;
font-size: 0.85rem;
border-radius: 999px;
background: rgba(117, 38, 223, 0.15);
border: 1px solid rgba(117, 38, 223, 0.5);
color: #00ffff;
text-shadow: 0 0 6px rgba(0, 255, 255, 0.4);
box-shadow: 0 0 6px rgba(117, 38, 223, 0.4);
transition: all 0.25s ease;
}

#index .splash-types span:hover {
transform: scale(1.08);
box-shadow: 0 0 10px #ff00cc;
}
