/* 1. Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: linear-gradient(135deg, #262525 0%, #1a1a1a 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 20px;
    gap: 60px; /* More space between cards */
}

.backbutton a{
    position: absolute;
    top: 20px;
    left: 20px;
    color: #000000;
    font-size: 1.2rem;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 8px;

}
/* 2. The Alternating Card Layout */
.dev-profile {
    width: 100%;
    display: flex;
    justify-content: center;
}

.main-container {
    display: flex;
    align-items: center;
    gap: 60px;
    
    /* Glassmorphism (The "Clear" look) */
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    
    /* Interesting Border: Subtle gradient */
    border: 1px solid rgba(252, 0, 0, 0.3);
    border-radius: 24px;
    
    max-width: 1000px;
    width: 100%;
    padding: 60px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

/* Flip every second card to keep it interesting */
.dev-profile:nth-child(even) .main-container {
    flex-direction: row-reverse;
}

/* 3. Hover Effects */
.main-container:hover {
    transform: scale(1.02);
    border-color: #fc0000;
    background: rgba(252, 0, 0, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(252, 0, 0, 0.1);
}

/* 4. Image Styling - More Character */
.image-area img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 20px;
    border: 3px solid #fc0000;
    box-shadow: 10px 10px 0px rgba(252, 0, 0, 0.2); /* Offset shadow for style */
    transition: 0.3s;
}

.main-container:hover .image-area img {
    transform: rotate(-3deg) scale(1.05);
    box-shadow: 15px 15px 0px rgba(252, 0, 0, 0.4);
}

/* 5. Text Styling */
.tag {
    color: #fc0000;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    display: inline-block;
}

h1 {
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

p {
    font-size: 1.1rem;
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* 6. Social Bar Glow */
.social-bar {
    display: flex;
    gap: 30px;
}

.social-bar a {
    color: #ffffff;
    font-size: 1.6rem;
    transition: 0.3s;
}

.social-bar a:hover {
    color: #fc0000;
    text-shadow: 0 0 10px #fc0000;
    transform: translateY(-5px);
}

/* Mobile: Stack normally */
@media (max-width: 900px) {
    .main-container, .dev-profile:nth-child(even) .main-container {
        flex-direction: column;
        text-align: center;
        padding: 40px;
        gap: 30px;
    }
    .image-area img {
        width: 200px;
        height: 200px;
    }
}