:root {
    --primary: #5D2EC0;
    --primary-light: #7C4DFF;
    --secondary: #EEF2FF;
    --accent: #10B981;
    --text: #0F172A;
    --text-muted: #64748B;
    --background: #F8FAFC;
    --white: #FFFFFF;
    --danger: #EF4444;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    text-align: center;
    padding: 4rem 0 3rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border-radius: 0 0 3rem 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(93, 46, 192, 0.15);
}

.mascot-container {
    width: 120px;
    height: 120px;
    background: var(--white);
    border-radius: 2.5rem;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    padding: 10px;
}

.mascot-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 2rem;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
    border: 1px solid rgba(226, 232, 240, 0.6);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(93, 46, 192, 0.1);
    border-color: var(--primary);
}

.card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.card h2 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.legal-content {
    background: var(--white);
    padding: 3.5rem;
    border-radius: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid #F1F5F9;
}

.legal-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 1.6rem;
}

.legal-content p, .legal-content li {
    margin-bottom: 1.2rem;
    color: #334155;
}

.legal-content ul {
    padding-left: 1.5rem;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 2rem;
    gap: 10px;
}

.badge-danger {
    background: #FEF2F2;
    color: var(--danger);
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
}

footer {
    text-align: center;
    padding: 4rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 640px) {
    .legal-content { padding: 1.5rem; }
    h1 { font-size: 2rem; }
}
