* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body, html {
  height: 100%;
  overflow: hidden;
}

.background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(8px) brightness(0.5);
  transform: scale(1.05);
  z-index: -1;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: #fff;
  padding: 20px;
}

h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

p.bio {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
}

.socials {
  display: flex;
  gap: 20px;
}

.socials a {
  font-size: 2rem;
  transition: transform 0.3s ease;
  position: relative;
  display: inline-block;
  width: 2rem;
  height: 2rem;
}

.socials a:hover {
  transform: scale(1.0);
}

.twitter i {
  color: #fff;
  transition: color 0.3s ease;
}

.twitter:hover i {
  color: #1DA1F2;
}

.github i {
  color: #fff;
  transition: color 0.3s ease;
}

.github:hover i {
  color: #333;
}

.discord i {
  color: #fff;
  transition: color 0.3s ease;
}

.discord:hover i {
  color: #7289DA;
}

.instagram {
  position: relative;
  display: inline-block;
}

.instagram span {
  position: absolute;
  top: 6.3px;
  left: 6px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.instagram .icon-white i {
  color: #fff;
  font-size: inherit;
  transition: opacity 0.5s ease;
}

.instagram .icon-gradient i {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-size: inherit;
  transition: opacity 0.5s ease;
  opacity: 0;
}

.instagram:hover .icon-white i {
  opacity: 0;
}

.instagram:hover .icon-gradient i {
  opacity: 1;
}

#page-404 {
    background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
    color: #e0e0e0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

#page-404 .card {
    background-color: #1e1e1e;
    padding: 40px 60px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

#page-404 h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

#page-404 p {
    font-size: 1.2em;
    margin: 10px 0;
    color: #b0b0b0;
}

#page-404 .countdown {
    font-weight: bold;
    color: #ffcc00;
    margin-top: 10px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

