:root {
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #e6af61, #a87e5b);
    --gradient-secondary: linear-gradient(45deg, #3f4244, #2c2c2c);
    --gradient-light: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 250, 0.8));
}

.skincare-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 20px 20px;
    background: linear-gradient(135deg, #e6af61 0%, #ffffff 50%, #a87e5b 100%);
    position: relative;
    overflow: hidden;
}

.skincare-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(187, 35, 37, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Left Side - Image with Animation */
.animation-container {
    perspective: 1000px;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.image-container {
    position: relative;
    width: 450px;
    height: 500px;
    transform: rotateY(5deg) rotateX(2deg);
    animation: float 6s ease-in-out infinite;
    will-change: transform;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: var(--shadow-hover);
    transition: all 0.5s ease;
    will-change: transform;
}

.image-container:hover .main-image {
    transform: scale(1.05);
    box-shadow: 0 30px 60px rgba(187, 35, 37, 0.2);
}

.image-container::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background: var(--gradient-primary);
    border-radius: 40px;
    z-index: -1;
    opacity: 0.1;
    animation: shimmer 4s ease-in-out infinite;
}

.image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    border-radius: 30px;
    pointer-events: none;
}

.floating-bubble {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 107, 109, 0.2), rgba(187, 35, 37, 0.15));
    backdrop-filter: blur(5px);
    animation: bubble-float 8s ease-in-out infinite;
    will-change: transform, opacity;
}

.bubble-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 20%;
    animation-delay: -2s;
}

.bubble-2 {
    width: 120px;
    height: 120px;
    top: 70%;
    right: 10%;
    animation-delay: -4s;
}

.bubble-3 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 10%;
    animation-delay: -6s;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: particle-float 12s linear infinite;
    will-change: transform, opacity;
}

/* Right Side - Content */
.content-container {
    padding: 40px 0;
}

.section-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    animation: slideInRight 1s ease-out;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    animation: slideInRight 1s ease-out 0.2s both;
}

.main-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.12rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
    animation: slideInRight 1s ease-out 0.4s both;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 40px 0;
}

.feature-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(187, 35, 37, 0.1);
    transition: all 0.3s ease;
    animation: slideInUp 1s ease-out 0.6s both;
}

.feature-item:nth-child(2) {
    animation-delay: 0.7s;
}

.feature-item:nth-child(3) {
    animation-delay: 0.8s;
}

.feature-item:nth-child(4) {
    animation-delay: 0.9s;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    background: rgba(255, 255, 255, 0.95);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 24px;
    color: white;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

.cta-section {
    margin-top: 40px;
    animation: slideInUp 1s ease-out 1s both;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    background: var(--gradient-primary);
    color: white;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    margin-right: 20px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.cta-button-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: var(--secondary-color);
    padding: 18px 35px;
    border: 2px solid var(--secondary-color);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-button-secondary:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

/* Animations */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: rotateY(5deg) rotateX(2deg) translateY(0px);
    }

    50% {
        transform: rotateY(5deg) rotateX(2deg) translateY(-8px);
    }
}

@keyframes shimmer {

    0%,
    100% {
        opacity: 0.05;
        transform: scale(0.98);
    }

    50% {
        opacity: 0.15;
        transform: scale(1.01);
    }
}

@keyframes bubble-float {

    0%,
    100% {
        transform: translateY(0px) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translateY(-20px) scale(1.1);
        opacity: 1;
    }
}

@keyframes particle-float {
    0% {
        transform: translateY(0px) translateX(0px);
        opacity: 0;
    }

    20% {
        opacity: 0.8;
    }

    80% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-80px) translateX(30px);
        opacity: 0;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        gap: 60px;
    }

    .main-title {
        font-size: 3rem;
    }
}

@media (max-width: 968px) {
    .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .animation-container {
        height: 400px;
    }

    .image-container {
        width: 350px;
        height: 400px;
    }

    .main-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .feature-item{
        text-align: left;
    }

    .main-title {
        font-size: 2rem;
    }

    .cta-button,
    .cta-button-secondary {
        display: block;
        margin: 10px 0;
        text-align: center;
    }
}

@media (max-width: 500px) {
    .subtitle{
        font-size: 0.9rem;
    }
}

/* Generate particles */
.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 20%;
    animation-delay: -2s;
}

.particle:nth-child(3) {
    left: 30%;
    animation-delay: -4s;
}

.particle:nth-child(4) {
    left: 40%;
    animation-delay: -6s;
}

.particle:nth-child(5) {
    left: 50%;
    animation-delay: -8s;
}

.particle:nth-child(6) {
    left: 60%;
    animation-delay: -10s;
}

.particle:nth-child(7) {
    left: 70%;
    animation-delay: -12s;
}

.particle:nth-child(8) {
    left: 80%;
    animation-delay: -14s;
}