/* public/css/style.css */

/* Definição da nova paleta de cores */
:root {
    --color-brand: #7B2CBF; /* Roxo principal vibrante */
    --color-brand-hover: #5A189A; /* Tom mais escuro para hover */
}

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

body {
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: url('https://i.pinimg.com/originals/48/7d/d5/487dd57007729cff67c14ce23be1377b.gif') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Animação de Partículas */
.particle {
    position: absolute;
    width: 30px;
    height: 30px;
    top: -50px; /* Começa fora da tela */
    background-image: url('https://aipicres.com/remove-bg/20250725/da69704b-fd54-4365-a205-4282fd26b08c.png');
    background-size: contain;
    background-repeat: no-repeat;
    animation: fall linear infinite;
    z-index: -1;
}

#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
}

@keyframes fall {
    0% {
        transform: translateY(0vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(105vh) rotate(360deg);
        opacity: 0;
    }
}
/* Barra Superior */
.top-bar {
    width: 100%;
    height: 60px;
    background-color: rgba(22, 22, 22, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 101;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .left-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar .api-icon {
    font-size: 28px;
    color: #fff;
}

.menu-toggle, .notification-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.notification-message {
    display: none;
    position: absolute;
    top: 65px;
    right: 20px;
    background: rgba(30, 30, 30, 0.9);
    backdrop-filter: blur(5px);
    padding: 15px;
    border-radius: 8px;
    color: #fff;
    z-index: 103;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Sidebar */
.sidebar {
    width: 260px;
    height: calc(100vh - 60px);
    background-color: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    left: -260px;
    top: 60px;
    transition: left 0.3s ease-in-out;
    z-index: 102;
    overflow-y: auto;
    padding: 10px 0;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar.active {
    left: 0;
}

.menu {
    list-style: none;
    padding: 0 15px;
}

.menu-item > a {
    text-decoration: none;
    color: #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-radius: 5px;
    background: rgba(68, 68, 68, 0.5);
    cursor: pointer;
    margin-bottom: 10px;
    font-weight: 500;
    transition: background 0.2s;
}

.menu-item > a:hover {
    background-color: rgba(102, 102, 102, 0.7);
}
.submenu {
    list-style: none;
    padding-left: 15px;
    display: none;
    border-left: 2px solid var(--color-brand);
    margin-left: 10px;
    padding-top: 5px;
    margin-bottom: 10px;
}

.submenu li {
    padding: 5px 0;
}

.submenu li a {
    text-decoration: none;
    color: #ccc;
    display: block;
    font-size: 0.9em;
    transition: color 0.2s;
}

.submenu li a:hover {
    color: #fff;
}

/* Conteúdo Principal */
.dashboard-content {
    flex: 1;
    padding: 80px 20px 80px; /* Aumenta o padding inferior para o rodapé */
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.dashboard-title {
    width: 100%;
    max-width: 900px;
    text-align: left;
    font-size: 18px;
    font-weight: bold;
    color: #ccc;
    margin-bottom: 15px;
}

.dashboard-title span.dashboard-text {
    color: #eee;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 900px;
}
.card {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.card h2 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 600;
    border-bottom: 1px solid var(--color-brand);
    padding-bottom: 10px;
}

.card p {
    font-size: 24px;
    color: #ddd;
    margin-bottom: 10px;
}

.card .sub-text {
    font-size: 16px;
    color: #aaa;
    margin-top: -5px;
}

.card button {
    margin-top: 15px;
    padding: 10px 20px;
    border: none;
    background-color: var(--color-brand);
    color: #fff;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: bold;
}

.card button:hover {
    background-color: var(--color-brand-hover);
}

/* Card de Estatísticas */
.stats-card-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
}

.stats-item {
    text-align: center;
}

.stats-item .value {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
}

.stats-item .label {
    font-size: 0.9rem;
    color: #ccc;
}
/* ESTILOS PARA A PÁGINA DE ATUALIZAÇÕES */
.update-card-wrapper {
    width: 100%;
    max-width: 900px;
    margin-bottom: 20px;
}

.update-card-wrapper .card {
    text-align: left;
}

.update-card-wrapper h2 .update-date {
    font-size: 0.8em;
    color: #ccc;
    font-weight: normal;
    margin-left: 10px;
}

.update-description {
    color: #ddd;
    margin-top: 15px;
    line-height: 1.6;
}

.update-description ul {
    list-style-type: '✓  ';
    list-style-position: inside;
    padding-left: 10px;
}

.update-description li {
    margin-bottom: 8px;
}

.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.hero-logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 30px rgba(123, 44, 191, 0.5); /* Sombra roxa */
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #ccc;
    margin-top: 1rem;
    min-height: 30px;
}

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-main, .btn-secondary {
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-main {
    background-color: var(--color-brand, #7B2CBF);
    color: #fff;
    border: 2px solid var(--color-brand, #7B2CBF);
}

.btn-main:hover {
    background-color: transparent;
    color: var(--color-brand, #7B2CBF);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}
.content-section {
    padding: 60px 0;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.2rem;
}

.card .icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(123, 44, 191, 0.2);
    color: var(--color-brand, #7B2CBF);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.card-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid var(--color-brand, #7B2CBF);
}

.text-brand {
  color: var(--color-brand, #7B2CBF);
}

.hosting-card {
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    max-width: 950px;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.hosting-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(123, 44, 191, 0.3);
}

.hosting-card-banner {
    flex-shrink: 0;
}

.hosting-card-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.hosting-card-content {
    padding: 2rem;
    text-align: center;
}

.hosting-card-content h3 {
    font-size: 1.8rem;
    color: #fff;
    font-weight: 600;
}

.hosting-card-content .sub-text {
    font-size: 1rem;
    color: #ccc;
    max-width: 450px;
    margin: 1rem auto 0;
}

/* Rodapé */
.footer {
    text-align: center;
    padding: 15px;
    background: rgba(22, 22, 22, 0.8);
    backdrop-filter: blur(5px);
    font-size: 14px;
    color: white;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 100;
}

@media (min-width: 768px) {
    .hosting-card {
        flex-direction: row;
        align-items: center;
    }
    .hosting-card-banner {
        flex: 0 0 45%;
    }
    .hosting-card-content {
        flex: 1;
        text-align: left;
        padding: 2rem 2.5rem;
    }
    .hosting-card-content .sub-text {
        margin-left: 0;
    }
}