@php $settings = $section->settings ?? []; $title = $settings['title'] ?? 'Ready to grow your revenue?'; $subtitle = $settings['subtitle'] ?? 'Join thousands of creators selling their digital items today.'; $alignment = $settings['alignment'] ?? 'center'; // Animation Settings $animType = $settings['anim_type'] ?? 'zoom-in'; $animDuration = $settings['anim_duration'] ?? '0.8s'; $animDelay = $settings['anim_delay'] ?? '0s'; $paddingTop = $settings['padding_top'] ?? '60px'; $paddingBottom = $settings['padding_bottom'] ?? '60px'; $bgColor = $settings['bg_color'] ?? 'transparent'; $alignClass = [ 'left' => 'text-left', 'center' => 'text-center mx-auto', 'right' => 'text-right ml-auto', ][$alignment] ?? 'text-center mx-auto'; $flexAlign = [ 'left' => 'justify-start', 'center' => 'justify-center', 'right' => 'justify-end', ][$alignment] ?? 'justify-center'; @endphp @php $ptStyle = "padding-top: $paddingTop;"; $pbStyle = "padding-bottom: $paddingBottom;"; $bgStyle = $bgColor !== 'transparent' ? "background-color: $bgColor;" : ''; @endphp
{{-- Refined Background Effects --}}