body {
  background-image: url('img/bgtex.png');
  background-size: 256px 256px;
  background-repeat: repeat;
  image-rendering: pixelated;
  margin: 0;
  font-family: 'Tiny5', monospace;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 32px;
}

.logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 24px;
  image-rendering: pixelated;
  background: rgba(200, 200, 200, 0.7);
  padding: 8px;
  box-sizing: border-box;
  cursor: pointer;
  transition: transform 0.1s ease;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

.logo.jostle {
  animation: jostle 0.3s ease-in-out infinite;
}

@keyframes jostle {
  0% { transform: translateX(0) rotate(0); }
  25% { transform: translateX(-4px) rotate(-1deg); }
  50% { transform: translateX(0) rotate(0); }
  75% { transform: translateX(4px) rotate(1deg); }
  100% { transform: translateX(0) rotate(0); }
}

.container {
  width: 90%;
  background: rgba(34, 34, 34, 0.97);
  border: 4px solid #fff;
  padding: 32px;
  max-width: 720px;
}

.title {
  color: #fff;
  font-size: 24px;
  margin: 0 0 24px 0;
  text-align: center;
  font-weight: normal;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nav-link {
  display: block;
  background: #444;
  color: #fff;
  text-decoration: none;
  padding: 16px;
  border: 2px solid #666;
  font-size: 14px;
  text-align: center;
  transition: background 0.1s;
}

.nav-link:hover {
  background: #555;
}

.social-links {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.social-link {
  flex: 1;
  display: block;
  background: #333;
  color: #fff;
  text-decoration: none;
  padding: 12px;
  border: 2px solid #555;
  font-size: 12px;
  text-align: center;
  transition: background 0.1s;
}

.social-link:hover {
  background: #444;
}

/* Responsive breakpoints */
@media (min-width: 480px) {
  .logo {
    width: 96px;
    height: 96px;
  }

  .title {
    font-size: 28px;
  }

  .nav-link {
    font-size: 16px;
  }

  .social-link {
    font-size: 13px;
  }
}

@media (min-width: 768px) {
  .logo {
    width: 112px;
    height: 112px;
  }

  .container {
    width: 80%;
  }

  .title {
    font-size: 32px;
  }

  .nav-link {
    font-size: 18px;
  }

  .social-link {
    font-size: 14px;
  }
}

@media (min-width: 1024px) {
  .logo {
    width: 128px;
    height: 128px;
  }

  .container {
    width: 70%;
  }

  .title {
    font-size: 36px;
  }

  .nav-link {
    font-size: 20px;
  }

  .social-link {
    font-size: 15px;
  }
}

@media (min-width: 1200px) {
  .logo {
    width: 144px;
    height: 144px;
  }

  .container {
    width: 60%;
  }

  .title {
    font-size: 40px;
  }

  .nav-link {
    font-size: 22px;
  }

  .social-link {
    font-size: 16px;
  }
}
