body {
    font-family: Arial, sans-serif;
    background-color: #141414;
    color: #fff;
    margin: 0;
    padding: 0;
    text-align: center;
}

header {
    background-color: #e50914;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    width: 150px;
    cursor: pointer;
}

nav {
    display: flex;
    gap: 15px;
}

.btn-nav {
    color: #fff;
    text-decoration: none;
    background-color: #ff6347; /* Cor viva */
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn-nav:hover {
    background-color: #ff4500; /* Cor mais viva ao passar o mouse */
}

h1 {
    margin-top: 50px;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.btn {
    background-color: #e50914;
    color: #fff;
    padding: 15px 30px;
    margin: 10px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #f40612;
}

.sponsors {
    margin-top: 40px;
}

.sponsors h2 {
    margin-bottom: 20px;
}

.sponsors ul {
    list-style: none;
    padding: 0;
}

.sponsors li {
    margin: 10px 0;
}

.sponsors a {
    color: #f40612;
    text-decoration: none;
}

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

.admin-section {
    background-color: #333;
    margin: 20px;
    padding: 20px;
    border-radius: 5px;
    display: inline-block;
    width: 80%;
    max-width: 600px;
    text-align: left;
}

form {
    display: flex;
    flex-direction: column;
}

input, textarea, select, button {
    margin: 10px 0;
    padding: 10px;
    font-size: 1em;
}

button {
    background-color: #e50914;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #f40612;
}

.site-item, .apk-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
}

.site-item img, .apk-item img {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
}

.site-item p, .apk-item p {
    margin: 0;
}

.site-item a, .apk-item a {
    margin-left: 10px;
    color: #fff;
    text-decoration: none;
}

.site-item form, .apk-item form {
    margin-left: 10px;
}

.apk-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.apk-item {
    background-color: #333;
    padding: 20px;
    border-radius: 10px;
    width: 250px;
    text-align: center;
    transition: transform 0.2s;
}

.apk-item:hover {
    transform: scale(1.05);
}

.apk-image {
    width: 100px;
    height: auto;
}

.btn-action {
    background-color: #e50914;
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn-action:hover {
    background-color: #c1040f;
}

.video-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.video-item {
    background-color: #333;
    margin: 10px;
    padding: 20px;
    border-radius: 5px;
    width: 300px;
    text-align: left;
}

.video-thumb {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.video-title {
    font-size: 1.2em;
    margin-top: 10px;
}

footer {
    background-color: #222;
    padding: 20px;
    margin-top: 40px;
    position: relative;
    bottom: 0;
    width: 100%;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

social-icons img {
    width: 40px;
    height: 40px;
}

.video-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #000;
    padding: 20px;
    border-radius: 10px;
    z-index: 1000;
    max-width: 90%;
    max-height: 90%;
    overflow: hidden;
    resize: both;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-container video {
    width: 100%;
    height: auto;
}

video-container button {
    background-color: #e50914;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    margin-bottom: 10px;
}

video-container button:hover {
    background-color: #c1040f;
}

.resize-handle {
    width: 15px;
    height: 15px;
    background-color: #fff;
    position: absolute;
    bottom: 10px;
    right: 10px;
    cursor: se-resize;
}

.filters {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.filter-section {
    text-align: center;
    margin: 20px;
}

.server-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.server-card {
    background-color: #333;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.server-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
}

.server-card:hover {
    transform: scale(1.05);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.modal-description {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.folder-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.folder-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 150px;
}

.folder-icon img {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
}

.folder-icon p {
    margin-top: 10px;
    font-size: 1em;
    color: #fff;
    text-align: center;
}

.folders {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.folders, .files {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.folder, .file {
    background-color: #333;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.2s;
    cursor: pointer;
}

.folder img, .file img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin-bottom: 10px;
}

.folder p, .file p {
    margin-top: 10px;
    color: #fff;
}

.folder:hover, .file:hover {
    transform: scale(1.05);
}

.files {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.apk-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.apk-item {
    background-color: #333;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.apk-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
}

.apk-item:hover {
    transform: scale(1.05);
}

.category-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.category-header .btn {
    background-color: #e50914;
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.category-header .btn:hover {
    background-color: #f40612;
}

.category-thumbnail {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .folders, .files {
        flex-direction: column;
        align-items: center;
    }

    .folder, .file {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .apk-list {
        flex-direction: column;
        align-items: center;
    }

    .apk-item {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
    }

    nav {
        flex-direction: column;
        gap: 10px;
    }

    .filters {
        flex-direction: column;
    }

    .server-card {
        width: 100%;
    }

    .admin-section {
        width: 100%;
        max-width: none;
    }

    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    th, td {
        display: block;
        text-align: right;
        border-bottom: 1px solid #555;
    }

    th::before, td::before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
    }

    th:last-child, td:last-child {
        border-bottom: 0;
    }
}
