

@font-face {
    font-family: 'MyCustomFont';
    src: url('fonts/MyCustomFont.woff2') format('woff2'),
         url('fonts/MyCustomFont.woff') format('woff');
}

body {
    font-family: 'Poppins', sans-serif;
    background: url('/imgs/background/back.webp') no-repeat center center/cover;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}





@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

.button-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    background-color: transparent;
    margin-top: 150px;
    margin-bottom: 250px;
}

.section-title {
    font-size: 60px;
    color: #ffffff;
    margin-bottom: 50px;
    font-family: 'Anton', sans-serif;
    font-weight: 900;
    letter-spacing: -1px;
    margin-top: -30px;
}

.button-box {
    background-color: #333;
    color: #f0f0f0;
    padding: 20px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    transition: background-color 0.3s, transform 0.3s;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid #444;
    user-select: none;
}

.button-box i {
    font-size: 40px;
    margin-bottom: 15px;
}

.button-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    max-width: 800px;
    width: 100%;
}

.button-box:hover {
    background-color: #555;
    transform: translateY(-5px);
}








.download-button {
    display: inline-block;
    background-color: #333;
    color: #f0f0f0;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-family: 'Anton', sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    margin-top: 20px;
    border: 2px solid #444;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    transition: background-color 0.3s, transform 0.3s;
    text-align: center;
}

.download-button:hover {
    background-color: #555;
    transform: translateY(-5px);
}











.patch-note-title {
    font-size: 2rem;
    color: #ffffff;
    font-family: 'Anton', sans-serif;
    font-weight: 900;
    margin-bottom: 50px;
    text-decoration: underline;
    text-underline-offset: 25px;
    text-decoration-thickness: 2px;
    text-decoration-skip-ink: none;
    text-decoration: underline solid #ffffff;
    text-align: center;
}


.patch-note {
    max-width: 850px;
    background: #272727;
    padding: 20px;
    border-radius: 15px;
    border: 2px solid #444;
    line-height: 1.6;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;


    background-color: #272727;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    margin: 150px auto;
    border: 2px solid #444;
    
}

#patch-note h2 {
    font-size: 1.6rem;
    color: #ffffff;
    font-family: 'Anton', sans-serif;
    font-weight: 900;
    margin-bottom: 30px;
}

#oldPatchNotesContainer {
    height: 500px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #555;
    border-radius: 10px;
    background: #333;
}

#oldPatchNotesContainer::-webkit-scrollbar {
    width: 12px;
}

#oldPatchNotesContainer::-webkit-scrollbar-track {
    background: #444;
    border-radius: 10px;
}

#oldPatchNotesContainer::-webkit-scrollbar-thumb {
    background: #666;
    border-radius: 10px;
    transition: background 0.3s;
}

#oldPatchNotesContainer::-webkit-scrollbar-thumb:hover {
    background: #888;
}

#oldPatchNotes {
    margin-top: 20px;
    background: #333;
    padding: 20px;
    border-radius: 10px;
    color: #ddd;
}


.version {
    font-size: 1.2rem; 
    color: #f0f0f0;
    font-weight: bold;
}

#oldPatchNotes h4 {
    font-size: 1.5rem;
    text-align: center;
    color: #f0f0f0;
    margin: 0;
    margin-top: -5px;
    margin-bottom: 30px;
}

.patch-note h3 {
    font-size: 1rem;
    color: #ddd;
    margin: 20px 0 10px;
}

.patch-note h5, #oldPatchNotes h5 {
    font-size: 1rem;
    margin-top: 30px;
    margin-bottom: 10px;
}

.patch-note ul, #oldPatchNotes ul {
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 20px;
}

.patch-note ul li, #oldPatchNotes ul li {
    margin-bottom: 10px;
    font-weight: bold;
}

.patch-note p {
    font-size: 0.875rem;
    color: #ccc;
    font-weight: bold;
    margin-top: 10px;
}

.patch-note a {
    color: #a5d6a7;
    text-decoration: underline;
    transition: color 0.3s;
}

