/* Oh-Was-Ist-Los Screen CSS für die SEO-Day Website */

/* Hero Section */
.unsubscribe-hero-section {
    background: var(--color-background);
    color: var(--color-text-primary);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    font-family: var(--font-family-primary);
}

.unsubscribe-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(229, 62, 62, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(237, 137, 54, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(44, 82, 130, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.unsubscribe-hero-content-wrapper {
    font-family: var(--font-family-primary);
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--color-glass-border);
    border-radius: 2rem;
    padding: 2rem;
    box-shadow: 0 8px 32px var(--color-glass-shadow);
}

.base-headline-h1-oh-was-ist-los-hero {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    font-family: var(--font-family-primary);
    margin: 0 0 1.5rem 0;
    text-shadow: 0 2px 4px var(--color-shadow-light);
    color: var(--color-danger);
}

.unsubscribe-subtitle-text {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-normal);
    font-family: var(--font-family-primary);
    margin: 0;
    color: var(--color-text-white);
    opacity: 1;
    line-height: var(--line-height-relaxed);
}

/* Feedback Section */
.unsubscribe-feedback-section {
    padding: 4rem 0;
    background: var(--color-background);
    position: relative;
    font-family: var(--font-family-primary);
}

.unsubscribe-feedback-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(26, 54, 93, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(229, 62, 62, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.unsubscribe-wrapper {
    font-family: var(--font-family-primary);
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

/* Cat Container */
.unsubscribe-cat-container {
    text-align: center;
    margin-bottom: 2rem;
}

.unsubscribe-cat-svg {
    max-width: 250px;
    height: auto;
    animation: screen-oh-was-ist-los-float 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px var(--color-shadow));
}

@keyframes screen-oh-was-ist-los-float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.unsubscribe-cat-svg:hover {
    animation-play-state: paused;
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Form Section */
.unsubscribe-form-wrapper {
    font-family: var(--font-family-primary);
    width: 100%;
    max-width: 700px;
    background: var(--color-glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--color-glass-border);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 8px 32px var(--color-glass-shadow);
}

.unsubscribe-form-title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    font-family: var(--font-family-primary);
    margin: 0 0 0.5rem 0;
    text-align: center;
    color: var(--color-text-white);
}

.unsubscribe-form-description {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    font-family: var(--font-family-primary);
    margin: 0 0 2rem 0;
    text-align: center;
    color: var(--color-text-white);
    opacity: 0.9;
}

.screen-oh-was-ist-los-form-label {
    color: var(--color-text-white);
    font-weight: var(--font-weight-medium);
    margin-bottom: 0.75rem;
}

/* Form Fields */
.unsubscribe-form-feedback-group {
    margin-bottom: 2rem;
}

/* Textarea-Styling: .screen-oh-was-ist-los-feedback-textarea in widgets-forms.css */

.screen-oh-was-ist-los-character-counter {
    text-align: right;
    font-size: var(--font-size-small);
    color: var(--color-text-secondary);
    margin-top: 0.5rem;
}

.screen-oh-was-ist-los-character-counter.screen-oh-was-ist-los-counter-warning {
    color: var(--color-warning);
}

.screen-oh-was-ist-los-character-counter.screen-oh-was-ist-los-counter-danger {
    color: var(--color-danger);
}

.screen-oh-was-ist-los-field-invalid {
    border-color: var(--color-danger);
    box-shadow: 0 0 10px var(--color-danger-bg-transparent);
}

.screen-oh-was-ist-los-form-error {
    color: var(--color-danger);
    font-size: var(--font-size-small);
    margin-top: 5px;
    display: block;
}

.screen-oh-was-ist-los-hidden-error {
    display: none;
}

/* Submit Button */
.unsubscribe-submit-button {
    width: 100%;
    font-size: var(--font-size-lg);
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--color-danger) 0%, var(--color-danger-hover) 100%);
    border: none;
    border-radius: 0.5rem;
    color: var(--color-text-white);
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    transition: all 0.3s ease;
}

.unsubscribe-submit-button:hover {
    background: linear-gradient(135deg, var(--color-danger-hover) 0%, var(--color-danger) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px var(--color-danger-bg-transparent);
}

.unsubscribe-submit-button:active {
    transform: translateY(0);
}

.unsubscribe-submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Responsive Design (mobile-first, min-width) */
@media (min-width: 1024px) {
    .unsubscribe-hero-section {
        padding: 6rem 0;
    }

    .unsubscribe-hero-content-wrapper {
        padding: 3rem;
    }

    .base-headline-h1-oh-was-ist-los-hero {
        font-size: var(--font-size-5xl);
    }

    .unsubscribe-subtitle-text {
        font-size: var(--font-size-xl);
    }

    .unsubscribe-cat-svg {
        max-width: 300px;
    }

    .unsubscribe-form-wrapper {
        padding: 2.5rem;
    }

    .unsubscribe-wrapper {
        gap: 3rem;
    }
}

/* Loading State */
.unsubscribe-submit-button.loading {
    position: relative;
    color: transparent;
}

.unsubscribe-submit-button.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-text-white);
    border-top-color: transparent;
    border-radius: 50%;
    animation: screen-oh-was-ist-los-spin 0.6s linear infinite;
}

@keyframes screen-oh-was-ist-los-spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}
