/* About Page Specific Styles */

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--neon-purple);
    text-decoration: none;
    margin-bottom: 30px;
    padding: 10px 20px;
    border: 1px solid var(--neon-purple);
    transition: all 0.3s ease;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.back-link:hover {
    background: rgba(184, 41, 255, 0.1);
    box-shadow: 0 0 20px rgba(184, 41, 255, 0.3);
    transform: translateX(-5px);
}

.back-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.back-link:hover .back-arrow {
    transform: translateX(-5px);
}

.page-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 900;
    letter-spacing: 0.15em;
    margin: 20px 0;
    text-align: center;
    text-shadow: 
        0 0 10px var(--neon-purple),
        0 0 20px var(--neon-purple),
        0 0 40px var(--neon-pink);
}

.title-underline {
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--neon-purple), var(--neon-pink), var(--neon-purple), transparent);
    margin: 20px auto 40px;
    box-shadow: 0 0 10px rgba(184, 41, 255, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; box-shadow: 0 0 20px rgba(184, 41, 255, 0.8); }
}

/* About Content */
.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Profile Section */
.profile-section {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    padding: 40px;
    background: var(--card-bg);
    border: 1px solid rgba(184, 41, 255, 0.3);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.profile-image-container {
    position: relative;
    max-width: 350px;
    margin: 0 auto;
}

.image-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border: 2px solid var(--neon-purple);
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
    box-shadow: 
        0 0 20px rgba(184, 41, 255, 0.4),
        inset 0 0 30px rgba(184, 41, 255, 0.1);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.95) contrast(1.1);
    transition: transform 0.6s ease, filter 0.6s ease;
}

.profile-section:hover .profile-image {
    transform: scale(1.05);
    filter: brightness(1.05) contrast(1.15);
}

.image-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(184, 41, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.profile-section:hover .image-glow {
    opacity: 1;
}

.profile-corners {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    pointer-events: none;
}

.corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--neon-pink);
}

.corner.top-left {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.corner.top-right {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
}

.corner.bottom-left {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
}

.corner.bottom-right {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.profile-info {
    padding: 20px;
}

.profile-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    color: var(--text-primary);
    text-shadow: 0 0 15px rgba(184, 41, 255, 0.5);
}

.profile-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    color: var(--neon-purple);
    margin-bottom: 25px;
    text-transform: uppercase;
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--neon-purple);
    color: var(--neon-purple);
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--neon-purple);
    color: white;
    box-shadow: 0 0 15px rgba(184, 41, 255, 0.5);
    transform: translateY(-2px);
}

/* Section Styles */
.bio-section,
.skills-section,
.contact-section {
    margin-bottom: 60px;
    padding: 40px;
    background: var(--card-bg);
    border: 1px solid rgba(184, 41, 255, 0.2);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
    animation: fadeInUp 0.8s ease-out backwards;
}

.bio-section { animation-delay: 0.2s; }
.skills-section { animation-delay: 0.3s; }
.contact-section { animation-delay: 0.4s; }

.section-header {
    margin-bottom: 30px;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--text-primary);
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(184, 41, 255, 0.3);
}

.header-line {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink));
    box-shadow: 0 0 10px rgba(184, 41, 255, 0.5);
}

/* Bio Content */
.bio-content {
    line-height: 1.8;
}

.bio-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.bio-text:last-child {
    margin-bottom: 0;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.skill-category {
    padding: 25px;
    background: rgba(10, 10, 15, 0.5);
    border: 1px solid rgba(184, 41, 255, 0.3);
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    transition: all 0.4s ease;
}

.skill-category:hover {
    border-color: var(--neon-pink);
    box-shadow: 0 5px 30px rgba(184, 41, 255, 0.3);
    transform: translateY(-5px);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(184, 41, 255, 0.5));
}

.category-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--neon-purple);
    margin-bottom: 15px;
}

.skill-list {
    list-style: none;
    padding: 0;
}

.skill-list li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.skill-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--neon-purple);
    font-weight: bold;
}

/* Contact Content */
.contact-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: rgba(10, 10, 15, 0.5);
    border: 2px solid rgba(184, 41, 255, 0.3);
    text-decoration: none;
    transition: all 0.4s ease;
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

.contact-link:hover {
    border-color: var(--neon-pink);
    box-shadow: 0 5px 30px rgba(184, 41, 255, 0.4);
    transform: translateX(10px);
}

.link-icon {
    font-size: 2rem;
    min-width: 50px;
    text-align: center;
    filter: drop-shadow(0 0 10px rgba(184, 41, 255, 0.5));
}

.link-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.link-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--neon-purple);
    text-transform: uppercase;
}

.link-value {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.link-arrow {
    font-size: 1.5rem;
    color: var(--neon-purple);
    transition: transform 0.3s ease;
}

.contact-link:hover .link-arrow {
    transform: translateX(10px);
}

/* Responsive Design */
@media (max-width: 968px) {
    .profile-section {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .profile-tags {
        justify-content: center;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .profile-section,
    .bio-section,
    .skills-section,
    .contact-section {
        padding: 25px;
    }

    .page-title {
        font-size: 3rem;
    }

    .profile-name {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .bio-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .back-link {
        font-size: 0.8rem;
        padding: 8px 15px;
    }

    .contact-link {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .link-arrow {
        display: none;
    }
}
