/* Scrollbar hidden but keep scrolling functional */
html {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  background-color: var(--bg-light);
  color: var(--text-light);
  transition: 0.3s ease-in-out;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  line-height: 1.65;
  user-select: none;
  overflow-y: auto; /* Ensure scrolling is enabled */
}

/* Hide scrollbar but keep scrolling - Webkit (Chrome, Safari, Edge) */
body::-webkit-scrollbar {
  display: none;
  width: 0;
}

/* Also hide scrollbar for any other scrollable elements */
::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: transparent;
}

/* Container - ensure it doesn't prevent scrolling */
.container {
  max-width: 850px;
  padding: 60px 20px;
  margin: auto;
  text-align: center;
}

:root {
  --bg-light: #fafafa;
  --bg-dark: #0d0d0d;

  --text-light: #222;
  --text-dark: #e8e8e8;

  --card-light: rgba(255,255,255,0.65);
  --card-dark: rgba(20,20,20,0.6);

  --border-light: rgba(0,0,0,0.15);
  --border-dark: rgba(255,255,255,0.15);

  --hover-light: rgba(0,0,0,0.07);
  --hover-dark: rgba(255,255,255,0.08);

  --blood-light: #a00303;
  --blood-dark: #740101;

  --transition: 0.3s;
}

body.dark-mode {
  background-color: var(--bg-dark);
  color: var(--text-dark);
}

/* Blood effects */
.blood-shadow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.15;
}

.blood-shadow::before,
.blood-shadow::after {
  content: "";
  position: absolute;
  width: 35px;
  height: 50px;
  border-radius: 50%;
  filter: blur(5px);
}

.blood-shadow::before {
  top: 12%;
  left: 14%;
  box-shadow: 0 0 25px var(--blood-light);
}

.blood-shadow::after {
  bottom: 18%;
  right: 12%;
  box-shadow: 0 0 25px var(--blood-light);
}

body.dark-mode .blood-shadow::before,
body.dark-mode .blood-shadow::after {
  box-shadow: 0 0 25px var(--blood-dark);
}

/* Layout */
h1 {
  font-size: clamp(2.3rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 3px 10px rgba(0,0,0,0.15);
}
#brandTitle {
  cursor: pointer;
  display: inline-block;
}
 
#brandTitle:hover {
  text-shadow:
    0 0 10px rgba(255,255,255,0.4),
    0 0 20px rgba(255,255,255,0.2);
}

.glitch-char {
  display: inline-block;
  position: relative;
  animation: glitch 2.2s infinite;
}

@keyframes glitch {
  0% { transform: translate(0); opacity: 1; }
  20% { transform: translate(-1px, 1px); }
  40% { transform: translate(1px, -1px); }
  60% { transform: translate(-1px, 0); }
  80% { transform: translate(1px, 1px); opacity: 0.85; }
  100% { transform: translate(0); opacity: 1; }
}

.subtitle {
  font-size: 1.15rem;
  opacity: 0.85;
  margin-bottom: 40px;
  font-style: italic;
  letter-spacing: 0.3px;
  animation: subtitleFade 4.5s ease-in-out infinite;
}

@keyframes subtitleFade {
  0% { opacity: 0.6; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-2px); }
  100% { opacity: 0.6; transform: translateY(0); }
}

.nav-buttons {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.nav-buttons a {
  width: 220px;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--card-light);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
}

.dark-mode .nav-buttons a {
  background: var(--card-dark);
  border-color: var(--border-dark);
}

.nav-buttons a:hover {
  background: var(--hover-light);
  transform: translateY(-3px);
}

.dark-mode .nav-buttons a:hover {
  background: var(--hover-dark);
}

.button-desc {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Icons */

.icons {
  margin-top: 55px;
  display: flex;
  justify-content: center;
  gap: 35px;
}

.icons i {
  font-size: 2.1rem;
  cursor: pointer;
  transition: var(--transition);
}

.icons i:hover {
  transform: scale(1.18);
}

.messenger {
  color: #0084ff;
  animation: pulse 1.4s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.17); }
  100% { transform: scale(1); }
}

/* Motto */
.guild-motto {
  margin-top: 45px;
  padding-top: 20px;
  border-top: 1px solid currentColor;
  opacity: 0.8;
  font-style: italic;
}

/* Footer */
footer {
  text-align: center;
  padding: 25px 10px;
  opacity: 0.7;
  margin-top: auto;
  font-size: 0.9rem;
}

footer div {
  margin-top: 8px;
  font-size: 0.8rem;
}

/* Mobile */
@media (max-width: 600px) {
  .container {
    padding: 40px 15px;
  }

  .nav-buttons a {
    width: 100%;
  }

  .icons {
    gap: 28px;
  }
}


/* Shine effect for creator name */
.creator-name {
  cursor: pointer;
  font-weight: 600;
  position: relative;
  display: inline-block;
  transition: 0.3s ease;
  color: #666; /* Gray text for light theme */
}

body.dark-mode .creator-name {
  color: inherit; /* Use default text color in dark mode */
}

/* White glow with black outer glow for light theme */
.creator-name:hover {
  color: #333; /* Darker gray on hover */
  text-shadow: 
    0 0 8px rgba(255, 255, 255, 0.9),      /* Inner white glow */
    0 0 16px rgba(255, 255, 255, 0.7),     /* Middle white glow */
    0 0 24px rgba(0, 0, 0, 0.5),           /* Outer black glow */
    0 0 32px rgba(0, 0, 0, 0.3);           /* Far outer black glow */
}

/* Keep white-only glow for dark mode */
body.dark-mode .creator-name:hover {
  color: inherit;
  text-shadow: 0 0 10px rgba(255,255,255,1),
               0 0 20px rgba(255,255,255,0.9);
}

/* SHINE streak - white for light theme */
.creator-name::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 120%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  transform: skewX(-20deg);
  opacity: 0;
}
