::-webkit-scrollbar {
    display: none;
}

body {
    background: #0d0d0d;
    color: rgba(240, 240, 240, 0.9);
    text-align: center;
    overflow-x: hidden;
    font-family: 'Ubuntu', sans-serif;
    user-select: none;
}

main {
    width: 95%;
    max-width: 1400px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    flex-wrap: wrap;
}
.container {
    display: flex;
    width: 100%;
}
.telegram-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.booter-list {
    width: 900px;
    height: 340px;
    background: #101010;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    margin: 20px 0;
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    text-align: center;
    overflow-y: auto;
}

.booter-table {
    width: 100%;
    border-collapse: collapse;
    color: #ffffff;
    font-size: 16px;
}

.booter-table th, .booter-table td {
    padding: 6px;
    border-bottom: 1px solid #101010;
}

.booter-table th {
    background-color: #101010;
    color: #ccc;
    font-weight: bold;
    white-space: nowrap;
    text-align: center;
}

.booter-table tbody tr:hover {
    background-color: #111111;
}

.link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.link:hover {
    color: #fff;
}

.booter-table td:nth-child(5), .booter-table td:nth-child(6), .booter-table td:nth-child(7) {
    text-align: center;
}

.fa-star {
    color: #f1c40f;
}

.telegram-container {
    width: 500px;
    height: 125px;
    background: #101010;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.telegram-header {
    display: flex; 
    align-items: center; 
    justify-content: center;
}

.telegram-title {
    color: #ffffff;
    margin: 0 10px;
}

.telegram-icon {
    margin-right: 10px;
}

.telegram-icon i {
    font-size: 32px;
}

.telegram-container p {
    color: #ccc;
    margin: 0;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-container {
    display: flex;
    justify-content: center;
}

.telegram-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 15px;
    background-color: #151515;
    color: #ffffff;
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
    margin-top: 10px;
    transition: background-color 0.3s ease;
    max-width: 120px;
    width: 100%;
}

.telegram-button i {
    margin-right: 5px;
    vertical-align: middle;
    font-size: 1.05em;
}

.telegram-button:hover {
    background-color: #252525;
}

.news-container {
    width: 450px;
    height: 550px;
    background: #101010;
    border-radius: 20px;
    padding: 20px;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    margin: 20px 0;
}

h2 {
    color: #ffffff;
    margin: 0;
}

.divider {
    border: none;
    border-top: 1px solid #303030;
    margin: 10px 0;
}

.news-content {
    display: flex;
    flex-direction: column;
}

.news-item {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #151515;
    border-radius: 10px;
}

.news-title {
    font-weight: 500;
    color: #ffffff;
}

.news-update {
    color: #a0a0a0;
    font-size: 0.9em;
}

.news-content p {
    margin: 5px 0;
    color: #ρρρ;
    text-align: left;
}
.chart-container {
    flex: 1;
    padding: 20px;
    background: #101010;
    border-radius: 20px;
    margin: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}
#chart-container {
    width: 100%;
    height: 100%;
}
.highcharts-axis {
    display: none;
}
.highcharts-yaxis {
    display: none;
}
.highcharts-xAxis {
    display: none;
}
.details-container {
    width: 250px;
    height: 515px;
    padding: 20px;
    background: #101010;
    border-radius: 20px;
    margin: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
}
h2 {
    font-size: 1.5rem;
    text-align: center;
}
.title-description {
    margin: 0;
    padding: 0;
    text-align: center;
}
.title-description h2,
.title-description p {
    margin: 0;
    padding: 4px;
    line-height: 1.1;
}
.description {
    font-size: 1.3rem;
    text-align: center;
}
.details-container p {
    font-size: 1rem;
    margin-bottom: 14px;
}
.details-container a {
    color: #ccc;
    text-decoration: none;
}
header {
    background-color: #101010;
    border-radius: 20px;
    padding: 10px;
    width: 100%;
    max-width: 1400px;
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-header-title {
    font-size: 1.8rem;
    color: #fff;
    flex: 1;
}

.main-buttons-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-grow: 2;
    padding: 5px;
}

