* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --dark: #0c0513;
  --darker: #06020a;
  --purple-bright: #a625d3;
  --purple-deep: #612874;
  --trans-blue: #55cdfc;
  --trans-pink: #f7a8b8;
  --white: #f0e6ff;
  --trans-gradient-smooth: linear-gradient(
    to right,
    #55cdfc 0%,
    #55cdfc 20%,
    #f7a8b8 20%,
    #f7a8b8 40%,
    #ffffff 40%,
    #ffffff 60%,
    #f7a8b8 60%,
    #f7a8b8 80%,
    #55cdfc 80%,
    #55cdfc 100%
  );
}

body {
  background-color: var(--darker);
  color: var(--white);
  font-family: 'Space Mono', monospace;
  scroll-behavior: smooth;
  overflow: hidden;
  height: 100%;
  position: relative;
  margin: 0;
}

#particles-js,
#particles-js > canvas {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none;
    z-index: -1;
}

.scroll-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.scroll-container::-webkit-scrollbar {
  display: none;
}

.slide {
  height: 100vh;
  width: 100vw;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  position: relative;
}

.slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 5, 20, 0.3);
  backdrop-filter: blur(2px);
  z-index: -1;
}

.hero {
  justify-content: center;
  padding: 0;
  position: relative;
}

.hero::after {
  content: "V scroll down V";
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  background: linear-gradient(90deg, var(--purple-bright), var(--purple-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 10px rgba(166, 37, 211, 0.3);
  animation: pulseV 1.5s infinite alternate;
  z-index: 10;
}

@keyframes pulseV {
  from { opacity: 0.6; }
  to { opacity: 1; }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  background: linear-gradient(90deg, var(--purple-bright), var(--purple-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
  text-shadow: 0 0 12px rgba(166, 37, 211, 0.6);
}

.hero-pfp {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--purple-bright);
  filter: drop-shadow(0 0 12px rgba(166, 37, 211, 0.5));
  animation: pulseGlow 3s infinite alternate;
}

@keyframes pulseGlow {
  0% { filter: drop-shadow(0 0 12px rgba(166, 37, 211, 0.5)); }
  100% { filter: drop-shadow(0 0 20px rgba(166, 37, 211, 0.8)); }
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--purple-bright);
  text-shadow: 0 0 8px rgba(166, 37, 211, 0.7);
  opacity: 0;
  animation: fadeInFast 0.3s forwards;
}

.about p {
  line-height: 1.8;
  font-size: 1.1rem;
}

.about-text {
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 500px;
  white-space: pre-line;
  opacity: 0;
  animation: fadeInFast 0.3s 0.1s forwards;
}

.silly {
  background: var(--trans-gradient-smooth);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: bold;
}

.glup-emoji {
  width: 100px;
  height: 100px;
  vertical-align: middle;
  display: inline-block;
  margin-left: 0.3rem;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.5));
}

.secret-line {
  opacity: 0;
  transition: opacity 3s ease;
  display: block;
  margin-top: 0.6em;
  pointer-events: none;
}

.about-text:hover .secret-line {
  opacity: 1;
  pointer-events: auto;
}

.skills ul {
  list-style: none;
  font-family: monospace;
  font-size: 1.05rem;
}

.skills li {
  margin-bottom: 0.8rem;
  position: relative;
}

.skills li::before {
  content: "❱";
  color: var(--trans-pink);
  margin-right: 0.6rem;
  position: absolute;
  left: -1.4rem;
}

.social-list {
  list-style: none;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 0;
}

.social-list li {
  display: flex;
  align-items: left;
  gap: 0.8rem;
}

.social-icon {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.3));
  transition: transform 0.3s ease;
}

.social-list li:hover .social-icon {
  transform: scale(1.15);
}

.social-list a {
  color: inherit;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  text-shadow: none;
}

.social-list a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}

.steam {
  background: linear-gradient(90deg, #00adee, #2f86c4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.steam-link::after { color: #00adee; }
.steam-link:hover .steam { text-shadow: 0 0 10px rgba(0, 173, 238, 0.8); }

.youtube {
  background: linear-gradient(90deg, #ff0000, #cc0000);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.youtube-link::after { color: #ff0000; }
.youtube-link:hover .youtube { text-shadow: 0 0 10px rgba(255, 0, 0, 0.7); }

.discord {
  background: linear-gradient(90deg, #5865f2, #7289da);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.discord-link::after { color: #5865f2; }
.discord-link:hover .discord { text-shadow: 0 0 10px rgba(88, 101, 242, 0.8); }

.roblox {
  background: linear-gradient(90deg, #ffffff, #e0e0e0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.roblox-link::after { color: #ffffff; }
.roblox-link:hover .roblox { text-shadow: 0 0 10px rgba(255, 255, 255, 0.6); }

.steam-link:hover::after,
.youtube-link:hover::after,
.discord-link:hover::after,
.roblox-link:hover::after {
  width: 100%;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 200px);
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1rem;
  opacity: 0;
  animation: fadeInFast 0.3s 0.2s forwards;
}

.gallery-item {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  background: rgba(10, 5, 20, 0.4);
  filter: drop-shadow(0 0 8px rgba(166, 37, 211, 0.3));
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 0 12px rgba(166, 37, 211, 0.6));
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 2, 10, 0.95);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 0 20px rgba(166, 37, 211, 0.8));
  animation: fadeInModal 0.4s ease forwards;
  cursor: pointer;
}

@keyframes fadeInModal {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2rem;
  color: white;
  background: rgba(10, 5, 20, 0.6);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10000;
  transition: background 0.2s ease;
}

.modal-close:hover {
  background: rgba(166, 37, 211, 0.5);
}

.dot-nav {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  z-index: 100;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(166, 37, 211, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot:hover, .dot.active {
  background: var(--purple-bright);
  transform: scale(1.2);
}

.dot.active {
  box-shadow: 0 0 8px var(--purple-bright);
  transform: scale(1.1);
}

footer {
  position: fixed;
  bottom: 1rem;
  right: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.7;
  z-index: 100;
}

footer a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  position: relative;
}

footer a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--trans-blue);
  transition: width 0.3s ease;
}

footer a:hover::after {
  width: 100%;
}

@keyframes fadeInFast {
  to { opacity: 1; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 2.2rem; }
  .hero-pfp { width: 110px; height: 110px; }
  h2 { font-size: 2rem; }
  .slide { padding: 1.5rem; }
  .dot-nav { right: 1.2rem; }
  .dot { width: 10px; height: 10px; }
}

