* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, #0F2342 0%, #1E3A5F 60%, #2563EB 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.container {
    width: 100%;
    max-width: 960px;
}

.header {
    text-align: center;
    margin-bottom: 3rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5.5rem;
    height: 5.5rem;
    background: rgba(255,255,255,0.08);
    border-radius: 1.5rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
}

.logo svg {
    width: 2.75rem;
    height: 2.75rem;
}

.brand {
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

.brand span {
    color: #60A5FA;
}

.tagline {
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
    font-weight: 400;
}

.portals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.portal-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1.25rem;
    padding: 2rem;
    text-decoration: none;
    transition: all 0.25s ease;
    display: block;
}

.portal-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.25);
    transform: translateY(-3px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.3);
}

.portal-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.portal-icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

.portal-icon.admin    { background: rgba(37,99,235,0.35); }
.portal-icon.dist     { background: rgba(16,185,129,0.35); }
.portal-icon.inst     { background: rgba(13,148,136,0.35); }

.portal-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.portal-desc {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.portal-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    transition: color 0.2s;
}

.portal-card:hover .portal-btn {
    color: white;
}

.portal-btn svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s;
}

.portal-card:hover .portal-btn svg {
    transform: translateX(3px);
}

.divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin: 2rem 0;
}

.footer {
    text-align: center;
    color: rgba(255,255,255,0.25);
    font-size: 0.8125rem;
}

.footer strong {
    color: rgba(255,255,255,0.4);
}