/* file: /css/storybot-creator-teaser-style.css */

/**
 * StoryBot Creator Teaser — themed picker panel.
 */

.storybot-teaser-panel {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
    background: var(--gng-card);
    border: 1px solid var(--gng-border);
    border-radius: var(--gng-radius-lg, 22px);
    padding: clamp(24px, 4vw, 44px);
    box-shadow: var(--gng-shadow);
}

.storybot-teaser-title {
    font-family: var(--gng-font-title, "Quicksand", sans-serif);
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--gng-text);
    margin: 0 0 12px;
}

.storybot-teaser-text {
    color: var(--gng-text-muted);
    font-size: 1.02rem;
    line-height: 1.65;
    margin: 0 0 18px;
}

.storybot-teaser-bunny {
    display: block;
    max-width: 220px;
    width: 70%;
    height: auto;
    margin: 0 auto;
}

.storybot-teaser-card {
    background: var(--gng-surface-alt, var(--gng-bg-deep));
    border: 1px solid var(--gng-border);
    border-radius: var(--gng-radius-lg, 22px);
    padding: clamp(20px, 3vw, 32px);
}

.storybot-teaser-form fieldset {
    border: none;
    margin: 0 0 18px;
    padding: 0;
}

.storybot-teaser-label {
    display: block;
    font-family: var(--gng-font-title, "Quicksand", sans-serif);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--gng-text);
    margin: 0 0 10px;
}

.storybot-teaser-hero-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.storybot-teaser-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    margin: 0;
}

.storybot-teaser-hero input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.storybot-teaser-hero-circle {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 22px;
    border: 3px solid transparent;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.storybot-teaser-hero-circle--rose     { background: rgba(201, 93, 133, 0.18); color: #e08aaa; }
.storybot-teaser-hero-circle--sky      { background: rgba(77, 118, 184, 0.18); color: #8eb0e0; }
.storybot-teaser-hero-circle--gold     { background: var(--gng-accent-soft); color: var(--gng-accent); }
.storybot-teaser-hero-circle--lavender { background: var(--gng-lavender-soft); color: var(--gng-lavender-deep); }

.storybot-teaser-hero:hover .storybot-teaser-hero-circle {
    transform: translateY(-2px);
}

.storybot-teaser-hero input[type="radio"]:checked + .storybot-teaser-hero-circle {
    border-color: var(--gng-accent);
    box-shadow: 0 0 0 4px var(--gng-accent-soft);
}

.storybot-teaser-hero input[type="radio"]:focus-visible + .storybot-teaser-hero-circle {
    outline: 2px solid var(--gng-accent);
    outline-offset: 2px;
}

.storybot-teaser-hero-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gng-text);
}

.storybot-teaser-selects {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 20px;
}

.storybot-teaser-select-group select {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1.5px solid var(--gng-border);
    border-radius: var(--gng-radius, 16px);
    background-color: var(--gng-card);
    color: var(--gng-text);
    font-family: var(--gng-font-body, "Open Sans", sans-serif);
    font-size: 0.95rem;
    cursor: pointer;
}

.storybot-teaser-select-group select:hover,
.storybot-teaser-select-group select:focus {
    border-color: var(--gng-accent);
    outline: none;
}

.storybot-teaser-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    height: 52px;
    border: none;
    border-radius: var(--gng-radius-pill, 999px);
    background: var(--gng-accent);
    color: var(--gng-on-accent, #2a2410);
    font-family: var(--gng-font-title, "Quicksand", sans-serif);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: var(--gng-shadow-soft);
}

.storybot-teaser-submit:hover {
    background: var(--gng-accent-hover);
}

@media (max-width: 900px) {
    .storybot-teaser-panel {
        grid-template-columns: 1fr;
    }

    .storybot-teaser-copy {
        text-align: center;
    }

    .storybot-teaser-bunny {
        max-width: 170px;
    }

    .storybot-teaser-selects {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .storybot-teaser-hero-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .storybot-teaser-hero-circle {
        width: 52px;
        height: 52px;
    }
}
