:root {
  --bg-start: #3d2c5e;
  --bg-end: #2a1f3d;
  --accent-start: #caffbf;
  --accent-end: #9bf6ff;
  --text-color: #cdb4db;
  --card-start: #8ec5fc;
  --card-end: #e0c3fc;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

body {
  font-family: Arial, sans-serif;
  color: var(--text-color);
  background: linear-gradient(to right, var(--bg-start), var(--bg-end));
  min-height: 100vh;
  line-height: 1.6;
}

a:not(.card) {
  color: var(--accent-end);
  text-decoration: none;
}

a:not(.card):not(.nav-button):hover {
  color: var(--accent-start);
  text-decoration: underline;
}

.hero {
  text-align: center;
  padding: 2rem 1rem 2rem;
  animation: fadeIn 1.5s ease-in-out;
}

main {
  padding: 0 1rem 3rem;
}

.panel {
  max-width: 900px;
  margin: 3rem auto;
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}

.panel.visible {
  opacity: 1;
  transform: translateY(0);
}

.panel h2 {
  margin-bottom: 1rem;
}

.footer {
  text-align: center;
  padding: 2rem 0;
}

.footer-logo {
  width: 120px;
  height: auto;
  display: block;
  margin: 0 auto 1.25rem;
}

.footer-logo-link {
  display: inline-flex;
  justify-content: center;
}

.footer-logo-link:focus-visible {
  outline: 3px solid var(--accent-end);
  outline-offset: 6px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.social-link {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #0a66c2;
  color: #ffffff;
  transition: transform 0.2s ease;
}

.social-link:hover {
  transform: translateY(-2px);
}

.social-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