.main-button-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-button {
    padding: 13px 28px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background-color: #202020;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.server-selection-container {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: #202020;
    border-radius: 8px;
    padding: 5px;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    transform: translateY(3px);
    border: 1.5px solid #404040;
}

.main-button-container:hover .server-selection-container,
.server-selection-container:hover {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.server-category {
    position: relative;
    padding: 10px 20px;
    font-size: 16px;
    color: #bbb;
    background-color: #202020;
    cursor: pointer;
    margin-bottom: 0;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: left;
}

.server-category:hover {
    background-color: #202020;
    transform: scale(1.05);
}

.server-category:hover .sub-server-container {
    display: flex;
    transform: translateX(0);
    transition: none;
}

.sub-server-container {
    overflow-y: auto;
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    width: 200px;
    max-height: 310px;
    overflow-y: auto;
    flex-direction: column;
    background-color: #202020;
    border-radius: 8px;
    padding: 3px;
    margin-left: 1px;
    z-index: 3;
    scroll-behavior: smooth;
    border: 1.5px solid #404040;
}

.sub-server-container::-webkit-scrollbar {
    display: initial;
    width: 5px;
}

.sub-server-container::-webkit-scrollbar-thumb {
    background-color: #404040;
    border-radius: 8px;
}

.sub-server-container::-webkit-scrollbar-thumb:hover {
    background-color: #505050;
}

.sub-server-container::-webkit-scrollbar-track {
    background: #202020;
    border-radius: 8px;
}

.sub-server-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    font-size: 14px;
    color: #bbb;
    background-color: #202020;
    cursor: pointer;
    margin-bottom: 5px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.sub-server-button img {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.sub-server-button .server-name {
    flex-grow: 1;
    margin-right: 8px;
}

.sub-server-button .number {
    background-color: #303030;
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 9px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.sub-server-button:hover {
    background-color: #282828;
    transform: scale(1.02);
}

canvas {
    width: 100%;
    height: 100%;
}

@media only screen and (min-width: 100px) and (max-width: 1300px) {
    .nav-header-title,
    .telegram-link {
        display: none;
    }
    .title-set-left {
        display: none;
    }
    .main-buttons-container {
        flex-grow: 1;
        justify-content: center;
    }
    .container {
        display: flex;
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        box-sizing: border-box;
    }

    .telegram-wrapper,
    .news-container,
    .booter-list {
        width: 100%;
        margin: 10px 0;
        padding: 20px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .telegram-container {
        width: 100%;
        margin: 20px;
        height: 180px;
        padding: 20px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .booter-list {
        overflow-x: auto;
        width: 600px;
        padding: 0;
        margin: 0;
    }

    .booter-table {
        width: 100%;
        min-width: 800px;
        font-size: 14px;
        border-collapse: collapse;
        color: #ffffff;
    }

    .booter-table th,
    .booter-table td {
        padding: 10px 12px;
        text-align: center;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }

    .booter-table th {
        background-color: #101010;
        color: #ccc;
        font-weight: bold;
    }

    .booter-table td {
        min-width: 0px;
    }

    .booter-table td:nth-child(1) {
        min-width: 0px;
    }

    .booter-table td:nth-child(2) {
        min-width: 0px;
    }

    .booter-table td:nth-child(3) {
        min-width: 0px;
    }

    .booter-table td:nth-child(4) {
        min-width: 0px;
    }

    .booter-table td:nth-child(5),
    .booter-table td:nth-child(6),
    .booter-table td:nth-child(7) {
        min-width: 0px;
    }

    .telegram-button {
        width: 100%;
        max-width: 160px;
        padding: 10px 15px;
    }

    h2 {
        font-size: 1.2em;
        text-align: center;
    }
}