@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Roboto:wght@300;400;700&display=swap');

:root {
    --honda-black: #050505;
    --honda-dark-gray: #121212;
    --honda-red: #D00000;
    --honda-red-glow: rgba(208, 0, 0, 0.4);
    --honda-silver: #E0E0E0;
    --glass-bg: rgba(15, 15, 15, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #F5F5F5;
    --text-muted: #888888;
}

body {
    background-color: var(--honda-black);
    background-image: 
        linear-gradient(45deg, rgba(208, 0, 0, 0.03) 0%, transparent 40%),
        radial-gradient(circle at top right, var(--honda-dark-gray), transparent);
    color: var(--text-main);
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 20px;
    min-height: 100vh;
}

h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--honda-silver);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

h2 span, h1 span {
    color: var(--honda-red);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-top: 3px solid var(--honda-red); /* Detalhe automotivo superior */
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    margin-bottom: 30px;
}

/* Formulários */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85em;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

input[type="text"], input[type="email"], input[type="password"] {
    width: 100%;
    padding: 14px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    color: #fff;
    box-sizing: border-box;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

input:focus {
    outline: none;
    border-color: var(--honda-red);
    box-shadow: 0 0 15px var(--honda-red-glow);
    background: rgba(20, 5, 5, 0.8);
}

button {
    background: var(--honda-red);
    color: #fff;
    border: none;
    padding: 14px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    transition: 0.3s;
    width: 100%;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

button:hover {
    background: #ff0000;
    box-shadow: 0 0 20px var(--honda-red-glow);
    transform: translateY(-2px);
}

button.btn-secondary {
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--honda-silver);
}
button.btn-secondary:hover {
    border-color: var(--honda-red);
    color: var(--honda-red);
    box-shadow: none;
}

/* Grid de Palestras */
.palestras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.palestra-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 20px;
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.palestra-card:hover {
    background: rgba(208, 0, 0, 0.05);
    border-color: var(--honda-red);
    box-shadow: inset 0 0 20px rgba(208, 0, 0, 0.1);
}

.palestra-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.palestra-title {
    font-family: 'Orbitron', sans-serif;
    color: var(--honda-silver);
    font-size: 1.2em;
    margin: 0 0 10px 0;
}

.palestra-meta {
    font-size: 0.85em;
    color: var(--honda-red);
    display: flex;
    gap: 15px;
}

.btn-inscrever { background: var(--honda-red); }
.btn-desistir { 
    background: transparent; 
    border: 1px solid var(--honda-red);
    color: var(--honda-red);
}
.btn-desistir:hover {
    background: rgba(208, 0, 0, 0.1);
}

.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}
.alert-error { background: rgba(208, 0, 0, 0.2); border: 1px solid var(--honda-red); color: #ff9999; }
.alert-success { background: rgba(0, 208, 50, 0.2); border: 1px solid #00d032; color: #99ffb2; }

/* Grid para Login/Cadastro */
.auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .auth-grid { grid-template-columns: 1fr; }
}