::-webkit-scrollbar {
    display: none;
}

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

body {
    background: #09090b;
    color: rgba(240, 240, 240, 0.9);
    text-align: center;
    overflow-x: hidden;
    font-family: 'Ubuntu', sans-serif;
    user-select: none;
    display: flex;
    flex-direction: column;
}

.server-divider {
    border-top: 1px solid #555;
    margin: 0 0 4px 0;
}

main {
    width: 100%;
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    flex: 1;
}

.container {
    display: flex;
    width: 100%;
}
.telegram-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.booter-list {
    width: 100%;
    border-right: 1px solid #27272a;
    border-bottom: 1px solid #27272a;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    max-height: calc(100vh - 200px);
    background: transparent;
}

.booter-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}

.booter-table th,
.booter-table td {
    padding: 10px;
    text-align: center;
    white-space: nowrap;
}

.booter-table th {
    border-bottom: 1px solid #27272a;
    color: #fff;
    position: relative;
    z-index: auto !important;
}

.booter-table td {
    color: #ccc;
    border-bottom: 1px solid #27272a;
}

.booter-table tbody tr:last-child td {
    border-bottom: none;
}

.booter-table tbody tr:hover {
    background-color: #111111;
}

.booter-table thead th {
    position: sticky;
    top: 0;
    background: #09090b;
    z-index: 2;
}

.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;
}

.fa-fire {
    color: #FB9F32;
}

.telegram-container {
    width: 100%;
    border-right: 1px solid #27272a;
    border-bottom: 1px solid #27272a;
    box-sizing: border-box;
    padding: 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: transparent;
}

.telegram-header {
    margin-bottom: 10px;
}

.telegram-title {
    color: #ffffff;
    font-size: 1.5rem;
    margin: 0;
}

.telegram-icon {
    margin-right: 10px;
}

.telegram-icon i {
    font-size: 32px;
}

.telegram-container p {
    color: #ccc;
    font-size: 1rem;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.button-container {
    display: flex;
    justify-content: center;
}

.telegram-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: 1px solid #27272a;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.telegram-button i {
    margin-right: 8px;
}

.telegram-button:hover {
    background-color: #27272a;
    color: #fff;
}

.divider {
    border: none;
    border-top: 1px solid #303030;
    margin: 10px 0;
}

.news-container {
    width: 650px;
    border-left: 1px solid #27272a;
    border-right: 1px solid #27272a;
    box-sizing: border-box;
    overflow-y: auto;
    max-height: 725px;
    display: flex;
    flex-direction: column;
}

.news-container h2{
    margin-top: 0.5rem;
    color: #ffff;
}

.news-content {
    display: flex;
    flex-direction: column;
}

.news-item {
    padding: 10px 20px;
    border-bottom: 1px solid #27272a;
    margin: 0;
    display: flex;
    flex-direction: column;
}



.news-item:last-child {
    border-bottom: none;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-header .news-title {
    font-weight: 500;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-header .news-update {
    color: #a0a0a0;
    font-size: 0.9em;
}


.news-content p {
    margin: 5px 0 0 0;
    color: #ccc;
    text-align: left;
    line-height: 1.4;
}

.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 {
    border: none;
    border-bottom: 1px solid #27272a;
    width: 100%;
    background-color: transparent;
    display: flex;
    justify-content: center;
}

header .header-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    box-sizing: border-box;
}

header .title-set-left {
    margin-right: auto;
}

header .main-buttons-container {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    flex-grow: 1;
    gap: 10px;
}

.nav-header-title {
    font-size: 1.8rem;
    color: #fff;
    flex: 1;
}


.main-button-container {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.main-button {
    background-color: #101010;
    border: 1px solid #27272a;
    border-radius: 6px;
    color: #fff;
    padding: 10px 15px;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s, color 0.3s;
}

.main-button:hover {
    background-color: #27272a;
    color: #fff;
}

.server-selection-container {
    display: flex;
    position: absolute;
    top: 115%;
    left: 0;
    min-width: max-content;
    width: auto;
    flex-direction: column;
    background-color: #09090b;
    border-radius: 10px;
    padding: 5px;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    transform: translateY(5px);
    border: 2px solid #151515;
}

.server-category {
    position: relative;
    padding: 10px 20px;
    font-size: 16px;
    color: #bbb;
    background-color: #09090b;
    cursor: pointer;
    margin-bottom: 5px;
    border-radius: 10px;
    transition: background-color 0.3s ease;
    text-align: left;
}

.server-category:hover {
    background-color: #09090b;
}

.sub-server-container {
    overflow-y: auto;
    display: none;
    position: absolute;
    top: 0;
    left: 104%;
    width: 200px;
    max-height: 310px;
    flex-direction: column;
    background-color: #09090b;
    border-radius: 10px;
    padding: 3px;
    margin-left: 1px;
    z-index: 3;
    scroll-behavior: smooth;
    border: 2.0px solid #151515;
    transition: background-color 0.3s ease;
}

.sub-server-container::-webkit-scrollbar {
    display: initial;
    width: 5px;
}

.sub-server-container::-webkit-scrollbar-thumb {
    background-color: #101010;
    border-radius: 10px;
}

.sub-server-container::-webkit-scrollbar-thumb:hover {
    background-color: #09090b;
}

.sub-server-container::-webkit-scrollbar-track {
    background: #09090b;
    border-radius: 10px;
}

.sub-server-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    font-size: 14px;
    color: #bbb;
    background-color: #09090b;
    cursor: pointer;
    margin-bottom: 5px;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 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: #181818;
    border-radius: 7px;
    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: #09090b;
}

canvas {
    width: 100%;
    height: 100%;
}

@media only screen and (max-width: 1024px) {
    body {
        padding: 1rem;
    }

    .container {
        display: flex;
        flex-direction: column;
        padding: 10px;
        gap: 10px;
        box-sizing: border-box;
    }

    .news-container,
    .booter-list,
    .telegram-container {
        width: 100%;
        border: 1px solid #27272a;
        box-sizing: border-box;
        margin-bottom: 10px;
    }

    .news-container {
        order: 1;
    }

    .telegram-container {
        order: 2;
    }

    .booter-list {
        order: 3;
        overflow-x: auto;
    }
}

@media only screen and (max-width: 768px) {
    .container {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 0;
    }

    .news-container,
    .booter-list,
    .telegram-container {
        width: 100%;
        margin-bottom: 10px;
        margin-top: 10px;
        border: 1px solid #27272a;
        box-sizing: border-box;
    }

    .news-container {
        display: block;
        order: 1;
    }

    .telegram-container {
        display: block;
        order: 2;
    }

    .booter-list {
        display: block;
        order: 3;
        overflow-x: auto;
    }
}

@media only screen and (max-width: 480px) {
    .container {
        flex-direction: column;
        gap: 5px;
    }

    .main-buttons-container {
        flex-grow: 1;
        justify-content: center;
        display: flex;
    }

    .main-button {
        font-size: 12px;
        padding: 8px 10px;
    }

    .nav-header-title {
        display: none;
    }

    .news-container,
    .telegram-container,
    .booter-list {
        width: 100%;
        margin-bottom: 10px;
        display: block;
        border: 1px solid #27272a;
    }

    .news-container {
        display: block;
        order: 1;
    }

    .telegram-container {
        display: block;
        order: 2;
    }

    .booter-list {
        display: block;
        order: 3;
        overflow-x: auto;
    }
}