.about-section {
    min-height: 100vh;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
}

.about-blur {
    height: 0;
    width: 40rem;
    position: absolute;
    top: 30%;
    left: -10%;
    box-shadow: 0 0 800px 20px #5300a0;
    rotate: 45deg;
    z-index: -1;
    opacity: 0.3;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-text {
    flex: 1;
    max-width: 600px;
}

.about-text h2 {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #e7e7e7, #a7a7a7, #5300a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(83, 0, 160, 0.5);
}

.about-text p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #b7b7b7;
    margin-bottom: 2rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 600px;
}

.skill-card {
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.9), rgba(20, 20, 20, 0.95));
    border: 1.5px solid rgba(83, 0, 160, 0.3);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(83, 0, 160, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.skill-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(83, 0, 160, 0.4), 0 0 20px rgba(83, 0, 160, 0.2);
    border-color: #7f42a7;
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.skill-card p {
    font-size: 0.95rem;
    color: #c7c7c7;
    line-height: 1.6;
    font-weight: 400;
}

.about-3d {
    flex: 1;
    position: relative;
    height: 600px;
    perspective: 1000px;
}

.profile-image {
    position: absolute;
    top: -5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #5300a0;
    box-shadow: 0 0 30px rgba(83, 0, 160, 0.6);
    animation: profileFloat 4s ease-in-out infinite;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

@keyframes profileFloat {
    0%, 100% {
        transform: translateX(-50%) translateY(0px);
    }
    50% {
        transform: translateX(-50%) translateY(-15px);
    }
}


.central-3d-object {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    transform-style: preserve-3d;
    animation: rotate3d 20s linear infinite;
}

.cube-face {
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(83, 0, 160, 0.3);
    border: 2px solid #5300a0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.cube-face.front { transform: rotateY(0deg) translateZ(100px); }
.cube-face.back { transform: rotateY(180deg) translateZ(100px); }
.cube-face.right { transform: rotateY(90deg) translateZ(100px); }
.cube-face.left { transform: rotateY(-90deg) translateZ(100px); }
.cube-face.top { transform: rotateX(90deg) translateZ(100px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(100px); }

@keyframes rotate3d {
    0% {
        transform: translate(-50%, -50%) rotateX(0deg) rotateY(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotateX(360deg) rotateY(360deg);
    }
}

@media (max-width: 1300px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-text h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .about-content {
        padding: 0 1rem;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .skill-card {
        padding: 1.5rem 1rem;
    }

    .skill-card h3 {
        font-size: 1.1rem;
    }

    .skill-card p {
        font-size: 0.85rem;
    }

    .about-3d {
        height: 400px;
    }

    .profile-image {
        width: 150px;
        height: 150px;
        top: -5%;
    }

    .central-3d-object {
        width: 150px;
        height: 150px;
        top: 65%;
    }

    .cube-face {
        width: 150px;
        height: 150px;
        font-size: 1rem;
    }

    .cube-face.front { transform: rotateY(0deg) translateZ(75px); }
    .cube-face.back { transform: rotateY(180deg) translateZ(75px); }
    .cube-face.right { transform: rotateY(90deg) translateZ(75px); }
    .cube-face.left { transform: rotateY(-90deg) translateZ(75px); }
    .cube-face.top { transform: rotateX(90deg) translateZ(75px); }
    .cube-face.bottom { transform: rotateX(-90deg) translateZ(75px); }
}

