/* ==========================================================================
   DECLARATION PAGE CSS - JosieVerse Enterprise
   ========================================================================== */

.declaration-banner {
    position: relative;
    padding-top: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 390px;
    overflow: hidden;
    background: linear-gradient(135deg, #090510 0%, #150030 50%, #250048 100%);
}

/* Purple Glow */
.declaration-banner::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    top: -120px;
    right: -100px;
    background: rgba(198, 74, 255, 0.35);
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}

/* Pink Glow */
.declaration-banner::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    bottom: -120px;
    left: -100px;
    background: rgba(255, 70, 170, 0.20);
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.declaration-banner .banner-content {
    position: relative;
    z-index: 2;
    padding: 0 15px;
}

.declaration-banner h1.declaration-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3.0rem);
    font-weight: 400;
    color: #fff;
    line-height: 1.15;
    letter-spacing: 2px;
    max-width: none;
    margin: 0 auto 15px;
    text-align: center;
    text-transform: uppercase;
}

.declaration-banner p.declaration-hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #a8a7c0;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
    text-align: center;
}

/* Floating Stars Animation */
.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #fff;
    border-radius: 50%;
    opacity: .5;
    animation: star-blink 3s infinite;
}

@keyframes star-blink {
    0%, 100% {
        opacity: .2;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

/* Declaration Main Section */
.declaration-section {
    background: #0b0615;
    padding: 80px 0;
    position: relative;
}

.declaration-card {
    background: rgba(18, 11, 35, 0.6);
    border: 1px solid rgba(222, 149, 251, 0.15);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.declaration-card:hover {
    border-color: rgba(222, 149, 251, 0.3);
}

.section-tag {
    display: inline-block;
    color: var(--color-primary, #ef5cc8);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.declaration-card-title {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.declaration-card-text {
    color: var(--color-text-muted, #c0b0d6);
    font-size: 1.05rem;
    line-height: 1.75;
}

.declaration-card-text p {
    margin-bottom: 1.2rem;
}

.declaration-card-text p:last-child {
    margin-bottom: 0;
}

/* Detailed Declaration Column */
.declaration-details {
    color: #fbf2ff;
    font-family: var(--font-body);
}

.declaration-details h2 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.35;
}

.declaration-details p {
    font-size: var(--text-base);
    line-height: 1.8;
       color: #b9b6c8;
    margin-bottom: 1.5rem;
}

.declaration-details p strong {
    color: var(--color-pink, #d77afb);
    font-weight: 600;
    text-shadow: 0 0 8px rgba(215, 122, 251, 0.25);
}

.declaration-details blockquote {
    border-left: 3px solid var(--color-primary, #ef5cc8);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #fff;
    font-size: 1.2rem;
}



.signature-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-primary, #ef5cc8);
    text-shadow: 0 0 10px rgba(239, 92, 200, 0.25);
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .declaration-banner {
        height: 320px;
        padding-top: 60px;
    }
    .declaration-section {
        padding: 60px 0;
    }
    .declaration-card {
        margin-bottom: 2rem;
        padding: 2rem;
    }
    .declaration-details h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .declaration-banner h1.declaration-hero-title {
        font-size: 2.2rem;
    }
}
