* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Instrument Sans', sans-serif;
    height: 100%;
}

html.light-mode {
    filter: invert(1) hue-rotate(180deg);
}

body {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

.center-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
}

.content {
    max-width: 600px;
    text-align: left;
}

h1 {
    font-size: 34px;
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    margin: 0;
    color: #ffffff;
    text-align: center;
}



.pill-btn {
    background-color: #111111;
    color: #ffffff;
    border: 1.5px solid #ffffff;
    border-radius: 0;
    padding: 7.5px 15px;
    font-size: 10.5px;
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.pill-btn:hover {
    transform: translateX(-50%) scale(1.05);
    opacity: 0.9;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
}

.popup-wrapper {
    position: relative;
    width: min(400px, calc(100vw - 120px));
    height: 500px;
    display: flex;
}

.popup-squircle {
    background-color: #111111;
    border-radius: 0;
    border: 1.5px solid #ffffff;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    scroll-behavior: smooth;

    -ms-overflow-style: none;
    scrollbar-width: none;
}


.popup-squircle::-webkit-scrollbar {
    display: none;
}

.close-btn {
    position: absolute;
    top: 22px;
    right: -56px;
    background-color: #111111;
    border: 1.5px solid #ffffff;
    color: #ffffff;
    cursor: pointer;
    z-index: 20;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.close-btn:hover {
    background-color: #222222;
}

.socials-list {
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid #2a2a2a;
    gap: 8px;
}

.social-item:first-child {
    padding-top: 0;
}

.social-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.social-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.social-name {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #ffffff;
}

.social-link {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 12px;
    color: #cccccc;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.social-link:hover {
    text-decoration: underline;
    color: #ffffff;
}

.social-link svg {
    width: 12px;
    height: 12px;
}

.no-results {
    text-align: center;
    color: #888888;
    padding: 40px 0;
    font-size: 14px;
}