/* Base Reset & Styling */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #0a0a0a; /* 90% black, no saturation */
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.086) 0%, rgba(0, 0, 0, 0.98) 100%);
    color: #f8fafc;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 40px 20px;
}

a,
a:visited {
    color: #7dd3fc;
    text-decoration: underline;
}

a:hover,
a:focus {
    color: #38bdf8;
}

body::before {
    content: "";
    position: fixed;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background-image: url("img/InVrLogoStacked.png");
    background-size: 80px 80px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.01;
    transform: rotate(10deg);
    transform-origin: center;
    pointer-events: none;
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

/* Profile Container */
.hub-container {
    width: 100%;
    max-width: 480px;
    text-align: center;
    margin: 0 auto;
}

.intro-block {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.title-link {
    display: inline-block;
    margin-bottom: 16px;
}

/* Profile Header */
.profile-img {
    width: auto;
    height: 96px;
    border-radius: 0;
    object-fit: contain;
    border: none;
    display: block;
    margin: 0 auto 16px;
}

.big-profile-img {
    width: 100%;
    max-width: 630px;
    height: auto;
    display: block;
    border-radius: 24px;
    margin: 0 auto;
}

.profile-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.profile-bio {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 32px;
    line-height: 1.5;
}

.tos-content ul {
    list-style-position: inside;
    padding-left: 0;
    margin-left: 0;
}

.tos-content li {
    margin-left: 0.75rem;
    padding-left: 0.25rem;
    line-height: 1.7;
}

.tos-section {
    padding-bottom: 30px;
}

/* Links List */
.links-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

/* Interactive Button Links */
.link-card {
    display: block;
    background-color: #2b252f;
    color: #f8fafc;
    text-decoration: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 1.25rem;
    font-weight: 600;
    border: 1px solid #ebebeb;
    transition: all 0.2s ease-in-out;
}

/* Hover and Focus States */
.link-card:hover {
    background-color: #dddddd;
    color: #212123;
    transform: translateY(-2px);
    border-color: #e8eaea;
    box-shadow: 0 10px 15px -3px rgba(116, 115, 118, 0.2);
}

.link-card:active {
    transform: translateY(0);
}

@media (max-width: 767px) {
    .image-column {
        display: none;
    }
}

@media (min-width: 768px) {
    body {
        align-items: center;
        padding: 40px 24px;
        align-items: flex-start;
    }

    .hub-container {
        max-width: 1100px;
        text-align: left;
    }

    .intro-block {
        margin-bottom: 32px;
    }

    .profile-img {
        height: 140px;
        margin: 0 0 20px;
    }

    .hero-text {
        max-width: 720px;
    }

    .profile-name {
        margin-bottom: 10px;
        font-size: 1.5rem;
    }

    .profile-bio {
        margin-bottom: 0;
        font-size: 1rem;
        max-width: 620px;
    }

    .content-columns {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        max-width: 800px;
        margin: 0 auto;
        gap: 0;
        position: relative;
    }

    .image-column {
        flex: 1 1 auto;
        min-width: 0;
        display: flex;
        justify-content: center;
        align-items: stretch;
        min-height: 200%;
        height: 200%;
    }

    .links-column {
        min-width: 330px;
        text-align: center;
    }

    .links-column-home {
        flex: 0 0 min(300px, 42vw);
        max-width: 300px;
        margin-left: clamp(-290px, -8vw, -120px);
        position: relative;
        z-index: 2;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .links-wrapper {
        gap: 12px;
    }

    .link-card {
        padding: 14px 16px;
    }
}

