/* --- 🌈 VIBE & COLORS --- */
:root {
    --color-background: #fefefe; 
    --color-primary: #ffb6c1;    /* Soft Pink/Coral */
    --color-secondary: #aed6f1;  /* Soft Blue/Mint */
    --color-text: #333333;       
    --color-accent: #ff6b6b;     
    --pixel-border: 2px solid var(--color-secondary);
    --button-bg: var(--color-secondary); 
    --button-hover: var(--color-primary); 
}

/* --- 📐 BASE STYLES --- */
body {
    font-family: 'Arial', sans-serif;
    /* The soft, dreamy gradient background! */
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 50%, #f7f3fa 100%); 
    color: var(--color-text);
    margin: 0;
    padding: 20px;
    line-height: 1.6;
    box-shadow: 0 0 15px rgba(173, 214, 241, 0.5); /* Soft blue glow */
}

/* --- 🎀 HEADER STYLES --- */
.main-header {
    text-align: center;
    padding: 20px 0;
    border-bottom: var(--pixel-border);
    margin-bottom: 30px;
}

.main-header h1 {
    color: var(--color-primary);
    font-size: 2.5em;
    text-shadow: 3px 3px 0px var(--color-secondary); 
    margin: 0;
}

.main-header p {
    color: var(--color-secondary);
    font-size: 1.1em;
}

/* --- 🖼️ PROFILE CARD: Focused Portrait Frame --- */
.profile-card {
    /* Define the portrait frame */
    width: 200px;           
    height: 250px;          
    border: 6px solid var(--color-primary);
    border-radius: 18px;
    background-color: #fffafb; 
    box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto;        /* Center the card perfectly! */
}

.profile-card img {
    /* Ensures the image fills the portrait space nicely */
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- 🔗 PROJECTS SECTION (Link Buttons) --- */
.project-links {
    margin-top: 40px; /* Adds space between the profile and the links */
    text-align: center;
}

.project-links h2 {
    color: var(--color-primary);
    font-size: 1.8em;
    margin-bottom: 25px;
    border-bottom: var(--pixel-border);
    padding-bottom: 10px;
}

.links-container {
    display: flex;
    flex-direction: column; 
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.link-button {
    display: block;
    text-decoration: none;
    background-color: var(--button-bg); 
    color: var(--color-text);
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
    border: var(--pixel-border); 
}

/* ✨ THE CONTINUOUS PULSE EFFECT! ✨ */
.link-button:hover {
    background-color: var(--button-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 107, 107, 0.7);
}

/* Animation Definition */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05); /* Slightly bigger in the middle! */
    }
    100% {
        transform: scale(1);
    }
}

/* --- 🦶 FOOTER STYLES --- */
.main-footer {
    text-align: center;
    margin-top: 50px;
    padding: 15px;
    border-top: var(--pixel-border);
    font-size: 0.9em;
    color: #666;
}
