/* CSS Variables for Freizeitgolf Branding */
:root {
  --primary-color: #023535;
  --primary-dark: #023535;
  --primary-light: #023535;
  --background: #f5f5f5;
  --card-background: #ffffff;
  --text-primary: #023535;
  --text-secondary: #7f8c8d;
  --border-radius: 12px;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 4px 16px rgba(30, 142, 137, 0.2);
  --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  padding: 20px;
}

.container {
  max-width: 680px;
  margin: 0 auto;
  animation: fadeIn 0.6s ease-in;
}

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

/* Header Styles */
.header {
  text-align: center;
  margin-bottom: 40px;
  animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo-container {
  margin-bottom: 20px;
}

.logo {
  width: 200px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  transition: var(--transition);
}

.logo:hover {
  transform: scale(1.05) rotate(5deg);
  box-shadow: var(--shadow-hover);
}

.title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* Links Container */
.links-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Section Styles */
.section {
  background: var(--card-background);
  border-radius: var(--border-radius);
  padding: 25px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.section:hover {
  box-shadow: var(--shadow-hover);
}

.section-title {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
  border-left: 4px solid var(--primary-color);
  padding-left: 12px;
}

.affiliate-note {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 15px;
  font-style: italic;
}

/* Link Button Styles */
.link-button {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 20px;
  margin-bottom: 12px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-light) 100%
  );
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-size: 1.05rem;
  font-weight: 500;
  transition: var(--transition);
  box-shadow: 0 2px 6px rgba(30, 142, 137, 0.15);
  position: relative;
  overflow: hidden;
}

.link-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.link-button:hover::before {
  left: 100%;
}

.link-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(30, 142, 137, 0.3);
}

.link-button:active {
  transform: translateY(-1px);
}

.link-button:last-child {
  margin-bottom: 0;
}

.link-icon {
  font-size: 1.5rem;
  min-width: 30px;
  text-align: center;
}

.link-text {
  flex: 1;
}

/* Affiliate Link Styling */
.link-button.affiliate {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.link-button.affiliate:hover {
  box-shadow: 0 6px 20px rgba(44, 62, 80, 0.3);
}

/* Partner Link Styling */
.link-button.partner {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-color) 100%
  );
}

.link-button.partner:hover {
  box-shadow: 0 6px 20px rgba(22, 105, 99, 0.3);
}

/* Footer Styles */
.footer {
  text-align: center;
  margin-top: 50px;
  padding: 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer a {
  color: var(--text-secondary);
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding: 15px;
  }

  .title {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .logo {
    width: 100px;
    height: 100px;
  }

  .section {
    padding: 20px;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .link-button {
    padding: 14px 18px;
    font-size: 1rem;
  }

  .link-icon {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .title {
    font-size: 1.75rem;
  }

  .subtitle {
    font-size: 0.95rem;
  }

  .logo {
    width: 90px;
    height: 90px;
  }

  .section {
    padding: 18px;
  }

  .link-button {
    padding: 12px 16px;
    font-size: 0.95rem;
    gap: 12px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Print Styles */
@media print {
  body {
    background: white;
  }

  .link-button {
    break-inside: avoid;
  }
}
