:root {
    /* Colors */
    --bg-color: #1a1a1a;
    --text-color: #ffffff;
    --dim-text: #888888;
    --grid-line: #333333;

    /* Accent: Blue */
    --accent-color: #2323FF;

    /* Typography */
    --font-stack: 'Roboto Mono', monospace;

    /* Layout */
    --container-width: 720px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-stack);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Container */
.layout-container {
    width: 100%;
    max-width: var(--container-width);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem; /* Reasonable spacing between elements */
}

/* Header */
header {
    text-align: left;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0; /* Add bottom margin to separate from subtitle */
    line-height: 0.9;
    letter-spacing: -2px;
    text-transform: lowercase;

    /* Ensure no linebreaks and fluid scaling */
    white-space: nowrap;
}

.subtitle {
    margin: 0;
    font-size: 0.9rem;
    color: var(--dim-text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem; /* Spacing between buttons */
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-links li {
    display: flex;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* Space between text and icon */
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 400;
    font-size: 1rem;
    border: 1px solid transparent; /* Prepare for potential border states */
    transition: all 0.1s ease-out; /* Fast, crisp transition */
}

.link-text {
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-icon {
    width: 20px;
    height: 20px;
    fill: var(--text-color);
    transition: fill 0.1s ease-out;
}

/* Hover Effects: Bold, Digital, NOT Blurry */
.social-links a:hover {
    background-color: var(--accent-color); /* Neon Pink Background */
    color: #FFFFFF; /* White Text for max contrast */
    transform: translateY(-2px); /* Slight lift */
    box-shadow: 4px 4px 0 #000; /* Hard shadow for 'pop' */
}

.social-links a:hover .social-icon {
    fill: #FFFFFF; /* Icon turns black */
}

/* Content Placeholder */
main {
    min-height: 100px;
}

.placeholder-text {
    opacity: 0.1;
    font-size: 2rem;
    margin: 0;
    font-weight: 700;
    color: var(--dim-text);
}

/* Footer */
footer {
    margin-top: auto;
    font-size: 0.75rem;
    color: var(--dim-text);
    text-align: left;
    border-top: 1px solid var(--grid-line); /* Simple line above copyright */
    padding-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Large Screens (Desktop) */
@media (min-width: 1024px) {
    .layout-container {
        max-width: 1000px; /* Widen container for massive text */
    }

    h1 {
        font-size: 5rem; /* Bigger on desktop */
    }
    .subtitle {
        font-size: 1.2rem; /* Bigger on desktop */
    }
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .layout-container {
        padding: 1.5rem; /* Reduced padding for more space */
    }

    h1 {
        /* Fluid typography to ensure it never breaks even on 320px */
        /* 8.5vw ensures it fits within 320px - 2*1.5rem padding */
        font-size: 8.5vw;
    }

    .social-links {
        flex-direction: column;
        align-items: stretch; /* Stretch to fill container */
        gap: 1rem;
    }

    .social-links a {
        padding: 0.75rem 0; /* More tappable area */
        width: 100%;
        justify-content: center; /* Beautifully centered */
    }

    .social-links a:hover {
        padding-left: 0; /* Remove the indent shift from previous version */
        transform: none; /* No lift on touch typically */
        box-shadow: none;

        /* Mobile "Squircle" polished look */
        border-radius: 12px;
    }
}
