/* ==================== */
/* Splash Screen */
/* ==================== */
.splash-screen {
  position: fixed;
  inset: 0;
  background: #0d1117;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  transition: opacity 1s ease, visibility 1s ease;
}

.splash-screen img {
  width: 150px;
  filter: drop-shadow(0 0 15px #00e6e6);
  animation: splashPulse 2s ease-in-out infinite alternate;
}

.splash-screen.hide {
  opacity: 0;
  visibility: hidden;
}

@keyframes splashPulse {
  from { transform: scale(1); opacity: 0.8; }
  to   { transform: scale(1.1); opacity: 1; }
}

/* ==================== */
/* Dark Body Background */
/* ==================== */
body {
  margin: 0;
  min-height: 100vh;            /* allow page to grow */
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;            /* prevent sideways scroll */
  overflow-y: auto;              /* allow vertical scroll */
  display: block;                /* normal flow */
  background: linear-gradient(-45deg, #0d1117, #161b22, #0d1117);
  background-size: 200% 200%;
  animation: subtleGradient 15s ease infinite;
  color: #e6edf3;
}

@keyframes subtleGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ==================== */
/* Header Styling */
/* ==================== */
.header {
  font-size: 2.8rem;
  font-weight: bold;
  margin: 30px 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  background: linear-gradient(90deg, #00e6e6, #00b3ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textGlow 4s ease-in-out infinite alternate;
}

@keyframes textGlow {
  from { text-shadow: 0 0 10px #00b3ff; }
  to   { text-shadow: 0 0 25px #00e6e6; }
}

/* ==================== */
/* Button Container */
/* ==================== */
.cont {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

/* ==================== */
/* Buttons */
/* ==================== */
.cont a {
  padding: 20px;
  height: 180px;
  width: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  text-decoration: none;
  position: relative;
  font-weight: bold;
  font-size: 1.1rem;
  color: #e6edf3;
  background: #161b22;
  border: 1px solid rgba(0, 229, 255, 0.2);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

.cont a::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #00e6e6, #00b3ff, #0099cc);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
  border-radius: 12px;
}

.cont a h3 {
  position: relative;
  z-index: 1;
}

.cont a:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.3);
  border-color: rgba(0, 229, 255, 0.6);
}

.cont a:hover::before {
  opacity: 0.15;
}

/* ==================== */
/* Vanta Background */
/* ==================== */
#vanta-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* behind content */
}

/* ==================== */
/* Giscus Comments */
/* ==================== */
.giscus {
  width: 100%;
  max-width: 900px;
  margin: 40px auto;
  min-height: 400px;      /* reserve space before load */
  background: transparent;
}
.giscus-frame {
  background: transparent;
}
iframe.giscus-frame {
  background-color: transparent;
}

/* ==================== */
/* Footer */
/* ==================== */
footer {
  text-align: center;
  font-size: 0.9rem;
  padding: 20px 0;
  color: #aaa;
  margin-top: 50px;
}
