@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;700;800&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    background: radial-gradient(circle at center, #1a0033 0%, #0a001a 100%);
    background-attachment: fixed;
}

/* Cursor igual ao da API */
html, body, button, .cosmic-card, a {
    cursor: url('../../database/lib/mouse/mouse.png'), auto !important;
}

/* Ajuste do Brilho do Texto */
.star-glow {
    text-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
}

/* Núcleo Central */
.cosmic-core-container {
    position: relative; width: 120px; height: 120px;
    display: flex; align-items: center; justify-content: center;
}

.galaxy-center {
    width: 80px; height: 80px; background: #0a0a0f;
    border: 2px solid #a855f7; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.6); z-index: 5;
}

.gx-logo { font-weight: 900; font-style: italic; font-size: 1.5rem; color: #fff; }

.core-ring {
    position: absolute; width: 140px; height: 140px;
    border: 1px solid rgba(168, 85, 247, 0.3); border-radius: 50%;
    animation: spin 10s linear infinite;
}

.core-ring::after {
    content: ''; position: absolute; top: -5px; left: 50%; 
    width: 10px; height: 10px; background: #fff; border-radius: 50%;
    box-shadow: 0 0 15px #fff;
}

/* Cosmic Cards */
.cosmic-card {
    position: relative; padding: 25px 35px; border-radius: 40px;
    background: rgba(20, 0, 40, 0.6); border: 1px solid rgba(168, 85, 247, 0.2);
    backdrop-filter: blur(15px); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.cosmic-card:hover {
    transform: translateY(-10px);
    border-color: #a855f7;
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.3);
    background: rgba(40, 0, 80, 0.4);
}

.card-glow {
    position: absolute; inset: 0;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(168, 85, 247, 0.2) 0%, transparent 70%);
    opacity: 0; transition: opacity 0.3s;
}
.cosmic-card:hover .card-glow { opacity: 1; }

.cosmic-icon {
    width: 60px; height: 60px; background: rgba(0, 0, 0, 0.3);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; border: 1px solid rgba(255, 255, 255, 0.1);
}

.astral-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.astral-btn span {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #cbd5e1;
    position: relative;
    z-index: 2;
}

.astral-btn i {
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

/* Efeito de brilho ao passar o mouse */
.astral-btn:hover {
    transform: scale(1.05) translateY(-5px);
    border-color: #a855f7;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.25);
    background: rgba(168, 85, 247, 0.1);
}

.astral-btn:hover span {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Overlay interno para o brilho */
.btn-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(168, 85, 247, 0.1), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
}

.astral-btn:hover .btn-overlay {
    transform: translateX(100%);
}

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }