:root {
    --font-main: 'Archivo Black', sans-serif;
    --font-heading: 'Almendra Display', serif;
    --background: white;
    --color: #232333;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/bg.png');
    background-size: cover;
    background-position: center;
    
    /* Effects */
    filter: blur(50px);
    opacity: 0.75; /* Keeps it subtle */
    
    /* Mobile Fixes */
    transform: scale(1.1); 
    will-change: transform; 
    z-index: -1;
}

/* 1. Reset & Base Styles */
body {
    background-color: var(--background);
    color: var(--color);
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    display: flex;
    min-height: 100vh;
    min-width: 100vw;
    flex-direction: column;
}

/* 2. Layout Containers */
.container, .content {
    display: flex;
    flex-direction: column;
    flex: 1 auto;
    align-items: center;
    justify-content: center;
}

#links {
    max-width: 90%;
    width: 350px;
    margin: 27px auto;
}

/* 3. Header & Footer */
#userPhoto {
    width: 96px;
    height: 96px;
    display: block;
    margin: 35px auto 20px;
    border-radius: 50%;
    border: solid var(--color) 2px;
}

#userName {
    display:block;
    width:100%;
    font-family: var(--font-heading) !important;
    -webkit-text-stroke: 1px var(--color); 
    text-stroke: 0.4px var(--color);
    font-size: 2rem;
    font-weight: 400;
    text-align: center;
    text-decoration: none;
    line-height: 1.25;
    color: var(--color);
}

footer {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 400;
    padding-bottom: 20px;
}

/* 4. Link Buttons */
.link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 17px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 5px;
    border: solid var(--color) 2px;
    text-decoration: none;
    color: var(--color);
    word-wrap: break-word;
    transition: transform 0.1s ease;
}

.link:hover {
    transform: scale(1.02);
}

.link-text {
    flex-grow: 1;
    text-align: right;
}

/* 5. Icons & Spacers (Merged redundancies here) */
.link-icon, .link-spacer {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.link-spacer{
    display:none;
}

.link-icon svg {
    width: 100% !important;
    height: auto !important;
    max-height: 100%;
}

/* 6. Theming */
@media (prefers-color-scheme: dark) {
    :root {
        --background: #202124;
        --color: white;
    }
}
