/* Makeset Portal — Glassmorphism Design */

/* Background gradient */
body.portal-bg {
    background: linear-gradient(135deg, #f0f0ff 0%, #e8eeff 30%, #f5f0ff 60%, #eef0ff 100%);
    min-height: 100vh;
}

/* Subtle animated mesh overlay */
body.portal-bg::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse 600px 400px at 20% 20%, rgba(180, 190, 255, 0.25), transparent),
        radial-gradient(ellipse 500px 350px at 80% 30%, rgba(200, 180, 255, 0.2), transparent),
        radial-gradient(ellipse 400px 300px at 50% 80%, rgba(180, 200, 255, 0.15), transparent);
    pointer-events: none;
    z-index: 0;
}

/* Glass nav */
.glass-nav {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

/* Glass card */
.glass-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 1.25rem;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 32px rgba(100, 120, 220, 0.12), 0 2px 8px rgba(100, 120, 220, 0.08);
    transform: translateY(-2px);
}

/* Blue orb behind icon */
.card-orb {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(140, 160, 255, 0.35) 0%, rgba(160, 180, 255, 0.15) 50%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Icon square */
.app-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #6B7BF7 0%, #5A6AE6 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(90, 106, 230, 0.25);
}

/* Acceder button */
.access-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid rgba(100, 120, 230, 0.15);
    background: rgba(255, 255, 255, 0.5);
    color: #5A6AE6;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

.glass-card:hover .access-btn {
    background: rgba(90, 106, 230, 0.06);
    border-color: rgba(100, 120, 230, 0.25);
}

/* User dropdown */
.user-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 6px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 50px;
    transition: all 0.2s ease;
}

.user-pill:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Nav icon buttons */
.nav-icon-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #6e6e73;
    transition: all 0.2s ease;
}

.nav-icon-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #1d1d1f;
}

.nav-icon-btn.primary {
    background: linear-gradient(135deg, #6B7BF7, #5A6AE6);
    color: white;
}

.nav-icon-btn.primary:hover {
    box-shadow: 0 2px 8px rgba(90, 106, 230, 0.3);
}
