/* Globale Button-Stile */
.ak-kids-button {
  padding: 0.6rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ak-kids-button--primary {
  background-color: var(--primary-color, #FF6B6B);
  color: white;
  border: 1px solid var(--primary-color, #FF6B6B);
}

.ak-kids-button--primary:hover {
  background-color: #FF8787;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.ak-kids-button--secondary {
  background-color: #e0e0e0;
  color: #333;
  border: 1px solid #ccc;
}

.ak-kids-button--secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.ak-kids-button--premium {
  background: linear-gradient(135deg, #f6d365, #fda085);
  color: white;
  border: 1px solid #fda085;
}

.ak-kids-button--premium:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.button-icon {
  margin-right: 0.3rem;
  font-size: 1.1em;
}

/* Premium Upgrade Button */
.upgrade-link {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color, #FF6B6B) 0%, #FFD700 100%);
  color: white !important;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
  text-align: center;
  animation: pulse 2s infinite;
}

.upgrade-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

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

/* Plan-Status-Stil */
.plan-status {
  background: var(--primary-color, #FF6B6B);
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  font-size: 0.8rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: bold;
}

/* Sicherstellen, dass der Button in der Upgrade-Seite konsistent aussieht */
.ak-kids-button--premium.upgrade-link {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color, #FF6B6B) 0%, #FFD700 100%);
    color: white !important;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    animation: pulse 2s infinite;
}

/* Verbesserter "Geschichte generieren"-Button */
#generateButton.ak-kids-button--primary {
    display: block;
    width: 80%;
    max-width: 400px;
    margin: 2rem auto;
    padding: 1rem 1.5rem;
    font-size: 1.25rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-color, #FF6B6B) 60%, #FF9E80 100%);
    color: white;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
}

#generateButton.ak-kids-button--primary:before {
    content: "";
    position: absolute;
    top: -10%;
    left: -210%;
    width: 200%;
    height: 200%;
    opacity: 0;
    transform: rotate(30deg);
    background: rgba(255, 255, 255, 0.13);
    background: linear-gradient(
        to right, 
        rgba(255, 255, 255, 0.13) 0%,
        rgba(255, 255, 255, 0.13) 77%,
        rgba(255, 255, 255, 0.5) 92%,
        rgba(255, 255, 255, 0.0) 100%
    );
}

#generateButton.ak-kids-button--primary:hover:before {
    opacity: 1;
    left: -30%;
    transition: all 0.7s ease;
}

#generateButton.ak-kids-button--primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 7px 20px rgba(255, 107, 107, 0.5);
}

#generateButton.ak-kids-button--primary:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(255, 107, 107, 0.5);
}