/* Orihime Corner Image Integration CSS */

/* Container for the section with the corner image */
.daw-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 100px 70px;
    overflow: hidden;
}

/* Corner image positioning */
.corner-orihime {
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    z-index: 10;
    opacity: 0.9;
    transition: all 0.6s ease;
}

/* Hover effect for the corner image */
.corner-orihime:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.05);
    filter: drop-shadow(0 10px 30px rgba(255, 107, 53, 0.3));
}

/* Ensure content doesn't overlap with the image */
.content-wrapper {
    max-width: calc(100% - 320px); /* Leave space for the image */
    position: relative;
    z-index: 5;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .corner-orihime {
        width: 500px;
        height: 500px;
        right: 50px;
    }
    
    .content-wrapper {
        max-width: calc(100% - 260px);
    }
}

@media (max-width: 992px) {
    .corner-orihime {
        width: 180px;
        height: 180px;
        right: 20px;
    }
    
    .content-wrapper {
        max-width: calc(100% - 220px);
    }
}

@media (max-width: 768px) {
    /* On mobile, move image to bottom right corner */
    .corner-orihime {
        top: auto;
        bottom: 20px;
        right: 20px;
        width: 120px;
        height: 120px;
        transform: none;
    }
    
    .corner-orihime:hover {
        transform: scale(1.05);
    }
    
    .content-wrapper {
        max-width: 100%;
        padding-bottom: 140px; /* Space for mobile image */
    }
}

@media (max-width: 480px) {
    .corner-orihime {
        width: 100px;
        height: 100px;
        bottom: 15px;
        right: 15px;
    }
    
    .content-wrapper {
        padding-bottom: 120px;
    }
}

/* Animation for entrance effect */
@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(100px);
    }
    to {
        opacity: 0.9;
        transform: translateY(-50%) translateX(0);
    }
}

.corner-orihime {
    animation: slideInFromRight 1s ease-out 0.5s both;
}

/* Optional: Floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
    }
    50% {
        transform: translateY(-50%) translateX(-10px);
    }
}

.corner-orihime.floating {
    animation: slideInFromRight 1s ease-out 0.8s both, float 6s ease-in-out 1.5s infinite;
}

