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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    margin-bottom: 30px;
    border-bottom: 3px solid #e94560;
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(233, 69, 96, 0.3));
}

header h1 {
    font-size: 24px;
    background: linear-gradient(90deg, #e94560, #f5a623);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-painel {
    background: linear-gradient(135deg, #e94560, #c23152);
    color: #fff;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

.btn-painel:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 25px rgba(233, 69, 96, 0.5);
}

.grid-apps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.app-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    border: 1px solid rgba(233, 69, 96, 0.2);
    position: relative;
    overflow: hidden;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e94560, #f5a623);
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.2);
    border-color: #e94560;
}

.app-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #f5a623;
}

.app-card p {
    opacity: 0.9;
    line-height: 1.5;
    margin: 10px 0;
    color: #e0e0e0;
}

.app-card small {
    display: block;
    margin: 10px 0;
    opacity: 0.8;
    color: #f5a623;
}

.acoes {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-download, .btn-excluir {
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn-download {
    background: linear-gradient(135deg, #f5a623, #e94560);
    color: #fff;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.4);
}

.btn-excluir {
    background: rgba(231, 76, 60, 0.8);
    color: #fff;
}

.btn-excluir:hover {
    background: #e74c3c;
    transform: translateY(-2px);
}

.form-adicionar {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    border: 1px solid rgba(233, 69, 96, 0.2);
}

.form-adicionar h3 {
    color: #f5a623;
    margin-bottom: 20px;
    font-size: 22px;
}

.form-adicionar input, 
.form-adicionar textarea {
    width: 100%;
    padding: 12px 15px;
    margin: 8px 0;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-adicionar input:focus, 
.form-adicionar textarea:focus {
    outline: none;
    border-color: #e94560;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 20px rgba(233, 69, 96, 0.1);
}

.form-adicionar input::placeholder,
.form-adicionar textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-adicionar textarea {
    min-height: 80px;
    resize: vertical;
}

.form-adicionar button {
    background: linear-gradient(135deg, #e94560, #f5a623);
    color: #fff;
    padding: 12px 35px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(233, 69, 96, 0.3);
}

.form-adicionar button:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 6px 30px rgba(233, 69, 96, 0.5);
}

.alert {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.9), rgba(39, 174, 96, 0.9));
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
    border-left: 4px solid #2ecc71;
    box-shadow: 0 4px 20px rgba(46, 204, 113, 0.2);
}

.lista-apps h3 {
    color: #f5a623;
    font-size: 22px;
    margin-bottom: 20px;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #e94560, #f5a623);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #f5a623, #e94560);
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo-container {
        flex-direction: column;
        text-align: center;
    }
    
    .grid-apps {
        grid-template-columns: 1fr;
    }
    
    .form-adicionar {
        padding: 20px;
    }
}