/* Import da fonte Space Grotesk */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&display=swap');

/* Reset e comportamento geral */
* {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* Mix do seu gradiente de fundo com as configurações de alinhamento */
    background: linear-gradient(135deg, #000 40%, #2d0a3d 80%, #0a3d3d);
    background-attachment: fixed; /* Mantém o fundo fixo ao rolar */
    min-height: 100vh;
    font-family: 'Space Grotesk', sans-serif;
    color: #fff;
    line-height: 1.6;
}

/* --- ANIMAÇÕES --- */
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- CLASSES DE ESTILO --- */

/* Gradiente cósmico animado (Versão Final) */
.cosmic-gradient {
    background: linear-gradient(-45deg, #ffffff, #a855f7, #ec4899, #3b82f6);
    background-size: 400% 400%;
    animation: gradientMove 8s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Texto com brilho (Melhorado com Filter) */
.text-glow {
    filter: drop-shadow(0 0 15px rgba(168, 85, 247, 0.6));
}

/* Cards em estilo Glassmorphism (Unificados) */
.glass-card, .login-card, .register-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.3);
    border-color: rgba(168, 85, 247, 0.5);
}

/* Inputs estilo linha única */
.input-line {
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 1rem;
    padding: 0.5rem 0;
    width: 100%;
    transition: all 0.3s ease;
}

.input-line:focus {
    border-bottom-color: #a855f7;
    outline: none;
    padding-left: 8px; /* Pequeno charme no foco */
}

/* Botão gradiente */
.btn-gradient {
    background: linear-gradient(to right, #a855f7, #06b6d4);
    border: none;
    color: #fff;
    font-weight: bold;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

/* Ajustes de Mídia */
audio {
    width: 100%;
    margin-top: 10px;
    filter: invert(1) hue-rotate(180deg) drop-shadow(0 0 8px rgba(138,43,226,0.6));
}

.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
}