@font-face {
  font-family: 'Zalando Sans Expanded';
  src: url('/assets/fonts/ZalandoSansExpanded-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Zalando Sans Expanded';
  src: url('/assets/fonts/ZalandoSansExpanded-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Zalando Sans Expanded';
  src: url('/assets/fonts/ZalandoSansExpanded-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

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

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

html {
  height: 100%;
}

/* Index / landing page — fixed-viewport centering, no scroll */
.index-page {
  height: 100%;
  overflow: hidden;
  font-family: 'Zalando Sans Expanded', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: #bf1e2e;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  gap: 20px;
}

.index-page .logo-container {
  opacity: 0;
  animation: smoothSlideIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  text-align: center;
}

.index-page .logo-container img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

@keyframes smoothSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.index-page .text-content {
  text-align: center;
  color: white;
  opacity: 0;
  animation: smoothSlideIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
  width: 100%;
  max-width: 390px;
  margin-top: 16px;
}

.index-page .subtitle {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
  line-height: 1.4;
}

.index-page .description {
  font-size: 13px;
  font-weight: 400;
  opacity: 0.95;
  padding-inline: 20px;
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.index-page .links-container {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  animation: smoothSlideIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

.index-page .link-button {
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, #00c853d5 0%, #00e676 100%);
  border: 1px solid rgb(159, 255, 208);
  border-radius: 12px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: block;
}

.index-page .link-button.secondary {
  background: linear-gradient(135deg, #8b1220 0%, #a01428 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.index-page .link-button.secondary:hover {
  background: linear-gradient(135deg, #9b1525 0%, #b01630 100%);
}

.index-page .link-button.secondary::before {
  display: none;
}

.index-page .link-button span {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.index-page .link-button i {
  font-size: 18px;
}

.index-page .link-button::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  animation: shimmer 3s infinite;
  z-index: 1;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.index-page .link-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.index-page .link-button:active {
  transform: translateY(0);
}

@media (max-width: 600px) {
  .index-page {
    gap: 15px;
    padding: 15px;
  }

  .index-page .logo-container {
    max-width: 260px;
  }

  .index-page .subtitle {
    font-size: 19px;
  }

  .index-page .description {
    font-size: 12px;
    padding-inline: 30px;
  }

  .index-page .links-container {
    max-width: 100%;
    gap: 12px;
  }

  .index-page .link-button {
    padding: 15px 20px;
    font-size: 15px;
  }

  .index-page .link-button i {
    font-size: 16px;
  }
}

@media (max-height: 700px) {
  .index-page {
    gap: 12px;
  }

  .index-page .logo-container {
    max-width: 240px;
  }

  .index-page .subtitle {
    font-size: 18px;
  }

  .index-page .description {
    font-size: 11px;
    padding-bottom: 5px;
  }

  .index-page .links-container {
    gap: 10px;
  }

  .index-page .link-button {
    padding: 13px 20px;
    font-size: 14px;
  }

  .index-page .link-button i {
    font-size: 15px;
  }
}