#patchDate {
    font-size: 1.0rem;
    font-weight: bold;
    padding: 10px;
    border: 1px solid #555;
    border-radius: 5px;
    background: #333;
    color: #eee;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
    margin-bottom: 20px;
}

#patchDate:focus {
    outline: none;
    border-color: #777;
    background-color: #444;
}

#patchnote {
    scroll-margin-top: 50px;
}










#report-bug {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #272727;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    max-width: 850px;
    margin: 150px auto;
    border: 2px solid #444;
    user-select: none;
}

#report-bug h2 {
    font-size: 2rem;
    color: #ffffff;
    font-family: 'Anton', sans-serif;
    font-weight: 900;
    margin-bottom: 50px;
    text-decoration: underline;
    text-underline-offset: 25px;
    text-decoration-thickness: 2px;
    text-decoration-skip-ink: none;
    text-decoration: underline solid #ffffff;
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 20px;
}

#report-bug label, span {
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
}

fieldset {
    border: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

legend {
    font-size: 1.5rem;
    color: #ffffff;
    font-family: 'Anton', sans-serif;
    font-weight: 900;
    margin-bottom: 15px;
}

label {
    font-size: 1.1rem;
    color: #f0f0f0;
    margin-bottom: 5px;
}

input[type="text"],
textarea,
input[type="file"],
button[type="submit"] {
    background-color: #333;
    color: #f0f0f0;
    border: 2px solid #444;
    border-radius: 10px;
    padding: 10px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

button[type="submit"] {
    padding: 20px;
    font-size: 1.2rem;
    font-family: 'Anton', sans-serif;
    font-weight: 900;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

button[type="submit"]:hover {
    background-color: #555;
    transform: translateY(-5px);
}

.file-label {
    display: inline-block;
    background-color: #333;
    color: #fff;
    padding: 15px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    border: 2px solid #444;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 94.3%; 
}

.file-label-text {
    display: block;
    margin: 0;
}

input[type="file"] {
    display: none;
}

.file-label:hover {
    background-color: #444;
    border-color: #555;
}

.file-label {
    display: flex;
    align-items: center;
}

.file-label-text {
    margin-right: 10px;
}

.file-name {
    margin-left: 10px;
    font-style: italic;
    color: #ffffff;
}

#report-bug {
    scroll-margin-top: 50px;
}





#status-section {
    max-width: 890px;
    min-height: 300px;
    margin: 0 auto 70px;
    background-color: #272727;
    padding: 20px;
    border-radius: 15px;
    border: 2px solid #444;
    color: #fff;
    line-height: 1.6;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    text-align: center;
}

#status-section h1 {
    font-size: 2rem;
    color: #ffffff;
    font-family: 'Anton', sans-serif;
    font-weight: 900;
    margin-bottom: 30px;
    text-decoration: underline solid #ffffff;
    text-underline-offset: 10px;
    text-decoration-thickness: 2px;
    text-decoration-skip-ink: none;
}

#status {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

#status-indicator {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: red;
    margin-right: 20px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#status-indicator.online {
    background-color: green;
    box-shadow: 0 0 12px rgba(0, 255, 0, 0.6);
}

#status-indicator.offline {
    background-color: red;
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.6);
}

#status-text {
    font-size: 1.4rem;
    color: #f0f0f0;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    font-size: 30px;
}

#info-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 50px;
    box-sizing: border-box;

}

#left-info, #right-info {
    flex: 1;
    min-width: 0;
    text-align: left;
    padding: 0 20px;
    font-size: 20px;

}

#right-info {
    margin-left: 100px;
}

#left-info div, #right-info div {
    font-size: 1.1rem;
    color: #ddd;
    font-weight: bold;
    margin-bottom: 10px;
    white-space: nowrap;

    font-size: 22px;

}


.swal2-popup {
    background: #333;
    color: #fff;
}

.swal2-title {
    color: #fff;
}

.swal2-content {
    color: #fff;
}

.swal2-confirm-btn,
.swal2-cancel-btn {
    background: #333;
    color: #fff;
}

.swal2-confirm-btn:hover,
.swal2-cancel-btn:hover {
    background: #444;
}



