@import url('https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700');
@import url('https://fonts.googleapis.com/css2?family=Teko:wght@600&display=swap');

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

html,
body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    font-family: 'Ubuntu Mono', sans-serif;
    line-height: 1.6;
    color: white;
    background: #1a1a1a;
    font-size: 16px;
}

a {
    color: #bcd67e;
}

a .highlight-test {
    color: red
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

pre {
    text-align: center;
    font-size: 10px;
    word-wrap: break-word;
    overflow-x: auto;
}

.profile-link {
    color: rgb(176, 208, 250);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar-table {
    width: 100%;
    text-align: left;
    overflow-x: auto;
}

th,
td {
    padding: 10px;
}

.contents-table {
    width: 100%;
    margin: 15px auto;
    border-collapse: collapse;
    overflow-x: auto;
}

.contents-table th,
.contents-table td {
    padding: 8px;
    text-align: left;
    word-wrap: break-word;
}

.contents-table th {
    background-color: #333;
    color: #E086D3;
}

.contents-table tr:nth-child(even) {
    background-color: #2c2c2c;
}

.contents-table tr:nth-child(odd) {
    background-color: #1a1a1a;
}

.search-column {
    text-align: right;
    padding-right: 20px;
}

#search-bar {
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    max-width: 300px;
    box-sizing: border-box;
}

#search-bar::placeholder {
    color: #e18feb;
}

#search-button {
    padding: 5px 10px;
    background-color: rgb(252, 105, 215);
    border: none;
    border-radius: 5px;
    color: black;
    cursor: pointer;
}

#search-button:hover {
    background-color: rgb(224, 94, 192);
}

.profile-container {
    display: flex;
    align-items: center;
}

#profile-pic {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgb(252, 105, 215);
    cursor: pointer;
}

