:root {
  --bg-gradient: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  --card: rgba(30, 30, 30, 0.85);
  --text: #e0e0e0;
  --accent: #00bcd4;
  --hover: #00acc1;
  --glow: 0 0 10px rgba(0, 188, 212, 0.6);
}

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

html,
body {
  background-color: #000;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg-gradient);
  background-size: 400% 400%;
  animation: gradientShift 20s ease infinite;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
  text-align: center;
}

main {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

body::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  max-width: 100vw;
  max-height: 100vh;
  background: radial-gradient(circle, rgba(0, 188, 212, 0.2) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

h1 {
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #00e5ff, #80d8ff, #b3e5fc);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 2.8rem);
}

h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: clamp(1.4rem, 4vw, 2rem);
}

p {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 2rem;
  max-width: 400px;
  text-align: center;
}

section {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 2rem auto;
}

.link-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.link {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: var(--text);
  text-decoration: none;
  padding: 1.2rem 1.5rem;
  margin: 0.75rem 0;
  border-radius: 14px;
  width: 100%;
  max-width: 700px;
  text-align: center;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link:hover {
  background-color: var(--hover);
  transform: scale(1.03);
  box-shadow: var(--glow);
}

.link.link-return {
  background: rgba(30, 30, 30, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  font-weight: 500;
}

.link.link-return:hover {
  background: rgba(50, 50, 50, 0.5);
  transform: scale(1.03);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
}

@media (max-width: 500px) {
  .link {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }

  main {
    padding: 1.5rem;
  }
}

.link-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

footer {
  text-align: center;
  font-size: 0.8em;
  color: #888;
  margin-top: 2rem;
  padding: 1rem 0;
  line-height: 1.6;
  font-family: 'Inter', 'Segoe UI', sans-serif;
}

footer a {
  color: #888;
  text-decoration: none;
  border-bottom: 1px dotted #888;
  transition: color 0.2s ease, border-bottom 0.2s ease;
}

footer a:hover {
  color: #555;
  border-bottom: 1px solid #555;
}

footer strong {
  font-weight: 500;
}

footer small {
  display: block;
  margin-top: 0.5rem;
  color: #888;
}