/* Weiterleitungsseite - Gewinnspiel Profi */

:root {
  --primary: #22b573;
  --primary-light: #2dd284;
  --bg-dark: #0a0a0a;
  --text-muted: #b3b3b3;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f1419 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

body::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(34, 181, 115, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(34, 181, 115, 0.06) 0%, transparent 50%);
}

.redirect-container {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  animation: fadeIn 0.5s ease;
}

.redirect-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem;
  animation: pulse 2s ease-in-out infinite;
}

.redirect-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(34, 181, 115, 0.3));
}

.redirect-container h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.redirect-container p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.redirect-hint {
  margin-top: 2rem;
  font-size: 0.875rem;
}

.spinner {
  width: 50px;
  height: 50px;
  margin: 0 auto;
  border: 3px solid rgba(34, 181, 115, 0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.redirect-container a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.redirect-container a:hover {
  color: var(--primary-light);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  .redirect-logo {
    width: 80px;
    height: 80px;
  }

  .redirect-container h1 {
    font-size: 1.5rem;
  }

  .redirect-container p {
    font-size: 1rem;
  }
}
