:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --button-bg: #ffffff;
    --button-text: #000000;
    --button-hover: #f0f0f0;
    --accent-glow: rgba(255, 255, 255, 0.15);
    --font-family: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-family);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Subtle background gradient/glow */
.background-effect {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 150vw;
    height: 150vw;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
    opacity: 0.6;
}

.container {
    width: 100%;
    max-width: 680px;
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh; /* Ensure footer pushes down or stays at bottom if content is short */
}

/* Header Section */
.profile-header {
    text-align: center;
    margin-bottom: 2.5rem;
    width: 100%;
}

.profile-image-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.brand-bio {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 300;
    max-width: 80%;
    margin: 0 auto;
    line-height: 1.5;
}

/* Links Section */
.links-stack {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.link-button {
    display: flex;
    align-items: center;
    justify-content: center; /* Center content */
    position: relative;
    width: 100%;
    background-color: var(--button-bg);
    color: var(--button-text);
    text-decoration: none;
    padding: 1.1rem 1.5rem;
    border-radius: 9999px; /* Pill shape */
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.link-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.15); /* Glow effect on hover */
    background-color: var(--button-hover);
}

.link-button:active {
    transform: scale(0.98);
}

/* Icon positioning */
.icon {
    position: absolute;
    left: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.label {
    flex-grow: 1;
    text-align: center;
}

/* Footer Section */
.footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    opacity: 0.8;
}

.footer-logo {
    width: 40px;
    height: auto;
    /* Try to invert if it is black on white, to make it white on black */
    /* If the logo is already suitable, this might not be needed, but usually JPEGs are not transparent */
    border-radius: 6px; 
    filter: invert(1) grayscale(1); /* Assuming black logo on white bg -> makes it white on black */
    opacity: 0.7;
}

.footer p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.profile-header { animation: fadeIn 0.8s ease-out; }
.links-stack { animation: fadeIn 1s ease-out 0.2s backwards; }
.footer { animation: fadeIn 1.2s ease-out 0.4s backwards; }

/* Responsive Adjustments */
@media (max-width: 480px) {
    .container {
        padding: 2rem 1rem;
    }
    
    .brand-title {
        font-size: 1.5rem;
    }
    
    .link-button {
        padding: 1rem;
    }

    .icon {
        left: 1.25rem;
        /* On very small screens, maybe hide icon or adjust, but 1.25rem is fine */
    }
}