.profile-popup {
    visibility: hidden;
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: #333;
    color: white;
    padding: 10px;
    border-radius: 5px;
    width: 200px;
    z-index: 1;
    text-align: left;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.profile-btn:hover .profile-popup {
    visibility: visible;
    opacity: 1;
}

.profile-popup p {
    margin: 5px 0;
}

.profile-popup button {
    background-color: rgb(252, 105, 215);
    border: none;
    color: black;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
}

.profile-popup button:hover {
    background-color: rgb(224, 94, 192);
}

.profile-info {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin: 20px 0;
    overflow-y: auto;
}

.profile-img {
    border-radius: 10px;
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.profile-details {
    flex-grow: 1;
    min-width: 0;
}

summary {
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

h1 {
    display: inline;
    width: 100px;
    height: 100px;
    text-align: center;
    color: #bcd67e;
    transition: text-shadow 0.5s ease-in-out;
}

h1:hover {
    text-shadow: 0 0 20px #bcd67e, 0 0 20px #bcd67e;
    background: none;
    cursor: default;
    user-select: none;
}

details summary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 5px 0;
}

details summary h2 {
    color: rgb(255, 255, 255);
    transition: color 0.3s ease;
}

details summary h2:hover {
    color: rgb(176, 208, 250);
}

details summary::after {
    content: '►';
    transition: transform 0.2s ease;
    opacity: 0;
}

details summary:hover::after {
    opacity: 1;
}

details[open] summary::after {
    transform: rotate(90deg);
    opacity: 1;
    color: rgb(176, 208, 250);
}

.status-new {
    color: #bcd67e;
}

.status-old {
    color: rgb(176, 208, 250);
}

.discord-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.discord-profile {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 20px;
    width: 340px;
    box-shadow: 0 0 20px #bcd67e,
        0 0 40px #4d5834;
    position: fixed;
    top: 50%;
    left: 50%;
    border: 1px solid #4d5834;
    transform: translate(-50%, -50%);
    animation: discord-fade-in 0.3s ease forwards;
    opacity: 0;
}

.discord-avatar {
    border-radius: 50%;
    box-shadow: 0 0 10px #bcd67e;
}

.discord-username {
    color: #bcd67e;
    color: #bcd67e;
    transition: text-shadow 0.5s ease-in-out
}

.discord-username:hover {
    text-shadow: 0 0 20px #bcd67e, 0 0 20px #bcd67e;
    background: none;
    cursor: default;
    user-select: none;
}

.changelog-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

.changelog-container {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 0 20px #bcd67e,
        0 0 40px #4d5834;
    position: relative;
    margin: 20px auto;
    border: 1px solid #4d5834;
    animation: fade-in 0.3s ease forwards;
    opacity: 0;
}

.changelog-header h2 {
    color: #bcd67e;
    margin-bottom: 20px;
    text-align: center;
}

.changelog-entry {
    margin-bottom: 20px;
    padding: 10px;
    border-bottom: 1px solid #4d5834;
}

.changelog-entry h3 {
    color: rgb(176, 208, 250);
    margin-bottom: 10px;
}

.changelog-entry ul {
    list-style-position: inside;
    padding-left: 20px;
}

.changelog-entry li {
    margin-bottom: 5px;
    color: #ffffff;
}

.changelog-date {
    display: block;
    color: #888;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.easter-egg-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #1a1a1a;
    border-radius: 8px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 0 20px #bcd67e,
        0 0 40px #4d5834;
    border: 1px solid #bcd67e;
    z-index: 2000;
    animation: bounce-in-scale 0.5s ease;
}

.hidden-trigger {
    cursor: pointer;
    display: inline-block;
    transition: transform 0.3s ease;
    user-select: none;
}

.hidden-trigger:hover {
    transform: rotate(180deg);
    color: rgb(176, 208, 250);
}

@media screen and (max-width: 768px) {
    .profile-info {
        flex-direction: column;
        align-items: center;
    }

    .profile-img {
        width: 150px;
        height: 150px;
        margin-bottom: 15px;
    }

    .profile-details {
        width: 100%;
        text-align: left;
    }

    .profile-details p {
        margin-bottom: 10px;
        padding: 0 10px;
    }

    .changelog-container {
        width: 95%;
        max-width: 400px;
        padding: 15px;
        margin: 10px auto;
        font-size: 14px;
    }

    .changelog-header h2 {
        font-size: 1.5em;
        margin-bottom: 15px;
    }

    .changelog-entry {
        padding: 10px 5px;
        margin-bottom: 15px;
    }

    .changelog-entry h3 {
        font-size: 1.1em;
        margin-bottom: 8px;
    }

    .changelog-entry ul {
        padding-left: 15px;
    }

    .changelog-entry li {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 8px;
    }

    .changelog-date {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .changelog-popup-overlay {
        padding: 10px;
    }

    @keyframes fade-in {
        0% {
            opacity: 0;
            transform: scale(0.95);
        }

        100% {
            opacity: 1;
            transform: scale(1);
        }
    }
}

@keyframes bounce-in-scale {
    0% {
        transform: translate(-50%, -50%) scale(0);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes discord-fade-in {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-top: 1px solid #333;
}

.footer-content {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer a {
    cursor: pointer;
    color: #bcd67e;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.mentions-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

.mentions-container {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 0 20px #bcd67e,
        0 0 40px #4d5834;
    position: relative;
    margin: 20px auto;
    border: 1px solid #4d5834;
    animation: fade-in 0.3s ease forwards;
    opacity: 0;
}

.mentions-header h2 {
    color: #bcd67e;
    margin-bottom: 20px;
    text-align: center;
}

.sort-note {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.5);
    margin-top: -15px;
    text-align: center;
}

.mentions-entry {
    margin-bottom: 20px;
    padding: 10px;
    border-bottom: 1px solid #4d5834;
}

.mentions-entry:last-child {
    border-bottom: none;
}

.mentions-entry h3 {
    color: rgb(176, 208, 250);
    margin-bottom: 10px;
}

.mentions-entry p {
    color: #ffffff;
    margin-bottom: 5px;
    line-height: 1.4;
}

.mentions-entry a {
    color: #bcd67e;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mentions-entry a:hover {
    color: rgb(176, 208, 250);
    text-decoration: underline;
}

.mentions-entry strong {
    color: #bcd67e;
    font-weight: normal;
}

.mentions-entry p {
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.4;
    padding-left: 10px;
}

.mentions-entry h3 {
    color: rgb(176, 208, 250);
    margin-bottom: 15px;
    font-size: 1.2em;
}

.mentions-entry p.mention-comment {
    color: #888;
    font-style: italic;
    font-size: 0.9em;
    margin-top: 5px;
    border-left: 2px solid #4d5834;
    padding-left: 15px;
    margin-left: 10px;
}

@media screen and (max-width: 768px) {
    .mentions-container {
        width: 95%;
        max-width: 400px;
        padding: 15px;
        margin: 10px auto;
        font-size: 14px;
    }

    .mentions-header h2 {
        font-size: 1.5em;
        margin-bottom: 15px;
    }

    .mentions-entry {
        padding: 10px 5px;
        margin-bottom: 15px;
    }

    .mentions-entry h3 {
        font-size: 1.1em;
        margin-bottom: 8px;
    }

    .mentions-entry p {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 8px;
    }
}