* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  background: url("./src/assets/nyc-background.jpg") no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.container {
  width: 100%;
  max-width: 400px;
  position: relative;
  z-index: 1;
}

.card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

h1 {
  color: #ffffff;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 30px;
}

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

.link-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 10px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  font-size: 15px;
  transform: translateY(0);
  box-shadow: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.linkedin {
  background: linear-gradient(135deg, #0077b5 0%, #00a0dc 100%);
}

.github {
  background: linear-gradient(135deg, #333 0%, #24292e 100%);
}

.medium {
  background: linear-gradient(135deg, #00ab6c 0%, #00a672 100%);
}

.credly {
  background: linear-gradient(135deg, #1e88e5 0%, #1976d2 100%);
}

.link-button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
  .link-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }

  .linkedin:hover {
    background: linear-gradient(135deg, #006699 0%, #0090c0 100%);
  }

  .github:hover {
    background: linear-gradient(135deg, #444 0%, #34393e 100%);
  }

  .medium:hover {
    background: linear-gradient(135deg, #009960 0%, #009568 100%);
  }

  .credly:hover {
    background: linear-gradient(135deg, #1a78d5 0%, #1566c2 100%);
  }
}

@media (hover: none) {
  .link-button:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  }
}

@media (max-width: 480px) {
  .card {
    padding: 30px 20px;
  }

  h1 {
    font-size: 20px;
  }
}
