/* =====================================================================
   MuseBox / /videosGen promo CTA
   ---------------------------------------------------------------------
   Rendered by public/html_parts/videogen_cta.php on public/home.php,
   between the page <h1> and the category filter row.

   Plain CSS on purpose: the Tailwind bundle in public/css/style.css is
   pre-compiled and this project has no build step, so a brand-new
   utility class would never make it into the stylesheet. Anything that
   needs styling goes here instead.

   Colours come from the existing palette:
     accent        #8358ff   (Tailwind `bg-accent`)
     accent-dark   #7444ff   (Tailwind `hover:bg-accent-dark`)
     accent-lighter #b9a0ff  (Tailwind `bg-accent-lighter`)
     jacarta-700   #131740   (Tailwind `bg-jacarta-700`)
   ===================================================================== */

.videogen-cta {
    position: relative;
    overflow: hidden;
    max-width: 960px;
    margin: 0 auto 1.75rem;
    border-radius: 1.25rem;
    padding: 1.5rem 1.75rem;
    background:
        radial-gradient(circle at 12% 20%, rgba(131, 88, 255, 0.28) 0%, transparent 48%),
        radial-gradient(circle at 88% 85%, rgba(116, 68, 255, 0.22) 0%, transparent 52%),
        linear-gradient(135deg, #1a1f4e 0%, #131740 100%);
    border: 1px solid rgba(185, 160, 255, 0.35);
    box-shadow: 0 18px 48px rgba(19, 23, 64, 0.35);
}

/* Soft accent glow along the bottom edge. */
.videogen-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 50% 125%, rgba(131, 88, 255, 0.28) 0%, transparent 55%);
}

/* Keep the content above the decorative layer. */
.videogen-cta > * {
    position: relative;
    z-index: 1;
}

.videogen-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
}

.videogen-cta-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #ffffff;
    background: linear-gradient(135deg, #8358ff 0%, #7444ff 100%);
    box-shadow: 0 10px 26px rgba(131, 88, 255, 0.45);
}

.videogen-cta-text {
    flex: 1;
    min-width: 240px;
}

/* "NEW" pill. */
.videogen-cta-badge {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #ff4d8d 0%, #f43f5e 100%);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1.4;
    box-shadow: 0 6px 16px rgba(244, 63, 94, 0.4);
}

.videogen-cta-title {
    font-family: 'Rubik', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0.5rem 0 0;
    line-height: 1.25;
}

.videogen-cta-subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.92rem;
    margin: 0.3rem 0 0;
    max-width: 62ch;
}

.videogen-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    padding: 0.85rem 1.6rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #8358ff 0%, #7444ff 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(131, 88, 255, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.videogen-cta-button:hover,
.videogen-cta-button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(131, 88, 255, 0.65);
    color: #ffffff;
}

@media (max-width: 600px) {
    .videogen-cta {
        padding: 1.25rem 1.1rem;
    }

    .videogen-cta-icon {
        width: 48px;
        height: 48px;
        font-size: 1.35rem;
    }

    .videogen-cta-title {
        font-size: 1.15rem;
    }

    .videogen-cta-button {
        width: 100%;
        justify-content: center;
    }
}
