/* ============================================================
   MOTIVATIONAL BANNER — PREMIUM HERO SECTION
   ============================================================ */

/* --- Banner Wrapper --- */
.motivational-banner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 5rem 2.5rem 4rem;
    border-radius: 28px;
    overflow: hidden;
    isolation: isolate;

    /* Rich deep-blue mesh background */
    background:
        radial-gradient(ellipse at 20% 50%, rgba(14, 165, 233, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 20%, rgba(99, 102, 241, 0.20) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 90%, rgba(20, 184, 166, 0.15) 0%, transparent 50%),
        linear-gradient(145deg, #0d2a4a 0%, #0a1e38 40%, #0f3460 80%, #0d4a6e 100%);

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* --- Animated Glowing Orbs (Decoration) --- */
.motivational-banner::before,
.motivational-banner::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: orbFloat 8s ease-in-out infinite alternate;
}

.motivational-banner::before {
    width: 420px;
    height: 420px;
    top: -140px;
    right: -80px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(14, 165, 233, 0.08) 50%, transparent 70%);
    animation-duration: 9s;
}

.motivational-banner::after {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -60px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.22) 0%, rgba(79, 70, 229, 0.06) 50%, transparent 70%);
    animation-duration: 12s;
    animation-direction: alternate-reverse;
}

@keyframes orbFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(20px, -20px) scale(1.06);
    }
}

/* --- Inner Grid Pattern Overlay --- */
.motivational-banner .motivational-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    border-radius: 28px;
    z-index: 0;
    pointer-events: none;
}

/* --- Content Layer --- */
.motivational-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

/* --- Icon --- */
.motivational-icon {
    font-size: 2.8rem;
    margin-bottom: 1.25rem;
    display: inline-block;
    animation: iconPulse 3s ease-in-out infinite;
    filter: drop-shadow(0 0 16px rgba(251, 191, 36, 0.6));
    color: #fcd34d;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.5));
    }

    50% {
        transform: scale(1.12) rotate(5deg);
        filter: drop-shadow(0 0 28px rgba(251, 191, 36, 0.9));
    }
}

/* --- Title --- */
.motivational-title {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* --- Gradient Highlight Text --- */
.gradient-text {
    background: linear-gradient(100deg, #38bdf8 0%, #a78bfa 50%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientShift 5s linear infinite alternate;
}

@keyframes gradientShift {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 100% center;
    }
}

/* --- Body Text --- */
.motivational-text {
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 1rem;
    opacity: 0.88;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.motivational-text strong {
    font-weight: 700;
    color: #fcd34d;
    opacity: 1;
}

/* --- Highlight List --- */
.motivational-text.list-items {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.5rem;
    text-align: left;
    max-width: 600px;
}

/* --- CTA Buttons Container --- */
.motivational-cta {
    margin-top: 2.5rem;
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Primary Button (Solid Glow) --- */
.btn-motivational {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 15px 36px;
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
    color: #0d2a4a;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow:
        0 0 0 0 rgba(56, 189, 248, 0),
        0 10px 30px rgba(14, 165, 233, 0.35);
    position: relative;
    overflow: hidden;
}

.btn-motivational::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), transparent 60%);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-motivational:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow:
        0 0 22px 4px rgba(56, 189, 248, 0.4),
        0 18px 40px rgba(14, 165, 233, 0.45);
    color: #0d2a4a;
    text-decoration: none;
}

.btn-motivational:hover::after {
    opacity: 1;
}

/* --- Outline Button (Glass) --- */
.btn-motivational-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 15px 36px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn-motivational-outline:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    color: white;
    text-decoration: none;
}

/* ===================== DARK MODE ===================== */
[data-theme="dark"] .motivational-banner {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(14, 165, 233, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 20%, rgba(99, 102, 241, 0.14) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 90%, rgba(20, 184, 166, 0.10) 0%, transparent 50%),
        linear-gradient(145deg, #050e1a 0%, #060f1c 40%, #071428 80%, #061020 100%);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
    .motivational-banner {
        padding: 3.5rem 1.5rem 3rem;
        border-radius: 20px;
        margin: 0 1rem 3rem;
    }

    .motivational-title {
        font-size: 1.75rem;
    }

    .motivational-text {
        font-size: 0.95rem;
    }

    .motivational-cta {
        flex-direction: column;
        align-items: center;
        gap: 0.875rem;
    }

    .btn-motivational,
    .btn-motivational-outline {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .motivational-banner::before {
        width: 250px;
        height: 250px;
        top: -80px;
        right: -60px;
    }
}

@media (max-width: 480px) {
    .motivational-title {
        font-size: 1.45rem;
    }

    .motivational-icon {
        font-size: 2.2rem;
    }
}