﻿/* Màu Gradient và Hiệu ứng chữ */
.text-gradient {
    background: linear-gradient(45deg, #ff477e, #ff8fa3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section Sparkles */
.about-hero {
    position: relative;
    padding: 100px 0 60px;
    overflow: hidden;
}

.sparkle {
    position: absolute;
    background: var(--primary);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    filter: blur(2px);
    animation: blink 2s infinite alternate;
}

    .sparkle.one {
        top: 10%;
        left: 20%;
        width: 15px;
        height: 15px;
        opacity: 0.3;
    }

    .sparkle.two {
        top: 40%;
        right: 15%;
        width: 10px;
        height: 10px;
        animation-delay: 0.5s;
    }

    .sparkle.three {
        bottom: 20%;
        left: 10%;
        animation-delay: 1s;
    }

@keyframes blink {
    from {
        transform: scale(0.5);
        opacity: 0.2;
        filter: brightness(1);
    }

    to {
        transform: scale(1.5);
        opacity: 0.8;
        filter: brightness(1.5);
        box-shadow: 0 0 15px var(--primary);
    }
}

/* Hình ảnh và Blob */
.about-img-wrapper {
    position: relative;
    display: inline-block;
}

.rounded-custom {
    border-radius: 40px 100px 40px 40px;
}

.blob-bg {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background: var(--soft-pink);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: -1;
    animation: blobMove 8s infinite ease-in-out;
}

@keyframes blobMove {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    50% {
        border-radius: 50% 50% 30% 70% / 50% 60% 40% 50%;
    }
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 35px;
    transition: 0.4s;
}

    .glass-card:hover {
        background: white;
        transform: translateY(-10px);
        box-shadow: var(--shadow-hover);
    }

.icon-circle {
    width: 60px;
    height: 60px;
    background: var(--soft-pink);
    color: var(--primary);
    display: grid;
    place-items: center;
    font-size: 24px;
    border-radius: 50%;
    margin: 0 auto;
}

/* CTA Section */
.cta-about {
    background: linear-gradient(135deg, #ff477e 0%, #ff8fa3 100%);
}

.text-white-50 {
    color: rgba(255,255,255,0.8) !important;
}
/* Container chứa mưa hoa */
#flower-rain-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Để không cản trở việc click vào nội dung */
    z-index: 1; /* Nằm dưới các nút bấm nhưng trên nền */
    overflow: hidden;
}

/* Style cho từng cánh hoa */
.petal {
    position: absolute;
    background-color: #ffdae0; /* Màu hồng cánh hoa */
    border-radius: 150% 0 150% 0; /* Dáng cánh hoa */
    opacity: 0.7;
    pointer-events: none;
    z-index: 1;
    animation: fall linear forwards;
}

/* Hiệu ứng rơi dập dìu và xoay */
@keyframes fall {
    0% {
        transform: translate(0, -10px) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    90% {
        opacity: 0.8;
    }

    100% {
        /* Rơi xuống hết màn hình và lệch sang ngang một chút */
        transform: translate(100px, 110vh) rotate(720deg);
        opacity: 0;
    }
}